* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container principal - Suppression du fond dégradé violet */
.dia-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

/* Header - Simplifié */
.header {
    background: #2d3e8f;
    color: white;
    text-align: center;
    padding: 30px 40px;
    border-radius: 0;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header .subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* Content pages */
.content-page {
    background: white;
    padding: 0;
}

.content-page.hidden {
    display: none;
}

.content-box {
    padding: 40px;
    min-height: 400px;
}

.content-box h2 {
    color: #2d3e8f;
    font-size: 22px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Checkmark list */
.checkmark-list {
    list-style: none;
    margin: 20px 0;
}

.checkmark-list li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    color: #555;
}

.checkmark-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
}

/* Info badges */
.info-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.badge {
    background: #f0f4ff;
    border-left: 4px solid #2d3e8f;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 14px;
    color: #2d3e8f;
}

/* Section headers */
.section-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid #2d3e8f;
}

.section-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-header h2 {
    color: #2d3e8f;
    font-size: 24px;
    margin: 10px 0;
}

.section-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Question blocks */
.question-block {
    margin-bottom: 35px;
    padding: 25px;
    background: #fafbfc;
    border-radius: 10px;
    border: 1px solid #e1e8ed;
}

.question-label {
    display: block;
    font-weight: 600;
    color: #2d3e8f;
    margin-bottom: 12px;
    font-size: 16px;
}

.question-label.required:after {
    content: " *";
    color: #e74c3c;
}

.question-label-sub {
    display: block;
    font-weight: 600;
    color: #555;
    margin: 15px 0 8px 0;
    font-size: 14px;
}

.question-helper {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    font-style: italic;
}

.question-example {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 10px;
    background: #fff;
    border-left: 3px solid #4CAF50;
    border-radius: 5px;
}

/* Radio groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover {
    border-color: #2d3e8f;
    background: #f8f9ff;
}

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

.radio-option span {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #2d3e8f;
}

/* Checkbox groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-option:hover {
    border-color: #2d3e8f;
    background: #f8f9ff;
}

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

.checkbox-option span {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.checkbox-option input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #2d3e8f;
}

/* Scale groups */
.scale-group {
    margin-top: 15px;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.scale-options {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.scale-options.scale-10 {
    gap: 5px;
}

.scale-option {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.scale-option input[type="radio"] {
    display: none;
}

.scale-option span {
    display: block;
    padding: 12px 8px;
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
}

.scale-option:hover span {
    border-color: #2d3e8f;
    background: #f8f9ff;
}

.scale-option input[type="radio"]:checked + span {
    background: #2d3e8f;
    color: white;
    border-color: #2d3e8f;
}

/* Text inputs and textareas */
input[type="text"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s;
    background: white;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #2d3e8f;
    background: #fafbfc;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Conditional blocks */
.conditional-block {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-left: 3px solid #2d3e8f;
    border-radius: 5px;
}

.conditional-block.hidden {
    display: none;
}

/* Remarks blocks */
.remarks-block {
    background: #fffef0;
    border-left: 3px solid #ffc107;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: #2d3e8f;
    color: white;
}

.btn-primary:hover {
    background: #1f2b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 62, 143, 0.3);
}

.btn-secondary {
    background: #e1e8ed;
    color: #555;
}

.btn-secondary:hover {
    background: #d0d7dd;
}

/* Navigation buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e1e8ed;
}

/* Confirmation page */
.confirmation-box {
    text-align: center;
    padding: 60px 40px;
}

.checkmark-large {
    background: #4CAF50;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.confirmation-box h2 {
    color: #2d3e8f;
    font-size: 28px;
    margin-bottom: 15px;
}

.confirmation-box p {
    font-size: 16px;
    margin-bottom: 15px;
}

.info-box {
    background: #f0f4ff;
    border-left: 4px solid #2d3e8f;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
}

.info-box ul {
    list-style-position: inside;
    margin-top: 10px;
}

.info-box li {
    padding: 5px 0;
}

.contact-info {
    margin-top: 30px;
    font-size: 15px;
}

.contact-info a {
    color: #2d3e8f;
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer */
.dia-footer {
    background: #f5f7fa;
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #e1e8ed;
    margin-top: 40px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.dia-footer strong {
    color: #2d3e8f;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 22px;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .question-block {
        padding: 15px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .scale-options {
        gap: 4px;
    }
    
    .scale-option span {
        padding: 10px 5px;
        font-size: 14px;
    }
}
