/* ========================================
   SUPPORT PAGE - Against Stones
   Aligné sur layout.css / content.css (Playfair + Montserrat)
   ======================================== */

:root {
    --support-gold: var(--as-gold, #FFD700);
    --support-gold-dark: var(--as-gold-dark, #D4AF37);
    --support-gold-muted: var(--as-gold-muted, #c9a227);
    --support-green: #4ade80;
    --support-green-dark: #22c55e;
    --bg-elevated: var(--as-card-bg);
    --border-subtle: var(--as-border, rgba(255, 255, 255, 0.07));
    --border-hover: var(--as-border-gold, rgba(255, 215, 0, 0.22));
    --text-primary: var(--as-text, #f2f2f4);
    --text-secondary: var(--as-text-secondary, #c8c8cc);
    --text-muted: var(--as-text-muted, #8e8e96);
    --text-subtle: #75757d;
}

/* ========================================
   DONATION GAMES — Jeux de soutien
   ======================================== */
.donation-games {
    margin-bottom: 64px;
}

.donation-games__header {
    text-align: center;
    margin-bottom: 36px;
}

.donation-games__header h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.donation-games__header p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 640px;
    line-height: 1.6;
}

.donation-games__tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.tier-card {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-subtle);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tier-card:hover,
.tier-card:focus-within {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.tier-card--bronze { --tier-accent: #CD7F32; }
.tier-card--silver { --tier-accent: #C0C0C0; }
.tier-card--gold   { --tier-accent: var(--support-gold); }
.tier-card--stone  { --tier-accent: #8B7355; }

.tier-card__icon {
    font-size: 28px;
    line-height: 1;
}

.tier-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--tier-accent, var(--support-gold));
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.tier-card__amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.tier-card__perk {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 8px;
    line-height: 1.45;
    flex: 1;
}

.tier-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.tier-card__btn {
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.06);
    color: var(--support-gold);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tier-card__btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--support-gold) 0%, var(--support-gold-dark) 100%);
    color: #000;
    border-color: transparent;
}

.tier-card__btn--remove,
.mood-card__btn--remove {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text-muted);
}

.tier-card__btn:disabled,
.mood-card__btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

.donation-games__duo {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    margin-bottom: 16px;
}

.challenge-card,
.mood-card {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-subtle);
    border-radius: 20px;
    padding: 28px;
}

.challenge-card h3,
.mood-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.challenge-card__ring-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.challenge-card__ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.challenge-card__ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 10;
}

.challenge-card__ring-fill {
    fill: none;
    stroke: url(#challengeGoldGrad);
    stroke: var(--support-gold);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease;
}

.challenge-card__ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--support-gold);
}

.challenge-card__need {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 8px;
}

.challenge-card__goal {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 18px;
    line-height: 1.5;
}

.challenge-card__cta {
    display: block;
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.challenge-card__cta:hover {
    border-color: var(--border-hover);
    background: rgba(255, 215, 0, 0.08);
}

.challenge-card__empty {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin: 24px 0 0;
}

.mood-card__intro {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 16px;
    line-height: 1.5;
}

.mood-card__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mood-card__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.25);
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
}

.mood-card__item:hover,
.mood-card__item:focus-visible {
    border-color: var(--border-hover);
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-2px);
}

.mood-card__icon {
    font-size: 22px;
    line-height: 1;
}

.mood-card__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.mood-card__need {
    font-size: 11px;
    color: var(--text-subtle);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mood-card__amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--support-gold);
    margin-top: 2px;
}

.mood-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.mood-card__btn {
    flex: 1 1 6rem;
    min-height: 34px;
    padding: 0 10px;
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.06);
    color: var(--support-gold);
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mood-card__btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--support-gold) 0%, var(--support-gold-dark) 100%);
    color: #000;
    border-color: transparent;
}

