/* Styles complémentaires au DSFR */

/* Hero section accueil */
.hero-section {
    background: linear-gradient(135deg, #000091 0%, #000074 100%);
    color: #fff;
    padding: 5rem 0 4rem;
}

.hero-section h1 {
    color: #fff;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
}

/* Chiffres clés */
.key-figures {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.key-figure {
    text-align: center;
}

.key-figure__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000091;
    line-height: 1;
}

.hero-section .key-figure__number {
    color: #fff;
}

.key-figure__label {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    color: #666;
}

.hero-section .key-figure__label {
    color: rgba(255, 255, 255, 0.8);
}

/* Cartes épreuves avec badge coefficient */
.fr-card .coeff-badge {
    font-weight: 700;
}

/* Section espacement */
.section--spacing {
    padding: 3rem 0;
}

/* Sidemenu actif */
.fr-sidemenu__item--active > .fr-sidemenu__link {
    font-weight: 700;
}

/* Concours badges */
.badge-1er-interne {
    background-color: #000091;
    color: #fff;
}

.badge-2nd-interne {
    background-color: #ce614a;
    color: #fff;
}

.badge-commun {
    background-color: #009081;
    color: #fff;
}

/* Tableau responsive */
@media (max-width: 767px) {
    .fr-table table {
        display: block;
        overflow-x: auto;
    }
}

/* Page épreuve - en-tête */
.epreuve-header {
    background-color: #f5f5fe;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.epreuve-header__meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Fiche de révision - points à retenir */
.points-cles {
    border-left: 4px solid #000091;
    padding-left: 1rem;
    margin: 1.5rem 0;
}

/* Amélioration de la lisibilité */
.fr-text--lg {
    line-height: 1.7;
}

/* Animation subtile au scroll */
.fr-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
