/* Styles pour l'interface Compacte Unifiée */

.unified-container {
    padding: 1rem;
    max-width: 800px;
    /* Limite la largeur sur Desktop pour garder la densité */
    margin: 0 auto;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Le titre de la section Insight */
.unified-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

/* Grille pour les deux blocs principaux */
.compact-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile : empilé */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Sur écran plus large, côte à côte */
@media (min-width: 640px) {
    .compact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Style des Cartes Compactes */
.compact-card {
    border-radius: 16px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

/* Carte Bleue (Comprendre) */
.card-concept {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

/* Carte Verte (Agir) */
.card-action {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    color: #14532d;
}

.compact-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.compact-content-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.compact-text {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Mise en valeur de l'outil */
.tool-highlight {
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

/* Expert en mode "Repère / Reality Check" */
.expert-note {
    background: #fffbeb;
    /* Amber 50 */
    border-left: 4px solid #f59e0b;
    /* Amber 500 */
    padding: 1rem;
    border-radius: 8px;
    /* Fully rounded */
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
}

.expert-note strong {
    color: #334155;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* Quiz simplifié */
/* Quiz Redesign */
.simple-quiz {
    background: white;
    /* Solid Card */
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

/* Decorative top border */
.simple-quiz::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-theme-blue), var(--color-theme-green));
}

.quiz-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    /* Separation line */
}

.quiz-question-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .quiz-options {
        flex-direction: row;
        gap: 1rem;
    }
}

.btn-quiz {
    flex: 1;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: var(--color-text-main);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-quiz:hover {
    background: white;
    border-color: var(--color-theme-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-quiz.correct {
    background: #dcfce7;
    border-color: #22c55e;
    color: #14532d;
}

.btn-quiz.incorrect {
    background: #fee2e2;
    border-color: #ef4444;
    color: #7f1d1d;
}