.donation-games__footnote {
    font-size: 12px;
    color: var(--text-subtle);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* Citation — sobre, espacée du reste */
.content--soutenir > .quote-box--soutenir {
    width: 100%;
    max-width: 100%;
    margin-block: 0 2rem;
}

.content--soutenir .quote-box--soutenir .quote-box__banner {
    background: rgba(20, 24, 32, 0.55);
    border-color: var(--as-border, rgba(255, 255, 255, 0.08));
    box-shadow: none;
    padding: 1rem 1.15rem;
}

.content--soutenir .quote-box--soutenir .quote-box__banner::before {
    display: none;
}

.content--soutenir .quote-box--soutenir .quote-box__text {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.5;
    text-shadow: none;
}

.content--soutenir .needs-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
    text-align: left;
    letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
    .donation-games__tiers {
        grid-template-columns: repeat(2, 1fr);
    }

    .donation-games__duo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .donation-games__tiers {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        gap: 0.55rem;
        padding-bottom: 0;
    }

    .tier-card {
        min-width: 0;
        scroll-snap-align: unset;
        flex-shrink: unset;
        padding: 0.85rem 0.75rem;
    }

    .mood-card__grid {
        grid-template-columns: 1fr;
    }

    .challenge-card,
    .mood-card {
        padding: 22px;
    }
}

/* ========================================
   TABLE WRAPPER - Desktop
   ======================================== */
.content--soutenir .table-wrapper {
    margin-bottom: 2rem;
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(26, 31, 40, 0.65);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
}

.content--soutenir .needs-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.content--soutenir .needs-table thead {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-subtle);
}

