/* assets/css/financiamento-imobiliario.css */
/* CSS ISOLADO - Apenas para Calculadora de Financiamento Imobiliário */
/* CORES FINANCEIRAS APLICADAS: Verde dinheiro + Dourado riqueza */

/* ===================================
   VARIÁVEIS DE CORES FINANCEIRAS
   ================================== */
:root {
    --primary: #27ae60;          /* Verde dinheiro */
    --secondary: #2ecc71;        /* Verde crescimento */
    --accent: #f1c40f;           /* Dourado riqueza */
    --light: #e8f5e8;            /* Fundo verde claro */
    --gradient: linear-gradient(135deg, #27ae60, #2ecc71);
    --dark-green: #1e8449;       /* Verde escuro */
    --light-gold: #fef9e7;       /* Dourado claro */
}

/* ===================================
   SEÇÃO DA CALCULADORA FINANCIAMENTO
   ================================== */
.financiamento-calculator-section {
    margin-bottom: 3rem;
}

.financiamento-header {
    text-align: center;
    margin-bottom: 2rem;
}

.financiamento-header h1 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}

.financiamento-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
}

.financiamento-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.15);
    border: 1px solid var(--secondary);
}

.financiamento-inputs h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

/* ===================================
   DADOS DO IMÓVEL FINANCIAMENTO
   ================================== */
.financiamento-dados-imovel {
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.financiamento-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.financiamento-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.financiamento-input-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.financiamento-input-group input,
.financiamento-input-group select {
    padding: 0.8rem;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.financiamento-input-group input:focus,
.financiamento-input-group select:focus {
    outline: none;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.financiamento-money-input {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.financiamento-money-input:focus-within {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.financiamento-money-input span {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.financiamento-money-input input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.financiamento-money-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

.financiamento-percentage {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.financiamento-percentage:focus-within {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.financiamento-percentage input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.financiamento-percentage span {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

/* ===================================
   BOTÃO CALCULAR FINANCIAMENTO
   ================================== */
.financiamento-calculate-section {
    text-align: center;
    margin: 2rem 0;
}

.financiamento-calculate-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.financiamento-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary) 100%);
}

.financiamento-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO DO FINANCIAMENTO
   ================================== */
.financiamento-resultado {
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.financiamento-resultado h3 {
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.financiamento-resultado-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Resultado Principal */
.financiamento-resultado-principal {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--secondary);
}

.financiamento-resultado-principal h4 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.financiamento-resumo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.financiamento-resumo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.financiamento-resumo-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.financiamento-resumo-value {
    font-weight: bold;
    color: var(--dark-green);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* Sistemas SAC e PRICE */
.financiamento-sistema-resultado {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--secondary);
}

.financiamento-sistema-resultado h4 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.financiamento-sistema-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.financiamento-sistema-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.financiamento-sistema-item:hover {
    transform: translateX(5px);
    background: #d5f4e6;
    border-left-color: var(--primary);
}

.financiamento-sistema-item.destaque {
    background: var(--primary);
    color: white;
    border-left-color: var(--dark-green);
    font-weight: bold;
}

.financiamento-sistema-item.destaque:hover {
    background: var(--dark-green);
}

.financiamento-sistema-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.financiamento-sistema-item.destaque .financiamento-sistema-label {
    color: white;
}

.financiamento-sistema-value {
    font-weight: bold;
    color: var(--dark-green);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.financiamento-sistema-item.destaque .financiamento-sistema-value {
    color: var(--accent);
}

/* Comparação */
.financiamento-comparacao {
    background: var(--light-gold);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--accent);
}

.financiamento-comparacao h4 {
    color: #b7950b;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.financiamento-comparacao-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.financiamento-vantagem {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.financiamento-vantagem.sac {
    background: var(--light);
    border: 1px solid var(--secondary);
}

.financiamento-vantagem.price {
    background: var(--light-gold);
    border: 1px solid var(--accent);
}

.financiamento-vantagem.recomendacao {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    font-weight: 600;
}

.financiamento-vantagem-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.financiamento-vantagem-text {
    color: #2c3e50;
    font-size: 0.95rem;
}

/* Custos Adicionais */
.financiamento-custos-adicionais {
    background: #ffebee;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #f44336;
}

.financiamento-custos-adicionais h4 {
    color: #d32f2f;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f44336;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.financiamento-custos-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.financiamento-custo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #f44336;
}

.financiamento-custo-item.total {
    background: #f44336;
    color: white;
    font-weight: bold;
}

.financiamento-custo-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.financiamento-custo-item.total .financiamento-custo-label {
    color: white;
}

.financiamento-custo-value {
    font-weight: bold;
    color: #d32f2f;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.financiamento-custo-item.total .financiamento-custo-value {
    color: white;
}

/* Aviso Legal */
.financiamento-aviso-legal {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.financiamento-aviso-legal p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
   PLANILHA DE EVOLUÇÃO
   ================================== */
.financiamento-planilha {
    background: #f8f9fa;
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.financiamento-planilha h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.financiamento-planilha-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.financiamento-planilha-btn {
    background: var(--light);
    border: 2px solid var(--secondary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.financiamento-planilha-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--dark-green);
}

.financiamento-planilha-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--dark-green);
}

.financiamento-planilha-container {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--secondary);
}

.financiamento-planilha-content {
    overflow-x: auto;
}

.financiamento-planilha-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.financiamento-planilha-table th,
.financiamento-planilha-table td {
    padding: 0.6rem;
    text-align: right;
    border: 1px solid var(--secondary);
}

.financiamento-planilha-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.financiamento-planilha-table tbody tr:nth-child(even) {
    background: var(--light);
}

.financiamento-planilha-table tbody tr:hover {
    background: #d5f4e6;
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO FINANCIAMENTO
   ================================== */
.financiamento-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    animation: slideInUp 0.5s ease;
}

.financiamento-explanation h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.financiamento-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
}

.financiamento-step h4 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.financiamento-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

/* ===================================
   EXPLICAÇÃO DETALHADA COM BASE LEGAL - FINANCIAMENTO
   ================================== */
.financiamento-detailed-explanation {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light) 0%, #d5f4e6 100%);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.1);
}

.financiamento-detailed-explanation h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.financiamento-legal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.financiamento-legal-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--secondary);
    transition: all 0.3s ease;
}

.financiamento-legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.15);
    border-color: var(--primary);
}

