/* =========================================================
   PAGE STAFF — CIME
========================================================= */


/* =========================================================
   CONTENEUR
========================================================= */

.staff-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   EN-TÊTE DE PAGE
   Même logique que la page À PROPOS
========================================================= */

.staff-page-header {
    background: #f5f8fc;
    border-bottom: 1px solid #e1e7ed;
    padding: 90px 20px 85px;
}

.staff-page-header-container {
    width: min(1180px, 92%);
    margin: 0 auto;
    text-align: center;
}

.staff-page-label {
    margin: 0 0 15px;

    color: #1557a6;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.staff-page-header h1 {
    margin: 0;

    color: #17212b;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 700;
}

.staff-page-description {
    max-width: 700px;

    margin: 20px auto 0;

    color: #657180;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   SECTION DES CARTES
========================================================= */

.staff-sections {
    padding: 70px 0 90px;
    background: #ffffff;
}

.staff-cards {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   CARTES STAFF
========================================================= */

.staff-card {
    min-height: 285px;

    padding: 38px 42px;

    display: flex;
    flex-direction: column;

    background: #f7f6f3;

    border: 1px solid #e2ded7;
    border-radius: 10px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* =========================================================
   HOVER
========================================================= */

.staff-card:hover {
    transform: translateY(-3px);

    border-color: #d5cec5;

    box-shadow:
        0 14px 35px rgba(18, 44, 76, 0.08);
}


/* =========================================================
   NUMÉRO
========================================================= */

.staff-card-number {
    display: block;

    margin-bottom: 20px;

    color: #a84a43;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}


/* =========================================================
   CONTENU
========================================================= */

.staff-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.staff-card h2 {
    max-width: 390px;

    margin: 0 0 14px;

    color: #122c4c;

    font-size: 30px;
    line-height: 1.12;
    font-weight: 700;

    letter-spacing: -0.5px;
}

.staff-card p {
    max-width: 480px;

    margin: 0;

    color: #626d78;

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   LIEN — DÉCOUVRIR
========================================================= */

.staff-card-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    width: fit-content;

    margin-top: auto;
    padding-top: 25px;

    color: #a84a43;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.staff-card-link span {
    font-size: 19px;
    line-height: 1;
}

.staff-card-link:hover {
    gap: 11px;

    color: #8e3934;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 900px) {

    .staff-page-header {
        padding: 75px 20px 70px;
    }

    .staff-sections {
        padding: 55px 0 75px;
    }

    .staff-cards {
        gap: 22px;
    }

    .staff-card {
        min-height: 270px;

        padding: 34px 32px;
    }

    .staff-card h2 {
        font-size: 27px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .staff-page-header {
        padding: 65px 20px 60px;
    }

    .staff-page-label {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .staff-page-header h1 {
        font-size: 42px;
    }

    .staff-page-description {
        margin-top: 16px;

        font-size: 15px;
        line-height: 1.6;
    }

    .staff-sections {
        padding: 45px 0 65px;
    }

    .staff-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .staff-card {
        min-height: 255px;

        padding: 32px 28px;
    }

    .staff-card-number {
        margin-bottom: 18px;
    }

    .staff-card h2 {
        font-size: 28px;
    }

    .staff-card p {
        font-size: 15px;
        line-height: 1.6;
    }
}


/* =========================================================
   PETITS ÉCRANS
========================================================= */

@media (max-width: 420px) {

    .staff-page-header {
        padding: 55px 18px 50px;
    }

    .staff-page-header h1 {
        font-size: 37px;
    }

    .staff-card {
        padding: 28px 24px;
    }

    .staff-card h2 {
        font-size: 25px;
    }
}