.content--soutenir .needs-table th {
    padding: 10px 14px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.content--soutenir .needs-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.content--soutenir .needs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.content--soutenir .needs-table tbody tr:last-child {
    border-bottom: none;
}

.content--soutenir .needs-table td {
    padding: 12px 14px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.content--soutenir .needs-table td strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content--soutenir .needs-table .progress-bar {
    max-width: 180px;
    margin-bottom: 0;
}

.content--soutenir .needs-table .donation-input {
    width: 6.5rem;
    max-width: 6.5rem;
    height: 2.5rem;
    margin: 0;
}

/* ========================================
   NEED CARDS — grille responsive
   tablette : 2 colonnes / téléphone : 1 colonne pleine largeur
   ======================================== */
.content--soutenir .needs-section-wrapper {
    padding-bottom: 0;
}

.content--soutenir .mobile-needs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .content--soutenir .mobile-needs-grid {
        grid-template-columns: 1fr;
    }
}

.content--soutenir .need-card {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1rem 1.1rem 1.15rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.content--soutenir .need-card:hover,
.content--soutenir .need-card:focus-within {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.content--soutenir .need-card .need-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
}

.content--soutenir .need-card .need-title strong {
    font-weight: 600;
}

.content--soutenir .need-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.content--soutenir .need-info > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.content--soutenir .need-info .label {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.content--soutenir .need-info strong {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
}

.content--soutenir .need-info .funded-amount {
    color: var(--support-green);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Champ montant — ergonomie tactile */
.content--soutenir .donation-input-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.content--soutenir .donation-input-wrap:focus-within {
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.content--soutenir .donation-input-wrap .donation-input {
    flex: 1;
    min-width: 0;
    height: auto;
    min-height: 48px;
    padding: 0 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: max(16px, 1rem);
    font-weight: 600;
}

.content--soutenir .donation-input-wrap .donation-input:focus {
    box-shadow: none;
}

.content--soutenir .donation-currency {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--support-gold-muted);
    background: rgba(255, 255, 255, 0.03);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Montserrat', system-ui, sans-serif;
}

/* ========================================
   PROGRESS BAR
   ======================================== */
.content--soutenir .progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: none;
}

.content--soutenir .progress-fill {
    position: relative;
    height: 100%;
    min-width: 0;
    background: var(--support-gold-muted);
    border-radius: 999px;
    transition: width 0.35s ease;
    box-shadow: none;
}

/* ========================================
   DONATION INPUT
   ======================================== */
.content--soutenir .donation-area {
    margin-top: 0.75rem;
    flex-shrink: 0;
    padding-top: 2px;
}

.content--soutenir .donation-area label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.content--soutenir .donation-input {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 2.35rem;
    padding: 0 12px;
    background: var(--as-input-bg, #222833);
    border: 1px solid var(--as-input-border, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Montserrat', system-ui, sans-serif;
    transition: border-color 0.2s ease;
}

.content--soutenir .donation-input:focus {
    outline: none;
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: none;
}

.content--soutenir .donation-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.18);
}

.content--soutenir > .as-pagination {
    margin-bottom: clamp(24px, 4vw, 36px);
}

.as-pagination--gold .as-pagination__btn:hover:not(.is-disabled):not(:disabled) {
    background: linear-gradient(135deg, var(--support-gold) 0%, var(--support-gold-dark) 100%);
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.25);
}

/* ========================================
   TOTAL BOX
   ======================================== */
.content--soutenir .total-box {
    background: rgba(26, 31, 40, 0.55);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.75rem;
    box-shadow: none;
}

.content--soutenir .total-box p {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.content--soutenir .total-box h2 {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 14px;
    font-family: 'Montserrat', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.content--soutenir .pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 1.25rem;
    background: var(--support-gold-muted);
    border: none;
    border-radius: 8px;
    color: var(--as-text-on-gold, #1a1a1a);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', system-ui, sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    box-shadow: none;
}

.content--soutenir .pay-btn:hover {
    background: var(--support-gold-dark);
    transform: none;
    box-shadow: none;
}

.content--soutenir .pay-btn:active {
    transform: translateY(0);
}

/* ========================================
   LOGIN MODAL - Moderne
   ======================================== */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-subtle);
    border-radius: 24px;
    padding: 48px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.modal-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.btn-guest,
.btn-login {
    width: 100%;
    height: 56px;
    padding: 0 24px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px;
}

.btn-guest {
    background: linear-gradient(135deg,
                var(--support-gold) 0%,
                var(--support-gold-dark) 100%);
    color: #000;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-guest:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.modal-close {
    text-align: center;
    color: var(--text-subtle);
    font-size: 14px;
    cursor: pointer;
    margin-top: 24px;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.modal-close:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE - Affichage Desktop/Mobile
   ======================================== */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: grid;
    }
}

/* ========================================
   RESPONSIVE - TABLET / MOBILE
   ======================================== */
@media (max-width: 1024px) {
    .content--soutenir .needs-section-title {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .content--soutenir .need-card {
        padding: 12px 14px;
    }

    .content--soutenir .mobile-needs-grid {
        gap: 1rem;
    }

    .content--soutenir .need-info {
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
    }

    .content--soutenir .donation-input {
        height: 2.5rem;
        font-size: 0.95rem;
    }

    .content--soutenir .total-box {
        padding: 20px;
    }

    .content--soutenir .pay-btn {
        width: 100%;
    }

    .modal-content {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .modal-content h3 {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 1.25rem;
    }

    .modal-content p,
    .btn-guest,
    .btn-login,
    .modal-close {
        font-family: 'Montserrat', system-ui, sans-serif;
    }
}

@media (max-width: 480px) {
    .content--soutenir .need-info {
        grid-template-columns: 1fr;
    }

    .content--soutenir .total-box h2 {
        font-size: 1.85rem;
    }
}

/* ========================================
   TRANSPARENCY LINK
   ======================================== */
.soutenir-transparency {
    margin: 1.5rem auto 0;
    text-align: center;
    max-width: 640px;
}

.soutenir-transparency__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.soutenir-transparency__link:hover,
.soutenir-transparency__link:focus-visible {
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.14);
    background: transparent;
    transform: none;
    text-decoration: none;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.donation-input:focus-visible,
.pay-btn:focus-visible,
.btn-guest:focus-visible,
.btn-login:focus-visible,
.as-pagination__btn:focus-visible,
.tier-card__btn:focus-visible,
.challenge-card__cta:focus-visible,
.mood-card__item:focus-visible,
.mood-card__btn:focus-visible {
    outline: 2px solid var(--support-gold);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .content--soutenir .progress-fill {
        background: var(--support-green);
    }

    .content--soutenir .need-card,
    .content--soutenir .table-wrapper {
        border-width: 2px;
    }

    .content--soutenir .donation-input {
        border-width: 2px;
    }
}

/* Overrides finaux — cette feuille doit rester chargée APRÈS content.css */
body.soutenir-page .content.content--soutenir {
    padding-top: clamp(12px, 2.5vw, 24px);
    padding-bottom: clamp(32px, 6vw, 56px);
}

body.soutenir-page .title-section {
    margin-bottom: clamp(16px, 3vw, 28px);
}

body.soutenir-page .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    margin-bottom: 8px;
}

body.soutenir-page .hero-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.35rem);
    margin-bottom: 6px;
}

body.soutenir-page .hero-tagline {
    font-size: clamp(0.88rem, 2.2vw, 1rem);
    line-height: 1.45;
}

body.soutenir-page .needs-table .donation-input {
    width: 6.5rem !important;
    max-width: 6.5rem !important;
}

body.soutenir-page .content--soutenir .need-card .need-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
    color: var(--text-primary);
    min-height: calc(1.35em * 2);
}

