:root {
    --bleu-france: #002395;
    --blanc-france: #FFFFFF;
    --rouge-france: #ED2939;
    --noir: #1a1a1a;
    --gris-clair: #f5f5f5;
    --gris-moyen: #e0e0e0;
    --gris-fonce: #666;
    --vert-succes: #27ae60;
    --rouge-erreur: #e74c3c;
    --orange-warning: #f39c12;
}

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

body {
    font-family: 'Crimson Pro', serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--noir);
    overflow-x: hidden;
}

.screen {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === ÉCRAN D'ACCUEIL === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.flag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--bleu-france) 0%, 
        var(--bleu-france) 33.33%, 
        var(--blanc-france) 33.33%, 
        var(--blanc-france) 66.66%, 
        var(--rouge-france) 66.66%, 
        var(--rouge-france) 100%);
    opacity: 0.15;
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 80px;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 1000px;
    margin: 40px;
    width: 100%;
}

/* Exams Container */
.exams-container {
    margin: 40px 0;
}

.exams-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--bleu-france);
    margin-bottom: 30px;
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.exam-card {
    background: var(--gris-clair);
    padding: 30px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 35, 149, 0.2);
    border-color: var(--bleu-france);
}

.exam-card.completed {
    background: rgba(39, 174, 96, 0.1);
    border-color: var(--vert-succes);
}

.exam-card.failed {
    background: rgba(231, 76, 60, 0.1);
    border-color: var(--rouge-erreur);
}

.exam-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bleu-france);
    margin-bottom: 10px;
}

.exam-status {
    font-size: 0.9rem;
    color: var(--gris-fonce);
    margin-bottom: 10px;
}

.exam-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bleu-france);
}

.exam-card.completed .exam-score {
    color: var(--vert-succes);
}

.exam-card.failed .exam-score {
    color: var(--rouge-erreur);
}

.exam-badge-small {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--bleu-france);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.exam-card.completed .exam-badge-small {
    background: var(--vert-succes);
}

.exam-card.failed .exam-badge-small {
    background: var(--rouge-erreur);
}

/* Statistics Screen */
.global-stats-content {
    margin-top: 40px;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, var(--bleu-france), #0039c7);
    padding: 30px;
    border-radius: 20px;
    color: white;
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.weakness-item {
    background: rgba(231, 76, 60, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    border-left: 4px solid var(--rouge-erreur);
}

.weakness-theme {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rouge-erreur);
    margin-bottom: 10px;
}

.weakness-stats {
    font-size: 1rem;
    color: var(--gris-fonce);
}

.progression-item {
    background: var(--gris-clair);
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progression-exam {
    font-weight: 700;
    color: var(--bleu-france);
}

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

.progression-score.pass {
    color: var(--vert-succes);
}

.progression-score.fail {
    color: var(--rouge-erreur);
}

/* Exam Badge in Quiz */
.exam-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 10px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--bleu-france), var(--rouge-france));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--gris-fonce);
    margin-bottom: 50px;
    font-weight: 400;
}

.info-box {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bleu-france);
    line-height: 1;
}

.info-label {
    font-size: 1.1rem;
    color: var(--gris-fonce);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.exam-info {
    background: rgba(0, 35, 149, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid var(--bleu-france);
}

.exam-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--bleu-france);
    margin-bottom: 15px;
}

.exam-info ul {
    list-style: none;
    padding: 0;
}

.exam-info li {
    font-size: 1.05rem;
    color: var(--noir);
    margin-bottom: 8px;
    padding-left: 10px;
}

.random-note {
    font-size: 0.95rem;
    color: var(--gris-fonce);
    margin-top: 15px;
    font-style: italic;
}

.test-selection {
    width: 100%;
    margin-top: 30px;
}

.test-selection h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--bleu-france);
    margin-bottom: 20px;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--bleu-france);
    margin: 30px 0 15px 0;
    text-align: center;
}

.test-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.btn-test {
    background: white;
    border: 2px solid var(--bleu-france);
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.btn-test:hover {
    background: var(--bleu-france);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 35, 149, 0.2);
}

.btn-test:hover .test-icon {
    transform: scale(1.2);
}

