/* ------------------------------
   IDENTITÉ VISUELLE CVG
--------------------------------*/

body {
    background-color: #1a1a1a;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 20px 0;
}

h1, h2, h3, .cvg-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2b2b2b;
    text-transform: uppercase;
}

.cvg-title span,
.cvg-logo span {
    color: #ff9800;
    text-shadow: 0 0 6px rgba(255,152,0,0.4);
}

.cvg-orange {
    color: #ff9800;
}

/* ------------------------------
   CONTENEURS GÉNÉRAUX
--------------------------------*/

.cvg-container {
    background: #f4ece1;
    border: 6px solid #333;
    border-radius: 20px;
    padding: 30px;
    margin: 0 auto;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* ------------------------------
   HEADER / NAVIGATION
--------------------------------*/

.cvg-header {
    border-bottom: 4px solid #ff9800;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.cvg-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cvg-badge {
    background: #ff9800;
    color: #1a1a1a;
    padding: 6px 18px;
    border-radius: 6px;
    font-family: 'Oswald';
    font-weight: bold;
    font-size: 1.15rem;
    box-shadow: 0 0 8px rgba(255,152,0,0.4);
}

/* ------------------------------
   NUMÉRO DE QUESTION
--------------------------------*/

.cvg-qnum {
    font-family: 'Oswald';
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ------------------------------
   CARTES QUIZ
--------------------------------*/

.quiz-card {
    background: rgba(255,255,255,0.7);
    padding: 22px;
    border-left: 6px solid #ff9800;
    border-radius: 0 12px 12px 0;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: 0.2s ease;
}

/* Flash visuel */
.flash {
    animation: flashAnim 0.25s ease;
}

@keyframes flashAnim {
    0% { background-color: #ff9800; }
    100% { background-color: rgba(255,255,255,0.7); }
}

.quiz-option {
    background: #fff;
    padding: 14px;
    border-radius: 8px;
    margin: 10px 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
    position: relative;
}

.quiz-option:hover {
    border-color: #ff9800;
}

/* ------------------------------
   CORRECTIONS
--------------------------------*/

.cvg-correct {
    background: #d4f8d4 !important;
    border-color: #2ecc71 !important;
}

.cvg-correct::after {
    content: "✔";
    color: #2ecc71;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 1.4rem;
}

.cvg-wrong {
    background: #ffe0d6 !important;
    border-color: #e74c3c !important;
}

.cvg-wrong::after {
    content: "✖";
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 1.4rem;
}

/* ------------------------------
   RÉSUMÉ FINAL
--------------------------------*/

.cvg-summary {
    background: #fff;
    padding: 20px;
    border-left: 6px solid #ff9800;
    border-radius: 0 12px 12px 0;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    font-size: 1.1rem;
}

.cvg-summary p {
    margin: 8px 0;
}

/* ------------------------------
   BOUTONS
--------------------------------*/

.btn-cvg {
    background: #1f1f1f;
    color: #ff9800;
    border: 2px solid #ff9800;
    font-family: 'Oswald';
    font-weight: bold;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.25s ease;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-cvg:hover {
    background: #ff9800;
    color: #1f1f1f;
    transform: scale(1.07);
    box-shadow: 0 0 12px rgba(255,152,0,0.6);
}

/* ------------------------------
   RESPONSIVE
--------------------------------*/

@media (max-width: 600px) {
    .cvg-container {
        padding: 20px;
        border-width: 4px;
    }

    .cvg-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cvg-logo {
        font-size: 1.8rem;
    }

    .btn-cvg {
        width: 100%;
        padding: 14px 0;
        font-size: 1.2rem;
    }
}
