/* Copiado do projeto estático */
:root{
  --green-600:#17b35e;
  --green-700:#129e52;
  --green-800:#0f8c48;
  --gray-50:#f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-300:#cbd5e1;
  --gray-600:#475569;
  --gray-700:#334155;
  --text:#0f172a;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:#fff}
.container{width:100%;max-width:920px;margin:0 auto;padding:0 16px}
.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--gray-200);z-index:10}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:inline-flex;align-items:center;gap:8px;color:var(--green-700);text-decoration:none;font-weight:800;font-size:20px}
.brand-logo{height:28px;width:auto;display:block;object-fit:contain}
.menu-btn{display:none;background:none;border:0;font-size:22px}
.site-header .brand-logo{height:36px}
.hero{padding:32px 0 8px}
.hero-title{text-align:center;font-size:24px;line-height:1.3;margin:4px 0 12px;text-transform:uppercase;font-weight:800;position:relative}
.hero-title::after{content:"";display:block;width:140px;height:3px;background:var(--green-700);border-radius:2px;margin:12px auto 0}
.hero-sub{text-align:center;color:var(--gray-700);margin:0 auto 20px;max-width:720px}
.progress-bar{width:100%;height:8px;background:var(--gray-200);border-radius:4px;margin:0 auto 20px;max-width:560px;overflow:hidden}
.progress-fill{height:100%;background:var(--green-600);border-radius:4px;transition:width 0.3s ease}
.goal-card{display:flex;flex-direction:column;gap:0;justify-content:flex-start;align-items:flex-start;margin:18px auto 22px;max-width:560px}
.goal-card .label{font-size:14px;color:var(--gray-600)}
.goal-card .value{font-size:28px;color:var(--green-700);font-weight:800}
.goal-card .value.light{color:#475569;font-weight:700}
.donate-title{margin:22px auto 16px;text-align:center;text-transform:uppercase;font-size:13px;letter-spacing:.3px;color:var(--gray-700);max-width:560px;display:flex;align-items:center;gap:12px}
.donate-title::before,.donate-title::after{content:"";height:1px;background:var(--gray-200);flex:1}
.donate-title::before{margin-right:6px}
.donate-title::after{margin-left:6px}
.donate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:560px;margin:0 auto}
.donate-btn{background:var(--green-600);color:#fff;border:0;border-radius:8px;padding:14px 18px;font-weight:800;cursor:pointer;transition:transform .06s ease,background .2s ease;box-shadow:inset 0 -2px 0 rgba(0,0,0,.15),0 1px 0 rgba(0,0,0,.06)}
.donate-btn:hover{background:var(--green-700);transform:translateY(-1px)}
.donate-btn:active{transform:translateY(0)}
.donate-btn--xl{grid-column:1/-1}
.comments{padding:28px 0 40px}
.card{background:#fff;border:1px solid var(--gray-200);border-radius:10px;padding:16px}
.card-title{margin:0 0 10px;font-size:14px;color:var(--gray-700)}
.comment-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.comment-item{display:flex;gap:12px;align-items:flex-start;position:relative}
.avatar{width:40px;height:40px;border-radius:999px}
.comment-content{flex:1;padding-right:80px}
.comment-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.comment-header .name{font-weight:700}
.comment-header .dot{width:4px;height:4px;border-radius:50%;background:var(--gray-300)}
.comment-header .time{color:var(--gray-600);font-size:12px}
.comment-actions{display:flex;gap:10px;margin-top:6px;align-items:center}
.comment-actions button{background:transparent;border:0;color:var(--green-700);font-weight:600;cursor:pointer}
.login-note{margin-top:10px;color:var(--gray-600);font-size:12px;text-align:center}
.reaction-group{display:flex;align-items:center;gap:4px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:20px;padding:4px 8px;position:absolute;top:0;right:0}
.reaction-icon{width:16px;height:16px;object-fit:contain}
.reaction-count{font-size:12px;color:var(--gray-600);font-weight:500;margin-left:2px}
.site-footer{border-top:1px solid var(--gray-200);background:#0f1115;color:#e5e7eb}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;gap:20px;padding:28px 16px;align-items:flex-start}
.footer-brand{grid-column:1/2}
.footer-col h4{margin:0 0 10px;font-size:14px;color:#fff}
.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.footer-col a{color:#cbd5e1;text-decoration:none}
.footer-col a:hover{color:#fff}
.badges{display:flex;gap:10px}
.store-badge{display:inline-block;background:#111;color:#fff;text-decoration:none;border-radius:8px;padding:10px 12px;font-weight:700}
.copyright{text-align:center;color:#9ca3af;font-size:12px;border-top:1px solid #1f2937;padding:10px 0}
@media (max-width:720px){.main-nav{display:none}.menu-btn{display:inline-block}.footer-grid{grid-template-columns:1fr 1fr}}

/* Estilos da página PIX */
.payment-container {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.payment-header {
    text-align: center;
    margin-bottom: 20px;
}

.payment-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    object-fit: contain;
}

.payment-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.amount-highlight {
    color: #17b35e;
    font-weight: 700;
}

.payment-instructions {
    text-align: center;
    color: #666;
    margin-bottom: 28px;
    line-height: 1.5;
}

.qr-section {
    margin-bottom: 28px;
}

.qr-container {
    text-align: center;
    margin-bottom: 24px;
}

.qr-code {
    max-width: 180px;
    width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #17b35e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.or-divider {
    text-align: center;
    color: #999;
    margin: 20px 0;
    font-weight: 500;
}

.pix-code-section {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pix-code-field {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    font-family: monospace;
    font-size: 12px;
    flex: 1;
    height: 40px;
    box-sizing: border-box;
    outline: none;
    resize: none;
}

.pix-code-field:focus {
    border-color: #17b35e;
    box-shadow: 0 0 0 2px rgba(23, 179, 94, 0.1);
}

.pix-code-field::placeholder {
    color: #666;
    font-style: italic;
}

.copy-btn {
    background: #17b35e;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.copy-btn:hover:not(:disabled) {
    background: #129e52;
}

.copy-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.how-to-pay {
    border-top: 1px solid #e0e0e0;
    padding-top: 24px;
}

.how-to-pay h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #666;
    line-height: 1.5;
}

.instruction-icon {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.loading-text {
    text-align: center;
    color: #666;
    font-style: italic;
}

.error {
    text-align: center;
    color: #dc3545;
    font-weight: 500;
}

@media (max-width: 600px) {
    .payment-card {
        padding: 20px;
        margin: 10px;
    }
    
    .pix-code-section {
        flex-direction: column;
        gap: 8px;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
    
    .qr-code {
        max-width: 160px;
    }
}