.btn-test.official-exam {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.btn-test.official-exam:hover {
    background: linear-gradient(135deg, #1e8449, #196f3d);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.btn-test.official-exam .test-name {
    color: white;
}

.btn-test.official-exam .test-desc {
    color: rgba(255, 255, 255, 0.9);
}

.btn-test.theme-test {
    border-color: var(--rouge-france);
}

.btn-test.theme-test:hover {
    background: var(--rouge-france);
}

.test-icon {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.test-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.test-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: inherit;
}

.test-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

.current-test-name {
    background: rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
}

.test-name-result {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gris-fonce);
    margin-bottom: 30px;
    font-weight: 600;
}

.exams-container {
    margin-top: 40px;
    width: 100%;
}

.exams-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--bleu-france);
    margin-bottom: 25px;
    text-align: center;
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.exam-card {
    background: white;
    border: 3px solid var(--bleu-france);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 35, 149, 0.2);
}

.exam-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--bleu-france);
    margin-bottom: 10px;
}

.exam-info-text {
    font-size: 0.9rem;
    color: var(--gris-fonce);
    margin-bottom: 15px;
    line-height: 1.4;
}

.exam-status {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: inline-block;
}

.exam-status.passed {
    background: rgba(39, 174, 96, 0.1);
    color: var(--vert-succes);
    border: 2px solid var(--vert-succes);
}

.exam-status.failed {
    background: rgba(231, 76, 60, 0.1);
    color: var(--rouge-erreur);
    border: 2px solid var(--rouge-erreur);
}

.btn-exam {
    background: var(--bleu-france);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Crimson Pro', serif;
    width: 100%;
}

.btn-exam:hover {
    background: #0039c7;
    transform: scale(1.05);
}

.btn-random {
    margin-top: 20px;
    width: auto;
    padding: 16px 40px;
}

.exam-badge {
    background: var(--rouge-france);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 10px;
    display: inline-block;
}

.result-badge {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    margin: 20px auto;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.result-badge.success {
    background: var(--vert-succes);
    color: white;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.result-badge.failure {
    background: var(--rouge-erreur);
    color: white;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

/* === BOUTONS === */
.btn-primary {
    background: linear-gradient(135deg, var(--bleu-france), #0039c7);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 35, 149, 0.3);
    font-family: 'Crimson Pro', serif;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 35, 149, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--bleu-france);
    border: 2px solid var(--bleu-france);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Crimson Pro', serif;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--bleu-france);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* === ÉCRAN DU QUIZ === */
.quiz-container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.quiz-header {
    background: linear-gradient(135deg, var(--bleu-france), #0039c7);
    padding: 30px 40px;
    color: white;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.question-counter {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.theme-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.quiz-content {
    padding: 50px 40px;
}

.question-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 40px;
    line-height: 1.5;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.answer-input {
    width: 100%;
    padding: 20px;
    border: 3px solid var(--gris-moyen);
    border-radius: 15px;
    font-family: 'Crimson Pro', serif;
    font-size: 1.1rem;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.answer-input:focus {
    outline: none;
    border-color: var(--bleu-france);
    box-shadow: 0 0 0 3px rgba(0, 35, 149, 0.1);
}

.answer-option {
    background: var(--gris-clair);
    padding: 20px 25px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.answer-option:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.answer-option.selected {
    background: rgba(0, 35, 149, 0.1);
    border-color: var(--bleu-france);
}

.answer-option.correct {
    background: rgba(39, 174, 96, 0.1);
    border-color: var(--vert-succes);
}

.answer-option.incorrect {
    background: rgba(231, 76, 60, 0.1);
    border-color: var(--rouge-erreur);
}

.answer-letter {
    width: 40px;
    height: 40px;
    background: var(--bleu-france);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.answer-option.selected .answer-letter {
    background: var(--rouge-france);
}

.answer-option.correct .answer-letter {
    background: var(--vert-succes);
}

.answer-option.incorrect .answer-letter {
    background: var(--rouge-erreur);
}

.answer-text {
    flex: 1;
    font-weight: 500;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

/* === ÉCRAN DES RÉSULTATS === */
.results-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.results-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    color: var(--bleu-france);
    margin-bottom: 50px;
}

.score-card {
    text-align: center;
    margin-bottom: 50px;
}

.score-circle {
    width: 250px;
    height: 250px;
    margin: 0 auto 30px;
    position: relative;
}

.score-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.score-bg {
    fill: none;
    stroke: var(--gris-clair);
    stroke-width: 15;
}

.score-progress {
    fill: none;
    stroke: var(--bleu-france);
    stroke-width: 15;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
}

.score-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--bleu-france);
}

.score-total {
    font-size: 2rem;
    color: var(--gris-fonce);
}

.score-message {
    font-size: 1.5rem;
    color: var(--gris-fonce);
    font-weight: 600;
}

.results-details {
    margin-bottom: 40px;
}

.results-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--bleu-france);
}

.theme-result {
    background: var(--gris-clair);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.theme-score {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bleu-france);
}

.results-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* === ÉCRAN DE RÉVISION === */
.review-container {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gris-moyen);
}

.review-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--bleu-france);
}

.btn-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gris-fonce);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: var(--gris-clair);
    transform: rotate(90deg);
}

.review-item {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--gris-clair);
    border-radius: 20px;
    border-left: 5px solid var(--bleu-france);
}

