/*
Theme Name: Instituto Crias
Theme URI: https://institutocrias.org.br
Author: Instituto Crias
Description: Tema oficial - Formando programadores nas favelas do Brasil
Version: 2.0.0
Text Domain: institutocrias

Instituto Crias - CNPJ: 10.586.449/0001-37 | Tel: (11) 99999-5780
*/

/* ===========================================
   1. RESET & VARIÁVEIS
   =========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Cores */
    --primary: #D64545;
    --primary-hover: #C23A3A;
    --primary-light: rgba(214,69,69,0.1);
    --secondary: #2C3E50;
    --secondary-hover: #1a252f;
    --success: #00D084;
    --success-hover: #00B872;
    --success-light: rgba(0,208,132,0.1);
    --warning: #FFC107;
    --error: #DC3545;
    --text: #1A1A1A;
    --text-muted: #757575;
    --text-light: #4A4A4A;
    --bg: #FFFFFF;
    --bg-alt: #F8F9FA;
    --bg-dark: #1A1A1A;
    --border: #E0E0E0;
    --border-dark: #BDBDBD;
    
    /* ALIASES para compatibilidade com templates */
    --color-primary: #D64545;
    --color-primary-hover: #C23A3A;
    --color-primary-light: rgba(214,69,69,0.1);
    --color-secondary: #2C3E50;
    --color-success: #00D084;
    --color-success-hover: #00B872;
    --color-success-light: rgba(0,208,132,0.1);
    --color-warning: #FFC107;
    --color-error: #DC3545;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-inverse: #FFFFFF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #E9ECEF;
    --border-light: #E0E0E0;
    --border-default: #BDBDBD;
    
    /* Fontes */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    
    /* Tamanhos de Fonte */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Espaçamentos */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-body); 
    font-size: 16px; 
    line-height: 1.6; 
    color: var(--text); 
    background: var(--bg); 
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ===========================================
   2. HEADER
   =========================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
    height: 70px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO - Tamanho fixo */
.site-logo { display: flex; align-items: center; gap: 0.75rem; }
.site-logo img,
.custom-logo,
.custom-logo-link img,
.site-header img {
    height: 45px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary);
    line-height: 1.1;
}
.logo-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navegação */
.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-menu li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: var(--primary);
    font-weight: 600;
}

/* CTA Header */
.header-cta { margin-left: 1rem; }
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--primary);
    color: #FFF;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(214,69,69,0.3);
    transition: all 0.3s;
}
.btn-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(214,69,69,0.4);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.2s;
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s;
        overflow-y: auto;
    }
    .main-nav.active { transform: translateX(0); }
    .nav-menu { flex-direction: column; width: 100%; }
    .nav-menu li { width: 100%; }
    .nav-menu li a {
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }
    .header-cta { margin: 1.5rem 0 0; width: 100%; }
    .btn-cta { width: 100%; justify-content: center; padding: 1rem; }
    .mobile-toggle { display: flex; }
}

/* ===========================================
   3. HERO SECTIONS
   =========================================== */
.hero {
    padding: 4rem 0;
    text-align: center;
}
.hero .container { max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Hero Vermelho - Doação Única */
.hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #A83232 100%);
    color: #FFF;
}
.hero-primary h1 { color: #FFF; }

/* Hero Verde - Doação Recorrente */
.hero-success {
    background: linear-gradient(135deg, var(--success) 0%, #1B8344 100%);
    color: #FFF;
}
.hero-success h1 { color: #FFF; }

/* Hero Azul - Institucional */
.hero-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
    color: #FFF;
}
.hero-secondary h1 { color: #FFF; }

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
}
.hero-stat span { font-size: 0.9rem; opacity: 0.8; }

/* ===========================================
   4. BOTÕES
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary { background: var(--primary); color: #FFF; border-color: var(--primary); }
.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success { background: var(--success); color: #FFF; border-color: var(--success); }
.btn-success:hover:not(:disabled) { background: var(--success-hover); }

.btn-secondary { background: var(--secondary); color: #FFF; border-color: var(--secondary); }
.btn-secondary:hover:not(:disabled) { background: var(--secondary-hover); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border-dark); }
.btn-outline:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }

.btn-white { background: #FFF; color: var(--text); }
.btn-white:hover:not(:disabled) { background: var(--bg-alt); }

.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ===========================================
   5. CARDS
   =========================================== */
.card {
    background: var(--bg);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.card-body { padding: 2rem; }
.card-header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); }

/* Value Cards (Seleção de valores) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
@media (max-width: 700px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.value-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0.75rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.value-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
}
.value-btn.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: #FFF;
}
.value-btn.popular::after {
    content: '⭐';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.25rem;
}
.value-btn strong {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
}
.value-btn span {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Recorrente - Verde */
.recurring .value-btn:hover { border-color: var(--success); background: var(--success-light); }
.recurring .value-btn.selected { border-color: var(--success); background: var(--success); }

/* ===========================================
   6. FORMULÁRIOS
   =========================================== */
.form-group { margin-bottom: 1rem; }
.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    border: 2px solid var(--border-dark);
    border-radius: 8px;
    transition: all 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-control::placeholder { color: var(--text-muted); }

textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23757575' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.input-group { display: flex; }
.input-prefix {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: var(--bg-alt);
    border: 2px solid var(--border-dark);
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-weight: 500;
    color: var(--text-muted);
}
.input-group .form-control { border-radius: 0 8px 8px 0; }

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
@media (max-width: 500px) { .payment-methods { grid-template-columns: 1fr; } }

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
.payment-option .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.payment-option strong { font-size: 1rem; }
.payment-option span { font-size: 0.8rem; color: var(--text-muted); }

/* ===========================================
   7. ALERTAS
   =========================================== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.alert-success { background: var(--success-light); color: #0a5c36; border: 1px solid var(--success); }
.alert-error { background: rgba(220,53,69,0.1); color: #8b1c25; border: 1px solid var(--error); }
.alert-warning { background: rgba(255,193,7,0.1); color: #856404; border: 1px solid var(--warning); }
.alert-info { background: rgba(23,162,184,0.1); color: #0c5460; border: 1px solid #17A2B8; }

/* ===========================================
   8. TRUST BADGES
   =========================================== */
.trust-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: var(--bg-alt);
    font-size: 0.9rem;
    color: var(--text-light);
}
.trust-row span { display: flex; align-items: center; gap: 0.5rem; }

