/* Style Historique */

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.history-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(138, 43, 226, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.history-card:hover {
    transform: translateY(-10px);
    border-color: #8A2BE2;
    background: rgba(255, 255, 255, 0.08);
}

.card-year { font-size: 2.5rem; color: #8A2BE2; font-weight: 900; margin-bottom: 10px; }
.card-amount { font-size: 2rem; color: white; margin-bottom: 20px; font-weight: 700; }

.btn-bilan {
    display: inline-block;
    background: #8A2BE2;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Rajdhani', sans-serif;
}

.btn-retour {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.btn-retour:hover {
    color: white;
}

/* La carte en vedette prend toute la largeur */
.featured-card {
    grid-column: 1 / -1; /* Prend toute la largeur de la grille */
    background: rgba(138, 43, 226, 0.1) !important;
    border: 2px solid #8A2BE2 !important;
    padding: 50px !important;
}

.featured-card .card-year { font-size: 4rem; }
.featured-card .card-amount { font-size: 3rem; }