.financiamento-legal-section h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--light);
    padding-bottom: 0.8rem;
    padding-top: 0.3rem;
    font-weight: 600;
}

.financiamento-legal-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.financiamento-legal-item:hover {
    background: #d5f4e6;
    transform: translateY(-2px);
}

.financiamento-legal-artigo {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
    align-self: flex-start;
    min-width: 200px;
}

.financiamento-legal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.financiamento-legal-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
}

.financiamento-legal-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* Detalhes dos Cálculos - Financiamento */
.financiamento-calculo-detalhe {
    background: var(--light-gold);
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 0.5rem;
    width: 100%;
}

.financiamento-calculo-detalhe p {
    font-family: 'Courier New', monospace;
    color: #7d6608;
    font-size: 0.9rem;
    margin: 0.4rem 0;
    line-height: 1.5;
}

.financiamento-calculo-detalhe p:first-child {
    font-weight: bold;
    color: #b7950b;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-family: inherit;
}

.financiamento-calculo-detalhe p strong {
    color: #b7950b;
    font-weight: bold;
}

/* Footer da Explicação Legal - Financiamento */
.financiamento-legal-footer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.financiamento-legal-footer p {
    margin: 0.5rem 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.5;
}

.financiamento-legal-footer p:first-child {
    font-weight: 600;
    color: #854d0e;
}

.financiamento-legal-footer strong {
    color: #854d0e;
}

/* ===================================
   EXEMPLOS E AJUDA FINANCIAMENTO
   ================================== */
.financiamento-examples {
    text-align: center;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.financiamento-examples.hidden {
    display: none;
}

.financiamento-examples p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.financiamento-example-btn {
    background: var(--light);
    border: 2px solid var(--secondary);
    color: var(--dark-green);
    padding: 0.6rem 1.2rem;
    margin: 0.3rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.financiamento-example-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--dark-green);
}

