/* ==========================================
   PÁGINA DE FINANCIAMENTO
   ========================================== */

/* Hero Section */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00C247 0%, #00a03a 100%);
    margin-top: 120px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 3rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-content .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

.hero-content .breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-content .breadcrumb a:hover {
    opacity: 0.8;
}

.hero-content .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.7);
}

.hero-content .breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

/* Simulador Section */
.simulador-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.simulador-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Formulário do Simulador */
.simulador-form-wrapper {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-title i {
    color: #00C247;
}

.form-subtitle {
    font-size: 1rem;
    color: #6c757d;
}

.simulador-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.input-with-prefix {
    position: relative;
    display: block;
}

.input-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #6c757d;
    pointer-events: none;
    z-index: 2;
    font-size: 0.95rem;
}

.input-with-prefix input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3.25rem !important;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: #fff;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00C247;
    box-shadow: 0 0 0 4px rgba(0, 194, 71, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-help {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Resultado */
.simulador-resultado-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.resultado-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 500px;
}

.resultado-placeholder i {
    font-size: 4rem;
    color: #00C247;
    margin-bottom: 1.5rem;
}

.resultado-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.resultado-placeholder p {
    color: #6c757d;
    max-width: 300px;
}

.resultado-content {
    padding: 2.5rem;
}

.resultado-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
}

.resultado-principal {
    background: linear-gradient(135deg, #00C247 0%, #00a03a 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.resultado-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.resultado-item.destaque {
    padding: 0;
}

.resultado-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.resultado-item.destaque .resultado-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.resultado-valor {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.resultado-item.destaque .resultado-valor {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.resultado-detalhes {
    border-top: 2px solid #e9ecef;
}

.resultado-detalhes .resultado-item {
    border-bottom: 1px solid #f8f9fa;
}

.resultado-detalhes .resultado-item:last-child {
    border-bottom: none;
}

.resultado-detalhes .resultado-label {
    color: #6c757d;
}

.resultado-detalhes .resultado-valor {
    color: #212529;
    font-size: 1.125rem;
}

.resultado-acoes {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Bancos Parceiros */
.bancos-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
}

.bancos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.banco-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.banco-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.banco-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 194, 71, 0.1);
    border-radius: 50%;
}

.banco-logo i {
    font-size: 2.5rem;
    color: #00C247;
}

.banco-nome {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.banco-descricao {
    font-size: 0.95rem;
    color: #6c757d;
}

/* Como Funciona */
.como-funciona-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.passos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.passo-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.passo-card:hover {
    transform: translateY(-5px);
}

.passo-numero {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00C247 0%, #00a03a 100%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 194, 71, 0.3);
}

.passo-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 194, 71, 0.1);
    border-radius: 15px;
}

.passo-icon i {
    font-size: 2rem;
    color: #00C247;
}

.passo-titulo {
    font-size: 1.125rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.passo-descricao {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Documentos */
.documentos-section {
    padding: 5rem 0;
}

.documentos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.documentos-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.documentos-intro {
    font-size: 1.05rem;
    color: #495057;
    margin-bottom: 2rem;
}

.documentos-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.doc-item:hover {
    background: rgba(0, 194, 71, 0.1);
    transform: translateX(10px);
}

.doc-item i {
    color: #00C247;
    font-size: 1.25rem;
}

.doc-item span {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
}

.documentos-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.documentos-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-question i {
    color: #00C247;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #212529;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #00C247 0%, #00a03a 100%);
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Responsividade */
@media (max-width: 1200px) {
    .simulador-grid {
        gap: 2rem;
    }
    
    .passos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .page-hero {
        margin-top: 100px;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .simulador-grid {
        grid-template-columns: 1fr;
    }
    
    .bancos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .passos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .documentos-grid {
        grid-template-columns: 1fr;
    }
    
    .documentos-image {
        order: -1;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .simulador-section,
    .bancos-section,
    .como-funciona-section,
    .documentos-section,
    .faq-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    .simulador-form-wrapper,
    .resultado-content {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .resultado-item.destaque .resultado-valor {
        font-size: 2.5rem;
    }
    
    .bancos-grid {
        grid-template-columns: 1fr;
    }
    
    .passos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-hero {
        min-height: 250px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-content .breadcrumb {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .simulador-form-wrapper,
    .resultado-content,
    .banco-card,
    .passo-card,
    .faq-item {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .resultado-item.destaque .resultado-valor {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ==============================================
   ESTILOS ADICIONAIS PARA CARDS DOS BANCOS
   ============================================== */

/* Card do Banco - Ajustes para incluir botão */
.banco-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 280px;
}

.banco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.banco-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.banco-logo i {
    font-size: 32px;
    color: #ffffff;
}

.banco-nome {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.banco-descricao {
    font-size: 14px;
    color: #718096;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Botão de simulação no card do banco */
.banco-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.banco-card .btn-outline {
    color: #667eea;
    background-color: transparent;
    border: 2px solid #667eea;
}

.banco-card .btn-outline:hover {
    color: #ffffff;
    background-color: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.banco-card .btn i {
    margin-right: 6px;
    font-size: 12px;
}

/* Tamanho do botão pequeno */
.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

/* Grid dos bancos - ajustes */
.bancos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Responsividade */
@media (max-width: 768px) {
    .banco-card {
        padding: 25px 15px;
        min-height: 260px;
    }
    
    .banco-logo {
        width: 70px;
        height: 70px;
    }
    
    .banco-logo i {
        font-size: 28px;
    }
    
    .banco-nome {
        font-size: 16px;
    }
    
    .banco-descricao {
        font-size: 13px;
    }
    
    .bancos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Animação para o ícone externo */
.banco-card .btn i.fa-external-link-alt {
    transition: transform 0.3s ease;
}

.banco-card .btn:hover i.fa-external-link-alt {
    transform: translateX(3px) translateY(-3px);
}

/* Estado de foco acessibilidade */
.banco-card .btn:focus {
    outline: 3px solid rgba(102, 126, 234, 0.4);
    outline-offset: 2px;
}

/* Variações de cores por banco (opcional) */
.banco-card:nth-child(1) .banco-logo {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.banco-card:nth-child(2) .banco-logo {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.banco-card:nth-child(3) .banco-logo {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.banco-card:nth-child(4) .banco-logo {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.banco-card:nth-child(5) .banco-logo {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.banco-card:nth-child(6) .banco-logo {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}