.remerciements-container {
    flex: 1;
    padding: 8rem 4rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.remerciements-title {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.remerciements-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
}

/* Liste des donateurs */
.donateurs-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Carte donateur — horizontale comme les outils */
.donateur-card {
    background: rgba(20, 26, 55, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 193, 219, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
}

.donateur-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74, 111, 165, 0.25);
}

/* Avatar */
.donateur-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(114, 164, 242, 0.3);
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

.donateur-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenu texte */
.donateur-info {
    flex: 1;
    min-width: 0;
}

.donateur-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}

.donateur-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.donateur-role {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

.donateur-role a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.donateur-role a:hover {
    color: var(--text-white);
}

.donateur-message {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.55;
    font-style: italic;
}

/* Montant — à droite */
.donateur-montant {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(114, 164, 242, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(114, 164, 242, 0.25);
    white-space: nowrap;
}

.kofi-icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.donateur-montant span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

/* Section CTA de donation */
.donation-cta {
    margin-top: 3rem;
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(114, 164, 242, 0.08) 0%, rgba(74, 111, 165, 0.12) 100%);
    border-radius: 20px;
    border: 1px solid rgba(114, 164, 242, 0.18);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.donation-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse at 50% 0%, rgba(114, 164, 242, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.donation-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    position: relative;
}

.donation-cta p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 1.75rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Bouton Ko-fi */
.kofi-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #72a4f2 0%, #4a6fa5 100%);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2.25rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(114, 164, 242, 0.3);
    position: relative;
    overflow: hidden;
}

.kofi-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.kofi-button:hover::before {
    left: 100%;
}

.kofi-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(114, 164, 242, 0.45);
}

.kofi-button:active {
    transform: translateY(0);
}

.kofi-icon-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.kofi-button span {
    position: relative;
    z-index: 1;
}

/* Bouton retour à l'accueil */
.legal-footer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    background: var(--gradient-blue);
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-back:hover {
    background: var(--gradient-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 111, 165, 0.4);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .remerciements-container {
        padding: 6rem 2rem 2rem;
    }

    .remerciements-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .remerciements-subtitle {
        margin-bottom: 2.5rem;
    }

    .donateur-card {
        gap: 1.25rem;
        padding: 1.25rem 1.5rem;
    }

    .donateur-avatar {
        width: 52px;
        height: 52px;
    }

    .donation-cta {
        margin-top: 2.5rem;
        padding: 2.5rem 2rem;
    }

    .donation-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .remerciements-title {
        font-size: 2.5rem;
    }

    .remerciements-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .donateur-card {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.25rem;
    }

    .donateur-header {
        gap: 0.5rem;
    }

    .donateur-montant {
        margin-left: auto;
    }

    .donation-cta {
        padding: 2rem 1.5rem;
    }

    .donation-cta h2 {
        font-size: 1.75rem;
    }

    .donation-cta p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .kofi-button {
        font-size: 1rem;
        padding: 0.8rem 1.75rem;
    }

    .kofi-icon-svg {
        width: 22px;
        height: 22px;
    }
}
