/* Estilos para o Simulador Imobiliário */

/* Variáveis de cores */
:root {
    --primary-color: #09DBB6;
    --secondary-color: #28a745;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --hover-color: #07c0a0;
    --progress-bg: #e9ecef;
}

/* Estilos gerais do simulador */
.simulador-container {
    font-family: 'Roboto', Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.simulador-header {
    text-align: center;
    margin-bottom: 30px;
}

.simulador-header h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.simulador-header p {
    color: var(--text-color);
    font-size: 16px;
}

/* Barra de progresso */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background-color: var(--progress-bg);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: right;
    font-size: 14px;
    color: var(--text-color);
}

/* Etapas do formulário */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-step h2 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

/* Opções de seleção */
.options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.option-card {
    flex: 1 0 calc(33.333% - 15px);
    min-width: 200px;
    background-color: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.option-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 187, 154, 0.05);
}

.option-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.option-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.option-card p {
    font-size: 14px;
    color: #666;
}

/* Campos de formulário */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 187, 154, 0.1);
}

/* Botões */
.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-weight: 500;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--hover-color);
}

.btn-success {
    background-color: var(--secondary-color);
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

/* Campos ocultos */
.hidden {
    display: none;
}

/* Página de agradecimento */
.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.result-actions .btn {
    margin: 0 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .option-card {
        flex: 1 0 calc(50% - 15px);
        min-width: 150px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .option-card {
        flex: 1 0 100%;
    }
    
    .simulador-header h1 {
        font-size: 24px;
    }
    
    .form-step h2 {
        font-size: 20px;
    }
}
