/* --- Reset Básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Definindo Poppins como padrão */
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

html {
    scroll-behavior: smooth;
}

a {
    color: #0bac61; /* Cor principal */
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700; /* Padrão mais forte para títulos */
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
}

/* --- Utilitários --- */
.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}

.bg-light {
    background-color: #f5f9f7;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}
.section-subtitle {
    text-align: center;
    color: #6a6a6a;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.button {
    display: inline-block;
    background-color: #0e6ad9;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0a2c47;
    color: #fff;
    opacity: 1;
}

.button-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* --- Cabeçalho --- */
.site-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-weight: bold;
    font-size: 1.5rem;
    color: #0e6ad9;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #333;
    font-weight: 500; /* Poppins Medium */
}
.main-nav a:hover {
    color: #0e6ad9;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Barra de Alerta --- */
.alert-bar {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
}
.alert-bar strong {
    color: #0e6ad9;
}

/* --- Seção Hero Atualizada --- */
.hero {
    background-color: #f5f9f7;
    padding: 60px 0;
    overflow: hidden;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1 1 55%;
    max-width: 55%;
    /* Organiza texto e form verticalmente */
    display: flex;
    flex-direction: column;
}

/* Estilos para o novo texto do Hero */
.hero-pretitle {
    font-size: 0.9rem;
    font-weight: 600; /* Poppins SemiBold */
    color: #0e6ad9; /* Azul similar ao da imagem */
    text-transform: uppercase;
    margin-bottom: 5px;
}

.hero-main-title { /* Era h1, agora tem classe específica */
    font-family: 'Poppins', sans-serif;
    font-weight: 900; /* Poppins Black */
    font-size: 2.8rem; /* Ajustar conforme necessário */
    color: #0a2c47; /* Azul escuro / preto */
    line-height: 1.2;
    margin-bottom: 15px; /* Espaço antes do parágrafo */
}

.hero-subtitle { /* Parágrafo abaixo do título principal */
    font-size: 1.1rem;
    color: #6a6a6a;
    margin-bottom: 30px; /* Espaço antes do formulário */
}

.hero-footnote {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px; /* Espaço após o formulário */
}
/* Fim estilos novo texto */


/* Formulário com slider funcional */
.hero-form-placeholder {
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 4px solid #0e6ad9;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%; /* Ocupa a largura da coluna */
    margin-top: 10px; /* Adiciona espaço se necessário entre texto e form */
}

.hero-form-placeholder h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.value-display {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #0e6ad9;
    padding-bottom: 15px;
}
.value-display span {
     font-size: 1.1rem;
}
#loan-amount-display {
    display: inline-block;
    min-width: 80px;
    text-align: right;
    padding: 0 5px;
}

/* Container para o input range e os valores min/max */
.range-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #555;
}

