@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/vendor/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/vendor/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --couleur-primaire: #2563eb;
    --couleur-primaire-hover: #1d4ed8;
    --couleur-danger: #dc2626;
    --couleur-danger-hover: #b91c1c;
    --couleur-texte: #0f172a;
    --couleur-fond: #f4f5f7;
    --couleur-bordure: #e2e5eb;
    --hauteur-entete: 64px;
    --hauteur-bandeau: 0px;
    --largeur-barre-laterale: 250px;
    --rayon: 12px;
    --rayon-lg: 16px;
    --barre-fond: #0a0b0f;
    --barre-fond-2: #16181f;
    --barre-texte: #9aa0ae;
    --barre-texte-actif: #ffffff;
    --barre-hover: rgba(255, 255, 255, .07);
    --ombre-sm: 0 1px 2px rgba(15, 23, 42, .07);
    --ombre-md: 0 4px 16px rgba(15, 23, 42, .09);
    --ombre-lg: 0 12px 32px rgba(15, 23, 42, .16);
    --degrade-primaire: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    --degrade-entete:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, .045) 0px, rgba(255, 255, 255, .045) 2px,
            transparent 2px, transparent 6px),
        linear-gradient(120deg, #3f4451 0%, #2c303a 100%);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--couleur-texte);
    background: var(--couleur-fond);
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -.01em;
}

a {
    color: var(--couleur-primaire);
}

/* ---------- Mode dépannage plateforme ---------- */

body:has(.bandeau-depannage) { --hauteur-bandeau: 44px; }

.bandeau-depannage {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1055;
    min-height: 44px;
    background: #a3271d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
}

.bandeau-depannage button {
    background: #fff;
    color: #a3271d;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    font-weight: 600;
    cursor: pointer;
}

/* ---------- En-tête ---------- */

.entete {
    height: var(--hauteur-entete);
    top: var(--hauteur-bandeau);
    z-index: 1030;
    background: var(--degrade-entete);
    box-shadow: var(--ombre-md);
}

.entete.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.entete-marque.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.entete-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--degrade-primaire);
    color: #fff;
    font-size: 1rem;
    box-shadow: var(--ombre-sm);
    overflow: hidden;
}

.entete-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entete-utilisateur {
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    font-weight: 500;
}

.entete-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
    text-decoration: none;
}

.entete-icone:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.entete-deconnexion:hover {
    background: rgba(220, 38, 38, .35);
}

.form-deconnexion {
    display: inline;
}

/* ---------- Barre latérale ---------- */

.barre-laterale {
    top: calc(var(--hauteur-entete) + var(--hauteur-bandeau));
    width: 280px;
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, .045) 0px, rgba(255, 255, 255, .045) 2px,
            transparent 2px, transparent 6px),
        linear-gradient(180deg, var(--barre-fond) 0%, var(--barre-fond-2) 100%);
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.barre-laterale .nav-link {
    color: var(--barre-texte);
    border-radius: 10px;
    padding: .6rem .9rem;
    font-size: .9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .65rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    transition: background-color .15s ease, color .15s ease;
}

.barre-laterale .nav-link i {
    font-size: 1.05rem;
    width: 1.25rem;
    text-align: center;
    opacity: .85;
}

.barre-laterale .nav-link:hover {
    background: var(--barre-hover);
    color: var(--barre-texte-actif);
}

.barre-laterale .nav-link.active {
    background: var(--degrade-primaire);
    color: #fff;
    box-shadow: var(--ombre-md);
}

.barre-laterale .nav-link.active i {
    opacity: 1;
}

.barre-laterale .offcanvas-title {
    color: #fff;
}

.barre-laterale .menu-categorie {
    color: #60a5fa;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    margin: 1rem 0 .15rem .9rem;
}

.barre-laterale .menu-categorie:first-of-type {
    margin-top: .25rem;
}

@media (min-width: 992px) {
    .barre-laterale.offcanvas-lg {
        position: fixed !important;
        top: calc(var(--hauteur-entete) + var(--hauteur-bandeau)) !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        width: var(--largeur-barre-laterale) !important;
        height: auto !important;
        visibility: visible !important;
        transform: none !important;
        z-index: 1010;
        box-shadow: none !important;
        /* Le menu est coincé entre le haut et le bas de l'écran (top+bottom fixés) : sans son
           propre défilement, les derniers liens (ex. Paramètres, tout en bas) sortent de la
           zone visible sur un écran/une fenêtre pas assez haute, sans aucun moyen de les
           atteindre — la page elle-même ne défile pas puisque ce menu est position:fixed. */
        overflow-y: auto !important;
    }
}

