/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* Form Styling */
.quiz-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.question-block {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eee;
}

.question-block:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}

.question-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
}

.help-text {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
    font-style: italic;
}

/* Radio & Checkbox Options */
.radio-option,
.checkbox-option {
    display: block;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #f8f8f8;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.radio-option:hover,
.checkbox-option:hover {
    background: #fff;
    border-color: #784b84;
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    margin-right: 12px;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + span,
.checkbox-option input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #784b84;
}

.radio-option:has(input:checked),
.checkbox-option:has(input:checked) {
    background: #fff;
    border-color: #784b84;
    box-shadow: 0 2px 8px rgba(120,75,132,0.15);
}

/* Submit Button */
.submit-container {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background: #784b84;
    color: #fff;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-submit:hover {
    background: #5f3a68;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(120,75,132,0.3);
}

/* Result Page */
.result-page header {
    margin-bottom: 40px;
}

.score-badge {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.score-badge.arg {
    background: #784b84;
    color: #fff;
}

.score-badge.reset {
    background: #f0f0f0;
    color: #784b84;
}

.score-badge.mixte {
    background: linear-gradient(90deg, #784b84 50%, #f0f0f0 50%);
    color: #fff;
}

.result-content {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.pourquoi-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.pourquoi-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.pourquoi-section ul {
    margin: 20px 0 20px 25px;
    line-height: 1.9;
}

.pourquoi-section ul li {
    margin-bottom: 10px;
    color: #444;
}

/* Decision Help (zone mixte) */
.decision-help {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.option-block {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 6px;
}

.option-block h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.option-block ul {
    margin-left: 20px;
}

.option-block ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* CTA Buttons */
.cta-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.btn-cta {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: 10px;
}

.btn-primary {
    background: #784b84;
    color: #fff;
}

.btn-primary:hover {
    background: #5f3a68;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(120,75,132,0.3);
}

.btn-secondary {
    background: #fff;
    color: #784b84;
    border: 2px solid #784b84;
}

.btn-secondary:hover {
    background: #784b84;
    color: #fff;
}

.cta-double {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.alternative {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #666;
}

.alternative a {
    color: #784b84;
    text-decoration: underline;
    font-weight: 600;
}

.alternative a:hover {
    text-decoration: none;
}

/* Next Steps */
.next-steps {
    margin-top: 40px;
}

.next-steps h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.next-steps p {
    margin-bottom: 20px;
    color: #666;
}

.contact-options {
    list-style: none;
    margin: 20px 0;
}

.contact-options li {
    padding: 12px 0;
    font-size: 1rem;
}

.contact-options a {
    color: #784b84;
    text-decoration: none;
    font-weight: 600;
}

.contact-options a:hover {
    text-decoration: underline;
}

/* Restart Button */
.restart {
    text-align: center;
    margin-top: 30px;
}

.btn-restart {
    display: inline-block;
    padding: 12px 30px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-restart:hover {
    background: #e5e5e5;
    color: #1a1a1a;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    font-size: 0.9rem;
}

footer a {
    color: #666;
    text-decoration: none;
}

footer a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .quiz-form {
        padding: 25px 20px;
    }
    
    .result-content {
        padding: 30px 20px;
    }
    
    .decision-help {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-double {
        flex-direction: column;
    }
    
    .btn-cta {
        width: 100%;
        margin: 8px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .quiz-form {
        padding: 20px 15px;
    }
    
    .question-block h3 {
        font-size: 1.05rem;
    }
    
    .radio-option,
    .checkbox-option {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 16px 30px;
    }
}
