/* ***********************************************************************************************************|
                                                 PAGE PARTENAIRES                                               |
   Version 1 du site : couleurs --primary-color (orange #fd6f02) et --second-color (bleu #022659).            |
   Sommaire, clients (filtres + cartes logo), intégration, fabricants, formation, devenir partenaire.        |
   Bannière, sections .si : interne.css                 Responsive : responsive-partenaires.css              |
**************************************************************************************************************/


/* ***********************************************************************************************************|
                                                   utilitaires et sommaire                                    |
**************************************************************************************************************/
.bi-titre .title-color1 {
    color: var(--primary-color);
}

main .si,
.wrapper-partenaires {
    scroll-margin-top: 70px;
}

.sommaire {
    position: sticky;
    top: 0;
    z-index: 8;
    background: var(--white-color);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px -18px rgba(2, 38, 89, .5);
}

.sommaire ul {
    display: flex;
    justify-content: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 15px;
}

.sommaire ul::-webkit-scrollbar {
    display: none;
}

.sommaire a {
    display: block;
    white-space: nowrap;
    padding: 18px 14px 16px;
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: 15px;
    color: var(--second-color);
    border-bottom: 3px solid transparent;
}

.sommaire a.actif {
    border-bottom-color: var(--primary-color);
}


/* ***********************************************************************************************************|
                                                   clients                                                    |
**************************************************************************************************************/
.wrapper-partenaires {
    position: relative;
    padding: 70px 0 90px;
    overflow: hidden;
}

.wrapper-partenaires .container {
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.wrapper-partenaires .section-title.center {
    margin-bottom: 34px;
}

.wrapper-partenaires .title-texte {
    max-width: 66ch;
    margin: 14px auto 0;
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--texte-doux);
}

/* ---------- formes décoratives ---------- */
.shape-form {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.shape-form.shape-1 {
    border: 1px solid #e5e5e5;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    top: -133px;
    left: -133px;
}

.shape-form.shape-2 {
    border: 1px solid #e5e5e5;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    right: -133px;
    bottom: -133px;
}

.actualites-shape-1,
.actualites-shape-2 {
    position: absolute;
    width: auto;
    z-index: 0;
    pointer-events: none;
}

.actualites-shape-2 {
    right: 0;
    top: -170px;
}

.actualites-shape-1 {
    bottom: -46px;
}

/* ---------- filtres ---------- */
.part-filtres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.part-filtre {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 20px;
    border: 1px solid #e1e5ec;
    border-radius: 30px;
    background: var(--white-color);
    font-family: var(--primary-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--second-color);
    white-space: nowrap;
    transition: all .3s;
}

.part-filtre span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 20px;
    background: #f1f3f7;
    font-size: 12.5px;
    color: var(--texte-doux);
}

.part-filtre:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.part-filtre.actif {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 10px 22px -12px rgba(253, 111, 2, .8);
}

.part-filtre.actif span {
    background: var(--white-color);
    color: var(--primary-color);
}

.part-filtre:focus-visible {
    outline: 3px solid var(--second-color);
    outline-offset: 2px;
}

.part-statut {
    min-height: 22px;
    margin: 14px 0 26px;
    text-align: center;
    font-size: 14px;
    color: var(--texte-doux);
}

/* ---------- cartes clients ---------- */
.part-clients {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.part-client[hidden] {
    display: none;
}

.part-client-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
    border-radius: var(--rayon);
    background: var(--white-color);
    box-shadow: 0 0 15px #0000001a;
    overflow: hidden;
    transition: border-color .3s, transform .3s;
}

a.part-client-carte:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

a.part-client-carte:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.part-client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    padding: 22px;
    border-bottom: 1px solid #f0f2f5;
    background: #fbfcfd;
}

.part-client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    /* filter: grayscale(1); */
    opacity: .75;
    transition: filter .3s, opacity .3s;
}

a.part-client-carte:hover .part-client-logo img {
    filter: none;
    opacity: 1;
}

/* Client sans logo : son nom en grand, comme une signature */
.part-client-logo--texte {
    background:
        linear-gradient(rgba(2, 38, 89, .04) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(2, 38, 89, .04) 1px, transparent 1px) 0 0 / 22px 22px,
        #fbfcfd;
}

.part-client-logo--texte span {
    font-family: var(--primary-font);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .5px;
    text-align: center;
    color: var(--second-color);
}

.part-client-texte {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 18px 20px 20px;
}

.part-client-texte small {
    width: fit-content;
    margin-bottom: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(253, 111, 2, .1);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--orange-fonce);
}

.part-client-texte strong {
    font-family: var(--primary-font);
    font-size: 17px;
    font-weight: 800;
    color: var(--second-color);
}

.part-client-texte em {
    font-size: 13.5px;
    font-style: normal;
    color: var(--texte-doux);
}

.part-client-travaux {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed #e5e5e5;
    font-size: 14px;
    line-height: 1.5;
    color: var(--texte);
}

.part-client-lien {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-color);
}

.part-client-lien i {
    transition: transform .3s;
}

a.part-client-carte:hover .part-client-lien i {
    transform: translateX(4px);
}


/* ***********************************************************************************************************|
                                                   partenaires d'intégration                                  |
**************************************************************************************************************/