/* ---------- Mise en page du contenu ---------- */

.conteneur {
    max-width: 1320px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.contenu-principal {
    margin-left: 0;
    margin-right: auto;
    padding-top: calc(var(--hauteur-entete) + var(--hauteur-bandeau) + 1.5rem);
    animation: apparition .35s ease both;
}

@keyframes apparition {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contenu-principal {
        animation: none;
    }
}

.pied {
    margin-left: 0;
    padding: 1rem 1.5rem 2rem;
    color: #94a3b8;
    font-size: .85rem;
}

@media (min-width: 992px) {
    .contenu-principal {
        margin-left: var(--largeur-barre-laterale);
    }

    .pied {
        margin-left: var(--largeur-barre-laterale);
    }
}

.conteneur-etroit {
    max-width: 420px;
}

/* ---------- Page de connexion ---------- */

.page-connexion {
    /* 100vh ne suit pas l'ouverture du clavier sur mobile : la carte peut alors être centrée
       par rapport à une hauteur plus grande que ce qui reste réellement visible, poussant le
       bouton "Se connecter" hors de portée sans indication qu'il faut défiler. 100dvh (hauteur
       de viewport dynamique) suit le clavier en temps réel sur les navigateurs récents ; 100vh
       reste le repli pour les navigateurs plus anciens. overflow-y:auto permet quand même de
       défiler jusqu'au bouton dans les cas restants (anciens navigateurs, clavier très grand). */
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    background:
        radial-gradient(circle at 15% 15%, #dbeafe 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, #e0e7ff 0%, transparent 45%),
        var(--couleur-fond);
    padding: 1.5rem;
}

.carte-connexion {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid var(--couleur-bordure);
    border-radius: var(--rayon-lg);
    box-shadow: var(--ombre-lg);
    padding: 2.25rem 2rem;
    text-align: center;
    animation: apparition-connexion .45s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes apparition-connexion {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carte-connexion {
        animation: none;
    }
}

.carte-connexion h1 {
    font-size: 1.4rem;
    margin: 0 0 .15rem;
}

.carte-connexion .form-connexion {
    text-align: left;
    margin-top: 1.5rem;
}

.connexion-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.1rem;
    border-radius: 16px;
    background: var(--degrade-primaire);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: var(--ombre-md), 0 0 0 8px rgba(37, 99, 235, .08);
}

.connexion-sous-titre {
    color: #64748b;
    font-size: .88rem;
    margin: 0 0 .5rem;
}

/* ---------- Cartes ---------- */

.cartes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cartes-graphiques {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.cartes-graphiques .carte h2 {
    font-size: 1rem;
    margin: 0 0 1rem;
}

.carte {
    background: #fff;
    border: 1px solid var(--couleur-bordure);
    border-radius: var(--rayon-lg);
    padding: 1.35rem 1.6rem;
    min-width: 190px;
    box-shadow: var(--ombre-sm);
    transition: box-shadow .2s ease, transform .2s ease;
}

/* Variante avec icône colorée (tableau de bord principal) — n'affecte pas .carte de base,
   utilisée telle quelle ailleurs (tableaux de bord par module, sans icône). */
.carte.carte-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carte-icone {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.carte-icone-bleu { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.carte-icone-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.carte-icone-cyan { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.carte-icone-orange { background: linear-gradient(135deg, #f59e0b, #b45309); }
.carte-icone-gris { background: linear-gradient(135deg, #64748b, #334155); }
.carte-icone-rouge { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.carte-icone-vert { background: linear-gradient(135deg, #22c55e, #15803d); }

.carte-corps {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ligne-mapping {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    margin: 0;
}

.ligne-mapping label {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: .85rem;
}

.carte:hover {
    box-shadow: var(--ombre-lg);
    transform: translateY(-2px);
}

.carte-valeur {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--couleur-texte);
    letter-spacing: -.02em;
}

.carte-libelle {
    color: #64748b;
    font-size: .88rem;
    font-weight: 500;
}

/* ---------- Alertes / messages ---------- */

.alerte, .info {
    padding: .8rem 1.1rem;
    border-radius: var(--rayon);
    margin: 1rem 0;
    font-size: .92rem;
    border: 1px solid transparent;
    border-left-width: 4px;
    font-weight: 500;
}

.alerte {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fca5a5;
    border-left-color: var(--couleur-danger);
}

.info {
    color: #1e40af;
    background: #eff6ff;
    border-color: #bfdbfe;
    border-left-color: var(--couleur-primaire);
}

/* ---------- En-tête de page avec sous-titre ---------- */

.bloc-impression {
    margin: 1rem 0 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--rayon);
    box-shadow: var(--ombre-sm);
}

.bloc-impression h2 {
    font-size: 1rem;
    margin: 0 0 .6rem;
}

.apercu-document {
    background: #fff;
    max-width: 800px;
    margin: 1rem auto;
    padding: 2rem;
    border-radius: var(--rayon);
    box-shadow: var(--ombre-md);
}

.apercu-document .entete-doc {
    text-align: center;
    margin-bottom: 1.5rem;
}

.apercu-document .entete-doc img {
    max-height: 55px;
}

@media print {
    .apercu-document {
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-width: none;
    }
}

.bloc-photo {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.photo-personne {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--ombre-sm);
}

.photo-personne-repli {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eef1f6;
    color: #94a3b8;
    font-size: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-photo {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.form-photo input[type="file"] {
    max-width: 220px;
    padding: .4rem .6rem;
    font-size: .8rem;
}

.form-photo button {
    padding: .4rem .8rem;
    font-size: .85rem;
    white-space: nowrap;
}

.entete-page {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.entete-page h1 {
    margin-bottom: .25rem;
}

.sous-titre {
    color: #6b6580;
    font-size: .95rem;
    margin: 0;
}

/* ---------- Onglets de fiche (Bootstrap nav-tabs, réhabillage) ---------- */

.nav-tabs {
    border-bottom-color: var(--couleur-bordure);
    margin: 1.25rem 0 1.5rem;
}

.nav-tabs .nav-link {
    color: #6b6580;
    font-weight: 600;
    font-size: .9rem;
    border: none;
    border-bottom: 2px solid transparent;
    padding: .6rem .9rem;
}

.nav-tabs .nav-link.active {
    color: var(--couleur-primaire);
    background: transparent;
    border-bottom-color: var(--couleur-primaire);
}

/* ---------- Boutons de regroupement (filtres par onglet, sous-navigation) ---------- */

.groupe-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.25rem 0 1.5rem;
}

.groupe-bouton {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.15rem;
    border: 1px solid var(--couleur-bordure);
    border-radius: 999px;
    color: var(--couleur-texte);
    background: #fff;
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.groupe-bouton:hover {
    background: var(--couleur-fond);
    border-color: #c9c4dd;
    color: var(--couleur-texte);
}

.groupe-bouton.actif {
    background: var(--degrade-primaire);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--ombre-sm);
}

/* Sous-navigation d'un module (ex. accueil Finance/Personnel) : mêmes boutons,
   sans état "actif" puisqu'il s'agit de liens vers des pages différentes. */
.sous-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0 1.5rem;
}

.sous-nav .groupe-bouton i {
    color: var(--couleur-primaire);
}

/* ---------- Lien de retour ---------- */

.lien-retour {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #64748b;
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.lien-retour:hover {
    color: var(--couleur-primaire);
}

/* ---------- Badges de statut ---------- */

.badge-statut {
    display: inline-flex;
    align-items: center;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
    background: #f1f5f9;
    color: #475569;
}

.badge-statut-actif, .badge-statut-active,
.badge-statut-inscrit, .badge-statut-reinscrit,
.badge-statut-paye, .badge-statut-payee, .badge-statut-honoree,
.badge-statut-apte, .badge-statut-en-cours {
    background: #dcfce7;
    color: #15803d;
}

.badge-statut-diplome, .badge-statut-planifiee, .badge-statut-a-venir {
    background: #eff6ff;
    color: #1d4ed8;
}

.badge-statut-a-payer, .badge-statut-partiel, .badge-statut-partiellement-payee,
.badge-statut-emise, .badge-statut-reportee, .badge-statut-apte-avec-reserves,
.badge-statut-en-attente, .badge-statut-en-attente-paiement {
    background: #fffbeb;
    color: #b45309;
}

.badge-statut-en-retard, .badge-statut-annulee, .badge-statut-abandon,
.badge-statut-exclu, .badge-statut-radie, .badge-statut-non-honoree,
.badge-statut-suspendu, .badge-statut-suspendue, .badge-statut-inactif,
.badge-statut-expiree, .badge-statut-inapte {
    background: #fef2f2;
    color: #b91c1c;
}

.badge-statut-transfere, .badge-statut-brouillon {
    background: #f1f5f9;
    color: #475569;
}

.form-recherche {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 1rem 0;
}

.form-recherche input[type="text"] {
    width: auto;
    flex: 1;
    max-width: 320px;
}

/* ---------- Boutons ---------- */

.bouton-secondaire {
    display: inline-flex;
    align-items: center;
    padding: .55rem 1.15rem;
    margin-left: .5rem;
    border: 1px solid var(--couleur-danger);
    border-radius: var(--rayon);
    color: var(--couleur-danger);
    background: #fff;
    font-weight: 600;
    transition: background-color .15s ease, color .15s ease, transform .05s ease;
}

.bouton-secondaire:hover {
    background: var(--couleur-danger);
    color: #fff;
}

.bouton-secondaire:active {
    background: var(--couleur-danger-hover);
    border-color: var(--couleur-danger-hover);
}

.lien-bouton {
    background: none;
    border: none;
    padding: 0;
    color: var(--couleur-primaire);
    cursor: pointer;
    font-size: inherit;
    text-decoration: underline;
}

/* ---------- Tableaux ---------- */

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
    background: #fff;
    border: 1px solid var(--couleur-bordure);
    border-radius: var(--rayon-lg);
    overflow: hidden;
}

.tableau-scrollable {
    overflow-x: auto;
}

th {
    background: #f8fafc;
    font-weight: 700;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #64748b;
}

th, td {
    text-align: left;
    padding: .7rem .95rem;
    border-bottom: 1px solid var(--couleur-bordure);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: background-color .1s ease;
}

tbody tr:hover {
    background: #f3f7ff;
}

/* ---------- Assistant multi-étapes ---------- */

.etapes-assistant {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.etapes-assistant .etape {
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #eef1f6;
    color: #64748b;
    font-weight: 600;
    font-size: .85rem;
}

.etapes-assistant .etape.actif {
    background: var(--degrade-primaire);
    color: #fff;
}

.aide {
    margin: .15rem 0 0;
    font-size: .8rem;
    color: #64748b;
}

.form-changer-classe {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .4rem;
}

.form-changer-classe select {
    width: auto;
}

.form-changer-classe button {
    padding: .4rem .8rem;
    font-size: .85rem;
}

/* ---------- Formulaires ---------- */

form .champ {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.section-role {
    border: 1px solid var(--couleur-bordure);
    border-radius: var(--rayon);
    padding: .5rem 1rem .25rem;
    margin-bottom: 1rem;
    background: #fff;
}

.section-role legend {
    font-weight: 700;
    padding: 0 .5rem;
}

label {
    font-weight: 600;
    font-size: .85rem;
    color: #334155;
}

input, select, textarea {
    width: 100%;
    padding: .6rem .8rem;
    border: 1px solid var(--couleur-bordure);
    border-radius: var(--rayon);
    font-size: .95rem;
    font-family: inherit;
    background: #fff;
    color: var(--couleur-texte);
    transition: border-color .15s ease, box-shadow .15s ease;
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--couleur-primaire);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

button, .bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .6rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--rayon);
    background: var(--degrade-primaire);
    color: #fff;
    cursor: pointer;
    font-size: .93rem;
    font-weight: 600;
    box-shadow: var(--ombre-sm);
    transition: box-shadow .15s ease, transform .1s ease, filter .15s ease;
}

button:hover, .bouton:hover {
    filter: brightness(1.1);
    box-shadow: var(--ombre-md);
    transform: translateY(-1px);
}

button:active, .bouton:active {
    transform: translateY(0);
    filter: brightness(.97);
}

button:focus-visible, .bouton:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .3);
}

/* Boutons de type annulation/suppression rendus via <button> plutôt que <a> */
button.bouton-secondaire {
    background: #fff;
    box-shadow: none;
}

button.bouton-secondaire:hover {
    background: var(--couleur-danger);
    box-shadow: var(--ombre-sm);
    filter: none;
}

.moyenne-generale {
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 600;
}

@media print {
    .entete, .barre-laterale, .no-print {
        display: none !important;
    }

    .contenu-principal {
        margin-left: 0 !important;
        padding-top: 1rem !important;
    }

    .pied {
        display: none !important;
    }
}
