/* Estilos para otimizar a tela de análise */
.questionnaire-section {
    padding: 60px 0;
    background-color: #f9f6f0;
}

.questionnaire-header {
    text-align: center;
    margin-bottom: 40px;
}

.questionnaire-header h2 {
    font-family: 'Playfair Display', serif;
    color: #453630;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.questionnaire-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
}

.progress-container {
    max-width: 600px;
    margin: 0 auto 30px;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
    margin-bottom: 10px;
}

.progress-bar {
    background-color: #9b7e4b;
    border-radius: 5px;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.question-step {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.question-step h3 {
    font-family: 'Playfair Display', serif;
    color: #453630;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

.form-label {
    font-weight: 500;
    color: #453630;
    margin-bottom: 10px;
}

.form-select, .form-control {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 1rem;
    margin-bottom: 20px;
    background-color: #f9f6f0;
}

.form-select:focus, .form-control:focus {
    border-color: #9b7e4b;
    box-shadow: 0 0 0 0.25rem rgba(155, 126, 75, 0.25);
}

.btn-next, .btn-prev, .btn-submit {
    padding: 12px 25px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-next, .btn-submit {
    background-color: #9b7e4b;
    border-color: #9b7e4b;
    color: #fff;
}

.btn-next:hover, .btn-submit:hover {
    background-color: #7d6539;
    border-color: #7d6539;
}

.btn-prev {
    background-color: #f5f1e8;
    border-color: #e9ecef;
    color: #453630;
}

.btn-prev:hover {
    background-color: #e9e5dc;
    border-color: #ced4da;
}

.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Estilos para a seção de resultados */
.results-section {
    padding: 60px 0;
    background-color: #f9f6f0;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-header h2 {
    font-family: 'Playfair Display', serif;
    color: #453630;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.results-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
}

/* Estilos para cartões na seção de resultados */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
}

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

.card-destaque {
    border: 2px solid #9b7e4b;
}

.card-header {
    background-color: #f5f1e8;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-family: 'Playfair Display', serif;
    color: #453630;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.compatibility-badge {
    background-color: #453630;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.compatibility-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

.compatibility-score {
    font-size: 1.2rem;
    font-weight: 700;
}

.card-body {
    padding: 25px;
}

.card-image {
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.card-details p {
    margin-bottom: 10px;
    color: #6c757d;
}

.card-benefits h4 {
    font-family: 'Playfair Display', serif;
    color: #453630;
    font-size: 1.2rem;
    margin: 15px 0 10px;
}

.card-benefits ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.card-benefits li {
    margin-bottom: 5px;
    color: #6c757d;
}

.card-footer {
    background-color: #f5f1e8;
    padding: 15px 25px;
    border-top: 1px solid #e9ecef;
}

.btn-solicitar {
    background-color: #9b7e4b;
    border-color: #9b7e4b;
    color: #fff;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-solicitar:hover {
    background-color: #7d6539;
    border-color: #7d6539;
    color: #fff;
}

.btn-mais-info {
    background-color: #f5f1e8;
    border-color: #e9ecef;
    color: #453630;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-mais-info:hover {
    background-color: #e9e5dc;
    border-color: #ced4da;
}

/* Estilos para o footer showcase */
.footer-showcase {
    background-color: #f5f1e8;
    padding: 60px 0;
    margin-top: 60px;
}

.card-showcase-title {
    font-family: 'Playfair Display', serif;
    color: #453630;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

/* Estilos para a seção "Por que comparar" */
.why-compare-section {
    background-color: #fff;
    padding: 60px 0;
}

.why-compare-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f6f0;
    border-radius: 10px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-compare-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-container {
    width: 80px;
    height: 80px;
    background-color: #9b7e4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-container i {
    font-size: 2rem;
    color: #fff;
}

.why-compare-item h3 {
    font-family: 'Playfair Display', serif;
    color: #453630;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.why-compare-item p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .questionnaire-header h2,
    .results-header h2,
    .card-showcase-title {
        font-size: 2rem;
    }
    
    .question-step {
        padding: 20px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .compatibility-badge {
        margin-top: 15px;
    }
    
    .card-image {
        margin: 0 auto 15px;
        display: block;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-prev, .btn-next, .btn-submit {
        width: 100%;
    }
}