/* ===========================================
   9. SECTIONS
   =========================================== */
.section { padding: 4rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 5rem 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.container-sm { max-width: 800px; }
.container-lg { max-width: 1400px; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ===========================================
   10. FOOTER
   =========================================== */
.site-footer { background: var(--bg-dark); color: #FFF; }

.footer-main { padding: 4rem 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.footer-logo span { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all 0.2s;
}
.footer-links a:hover { color: #FFF; padding-left: 0.5rem; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: #FFF; }

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    font-size: 1.1rem;
    transition: all 0.3s;
}
.social-icon:hover { transform: translateY(-3px); background: rgba(255,255,255,0.2); }

.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
@media (max-width: 768px) {
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

.footer-legal { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer-legal strong { color: #FFF; }

.footer-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.footer-badges span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
}

.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* Institutional Bar */
.institutional-bar {
    text-align: center;
    padding: 1rem;
    background: var(--secondary);
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
}
.institutional-bar strong { color: #FFF; }

/* ===========================================
   11. UTILITÁRIOS
   =========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-white { color: #FFF; }

.bg-white { background: var(--bg); }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); color: #FFF; }
.bg-primary { background: var(--primary); color: #FFF; }
.bg-success { background: var(--success); color: #FFF; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-full { border-radius: 50px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.w-full { width: 100%; }
.max-w-sm { max-width: 400px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 800px; }

.hidden { display: none; }
.relative { position: relative; }

/* ===========================================
   12. ANIMAÇÕES
   =========================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.animate-fade { animation: fadeIn 0.5s ease; }
.animate-fade-up { animation: fadeInUp 0.5s ease; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s ease infinite; }

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

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
    color: #FFF;
}
.loading-overlay.active { display: flex; }

/* ===========================================
   13. COMPONENTES ESPECÍFICOS
   =========================================== */

/* PIX QR Code */
.pix-container {
    text-align: center;
    padding: 2rem;
}
.pix-qrcode {
    max-width: 200px;
    margin: 1rem auto;
    padding: 1rem;
    background: #FFF;
    border-radius: 12px;
}
.pix-copy {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 1rem auto;
}
.pix-copy input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
}
.pix-copy button {
    padding: 0.75rem 1.5rem;
    background: var(--success);
    color: #FFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Impact Numbers */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (max-width: 700px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }

.impact-item strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
}
.impact-item span { font-size: 0.9rem; opacity: 0.9; }

/* Impacto em fundo verde - garantir visibilidade */
.bg-success .impact-item strong,
.section.bg-success .impact-item strong { color: #FFFFFF !important; }
.bg-success .impact-item span { color: rgba(255,255,255,0.9); }

/* Testimonials */
.testimonial-card {
    background: var(--bg-alt);
    border-radius: 16px;
    padding: 2rem;
}
.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}
.testimonial-card blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-author .avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.testimonial-author h4 { font-size: 1rem; margin: 0; }
.testimonial-author p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
}
.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Modality Cards (Parcerias) */
.modality-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}
.modality-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.modality-card.featured {
    border-color: var(--primary);
    background: linear-gradient(to bottom, var(--primary-light), var(--bg));
}
.modality-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.modality-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.modality-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1rem; }
.modality-card ul { margin-bottom: 1.5rem; }
.modality-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.modality-card ul li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-5px);
}
.timeline-item h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.timeline-item .date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.timeline-item p { font-size: 0.9rem; color: var(--text-light); }

/* Pie Chart */
.pie-chart {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}
.pie-chart svg { width: 100%; height: 100%; }
.pie-chart-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pie-chart-center strong {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
}
.pie-chart-center span { font-size: 0.85rem; color: var(--text-muted); }

/* ===========================================
   14. PRINT
   =========================================== */
@media print {
    .site-header, .site-footer, .btn, .no-print { display: none !important; }
    body { font-size: 12pt; }
    .container { max-width: 100%; padding: 0; }
}
