/* ==========================================================================
   1. VARIÁVEIS & SISTEMA DE DESIGN (FINTECH THEME)
   ========================================================================== */
:root {
    /* Paleta Premium Tech */
    --primary-dark: #0f172a;       /* Navy Blue Profundo */
    --primary: #1e293b;            /* Slate Blue */
    --accent: #10b981;             /* Emerald Tech (Botões) */
    --accent-hover: #059669;       
    --accent-glow: rgba(16, 185, 129, 0.4);
    
    --surface-1: #ffffff;          /* Branco Puro */
    --surface-2: #f8fafc;          /* Off-white tech (Fundo Geral) */
    --surface-3: #e2e8f0;          /* Bordas sutis */
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   2. RESET & ESTRUTURA GLOBAL
   ========================================================================== */
* { box-sizing: border-box; outline: none; }

html, body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-stack);
    background-color: var(--surface-2);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* Correção Nuclear: Remove espaços em branco/cinza no topo */
#__next, 
.page-campaign-layout_campaignPageLayout__ZK9_s,
.t-campaign-page-template,
.t-campaign-page-template-top {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background-color: #fff !important;
    border: none !important;
}

/* ==========================================================================
   3. HEADER INSTITUCIONAL (BRANCO & FIXO)
   ========================================================================== */