.review-item.review-correct {
    border-left-color: var(--vert-succes);
    background: rgba(39, 174, 96, 0.05);
}

.review-item.review-wrong {
    border-left-color: var(--rouge-erreur);
    background: rgba(231, 76, 60, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header h4 {
    font-size: 1.2rem;
    color: var(--bleu-france);
    margin: 0;
}

.review-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
}

.review-status.status-correct {
    background: var(--vert-succes);
    color: white;
}

.review-status.status-wrong {
    background: var(--rouge-erreur);
    color: white;
}

.review-question-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--noir);
    line-height: 1.5;
}

.review-theme {
    font-size: 0.9rem;
    color: var(--gris-fonce);
    margin-bottom: 20px;
    font-style: italic;
}

.review-answers {
    margin: 20px 0;
}

.review-answer {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    background: white;
    border: 2px solid var(--gris-moyen);
}

.review-answer.correct {
    background: rgba(39, 174, 96, 0.15);
    border: 2px solid var(--vert-succes);
    font-weight: 600;
    color: var(--vert-succes);
}

.review-answer.wrong {
    background: rgba(231, 76, 60, 0.15);
    border: 2px solid var(--rouge-erreur);
    font-weight: 600;
    color: var(--rouge-erreur);
}

.review-explanation {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 35, 149, 0.05);
    border-left: 4px solid var(--bleu-france);
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

.review-explanation strong {
    color: var(--bleu-france);
}

.review-item.correct {
    border-left-color: var(--vert-succes);
    background: rgba(39, 174, 96, 0.05);
}

.review-item.incorrect {
    border-left-color: var(--rouge-erreur);
    background: rgba(231, 76, 60, 0.05);
}

.review-item.answered {
    border-left-color: var(--bleu-france);
    background: rgba(0, 35, 149, 0.05);
}

.review-item.unanswered {
    border-left-color: var(--gris-moyen);
    background: rgba(200, 200, 200, 0.05);
}

.review-question-number {
    font-weight: 700;
    color: var(--bleu-france);
    font-size: 0.95rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-question-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--noir);
}

.review-answer {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.review-answer.user {
    background: rgba(0, 35, 149, 0.1);
    border: 2px solid var(--bleu-france);
}

.review-answer.correct-answer {
    background: rgba(39, 174, 96, 0.1);
    border: 2px solid var(--vert-succes);
}

.review-label {
    font-weight: 700;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.review-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.review-status.correct {
    background: var(--vert-succes);
    color: white;
}

.review-status.incorrect {
    background: var(--rouge-erreur);
    color: white;
}

.review-status.answered {
    background: var(--bleu-france);
    color: white;
}

.review-status.unanswered {
    background: var(--gris-moyen);
    color: white;
}

.user-answer-text {
    margin-top: 8px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .content-wrapper {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .quiz-container,
    .results-container,
    .review-container {
        margin: 20px;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .question-text {
        font-size: 1.4rem;
    }
    
    .quiz-navigation {
        flex-direction: column;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* Animations supplémentaires */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.answer-option {
    animation: slideInRight 0.4s ease-out backwards;
}

.answer-option:nth-child(1) { animation-delay: 0.1s; }
.answer-option:nth-child(2) { animation-delay: 0.2s; }
.answer-option:nth-child(3) { animation-delay: 0.3s; }
.answer-option:nth-child(4) { animation-delay: 0.4s; }
