


.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 240px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group select,
.form-group input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input[type="number"]:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Requisitos especiais - checkboxes */
.special-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

/* Botão de calcular */
.calculate-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}

.calculate-button i {
    margin-right: 8px;
}

.calculate-button:hover {
    background-color: #3498db;
}


/* Resultados da calculadora */
.results-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
    padding-bottom: 5px;
}

.results-header h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
}

.results-section {
    margin-bottom: 12px;
}

.results-section h4 {
    font-size: 15px;
    margin: 0 0 8px 0;
    color: #34495e;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
    padding: 3px 0;
}

.result-label {
    color: #555;
}

.result-value {
    font-weight: 500;
    color: #2c3e50;
}

.result-disclaimer {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
    margin: 12px 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}

.result-label {
    color: #555;
    font-size: 14px;
}

.result-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* Disclaimer e CTA */
.result-disclaimer {
    color: #888;
    font-size: 12px;
    font-style: italic;
    margin-top: 20px;
    margin-bottom: 15px;
}

.btn-cta-small {
    display: inline-block;
    padding: 8px 12px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.3s;
}

.btn-cta-small i {
    margin-right: 8px;
}

.btn-cta-small:hover {
    background-color: #2ecc71;
}


/* Responsividade */
@media (max-width: 992px) {
    .calculator-container {
        flex-direction: column;
    }
    
    .calculator-form,
    .calculator-results {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
    }
    
    .special-requirements {
        flex-direction: column;
    }
    
    .checkbox-group {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .calculator-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .form-section h3,
    .results-header {
        font-size: 18px;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.calculator-results.visible {
    animation: fadeIn 0.5s ease-out;
}

/* Estilos para destacar os resultados */
.highlight-value {
    font-weight: 700;
    color: var(--accent-color);
}

/* Estilos gerais da calculadora */
.calculator-section {
    padding: 30px 0;
    font-family: 'Roboto', sans-serif;
}

.section-header {
    text-align: center;
    margin-bottom: 25px;
}

.section-header h2 {
    color: #0066a4;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Poppins';
    font-weight: 500;
}

.section-subtitle {
    color: #000000;
    font-family: 'Poppins';
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 0;
}

/* Container principal mais compacto */
.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.calculator-form {
    flex: 1;
    min-width: 300px;
}

.calculator-results {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}


/* Adicionar ícones às seções */
.form-section h3::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 16px;
}

.form-section:nth-child(1) h3::before {
    content: "\f015"; /* Ícone de casa */
}

.form-section:nth-child(2) h3::before {
    content: "\f085"; /* Ícone de engrenagens */
}

.form-section:nth-child(3) h3::before {
    content: "\f005"; /* Ícone de estrela */
}

/* Linhas do formulário */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 120px;
}


/* Requisitos especiais com ícones */
.special-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    min-width: 120px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 5px;
}

/* Ícones para requisitos especiais */
.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.checkbox-group label::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 5px;
    font-size: 12px;
}

label[for="accessibility"]::before {
    content: "\f193"; /* Ícone de acessibilidade */
    color: #3498db;
}

label[for="sustainability"]::before {
    content: "\f06c"; /* Ícone de folha */
    color: #2ecc71;
}

label[for="smart-home"]::before {
    content: "\f1eb"; /* Ícone de wifi */
    color: #9b59b6;
}

label[for="solar-energy"]::before {
    content: "\f185"; /* Ícone de sol */
    color: #f39c12;
}

label[for="water-reuse"]::before {
    content: "\f043"; /* Ícone de gota */
    color: #3498db;
}

/* Botão calcular */
.calculate-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}

.calculate-button:hover {
    background-color: #3498db;
}

/* Resultados */
.results-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
    padding-bottom: 5px;
}

.results-header h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
}

.results-section {
    margin-bottom: 12px;
}

.results-section h4 {
    font-size: 15px;
    margin: 0 0 8px 0;
    color: #34495e;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
    padding: 3px 0;
}

.result-label {
    color: #555;
}

.result-value {
    font-weight: 500;
    color: #2c3e50;
}

.result-disclaimer {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
    margin: 12px 0;
}

.btn-cta-small {
    display: inline-block;
    padding: 8px 12px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.3s;
}

.btn-cta-small:hover {
    background-color: #2ecc71;
}

/* Design responsivo */
@media (max-width: 768px) {
    .calculator-container {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
    }
}


/* Seções do formulário */
.form-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #34495e;
    display: flex;
    align-items: center;
}

/* Títulos com ícones */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #34495e;
}

.section-title i {
    margin-right: 8px;
    color: #2c3e50;
}

/* Campos de formulário */
label {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
    color: #555;
}

select, input[type="number"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}


/* Estilo novo para requisitos especiais/itens adicionais */
.additional-items,
.special-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.item-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    width: calc(50% - 5px);
    padding: 12px;
    display: flex;
    align-items: center;
}

.item-icon {
    margin-right: 10px;
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cores específicas para ícones */
.item-icon.pool {
    color: #3498db; /* Azul para piscina */
}

.item-icon.elevator {
    color: #7f8c8d; /* Cinza para elevador */
}

.item-icon.solar {
    color: #f1c40f; /* Amarelo para energia solar */
}

.item-icon.automation {
    color: #9b59b6; /* Roxo para automação */
}

.item-icon.accessibility {
    color: #3498db; /* Azul para acessibilidade */
}

.item-icon.sustainability {
    color: #2ecc71; /* Verde para sustentabilidade */
}

.item-icon.smart-home {
    color: #9b59b6; /* Roxo para casa inteligente */
}

.item-icon.water-reuse {
    color: #3498db; /* Azul para reuso de água */
}

.item-label {
    margin-left: 8px;
    font-size: 14px;
    color: #555;
}

/* Checkbox personalizado */
.item-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0;
}


/* Título para requisitos especiais */
.req-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #34495e;
    margin-bottom: 15px;
    font-weight: 600;
}

.req-title i {
    margin-right: 8px;
    color: #2c3e50;
}

/* Design responsivo */
@media (max-width: 768px) {
    .calculator-container {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .item-card {
        width: 100%;
    }
}