#externeGestionnaire {
    margin-top: 80px;
    overflow-x: hidden;
}

.banner {
    background: linear-gradient(307deg, rgba(22, 108, 156, 1) 34%, rgba(43, 79, 105, 1) 89%);
    width: 100%;
    height: 405px;
}

.banner h1 {
    font-size: 44px;
    line-height: 52px;
    font-family: var(--font-family-semibold);
    color: var(--light);
}

#presentation section p a {
    text-decoration: underline;
}

/*SCHEMA GESTIONNAIRE*/
#SchemaGestionnaire {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

#SchemaGestionnaire img {
    width: clamp(150px, 15vw, 250px);
    height: auto;
}

#SchemaGestionnaireTitre {
    font-family: var(--font-family-medium);
    font-size: clamp(16px, 1.2vw, 20px);
    width: clamp(180px, 18vw, 320px);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    margin-right: 1rem;
    text-align: center;
}

#SchemaGestionnaireTitre b {
    color: var(--tertiary);
}

#SchemaGestionnaireListe {
    font-family: var(--font-family-medium);
    background-color: rgb(112 152 196 / 40%);
    border-radius: 25px 0 0 25px ;
    padding: clamp(0.8rem, 1.2vw, 2rem) clamp(1.5rem, 2.5vw, 4rem) 1rem 1rem;
    position: relative;
    min-height: clamp(300px, 25vw, 435px);
    flex-shrink: 1;
    min-width: 180px;
}

#SchemaGestionnaireListe b {
    color: var(--tertiary);
}

#SchemaGestionnaireListe ul {
    list-style: none;
    font-family: var(--font-family-regular);
}

#SchemaGestionnaireConditions {
    font-family: var(--font-family-semibold);
    color: white;
    background-color: rgb(61 109 145);
    border-radius: 0 25px 25px 0;
    padding: clamp(0.5rem, 0.8vw, 1rem);
    text-align: center;
    flex-shrink: 1;
}

#SchemaGestionnaireConditions p {
    font-family: var(--font-family-semibold);
    width: clamp(140px, 12vw, 200px);
    font-size: clamp(16px, 1.2vw, 20px);
}

.conditions-7 {
    background-color: #b1d1de;
    border-radius: 50%;
    font-size: clamp(35px, 3vw, 50px) !important;
    color: rgb(61 109 145);
    width: clamp(55px, 5vw, 80px) !important;
    height: clamp(55px, 5vw, 80px);
    margin-left: 30%;
    text-align: center;
    display: block;
}

.conditions-article {
    background-color: #b1d1de;
    font-size: 30px !important;
    padding: 10px;
    color: rgb(61 109 145);
    text-align: center;
}

/*SCHEMA 7 CRITERES*/
.card-schema-criteres {
    max-width: clamp(160px, 15vw, 250px);
    border-radius: 25px;
    padding: 1rem;
    font-size: clamp(12px, 0.9vw, 16px);
}

#DefinirCriteresRessources {
    background-color: #95A47C;
}

#ConserverInformations {
    background-color: #A9BA78;
}

#RespecterCharte {
    background-color: #83BC5C;
}

#MettreRendre {
    background-color: #75B39A;
}

#GarantirTracabilite {
    background-color: #B9A685;
}

#DefinirMethodes {
    background-color: #E2A700;
}

#MaintenirIdentifier {
    background-color: #F19E65;
}

/*SCHEMA FONCTIONNEMENT*/
.fleche-schema-fonctionnement {
    width: clamp(30px, 4vw, 70px);
    filter: invert(87%) sepia(22%) saturate(283%) hue-rotate(155deg) brightness(94%) contrast(84%);
}

.bloc-schema-fonctionnement {
    width: clamp(120px, 12vw, 200px) !important;
    background-color: #b1d1de;
    border-radius: 25px 25px 0 0;
    height: clamp(120px, 12vw, 200px);
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
}

.image-schema-fonctionnement {
    width: clamp(70px, 7vw, 120px) !important;
}

.check-schema-fonctionnement {
    position: absolute;
    width: clamp(35px, 3.5vw, 60px) !important;
    height: clamp(35px, 3.5vw, 60px) !important;
    left: 75%;
    top: 75%;
    z-index: 2;
}

.span-schema-fonctionnement {
    padding-top: 10px;
    padding-bottom: 20px;
    width: clamp(120px, 12vw, 200px) !important;
    background-color: #b1d1de;
    font-family: var(--font-family-semibold);
    color: white;
    background-color: rgb(61 109 145);
    border-radius: 0 0 25px 25px;
}

.bloc-schema {
    height: clamp(200px, 20vw, 320px) !important;
}

.cadre-info {
    background: #b1d1de;
    border-radius: var(--border-radius);
    width: 60rem;
}

.cadre-info p {
    font-family: var(--font-family-semibold);
}

.cadre-info p a {
    text-decoration: underline;
}