body.soutenir-page .content--soutenir .need-info {
    margin-bottom: 12px;
}

body.soutenir-page .content--soutenir .need-info .label {
    font-size: 0.72rem;
}

body.soutenir-page .content--soutenir .need-info strong {
    font-size: 0.95rem;
    color: var(--support-gold-muted);
}

body.soutenir-page .content--soutenir .progress-bar {
    height: 5px;
    margin-bottom: 14px;
}

body.soutenir-page .content--soutenir .progress-fill {
    box-shadow: none;
    background: linear-gradient(90deg, var(--support-gold-muted), var(--support-gold));
}

body.soutenir-page .content--soutenir .donation-area label {
    font-size: 0.72rem;
    margin-bottom: 8px;
}

body.soutenir-page .content--soutenir > .quote-box--soutenir {
    margin-bottom: 1.5rem;
}

body.soutenir-page .content--soutenir .needs-section-title {
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    body.soutenir-page .content.content--soutenir {
        padding-left: clamp(14px, 4vw, 20px);
        padding-right: clamp(14px, 4vw, 20px);
    }

    body.soutenir-page .content--soutenir .desktop-only {
        display: none !important;
    }

    body.soutenir-page .content--soutenir .mobile-only {
        display: grid !important;
    }

    body.soutenir-page .content--soutenir .needs-section-wrapper {
        padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
    }

    body.soutenir-page .content--soutenir .total-box {
        position: sticky;
        bottom: 0;
        z-index: 40;
        margin-bottom: 0;
        border-radius: 14px 14px 0 0;
        box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.45);
        padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    }

    body.soutenir-page .content--soutenir .pay-btn {
        min-height: 48px;
        font-size: 0.95rem;
        width: 100%;
    }
}

@media (max-width: 1400px) {
    body.soutenir-page .content--soutenir .desktop-only {
        display: none !important;
    }

    body.soutenir-page .content--soutenir .mobile-only {
        display: grid !important;
    }

    body.soutenir-page .content--soutenir .needs-section-wrapper {
        padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 640px) {
    body.soutenir-page .content--soutenir .need-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.soutenir-page .content--soutenir .quote-box--soutenir .quote-box__banner {
        padding: 0.9rem 1rem;
    }

    body.soutenir-page .content--soutenir .quote-box--soutenir .quote-box__text {
        font-size: 0.95rem;
        line-height: 1.55;
    }
}
