
/* =====================================================
   IDENTITÉ VISUELLE TECHNOLAB-ISTA
===================================================== */

:root {
    --techno-blue: #0010D0;
    --techno-blue-dark: #000DAA;

    --techno-cyan: #00B0F0;
    --techno-cyan-dark: #0076A8;
    --techno-cyan-light: #E7F8FE;

    --techno-yellow: #F0E000;
    --techno-yellow-hover: #DFCE00;

    --techno-green: #008020;
    --techno-green-dark: #006B27;

    --techno-red: #D00000;

    --techno-footer: #07155D;

    --techno-border: #D6E0EB;
    --techno-background: #F4F7FB;
    --techno-text: #263449;
}


/* =====================================================
   ACTIONS DE RETOUR
===================================================== */

.actions-retour {
    width: min(1100px, calc(100% - 32px));
    margin: 18px auto 0;
}

.bouton-retour {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 10px 16px;

    border: 1px solid var(--techno-border);
    border-radius: 8px;

    background: var(--techno-background);
    color: var(--techno-blue);

    font: 600 14px/1.3 Arial, sans-serif;
    text-decoration: none;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.bouton-retour:hover {
    background: #E5EDF6;
    border-color: #B9C9DC;
    transform: translateY(-1px);
}


/* =====================================================
   ACCÈS RAPIDES DE L'EN-TÊTE
===================================================== */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

nav a.nav-suivi,
.header-actions a.nav-suivi {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 8px 12px;

    border-radius: 7px;

    background: var(--techno-blue);
    color: #FFFFFF;

    font: 600 13px/1.3 Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color .18s ease,
        transform .18s ease;
}

nav a.nav-suivi:hover,
.header-actions a.nav-suivi:hover {
    background: var(--techno-blue-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
}


/* =====================================================
   LIEN ADMINISTRATION
===================================================== */

.lien-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 10px;
    padding: 9px 14px;

    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 7px;

    color: #FFFFFF;

    font: 600 14px/1.3 Arial, sans-serif;
    text-decoration: none;

    transition:
        background-color .18s ease,
        border-color .18s ease;
}

.lien-admin:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #FFFFFF;
}


/* =====================================================
   ACCESSIBILITÉ : NAVIGATION AU CLAVIER
===================================================== */

nav a:focus-visible,
.header-actions a:focus-visible,
.bouton-retour:focus-visible,
.lien-admin:focus-visible {
    outline: 3px solid var(--techno-yellow);
    outline-offset: 3px;
}


/* =====================================================
   TABLETTES
===================================================== */

@media (max-width: 800px) {

    .actions-retour {
        width: calc(100% - 28px);
        margin-top: 14px;
    }

    .header-actions {
        gap: 7px;
    }

    nav a.nav-suivi,
    .header-actions a.nav-suivi {
        padding: 7px 10px;
        font-size: 12px;
    }
}


/* =====================================================
   TÉLÉPHONES
===================================================== */

@media (max-width: 520px) {

    .bouton-retour {
        min-height: 40px;
        padding: 9px 13px;
        font-size: 13px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .header-actions a.nav-suivi {
        flex: 1 1 auto;
        min-width: 130px;
    }

    .lien-admin {
        font-size: 13px;
    }
}