/* Estilização básica do Input Range */
input[type="range"] {
    flex-grow: 1;
    height: 8px;
    cursor: pointer;
    appearance: none;
    background: linear-gradient(to right, #0e6ad9 0%, #0e6ad9 4.5%, #d9d9d9 4.5%, #d9d9d9 100%);
    border-radius: 5px;
    outline: none;
    transition: background 0.1s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #0e6ad9;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #0e6ad9;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    border: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-radius: 5px;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-radius: 5px;
}

.button-form {
    width: 100%;
    display: block;
}

/* Placeholder da Imagem */
.hero-image {
    flex: 1 1 65%;
    max-width: 45%;
    text-align: center;
    font-style: italic;
    color: #aaa;
    min-height: 400px; /* Manter altura mínima */
    max-height: 550px; /* Limitar altura máxima se necessário */
    background-color: #e0e0e000;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.about-content { flex: 1; }
.about-image {
    flex: 1; text-align: center; font-style: italic; color: #aaa;
    background-color: #eee; min-height: 300px; display: flex;
    align-items: center; justify-content: center;
}

/* --- Nova Seção Loan Highlight --- */
.loan-highlight {
    background-color: #fff; /* Fundo branco ou pode ser outra cor */
}
.loan-highlight-container {
    display: flex;
    align-items: center;
    gap: 50px; /* Espaço entre imagem e conteúdo */
}
.loan-highlight-image {
    flex: 1 1 45%; /* Ajustar proporção */
    max-width: 45%;
    position: relative; /* Para posicionar elementos decorativos */
    text-align: center; /* Centraliza placeholder */
    min-height: 350px; /* Altura mínima */
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #aaa;
    background-color: #f0f0f0; /* Cor placeholder */
    border-radius: 15px; /* Bordas arredondadas */
}
/* Placeholders para elementos decorativos (estilizar conforme necessário) */
.decorative-shape {
    position: absolute;
    /* Exemplo: top: -20px; left: -20px; width: 150px; height: 150px; background-color: #e0f0ff; border-radius: 10px; z-index: -1; */
    color: #bbb;
}
.icon-wrapper {
     position: absolute;
     /* Exemplo: top: 20px; right: -20px; width: 60px; height: 60px; background-color: #0a2c47; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; */
     color: #bbb;
}
.image-wrapper { /* Placeholder para a imagem do homem */
     /* Exemplo: width: 80%; height: 80%; background-color: #ddd; border-radius: 10px; display: flex; align-items: center; justify-content: center; */
}

.loan-highlight-content {
    flex: 1 1 55%; /* Ajustar proporção */
    max-width: 55%;
}
.loan-title {
    font-size: 1.6rem; /* Tamanho do título */
    font-weight: 700;
    color: #0a2c47; /* Azul escuro */
    margin-bottom: 10px;
}
.ideal-for {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}
.ideal-for strong {
    color: #333;
}
.benefits-ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}
.benefits-ul li {
    padding-left: 25px; /* Espaço para o bullet */
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #333;
}
/* Bullet personalizado */
.benefits-ul li::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px; /* Ajustar verticalmente */
    width: 8px;
    height: 8px;
    background-color: #0a2c47; /* Cor do bullet */
    border-radius: 2px; /* Quadrado arredondado */
}

.loan-highlight-content .footnote {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 20px;
}
.learn-more {
    display: inline-block;
    color: #0a2c47; /* Azul do link */
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 0.95rem;
}
.learn-more:hover {
    text-decoration: underline;
    opacity: 1;
}
.button-cta {
    background-color: #0a2c47; /* Azul do botão */
    display: block; /* Ocupa largura total disponível */
   
    padding: 15px 25px; /* Mais padding */
    font-size: 1rem;
}
.button-cta:hover {
    background-color: #0e6ad9; /* Azul mais escuro */
}


/* --- Seção Sobre --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.about-content {
    flex: 1;
}
.about-image {
    flex: 1;
    text-align: center;
    font-style: italic;
    color: #aaa;
    background-color: #eeeeee00;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* --- Seção Passos --- */
.steps-list {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    text-align: center;
    flex-wrap: nowrap;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
}

.step-number {
    width: 50px;
    height: 50px;
    border: 3px solid #0e6ad9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0e6ad9;
    flex-shrink: 0;
}

.step-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.step-text {
    font-size: 0.95rem;
    color: #555;
}


/* --- Seção Benefícios --- */
.section-head {
    text-align: center;
    margin-bottom: 50px;
}
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-style: italic;
    color: #aaa;
}

.benefit-text {
    font-weight: 600; /* Poppins SemiBold */
    font-size: 1.1rem;
}

/* --- Seção Depoimentos --- */
.testimonials-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     margin-top: 40px;
}
.testimonial-card {
    border: 1px solid #d9d9d9;
    border-top: 3px solid #0e6ad9;
    padding: 30px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}
