/*
 * Styles for Simulador de Empréstimo com Garantia
 * Versão: 1.0.4 (Ajuste de tons de cor)
 */

.page-header {
    display: none !important;
}

.seg-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.seg-container h3 {
    color: #333;
    margin-bottom: 25px;
}

/* --- CORREÇÃO DE CAPITALIZAÇÃO --- */
h5#seg_final_message, h5#seg_final_message_imovel {
    font-weight: 300 !important;
    text-transform: none !important;
}

h5#seg_final_message strong, h5#seg_final_message_imovel strong {
    font-weight: 700 !important;
}


/* Estilos para grupos de formulário */
.seg-form-group {
    margin-bottom: 15px;
    padding: 0px;
}

/* Estilos para labels (O padrão do formulário é #555) */
.seg-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

/* Estilos para selects (dropdowns) */
.seg-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20512%22%3E%3Cpath%20fill%3D%22%23444%22%20d%3D%22M192%20256L64%20128v256l128-128z%22%2F%3E%3C%2Fsvg%3E') no-repeat right 10px center / 12px;
}

/* Estilos para o slider de empréstimo */
.seg-loan-value {
    text-align: center;
}

.seg-value-display {
    font-size: 1.8em;
    font-weight: bold;
    color: #326afd; /* Azul da marca */
    margin-bottom: 10px;
}

.seg-slider {
    width: calc(100% - 20px);
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 5px;
}

.seg-slider:hover {
    opacity: 1;
}

/* Thumb (bolinha) do slider */
.seg-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #326afd;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.seg-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #326afd;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.seg-range-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 5px;
    font-size: 0.9em;
    color: #777;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Estilos para o botão de simular */
.seg-button {
    display: block;
    width: calc(100% - 20px);
    padding: 12px 20px;
    margin: 20px 0px 0 0px;
    background-color: #0073aa;
    color: white !important;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.seg-button:hover {
    background-color: #005f8a;
    color: #0073aa !important;
}

/* Estilos para a exibição do valor FIPE do veículo */
.seg-vehicle-value-display {
    background-color: #f4fde2;
    border: 1px solid #a5ea18;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    margin: 15px 10px;
    box-sizing: border-box;
}

.seg-vehicle-value-display label {
    font-weight: normal;
    margin-bottom: 0;
    display: inline;
}

.seg-value-text {
    font-weight: bold;
    color: #326afd;
    margin-left: 5px;
    font-size: 1.1em;
}

/* Oculta o formulário de captura de lead no início */
.seg-lead-form-hidden {
    display: none;
}

/* Outros estilos para o formulário */
.seg-form label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
}

.seg-form input[type="text"],
.seg-form input[type="email"],
.seg-form input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}


.seg-results-hidden {
    display: none;
}

.seg-final-screen-hidden {
    display: none;
}

/* Oculta o texto introdutório do simulador quando necessário */
.seg-intro-text-hidden {
    display: none;
}


/* Estilos para os botões de seleção de tipo de imóvel */
.seg-imovel-type-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.seg-imovel-button {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #fff !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.seg-imovel-button .seg-imovel-icon {
    font-size: 2em;
    margin-bottom: 5px;
}

.seg-imovel-button:hover {
    background-color: #e9e9e9;
    color: #555 !important;}

/* Botão de imóvel selecionado */
.seg-imovel-button.active, .seg-imovel-button.active:hover {
    background-color: #a5eb17 !important;
    color: #555 !important;
    border-color: #a5eb17 !important;
    font-weight: bold;
}


input[type="radio"] {
  accent-color: #326afd !important;
}


/* --- NOVOS ESTILOS PARA O BLOCO DE REQUISITOS (CORES CORRIGIDAS) --- */
.seg-requirements-box {
    background-color: #ffffff;
    border-left: 5px solid #a5eb17;
    padding: 20px;
    margin: 25px 0 20px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Título igual aos labels padrão (#555) */
.seg-requirements-title {
    color: #555;
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Texto introdutório mais suave (#666) */
.seg-requirements-intro {
    margin-bottom: 15px;
    font-size: 0.95em;
    color: #555;
}

/* Lista com cor suave (#666) */
.seg-requirements-list {
    margin: 0 0 20px 20px;
    list-style-type: disc;
    color: #555;
    font-size: 0.95em;
}

.seg-requirements-list li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Destaques da lista iguais ao título (#555) */
.seg-requirements-list strong {
    color: #555;
}

/* Wrapper do checkbox */
.seg-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    background-color: #f4f8fb;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.seg-checkbox-input {
    margin-top: 4px;
    margin-right: 12px;
    min-width: 18px;
    min-height: 18px;
    cursor: pointer;
    accent-color: #326afd;
}

.seg-checkbox-label {
    font-weight: 600;
    cursor: pointer;
    display: inline;
    color: #555;
    font-size: 0.95em;
    line-height: 1.4;
}

.seg-checkbox-label:hover {
    color: #333;
}


@media screen and (max-width: 767px) {
    .seg-imovel-button {
        flex: 1 1 60%;
        text-align: left !important;
    }
}
