/* ========================================
   SOUTRALI — Styles Globaux
   Coup de pouce étudiant (Côte d'Ivoire)
   ======================================== */

/* --- Variables de la marque --- */
:root {
    --brand-emerald: #006B3E;
    --brand-emerald-dark: #004d2c;
    --brand-amber: #FFB800;
    --brand-amber-dark: #e0a200;
    --brand-cream: #F4F7F5;
    --brand-dark: #1A2E22;
    --brand-border: #e1e3de;
}

/* --- Base --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F8FAFC;
}

.academic-font {
    font-family: 'Playfair Display', serif;
}

/* --- Animation fade-in (CORRIGÉ — manquante dans le code original) --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.35s ease-out both;
}

/* --- Animation slide-up pour les modals --- */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out both;
}

/* --- Scrollbar élégante --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* --- Styles d'impression pour l'export de l'exposé --- */
@media print {
    body * {
        visibility: hidden;
    }
    #print-area, #print-area * {
        visibility: visible;
    }
    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    .no-print {
        display: none !important;
    }
}

/* --- Utilitaires supplémentaires --- */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