.testimonial-content {
    font-size: 1.1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.testimonial-author {
    margin-top: auto;
    font-size: 1rem;
}
.author-name {
    font-weight: bold; /* Poppins Bold */
}
.author-location {
    color: #6a6a6a;
    font-size: 0.9rem;
}

/* --- Seção FAQ --- */
.faq-list .faq-item {
    border-bottom: 1px solid #d9d9d9;
    padding: 15px 0;
    margin-bottom: 10px;
}
.faq-list .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.faq-question {
    font-size: 1.2rem;
    font-weight: 700; /* Poppins Bold */
    color: #333;
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
    padding-right: 25px;
    transition: color 0.3s ease;
}
.faq-item.active .faq-question {
    color: #0e6ad9;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300; /* Poppins Light for icon */
    color: #0e6ad9;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
     content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out, margin 0.4s ease-out;
    padding: 0 10px;
    margin-top: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    padding-top: 15px;
    padding-bottom: 10px;
    margin-top: 10px;
}

/* --- Seção Artigos --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.article-card {
    border: 1px solid #eee;
    padding: 20px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #aaa;
    background-color: #f9f9f9;
}

/* --- Rodapé --- */
.site-footer {
    color: #ccc;
}

.footer-content {
    background-color: #333;
    padding: 50px 0;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}
.footer-col {
    flex: 1;
    min-width: 200px;
}
.footer-about .logo,
.footer-about .https,
.footer-about .rating,
.footer-about .social-links {
    margin-bottom: 15px;
}
.footer-about .https,
.footer-about .rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-about .social-links {
    margin-top: 10px;
}

.footer-about .https span,
.footer-about .rating span {
    font-size: 0.9rem;
}

.social-links a {
    margin-right: 10px;
    color: #ccc;
    font-size: 1.2rem;
}
.social-links a:last-child {
    margin-right: 0;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600; /* Poppins SemiBold */
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #ccc;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: #fff;
}


.footer-legal {
    background-color: #1e1e1e;
    padding: 30px 0;
    font-size: 0.8rem;
    line-height: 1.5;
}
.footer-legal p {
    margin-bottom: 15px;
}
.footer-legal p:last-child {
    margin-bottom: 0;
}

/* --- Responsividade --- */
@media (max-width: 980px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1rem; }

    /* Header Mobile */
    .header-container { position: relative; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background-color: #fff; box-shadow: 0 4px 5px rgba(0,0,0,0.1);
        flex-direction: column; padding: 10px 0; border-top: 1px solid #eee;
    }
    .main-nav.active { display: flex; }
    .main-nav ul { flex-direction: column; width: 100%; gap: 0; }
    .main-nav li { width: 100%; }
    .main-nav a { padding: 12px 20px; display: block; border-bottom: 1px solid #eee; }
    .main-nav li:last-child a { border-bottom: none; }
    .header-actions { display: none; }
    .nav-toggle { display: block; }

    /* Hero Mobile */
    .hero { padding: 40px 0; min-height: auto; }
    .hero-container { flex-direction: column; text-align: center; gap: 30px; }
    .hero-content, .hero-image { max-width: 100%; flex-basis: auto; }
    .hero-main-title { font-size: 2.2rem; } /* Ajustar tamanho do título Poppins Black */
    .hero-pretitle { font-size: 0.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-form-placeholder { margin-left: auto; margin-right: auto; max-width: 90%; }
    .hero-image { min-height: 250px; order: -1; margin-bottom: 20px; }

    /* About Mobile */
    .about-container { flex-direction: column-reverse; text-align: center; }
    .about-image { margin-bottom: 30px; }

    /* Steps Mobile */
    .steps-list {
        flex-direction: column; gap: 30px; align-items: center; flex-wrap: wrap; /* Manter wrap aqui */
    }
    .step-item {
        flex-basis: auto; text-align: left; flex-direction: row;
        align-items: flex-start; gap: 15px; max-width: 400px;
        min-width: auto; padding: 0; flex: none;
    }
    .step-number { flex-shrink: 0; margin-bottom: 0; }
}

@media (max-width: 768px) {
     /* Hero ajustes finos */
    .hero-main-title { font-size: 1.8rem; } /* Reduzir mais */
    .hero-pretitle { font-size: 0.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .value-display { font-size: 1.5rem; }
    #loan-amount-display { min-width: 60px; }

     /* Grid de 1 coluna */
    .benefits-list,
    .testimonials-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

     /* Footer Mobile */
     .footer-container { flex-direction: column; text-align: center; }
     .footer-col { min-width: auto; width: 100%; margin-bottom: 20px; }
     .footer-col:last-child { margin-bottom: 0; }
     .footer-about .https,
     .footer-about .rating { justify-content: center; }
     .social-links { text-align: center; }
}