/* ==========================================================
   VIVER É CRISTO - PÁGINA DE DOAÇÕES
========================================================== */

.doacoes-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 20px 80px; /* Aumentado brutalmente para não esconder debaixo do header */
    font-family: var(--font-primary, 'Inter', sans-serif);
    color: var(--color-text, #e2e8f0);
}

/* --- Hero Section --- */
.doacoes-hero {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.doacoes-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    background: linear-gradient(to right, #D4AF37, #FFF5D1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.doacoes-hero p.lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: #cbd5e1;
    line-height: 1.6;
}

/* --- Main Layout Grid --- */
.doacoes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .doacoes-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Left Column: Context & Impact --- */
.doacoes-context {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.doacoes-text-block {
    background: rgba(22, 32, 50, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.doacoes-text-block h2 {
    font-size: 1.8rem;
    color: #D4AF37;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.doacoes-text-block h2 svg {
    width: 28px;
    height: 28px;
}

.doacoes-text-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #e2e8f0;
}

.doacoes-text-block blockquote {
    border-left: 4px solid #D4AF37;
    margin: 24px 0;
    padding: 12px 20px;
    font-style: italic;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 8px 8px 0;
    color: #FFF5D1;
}

.impact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.impact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.4);
}

.impact-icon {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-icon svg {
    width: 24px;
    height: 24px;
}

.impact-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 6px;
}

.impact-content p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
}

/* --- Right Column: Widget --- */
.doacoes-widget {
    background: linear-gradient(145deg, rgba(22, 32, 50, 0.8), rgba(15, 23, 36, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 100px;
}

.widget-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 32px;
    position: relative;
}

.widget-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.widget-tab.active {
    color: #111;
    background: #D4AF37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.widget-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.widget-content.active {
    display: block;
}

/* Value Buttons */
.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.value-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.value-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.value-btn.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
    color: #D4AF37;
}

.value-btn span.label {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 4px;
}

/* PIX Section */
.pix-area {
    text-align: center;
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    margin-top: 24px;
    color: #111;
}

.pix-area img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 8px;
    display: block;
}

.pix-copy-btn {
    background: #D4AF37;
    color: #111;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.pix-copy-btn:hover {
    background: #bfa136;
}

/* Recurring Links */
.recurrence-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recurrence-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recurrence-link:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(8px);
    border-color: #D4AF37;
}

.recurrence-link-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    color: #D4AF37;
}

.recurrence-link-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Styles */
.doacoes-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doacoes-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.doacoes-modal-content {
    background: #1e293b;
    border: 1px solid #D4AF37;
    border-radius: 16px;
    padding: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.doacoes-modal-overlay.active .doacoes-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ef4444;
}

.modal-instructions {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid #D4AF37;
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-instructions strong {
    color: #D4AF37;
}

/* Dynamic Feedback Message */
.copy-feedback-msg {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 0.95rem;
    font-weight: 600;
    display: none;
    animation: fadeIn 0.3s;
}

/* Mobile Adjustments for Modal */
@media (max-width: 600px) {
    .doacoes-modal-content {
        padding: 16px;
        width: 95%;
    }
    .modal-close {
        top: 8px;
        right: 8px;
        background: rgba(0,0,0,0.2);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }
}