.financiamento-help {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    transition: all 0.3s ease;
}

.financiamento-help.hidden {
    display: none;
}

/* ===================================
   CONTEÚDO EDUCACIONAL FINANCIAMENTO
   ================================== */
.financiamento-educational-content {
    margin-top: 3rem;
}

.financiamento-content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--secondary);
}

.financiamento-content-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.financiamento-content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.financiamento-content-block strong {
    color: var(--primary);
}

/* Formula Display Financiamento */
.financiamento-formula-display {
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.financiamento-formula-display h4 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.financiamento-formula-display .formula p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Grids Exemplos e Dicas Financiamento */
.financiamento-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.financiamento-example-item {
    border: 1px solid var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.financiamento-example-item.sac {
    background: var(--light);
    border-color: var(--secondary);
}

.financiamento-example-item.price {
    background: var(--light-gold);
    border-color: var(--accent);
}

.financiamento-example-item.seguro {
    background: #ffebee;
    border-color: #f44336;
}

.financiamento-example-item.custos {
    background: #f3e5f5;
    border-color: #9c27b0;
}

.financiamento-example-item.programas {
    background: #e3f2fd;
    border-color: #2196f3;
}

.financiamento-example-item.casa-verde {
    background: #e0f2f1;
    border-color: #009688;
}

.financiamento-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.financiamento-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.financiamento-example-item.sac .financiamento-example-icon {
    color: var(--secondary);
}

.financiamento-example-item.price .financiamento-example-icon {
    color: var(--accent);
}

.financiamento-example-item.seguro .financiamento-example-icon {
    color: #f44336;
}

.financiamento-example-item.custos .financiamento-example-icon {
    color: #9c27b0;
}

.financiamento-example-item.casa-verde .financiamento-example-icon {
    color: #009688;
}

.financiamento-example-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.financiamento-example-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.financiamento-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.financiamento-tip-item {
    background: #e0f7fa;
    border: 1px solid #26c6da;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.financiamento-tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.financiamento-tip-item h4 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.financiamento-tip-item p {
    color: var(--primary);
    margin: 0;
    font-size: 0.95rem;
}

/* Exemplo de Solução Financiamento */
.financiamento-example-solution {
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.financiamento-example-solution h4 {
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.financiamento-solution-step {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.financiamento-solution-step h5 {
    color: var(--dark-green);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.financiamento-solution-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

.financiamento-solution-final {
    background: var(--primary);
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.financiamento-solution-final h5 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.financiamento-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* Processo Grid */
.financiamento-processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.financiamento-processo-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid;
}

.financiamento-processo-item.etapa1 {
    background: var(--light);
    border-color: var(--secondary);
}

.financiamento-processo-item.etapa2 {
    background: #e3f2fd;
    border-color: #2196f3;
}

.financiamento-processo-item.etapa3 {
    background: var(--light-gold);
    border-color: var(--accent);
}

.financiamento-processo-item.etapa4 {
    background: #f3e5f5;
    border-color: #9c27b0;
}

.financiamento-processo-item.etapa5 {
    background: #ffebee;
    border-color: #f44336;
}

.financiamento-processo-item.etapa6 {
    background: #e0f2f1;
    border-color: #009688;
}

.financiamento-processo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.financiamento-processo-item h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.financiamento-processo-item.etapa1 h4 { color: var(--primary); }
.financiamento-processo-item.etapa2 h4 { color: #1976d2; }
.financiamento-processo-item.etapa3 h4 { color: #b7950b; }
.financiamento-processo-item.etapa4 h4 { color: #7b1fa2; }
.financiamento-processo-item.etapa5 h4 { color: #d32f2f; }
.financiamento-processo-item.etapa6 h4 { color: #00695c; }

.financiamento-processo-item p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.financiamento-processo-destaque {
    background: #e1f5fe;
    border: 2px solid #03a9f4;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.financiamento-processo-destaque h4 {
    color: #0277bd;
    margin-bottom: 1rem;
    font-weight: 600;
}

.financiamento-processo-destaque p {
    color: #0277bd;
    margin: 0;
    font-weight: 600;
}

/* ===================================
   FAQ E REFERENCIAS ESPECÍFICAS
   ================================== */
.faq-container {
    margin-top: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--secondary);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.1);
}

.faq-question {
    background: var(--light);
    color: var(--primary);
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    width: 100%;
    text-align: left;
    list-style: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #d5f4e6;
    color: var(--dark-green);
}

.faq-question::before {
    content: '+';
    float: right;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
}

.faq-item[open] .faq-question::before {
    content: '−';
}

.faq-answer {
    padding: 1rem;
    background: white;
    color: #444;
    border-top: 1px solid var(--light);
}

.faq-answer p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--primary);
}

.references-container {
    margin-top: 1rem;
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--secondary);
}

.references-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
    color: #444;
    line-height: 1.6;
}

.reference-item:hover {
    transform: translateX(5px);
    border-left-color: var(--primary);
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.1);
}

.reference-item em {
    color: var(--primary);
    font-style: italic;
}

.credibilidade-container {
    background: linear-gradient(135deg, var(--light) 0%, #d5f4e6 100%);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.credibilidade-icon {
    font-size: 2rem;
    color: var(--accent);
}

.credibilidade-title {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.credibilidade-content {
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.credibilidade-logo {
    color: var(--primary);
    font-weight: bold;
}

.credibilidade-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.credibilidade-badge {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* ===================================
   ANIMAÇÕES FINANCIAMENTO
   ================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVIDADE FINANCIAMENTO
   ================================== */
@media (max-width: 1024px) {
    .financiamento-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .financiamento-resumo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .financiamento-header h1 {
        font-size: 2rem;
    }
    
    .financiamento-container {
        padding: 1rem;
    }
    
    .financiamento-dados-imovel {
        padding: 1rem;
    }
    
    .financiamento-input-group {
        min-width: auto;
    }
    
    .financiamento-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .financiamento-examples-grid,
    .financiamento-tips-grid,
    .financiamento-processo-grid {
        grid-template-columns: 1fr;
    }
    
    .financiamento-planilha-header {
        flex-direction: column;
        align-items: center;
    }
    
    .financiamento-detailed-explanation {
        padding: 1.5rem;
    }
    
    .financiamento-detailed-explanation h3 {
        font-size: 1.3rem;
    }
    
    .financiamento-legal-container {
        gap: 1.5rem;
    }
    
    .financiamento-legal-section {
        padding: 1rem;
    }
    
    .financiamento-legal-item {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .financiamento-legal-artigo {
        min-width: 180px;
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }
    
    .financiamento-calculo-detalhe {
        padding: 1rem;
    }
    
    .financiamento-calculo-detalhe p {
        font-size: 0.85rem;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .financiamento-header h1 {
        font-size: 1.8rem;
    }
    
    .financiamento-container {
        padding: 0.8rem;
    }
    
    .financiamento-dados-imovel {
        padding: 0.8rem;
    }
    
    .financiamento-calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .financiamento-example-icon {
        font-size: 2rem;
    }
    
    .financiamento-planilha-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .financiamento-detailed-explanation {
        padding: 1rem;
    }
    
    .financiamento-detailed-explanation h3 {
        font-size: 1.2rem;
    }
    
    .financiamento-legal-section {
        padding: 0.8rem;
    }
    
    .financiamento-legal-section h4 {
        font-size: 1.1rem;
    }
    
    .financiamento-legal-artigo {
        min-width: 160px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        align-self: center;
    }
    
    .financiamento-legal-content p {
        font-size: 0.9rem;
    }
    
    .financiamento-calculo-detalhe p {
        font-size: 0.8rem;
    }
    
    .financiamento-legal-footer {
        padding: 1rem;
    }
    
    .financiamento-legal-footer p {
        font-size: 0.85rem;
    }
    
    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        gap: 0.3rem;
    }
}