/* ═══════════════ VARIABLES HARMONISÉES AVEC MENTIONS ═══════════════ */
:root {
    --navy:      #252F52;
    --blue:      #4a6cf7;
    --blue-lt:   #6b8cff;
    --muted:     #64748b;
    --border:    #e2e8f0;
    --text:      #1e293b;
    --card-bg:   #ffffff;
    --radius:    16px; /* Radius de Mentions */
    --shadow-lg: 0 4px 24px rgba(74,108,247,0.08); /* Ombre de Mentions */
}
[data-theme="dark"] {
    --off:       #0d1120;
    --text:      #e2e8f0;
    --muted:     #94a3b8;
    --border:    rgba(255,255,255,0.07);
    --card-bg:   #131929;
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}
* { box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; }

/* ── Hero unifié avec Mentions ── */
.don-hero {
    padding: 8rem 0 4rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}
[data-theme="dark"] .don-hero {
    background: #090d1a;
}

.don-hero-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
            linear-gradient(rgba(37,47,82,0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(37,47,82,0.04) 1px, transparent 1px);
    background-size: 44px 44px;
}
[data-theme="dark"] .don-hero-grid {
    background-image:
            linear-gradient(rgba(74,108,247,0.06) 1px, transparent 1px),
            linear-gradient(90deg, rgba(74,108,247,0.06) 1px, transparent 1px);
}

.don-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}
.don-hero-glow {
    position: absolute;
    top: -20%; left: 50%; transform: translateX(-50%);
    width: 700px; height: 400px; pointer-events: none;
    background: radial-gradient(ellipse, rgba(74,108,247,0.1) 0%, transparent 65%);
}

.sky-text-gradient {
    background: linear-gradient(135deg, #10b981 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="dark"] .sky-text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ── Section unifiée avec Mentions ── */
.don-explanations,
.don-methods {
    padding: 40px 0 20px;
    background: #f8fafc;
}
[data-theme="dark"] .don-explanations,
[data-theme="dark"] .don-methods {
    background: #0d1120;
}
.don-methods { padding-top: 20px; padding-bottom: 80px; }

/* Introduction textuelle */
.don-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
}
.don-intro p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #475569;
}
[data-theme="dark"] .don-intro p { color: #94a3b8; }
.don-intro strong { font-weight: 700; color: var(--text); }

/* Grilles */
.don-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.don-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 992px) {
    .don-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .don-grid-2, .don-grid-3 { grid-template-columns: 1fr; }
}

/* Cartes Informations */
.don-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: box-shadow 0.25s, border-color 0.25s;
}
.don-info-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(74,108,247,0.2);
}
.don-info-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.don-info-icon.blue-glow { background: rgba(74,108,247,0.1); color: #4a6cf7; }
.don-info-icon.green-glow { background: rgba(16,185,129,0.1); color: #10b981; }

.don-info-text h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.don-info-text p { font-size: 0.88rem; line-height: 1.7; color: #475569; margin: 0; }
[data-theme="dark"] .don-info-text p { color: #94a3b8; }
.don-info-text strong { font-weight: 700; color: var(--text); }

/* Lien spécial vers l'écologie */
.don-eco-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 600; color: #10b981;
    text-decoration: none; margin-top: 14px;
    transition: transform 0.2s;
}
.don-eco-link:hover { transform: translateX(3px); color: #34d399; }

/* ── Intermédiaires de Section (Style Mentions) ── */
.legal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--blue);
    display: flex; align-items: center; gap: 8px;
}
.legal-title::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
[data-theme="dark"] .legal-title::after { background: rgba(255,255,255,0.07); }

/* En-tête Tiers */
.don-methods-header { text-align: center; margin: 20px 0 40px; }
.don-methods-header h2 { font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.don-methods-header p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Cartes d'offres Financières */
.don-tier-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    display: flex; flex-direction: column;
    position: relative;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    z-index: 1;
}
.don-tier-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.paypal-card:hover { border-color: rgba(0, 112, 186, 0.3); }
.tipeee-card:hover { border-color: rgba(239, 68, 68, 0.3); }
.rpg-card:hover    { border-color: rgba(245, 158, 11, 0.3); }

.tier-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 20px;
}
.paypal-card .tier-icon { background: rgba(0, 112, 186, 0.1); color: #0070ba; }
.tipeee-card .tier-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.rpg-card .tier-icon    { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.tier-title { font-size: 1.25rem; font-weight: 800; color: var(--text); margin: 0 0 10px; }
.tier-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.6; margin-bottom: 24px; min-height: 50px; }

.tier-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier-features li { font-size: 0.82rem; font-weight: 500; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.tier-features i { font-size: 0.9rem; margin-top: 2px; }
.paypal-card .tier-features i { color: #0070ba; }
.tipeee-card .tier-features i { color: #ef4444; }
.rpg-card .tier-features i    { color: #f59e0b; }

.tier-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px; border-radius: 10px;
    font-size: 0.85rem; font-weight: 700; font-family: 'Poppins', sans-serif;
    text-decoration: none; color: white !important;
    transition: transform 0.2s, filter 0.2s;
}
.tier-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.paypal-card .tier-btn { background: #0070ba; }
.tipeee-card .tier-btn { background: #ef4444; }
.rpg-card .tier-btn    { background: #f59e0b; }

/* Tipeee Featured Badge */
.don-tier-card.featured { border: 2px solid #ef4444; }
.featured-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #ef4444; color: white; font-size: 0.68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 14px;
    border-radius: 50px; display: flex; align-items: center; gap: 4px;
}

/* ── Cartes de soutien gratuit unifié (Style Mentions en mode lien/cliquable) ── */
.legal-contact-card {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px;
    padding: 24px; transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
    text-decoration: none !important; color: var(--text);
    text-align: center;
}
[data-theme="dark"] .legal-contact-card {
    background: #131929; border-color: rgba(255,255,255,0.07);
}
.legal-contact-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(74,108,247,0.2);
    transform: translateY(-4px);
}
.legal-contact-icon {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.legal-contact-label { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.don-free-p { font-size: 0.82rem; line-height: 1.6; color: #475569; margin: 0; }
[data-theme="dark"] .don-free-p { color: #94a3b8; }

.rpg-cmd {
    background: #f1f5f9; color: var(--muted); border-radius: 6px; padding: 2px 7px;
    font-size: 0.68rem; font-family: 'Courier New', monospace; font-weight: 600;
    border: 1px solid var(--border);
}
[data-theme="dark"] .rpg-cmd { background: rgba(255,255,255,0.04); }

/* ── Scroll reveal ── */
.sky-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.sky-reveal.visible { opacity: 1; transform: translateY(0); }
.sky-reveal-d1 { transition-delay: 0.05s; }
.sky-reveal-d2 { transition-delay: 0.12s; }
.sky-reveal-d3 { transition-delay: 0.19s; }