section#integration {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 36px 36px,        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 36px 36px,        var(--second-color);
}
section#integration::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 111, 2, .45), transparent 70%);
    pointer-events: none;
}
.part-integration {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.part-integ {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px 28px 26px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--rayon);
    background: rgba(255, 255, 255, .05);
    transition: border-color .3s, background-color .3s;
}

.part-integ:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, .08);
}

.part-integ-tete {
    display: flex;
    align-items: center;
    gap: 16px;
}

.part-integ-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--primary-color);
    font-size: 21px;
    color: var(--white-color);
}

.part-integ h3 {
    font-family: var(--primary-font);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--white-color);
}

.part-integ-role {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-color);
}

.part-integ p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .75);
}

.part-integ-lien {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    font-family: var(--primary-font);
    font-weight: 700;
    color: var(--white-color);
    transition: background-color .3s;
}

.part-integ-lien small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
}

.part-integ-lien i {
    color: var(--primary-color);
    transition: transform .3s;
}

.part-integ-lien:hover {
    background: var(--primary-color);
}

.part-integ-lien:hover i {
    color: var(--white-color);
    transform: translateX(4px);
}


/* ***********************************************************************************************************|
                                                   fabricants                                                 |
**************************************************************************************************************/
section#fabricants{
    background-image: url(../images/bg/bg-apropos.jpg);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
}
.part-fabricants {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.part-fabricants li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 22px;
    border: 1px solid #eee;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    background: var(--white-color);
    box-shadow: 0 0 15px #0000000f;
}

.part-fabricants strong {
    font-family: var(--primary-font);
    font-size: 19px;
    font-weight: 800;
    color: var(--second-color);
}

.part-fabricants span {
    font-size: 14px;
    line-height: 1.5;
    color: var(--texte-doux);
}

.part-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--texte-doux);
}

.part-note i {
    color: var(--primary-color);
}


/* ***********************************************************************************************************|
                                                   formation                                                  |
**************************************************************************************************************/
.part-formation {
    display: grid;
    grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr);
    gap: 60px;
    align-items: center;
}

.part-formation-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 1;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
    border: 10px solid var(--white-color);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 20%, rgba(253, 111, 2, .35), transparent 60%),
        var(--second-color);
    box-shadow: 0 0 0 2px var(--primary-color), 0 30px 60px -30px rgba(2, 38, 89, .6);
    color: var(--white-color);
    text-align: center;
}

.part-formation-badge i {
    font-size: 52px;
    color: var(--primary-color);
}

.part-formation-badge strong {
    font-family: var(--primary-font);
    font-size: 32px;
    font-weight: 800;
}

.part-formation-badge span {
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

.part-formation-chapo {
    margin-bottom: 22px;
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--texte-doux);
}

.part-coches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.part-coches li {
    position: relative;
    padding: 14px 16px 14px 46px;
    border-radius: 12px;
    background: var(--white-color);
    font-size: 15px;
    font-weight: 600;
    color: var(--second-color);
    box-shadow: 0 0 15px #0000000f;
}

.part-coches li::before {
    content: "\f00c";
    position: absolute;
    left: 16px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    color: var(--white-color);
    transform: translateY(-50%);
}


/* ***********************************************************************************************************|
                                                   devenir partenaire                                         |
**************************************************************************************************************/
.part-offres {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.part-offre {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 28px 28px;
    border: 1px solid #eee;
    border-radius: var(--rayon);
    background: var(--white-color);
    box-shadow: 0 0 15px #0000001a;
    transition: border-color .3s, transform .3s;
}

.part-offre:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.part-offre-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: rgba(253, 111, 2, .1);
    font-size: 23px;
    color: var(--primary-color);
}

.part-offre h3 {
    font-family: var(--primary-font);
    font-size: 19px;
    font-weight: 800;
    color: var(--second-color);
}

.part-offre p {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--texte-doux);
}

.part-offre .lien-fleche {
    width: fit-content;
    margin-top: auto;
}

/* Marge basse : la bande newsletter du pied de page remonte sur la section */
#devenir-partenaire {
    padding-bottom: 140px;
    background-image: url(../images/bg/bg-actu.png);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
}

.part-appel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    margin-top: 50px;
    padding: 40px 48px;
    border-radius: 20px;
    background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 36px 36px,
        var(--second-color);
    color: var(--white-color);
}

.part-appel h3 {
    margin-bottom: 8px;
    font-family: var(--primary-font);
    font-size: 26px;
    font-weight: 800;
    color: var(--white-color);
}

.part-appel p {
    max-width: 52ch;
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
}

.part-appel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.part-appel-actions .primary-btn {
    display: inline-flex;
}

.part-appel-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--primary-font);
    font-weight: 800;
    color: var(--white-color);
}

.part-appel-tel i {
    color: var(--primary-color);
}

.part-appel-tel:hover {
    color: var(--primary-color);
}


/* ***********************************************************************************************************|
                                                   mouvements réduits                                         |
**************************************************************************************************************/
@media (prefers-reduced-motion: reduce) {

    .part-client-carte,
    .part-offre,
    .part-client-logo img,
    .part-integ-lien i,
    .part-client-lien i {
        transition: none !important;
        transform: none !important;
    }

}