/*SCHEMA SUIVI*/
.bloc-suivi {
    width: clamp(70px, 8vw, 160px) !important;
    height: clamp(120px, 12vw, 220px) !important;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.bloc-schema-suivi p {
    font-family: var(--font-family-semibold);
    font-size: clamp(10px, 0.8vw, 16px);
}

.image-schema-suivi {
    margin-left: 15%;
    width: clamp(20px, 2vw, 40px);
}

.cadre-schema-suivi {
    background-color: var(--tertiary-darkest);
    color: white;
    padding: clamp(0.4rem, 0.6vw, 1rem) clamp(0.5rem, 1.2vw, 3rem);
    border: solid white;
    border-width: 0 1px 0 1px ;
    width: 100%;
    font-size: clamp(12px, 1vw, 16px);
}

.cadre-premier {
    border-radius: 25px 0 0 0;
}

.cadre-dernier {
    border-radius: 0 0 25px 0;
}

.schema-suivi-titre {
    font-family: var(--font-family-semibold);
    margin-top: 1rem;
    width: 70%;
}

/*FAQ*/
#FAQ {
    background: linear-gradient(215deg, rgba(75, 132, 174, 0.15) 0%, var(--tertiary) 100%);
}

/* MISE EN PAGE */
.bloc-texte-presentation {
    width: 600px;
}

.ligne-criteres-haut {
    width: 90%;
}

.ligne-criteres-bas {
    width: 70%;
}

.image-criteres {
    width: 75%;
}

#devenirActeur .fond-photo-haut {
    --fond-uni: var(--tertiary-light);
    --fond-photo: url('/Images/Charly-ROG.jpg');
    --fond-photo-cadrage: 30% 0 / max(100%, 520px) auto;
}

.gestionnaire-collection {
    width: 700px;
    max-width: 100%;
}

/* TABLETTE ET TELEPHONE */
@media (max-width: 1199.98px) {
    .bloc-texte-presentation {
        width: 100%;
        max-width: 720px;
    }

    .schema-suivi .bloc-suivi {
        width: clamp(80px, 14vw, 160px) !important;
    }

    .schema-suivi .bloc-schema-suivi p {
        font-size: 12px;
    }
}

@media (max-width: 767.98px) {
    /* 7 critères : l'illustration puis les cartes dans l'ordre 1 à 7, numérotées */
    .schema-criteres .ligne-criteres-haut,
    .schema-criteres .ligne-criteres-bas {
        display: contents;
    }

    .schema-criteres .image-criteres {
        order: 1;
        width: 100%;
        margin-bottom: 1rem;
    }

    .schema-criteres .card-schema-criteres {
        position: relative;
        width: 100%;
        max-width: 420px;
        margin-bottom: 0.75rem;
        padding: 0.75rem 1rem 0.75rem 3.25rem;
        font-size: 15px;
        text-align: start;
    }

    .schema-criteres .card-schema-criteres::before {
        content: attr(data-numero);
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1.75rem;
        height: 1.75rem;
        line-height: 1.75rem;
        border-radius: 50%;
        background-color: white;
        font-family: var(--font-family-semibold);
        text-align: center;
    }

    .schema-criteres .card-schema-criteres[data-numero="1"] { order: 2; }
    .schema-criteres .card-schema-criteres[data-numero="2"] { order: 3; }
    .schema-criteres .card-schema-criteres[data-numero="3"] { order: 4; }
    .schema-criteres .card-schema-criteres[data-numero="4"] { order: 5; }
    .schema-criteres .card-schema-criteres[data-numero="5"] { order: 6; }
    .schema-criteres .card-schema-criteres[data-numero="6"] { order: 7; }
    .schema-criteres .card-schema-criteres[data-numero="7"] { order: 8; }
}

@media (max-width: 575.98px) {
    /* Schéma « Un gestionnaire est » : liste puis conditions, l'une sous l'autre */
    .schema-gestionnaire-cadres {
        width: 100%;
    }

    #SchemaGestionnaireListe {
        min-height: 0;
        border-radius: 25px 25px 0 0;
        padding: 1rem;
    }

    #SchemaGestionnaireListe ul {
        padding-left: 1rem;
        margin-bottom: 0;
    }

    #SchemaGestionnaireConditions {
        border-radius: 0 0 25px 25px;
        padding: 1rem;
    }

    #SchemaGestionnaireConditions p {
        width: auto;
    }

    .conditions-7 {
        margin: 0 auto 1rem;
    }

    .conditions-article {
        font-size: 24px !important;
    }

    /* Suivi du dossier : frise verticale */
    .schema-suivi {
        width: 100%;
        max-width: 360px;
    }

    .schema-suivi .bloc-suivi {
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
        width: 100% !important;
        height: auto !important;
    }

    .schema-suivi .cadre-schema-suivi {
        order: -1;
        display: flex;
        flex: 0 0 72px;
        align-items: center;
        justify-content: center;
        width: 72px;
        padding: 0.5rem;
        border-width: 1px 0;
        font-size: 15px;
    }

    .schema-suivi .cadre-premier {
        border-radius: 25px 25px 0 0;
    }

    .schema-suivi .cadre-dernier {
        border-radius: 0 0 25px 25px;
    }

    .schema-suivi .bloc-schema-suivi {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0 0.75rem 0.75rem;
        text-align: start;
    }

    .schema-suivi .bloc-schema-suivi p {
        margin: 0 !important;
        font-size: 14px;
    }

    .schema-suivi .image-schema-suivi {
        width: 24px;
        margin-left: 0;
    }

    .schema-suivi-titre {
        width: 100%;
    }
}