.hrt-header {
    background-color: #fff !important;
    width: 100% !important;
    padding: 15px 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    margin: 0 !important;
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.hrt-header-center {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.hrt-header-center img {
    max-height: 55px !important;
    width: auto;
    display: block;
    margin: 0 auto !important;
}

.hrt-header-nav {
    padding: 0 !important;
    min-height: 0 !important;
}

/* ==========================================================================
   4. CONTEÚDO PRINCIPAL (LAYOUT & MARGENS CORRIGIDAS)
   ========================================================================== */
.t-campaign-page-template-content {
    background-color: var(--surface-2) !important;
    margin-top: 0 !important;
    padding-top: 40px !important;
    position: relative;
    z-index: 1;
}

/* DEFINIÇÃO GLOBAL DE MARGENS (24px) */
.p-campaign, 
.hrt-container,
.t-campaign-page-template-content {
    max-width: 780px !important;
    margin: 0 auto;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
}

/* Tipografia Geral dos Títulos */
h1, h2, h3, h4 {
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.p-campaign-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   5. COMPONENTES VISUAIS (VÍDEO, BARRA, BOTÕES)
   ========================================================================== */

/* Vídeo / Hero */
.p-campaign-collage {
    background: #000 !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
    border: 1px solid rgba(255,255,255,0.5);
    aspect-ratio: 16 / 9;
    max-height: 450px;
}

.p-campaign-collage vturb-smartplayer {
    width: 100% !important;
    height: 100% !important;
}

/* Barra de Progresso (Container Branco) */
.progress-meter {
    background: #ffffff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    margin: 1.5rem 0;
}

.meter-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.meter-bar-container {
    margin: 10px 0 25px 0;
    width: 100%;
    height: 12px;
    background: #f1f5f9;
    border-radius: 100px;
    overflow: hidden;
}

progress.gfm-goal-bar {
    width: 100%;
    height: 12px;
    display: block;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    border-radius: 100px;
}

progress.gfm-goal-bar::-webkit-progress-bar {
    background-color: #f1f5f9;
    border-radius: 100px;
}

progress.gfm-goal-bar::-webkit-progress-value {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 100px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

progress.gfm-goal-bar::-moz-progress-bar {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 100px;
}

/* Grid de Estatísticas */
.meter-stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.stat-item.right-align {
    justify-content: flex-end;
    text-align: right;
    flex-direction: row;
}

.stat-item.right-align .stat-icon-bg { order: 2; }
.stat-item.right-align .stat-info { order: 1; }

.stat-icon-bg {
    width: 40px;
    height: 40px;
    background-color: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1fae5;
}

.stat-svg {
    width: 20px;
    height: 20px;
    color: #059669;
}

.stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
}

.stat-number {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
    margin: 0 15px;
}

/* ==========================================================================
   BOTÃO DE DOAÇÃO (COMPACTO & CENTRALIZADO)
   ========================================================================== */
.gfm-donate-button {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px !important; /* Altura equilibrada */
    border-radius: 10px !important; /* Estilo Pílula */
    border: none !important;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Configuração Compacta */
    width: 100% !important;
    max-width: 320px !important; /* Trava a largura */
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    cursor: pointer;
    font-size: 1rem !important;
}

.gfm-donate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
    filter: brightness(1.1);
}

/* ==========================================================================
   6. CARD DA ORGANIZAÇÃO (Perfil)
   ========================================================================== */
.m-campaign-byline {
    margin-top: 2rem;
    background: transparent; 
    border: none;
    padding: 0;
}

.org-profile-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.org-avatar-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.org-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.org-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.org-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.org-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

.org-icon {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    flex-shrink: 0;
}

.org-cnpj-link {
    background: none;
    border: none;
    padding: 0;
    color: #64748b;
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    text-align: left;
}

.org-cnpj-link:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.org-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    margin-top: 6px;
    width: fit-content;
}

/* Modal do CNPJ */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.modal__backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal__dialog {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.modal__close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

/* ==========================================================================
   7. BANNER DE SEGURANÇA (TRUST BADGE)
   ========================================================================== */
.trust-badge-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(to right, #ecfdf5, #f0f9ff);
    border: 1px solid #d1fae5;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 2rem 0; 
}

.trust-badge-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    color: var(--accent);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.trust-badge-icon svg { width: 26px; height: 26px; }

.trust-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.trust-badge-text strong {
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.trust-badge-text span {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   8. STORYTELLING & TEXTO (PADRONIZADO E COM MARGENS CORRIGIDAS)
   ========================================================================== */

/* Container Principal do Texto */
.campaign-description,
.campaign-description_content__C1C_5,
[data-testid="campaign-description"] {
    /* FORÇA O ESPAÇAMENTO LATERAL DE 24PX */
    padding-left: 24px !important;
    padding-right: 24px !important;
    
    font-family: var(--font-stack) !important;
    color: #334155 !important;
    margin-top: 2rem !important;
    box-sizing: border-box !important;
}

/* O container de cada seção de texto */
.campaign-text-block {
    margin-bottom: 3rem; 
}

/* Títulos (H3, H4) dentro dos blocos */
.campaign-text-block h3,
.campaign-text-block h4,
.campaign-description h3, 
.campaign-description h4 {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: var(--primary-dark) !important;
    margin-top: 0 !important;
    margin-bottom: 1.2rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    
    /* Barra lateral verde */
    border-left: 6px solid var(--accent) !important;
    padding-left: 18px !important;
}

/* Parágrafos dentro dos blocos */
.campaign-text-block p,
.campaign-description p {
    font-size: 0.9rem !important;
    line-height: 1.75 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.01em !important;
    color: #334155 !important;
}

/* Negritos (Marca-texto) */
.campaign-text-block p b,
.campaign-text-block p strong,
.campaign-description p b,
.campaign-description p strong {
    background-color: #ecfdf5 !important;
    color: #047857 !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Imagens no meio do texto */
.campaign-text-block img,
.campaign-description img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 20px !important; 
    margin: 1.5rem 0 !important;
    display: block !important;
}

/* Botão Doar Agora DENTRO do texto (Compacto) */
.campaign-text-block .gfm-donate-button,
[data-testid="campaign-description"] .gfm-donate-button {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
    max-width: 280px !important; /* Um pouco menor dentro do texto */
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25) !important;
}

/* ==========================================================================
   9. LISTA DE IMPACTO (Cards Bento)
   ========================================================================== */
.doacao-impacto__lista {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.doacao-impacto__item {
    background: #fff;
    border-left: 4px solid #ef4444;
    padding: 15px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

.doacao-impacto__pos {
    background: linear-gradient(to right, #ecfdf5, #fff);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.doacao-impacto__ico svg { width: 24px; height: 24px; }
.doacao-impacto__ico--neg { color: #ef4444; }
.doacao-impacto__ico--pos { color: var(--accent); }

/* ==========================================================================
   10. MODAL DE DOAÇÃO (BALANCEADO)
   ========================================================================== */

.donation-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; 
    opacity: 0;
    transition: opacity 0.3s ease;
}
.donation-modal.show { opacity: 1; }

.donation-modal__backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
}

.donation-modal__dialog {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 450px; /* Largura ideal */
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    max-height: 95vh;
    overflow: hidden; 
}

/* --- HEADER --- */
.donation-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    flex-shrink: 0;
}

.donation-modal__header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-dark);
}

.donation-modal__close {
    background: transparent !important;
    border: none !important;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.donation-modal__close:hover { color: #ef4444; }

.donation-modal__body {
    padding: 20px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 10px !important;
}

/* --- GRID DE 3 COLUNAS --- */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
    margin-bottom: 15px;
}

.donation-amount-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    padding: 12px 5px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.donation-amount-btn:hover { border-color: var(--accent); background: #ecfdf5; }

.donation-amount-btn.selected {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
    transform: translateY(-1px);
}

/* --- CAIXA AZUL DE FEEDBACK --- */
.donation-selected-wrap {
    background: #eff6ff; 
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    margin-bottom: 15px;
    color: #1e3a8a; 
    animation: fadeIn 0.3s ease;
}

.donation-selected-wrap span { font-size: 0.9rem; font-weight: 600; }
.donation-selected-wrap strong { font-size: 1.2rem; font-weight: 800; color: #2563eb; }

/* --- INPUT --- */
.donation-input-group { margin-bottom: 20px; }

.custom-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 16px;
    height: 50px;
    transition: border-color 0.2s;
}
.custom-input-wrapper:focus-within { border-color: var(--accent); }

.currency-prefix { font-weight: 700; color: #94a3b8; font-size: 1.1rem; margin-right: 8px; }

.custom-input-wrapper input {
    width: 100%; border: none; height: 100%;
    font-size: 1.2rem; font-weight: 700; color: var(--primary-dark);
    background: transparent; padding: 0;
}

/* --- FORMULÁRIO --- */
.donation-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--primary-dark);
    font-family: inherit;
}
.form-input:focus { border-color: var(--accent); outline: none; }

.checkbox-container {
    display: flex; align-items: center; gap: 8px; cursor: pointer; margin: 2px 0;
}
.checkbox-container input { width: 18px; height: 18px; accent-color: var(--accent); }
.checkbox-label { font-size: 0.9rem; color: #475569; }

/* --- BOTÃO DE AÇÃO --- */
.donation-submit-btn {
    margin-top: 20px;
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s;
}
.donation-submit-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.donation-footer-security {
    text-align: center; margin-top: 15px; font-size: 0.75rem; color: #94a3b8;
}

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

/* ==========================================================================
   11. ELEMENTOS DINÂMICOS (JS Targets)
   ========================================================================== */

#notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 90%;
}

.notification {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-size: 0.85rem;
    line-height: 1.3;
    font-weight: 500;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideInLeft 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
               fadeOut 0.5s ease-in 5.5s forwards;
    transform: translateX(-100%);
    opacity: 0;
}

.notification::before { content: '💙'; font-size: 1rem; }

.global-loading, .donation-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary-dark);
    font-weight: 600;
}

.global-loading {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 20000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--surface-3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================
   12. FAQ MODERNO (ACCORDION CLEAN)
   ========================================= */

.faq-doacoes {
    background: #ffffff;
    padding: 4rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid #f1f5f9; 
}

.faq-container {
    max-width: 700px; 
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
    margin-top: -40px;
    margin-bottom: 20px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-item.open {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover { background-color: #f8fafc; }

.faq-icon {
    width: 20px; 
    height: 20px;
    color: #94a3b8; 
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0; 
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--accent); 
}

.faq-item.open .faq-question { color: var(--accent); }

.faq-answer {
    display: none; 
    background-color: #fff;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
    animation: slideDown 0.3s ease-out forwards;
}

.faq-content-inner {
    padding: 0 24px 24px 24px; 
    border-top: 1px solid #f1f5f9; 
    padding-top: 15px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   FOOTER PREMIUM (FINAL)
   ========================================= */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100vw; 
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw; 
    margin-right: -50vw; 
    box-sizing: border-box; 
    padding-top: 3rem; 
    padding-bottom: 1rem;
    margin-top: 0px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr; 
    gap: 40px;
    padding-bottom: 3rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo-box {
    padding: 0px 86px;
    border-radius: 12px;
    display: inline-block;
}

.footer-logo {
    height: 50px; 
    width: auto;
    display: block;
}

.footer-mission {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 300px;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social a {
    background: rgba(255,255,255,0.1);
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--accent, #10b981); 
    transform: translateY(-2px);
}

.footer h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-links-col a:hover {
    color: var(--accent, #10b981); 
    transform: translateX(5px); 
}

.contact-row {
    display: flex;
    align-items: center; 
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.contact-icon {
    width: 18px; height: 18px;
    color: var(--accent, #10b981);
    flex-shrink: 0;
}

.cnpj-box {
    background: rgba(255,255,255,0.05);
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 15px;
    display: inline-block;
}

.cnpj-box small {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.cnpj-box strong {
    color: #fff;
    font-family: monospace;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-bottom {
    background: #020617; 
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-secure-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 100px;
}

/* ==========================================================================
   13. RESPONSIVIDADE (MOBILE AJUSTES FINAIS)
   ========================================================================== */
@media (max-width: 768px) {
    /* Ajuste de Padding Lateral (UNIFICADO COM O GERAL) */
    .p-campaign, 
    .hrt-container,
    .campaign-description, 
    [data-testid="campaign-description"] { 
        padding-left: 24px !important; 
        padding-right: 24px !important; 
    }
    
    .p-campaign-title { font-size: 1.6rem; margin-top: 0rem; }
    
    .org-profile-card { padding: 15px; gap: 15px; }
    .org-avatar-wrapper { width: 60px; height: 60px; }
    .org-name { font-size: 1rem; }
    .org-text, .org-cnpj-link { font-size: 0.85rem; }
    
    .trust-badge-banner {
        padding: 14px;
        gap: 12px;
        align-items: flex-start;
    }
    .trust-badge-icon { width: 40px; height: 40px; }
    .trust-badge-icon svg { width: 22px; height: 22px; }
    
    .meter-value { font-size: 1.8rem; }
    .stat-icon-bg { width: 32px; height: 32px; }
    .stat-svg { width: 16px; height: 16px; }

    #notification-container {
        left: 10px; bottom: 10px; right: auto;
    }
    .notification {
        padding: 8px 12px;
        font-size: 0.75rem;
        border-left-width: 3px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        max-width: 280px;
    }
    .notification::before { font-size: 0.9rem; }
    
    /* Footer Mobile */
    .footer-container {
        grid-template-columns: 1fr; 
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand-col, .footer-links-col, .footer-contact-col {
        align-items: center; 
    }
    
    .footer-mission { margin: 0 auto; }
    
    .contact-row {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   ALERTA DE ERRO (COM ANIMAÇÃO SHAKE)
   ========================================= */

.donation-error {
    background-color: #fef2f2; 
    border: 1px solid #ef4444; 
    color: #b91c1c; 
    padding: 14px 16px 14px 45px; 
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative; 
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

.donation-error::before {
    content: '!';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* =========================================
   SLIDER DE BANNERS DA EQUIPE
   ========================================= */

.team-banner-section {
    margin: 3rem 0 4rem 0;
    position: relative;
}

.team-banner-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    border-left: 6px solid var(--accent);
    padding-left: 18px;
}

.banner-slider-container {
    margin-left: -20px; 
    margin-right: -20px;
}

.banner-track {
    display: flex;
    gap: 16px; 
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    padding: 10px 20px 30px 20px; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}
.banner-track::-webkit-scrollbar { display: none; }

.banner-item {
    position: relative;
    flex: 0 0 85%; 
    max-width: 400px; 
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: center; 
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.4);
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    background: #cbd5e1; 
}

.banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 40%, transparent 100%);
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 24px;
    z-index: 2; 
}

.banner-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-role {
    color: var(--accent); 
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.swipe-hint {
    text-align: center; font-size: 0.75rem; color: #94a3b8; margin-top: -10px;
    animation: bounceRight 2s infinite;
}
@keyframes bounceRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

@media (min-width: 768px) {
    .banner-slider-container { margin: 0; } 
    .banner-track { padding: 10px 0 30px 0; gap: 24px; }
    .banner-item { flex: 0 0 45%; }
    .swipe-hint { display: none; }
}

/* =========================================
   IMPACTO: DUAL CARD
   ========================================= */

.impact-section {
    margin: 3rem 0;
    padding: 0 10px;
}

.impact-dual-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 500px; 
    margin: 0 auto;
}

.impact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 28px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 24px -5px rgba(0,0,0,0.06);
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.impact-card.is-visible, 
.connector-arrow.is-visible {
    opacity: 1; transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }

.impact-card .card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 0 !important; 
    margin-bottom: 20px !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
    border-left-width: 6px !important;
    border-left-style: solid !important;
    padding-left: 15px !important;
}

/* CARD 1: REALIDADE (VERMELHO) */
.reality-card {
    border: 1px solid #f1f5f9;
    border-left: 6px solid #ef4444; 
    z-index: 1;
}

.reality-card .card-title {
    border-left-color: #ef4444 !important; 
    color: #b91c1c !important;
}

.clean-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; 
    gap: 12px;
}

.clean-list li {
    display: flex; align-items: center; gap: 12px;
    color: #64748b; font-size: 0.9rem; font-weight: 500;
}

.dot {
    width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; 
}
.red-dot { background-color: #ef4444; box-shadow: 0 0 0 2px #fee2e2; }

/* SETA CONECTOR */
.connector-arrow {
    color: #cbd5e1; margin: -10px 0; z-index: 2;
    background: #f8fafc; border-radius: 50%; padding: 6px;
    display: flex; opacity: 0; transform: translateY(20px);
    transition: all 0.6s ease;
}

/* CARD 2: ESPERANÇA (VERDE) */
.hope-card {
    background: #ffffff;
    border: 1px solid #d1fae5;
    border-left: 6px solid #10b981; 
    box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.15);
    z-index: 3;
}

.hope-card .card-title {
    border-left-color: #10b981 !important;
    color: #059669 !important;
}

.hope-text {
    font-size: 1.05rem; color: #334155; line-height: 1.6; margin-bottom: 20px;
}
.hope-text strong { 
    color: #047857; background: #ecfdf5; padding: 0 4px; border-radius: 4px;
}

.impact-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #ecfdf5; color: #047857;
    font-weight: 800; font-size: 0.85rem;
    padding: 8px 14px; border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .impact-dual-container {
        flex-direction: row; align-items: stretch; gap: 20px; max-width: 800px;
    }
    .connector-arrow {
        transform: rotate(-90deg) translateY(20px); margin: 0; background: transparent;
    }
    .connector-arrow.is-visible {
        transform: rotate(-90deg) translateY(0);
    }
}

/* =========================================
   LOADING DE SEGURANÇA
   ========================================= */

body.loading-active { overflow: hidden !important; }

.security-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(30, 41, 59, 0.8); 
    backdrop-filter: blur(5px); 
    z-index: 999999; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease-in-out; 
}

.security-modal {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 90%;
    width: 380px;
    transform: scale(1);
    transition: transform 0.8s ease-in-out;
}

.security-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(16, 185, 129, 0.2); 
    border-radius: 50%;
    border-top-color: #10b981; 
    animation: security-spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes security-spin { to { transform: rotate(360deg); } }

.security-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.security-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.security-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.security-overlay.loaded .security-modal {
    transform: scale(0.9);
    opacity: 0;
}

.security-success-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto; 
}

#stateSuccess {
    animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   NOVO DESIGN DA BARRA DE PROGRESSO
   ========================================= */

.meter-header-row {
    display: flex;
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 15px; 
}

.meter-info-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meter-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-amount {
    font-size: 2rem; 
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
}

.percentage-badge-standalone {
    background-color: var(--accent); 
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 8px 18px; 
    border-radius: 50px; 
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3); 
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(15px) scale(0.9); 
}

.percentage-badge-standalone.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1);
}

@media (max-width: 480px) {
    .main-amount { font-size: 1.6rem; }
    .percentage-badge-standalone { font-size: 0.95rem; padding: 6px 14px; }
}

/* =========================================
   ESTILOS DO NOVO BANNER ESTÁTICO
   ========================================= */

.main-banner-container {
    max-width: 800px; 
    width: 100%;
    padding: 0 15px; 
    margin-bottom: 30px; 
}

.banner-frame {
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.2); 
    background-color: #f1f5f9; 
    line-height: 0; 
}

.campaign-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
}

@media (max-width: 480px) {
    .main-banner-container { padding: 0; }
    .banner-frame { border-radius: 0; box-shadow: none; }
}

/* =========================================
   ESTILOS DO CABEÇALHO DA CAMPANHA
   ========================================= */

.p-campaign-header {
    text-align: left; 
    margin-bottom: 25px;
}

.campaign-topic {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b; 
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px; 
    text-align: center;
    margin-top: -15px;
}

.campaign-id {
    font-size: 1rem;
    font-weight: 700; 
    color: var(--primary-dark); 
    margin-top: 12px; 
    margin-bottom: 20px;
}

.p-campaign-title {
    line-height: 1.3;
    margin-bottom: 0 !important; 
}

@media (max-width: 480px) {
    .campaign-topic { font-size: 0.8rem; }
    .campaign-id { font-size: 0.95rem; margin-top: 10px; }
}

/* =========================================
   MENU LATERAL (OFF-CANVAS)
   ========================================= */

.menu-trigger {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-trigger .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #334155;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2000;
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #0f172a;
    z-index: 2001;
    transform: translateX(-102%); 
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 5px 0 25px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.side-menu.active { transform: translateX(0); }

.side-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

.menu-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 5px 15px;
    transition: color 0.3s;
}

.menu-close-btn:hover { color: var(--accent, #10b981); }

.menu-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    overflow-y: auto;
}

.menu-list li { border-bottom: 1px solid rgba(255,255,255,0.05); }

.menu-list a {
    display: block;
    padding: 18px 30px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.menu-list a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent, #10b981);
    padding-left: 40px;
}

/* =========================================
   PIX CARD (ESTILO FINAL)
   ========================================= */
#pix-shield-wrapper {
    all: initial; 
    font-family: 'Inter', sans-serif, system-ui;
    display: block;
    margin: 30px auto;
    width: 100%;
    max-width: 480px; 
    box-sizing: border-box;
    text-align: left;
    line-height: normal;
}

#pix-shield-wrapper * { box-sizing: border-box; }

.pix-card-final {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 25px -5px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 100%;
}

.pix-header-final {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

img.pix-logo-final {
    width: 75px !important;
    max-width: 75px !important;
    height: auto !important;
    min-height: auto !important;
    display: block !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    flex-shrink: 0; 
    box-shadow: none !important;
}

.pix-header-text h3 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important; 
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    background: none !important;
    text-transform: none !important;
}

.pix-header-text p {
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
    color: #64748b !important;
    font-weight: 400 !important;
    border: none !important;
}

.pix-body-final { padding: 24px; }

.pix-label-final {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pix-action-final {
    display: flex;
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: visible; 
    margin-bottom: 24px;
    height: 56px;
    width: 100%;
    background: #fff;
}

.pix-action-final:hover { border-color: #008044; }

.pix-input-final {
    flex: 1; 
    width: 0; 
    min-width: 0; 
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    font-size: 13px;
    color: #0f172a !important;
    font-weight: 700 !important;
    outline: none;
    font-family: 'Inter', sans-serif;
    margin: 0 !important;
    height: 100%;
}

button.pix-btn-final {
    background: #008044 !important;
    color: white !important;
    border: none !important;
    padding: 0 24px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer;
    border-radius: 0 9px 9px 0 !important; 
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    height: 100% !important;
    box-shadow: none !important;
    white-space: nowrap;
}

button.pix-btn-final:active { background: #015d32 !important; }

button.pix-btn-final svg {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    fill: none;
    display: block;
}

.pix-popup-final {
    position: absolute;
    bottom: 125%; 
    right: 0; 
    left: 0;
    margin: auto;
    width: max-content;
    max-width: 90%;
    background-color: #1e293b;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}

.pix-popup-final::after {
    content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px;
    border-width: 6px; border-style: solid; border-color: #1e293b transparent transparent transparent;
}

.pix-popup-final.show { opacity: 1; visibility: visible; transform: translateY(0); }

.pix-steps-final {
    background: #f0fdf4;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #dcfce7;
}

.pix-step-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.pix-step-row:last-child { margin-bottom: 0; }

.step-num-final {
    background: #bbf7d0;
    color: #166534;
    font-weight: 800;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-desc-final {
    font-size: 0.95rem !important;
    color: #334155 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}

.pix-footer-final {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    border-top: 1px dashed #cbd5e1;
    padding-top: 16px;
    line-height: 1.5;
}
.pix-footer-final strong { color: #334155; font-weight: 700; }

@media (max-width: 480px) {
    .pix-body-final { padding: 16px; }
    .pix-header-final { padding: 16px; }
    button.pix-btn-final { padding: 0 16px !important; font-size: 0.9rem !important; }
}