
/* =========================================================
   DETAIL MEMBRE
========================================================= */

.membre-detail-page {
    padding-bottom: 90px;
}


/* =========================================================
   HERO
========================================================= */

.membre-detail-hero {

    position: relative;

    min-height: 180px;

    display: flex;

    align-items: center;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    overflow: hidden;

}


.membre-detail-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(4,28,50,.94),
            rgba(8,127,73,.76)
        );

}


.membre-detail-hero::after {

    content: "";

    position: absolute;

    width: 330px;

    height: 330px;

    right: -70px;

    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 50%;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.membre-detail-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

    padding: 70px 0;

}


.membre-detail-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #f77f00;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .12em;

    margin-bottom: 17px;

}


.membre-detail-hero h1 {

    color: #fff;

    font-size: clamp(
        35px,
        5vw,
        58px
    );

    line-height: 1.12;

    font-weight: 800;

    margin: 0 0 20px;

}


/* =========================================================
   BREADCRUMB
========================================================= */

.membre-detail-breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 14px;

}


.membre-detail-breadcrumb a {

    color: #fff;

    text-decoration: none;

    transition: .2s ease;

}


.membre-detail-breadcrumb a:hover {

    color: #f77f00;

}


.membre-detail-breadcrumb span {

    color: rgba(255,255,255,.45);

}


.membre-detail-breadcrumb strong {

    color: #f77f00;

    font-weight: 600;

}


/* =========================================================
   WRAPPER
========================================================= */

.membre-detail-wrapper {

    max-width: 1050px;

    margin: -60px auto 0;

    position: relative;

    z-index: 5;

}


.membre-detail-card {

    background: #fff;

    box-shadow:
        0 20px 60px rgba(0,0,0,.10);

    overflow: hidden;

}


/* =========================================================
   PROFIL
========================================================= */

.membre-profile {

    display: grid;

    grid-template-columns:
        320px 1fr;

    gap: 45px;

    padding: 45px;

}


/* =========================================================
   PHOTO
========================================================= */

.membre-photo-wrapper {

    position: relative;

    overflow: hidden;

    background: #f1f5f9;

    height: 390px;

}


.membre-photo {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .5s ease;

}


.membre-photo-wrapper:hover
.membre-photo {

    transform: scale(1.04);

}


/* =========================================================
   INFOS
========================================================= */

.membre-profile-info {

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.membre-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #087f49;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;

    margin-bottom: 12px;

}


.membre-label i {

    color: #f77f00;

}


.membre-name {

    color: #172b4d;

    font-size: clamp(
        30px,
        4vw,
        45px
    );

    line-height: 1.2;

    font-weight: 800;

    margin-bottom: 10px;

}


.membre-fonction {

    color: #087f49;

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 25px;

}


/* =========================================================
   DESCRIPTION COURTE
========================================================= */

.membre-description {

    color: #64748b;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 25px;

}


/* =========================================================
   CONTACT
========================================================= */

.membre-contact {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 10px;

}


.membre-contact-item {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #475569;

    text-decoration: none;

}


.membre-contact-item:hover {

    color: #087f49;

}


.membre-contact-icon {

    width: 38px;

    height: 38px;

    min-width: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eaf7f1;

    color: #087f49;

}


/* =========================================================
   CONTENU
========================================================= */

.membre-content-section {

    border-top: 1px solid #e8edf2;

    padding: 45px;

}


.membre-content-title {

    color: #172b4d;

    font-size: 28px;

    font-weight: 800;

    margin-bottom: 22px;

}


.membre-content {

    color: #475569;

    font-size: 16px;

    line-height: 1.9;

}


.membre-content p {

    margin-bottom: 20px;

}


.membre-content h2 {

    color: #172b4d;

    margin-top: 35px;

    margin-bottom: 18px;

}


.membre-content h3 {

    color: #087f49;

    margin-top: 30px;

    margin-bottom: 15px;

}


.membre-content ul,
.membre-content ol {

    padding-left: 25px;

    margin-bottom: 25px;

}


.membre-content li {

    margin-bottom: 8px;

}


/* =========================================================
   RESEAUX SOCIAUX
========================================================= */

.membre-social {

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #e8edf2;

}


.membre-social-title {

    color: #172b4d;

    font-weight: 700;

    margin-bottom: 15px;

}


.membre-social-buttons {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

}


.membre-social-btn {

    width: 42px;

    height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    text-decoration: none;

    transition:
        transform .2s ease,
        opacity .2s ease;

}


.membre-social-btn:hover {

    color: #fff;

    transform: translateY(-3px);

    opacity: .9;

}


.membre-facebook {

    background: #1877f2;

}


.membre-linkedin {

    background: #0a66c2;

}


.membre-whatsapp {

    background: #25d366;

}


/* =========================================================
   FOOTER
========================================================= */

.membre-detail-footer {

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #e8edf2;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

}


.membre-back {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #087f49;

    font-weight: 700;

    text-decoration: none;

    transition: gap .2s ease;

}


.membre-back:hover {

    color: #056b3d;

    gap: 13px;

}


/* =========================================================
   INTROUVABLE
========================================================= */

.membre-not-found {

    text-align: center;

    padding: 100px 20px;

}


.membre-not-found i {

    font-size: 65px;

    color: #cbd5e1;

    margin-bottom: 25px;

}


.membre-not-found h2 {

    color: #172b4d;

    margin-bottom: 12px;

}


.membre-not-found p {

    color: #64748b;

}


/* =========================================================
   TOP BUTTON
========================================================= */

#membreDetailTop {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 45px;

    height: 45px;

    border: 0;
    border-radius:50%;

    background: #087f49;

    color: #fff;

    display: none;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 999;

    box-shadow:
        0 8px 20px rgba(0,0,0,.2);

    transition: .2s ease;

}


#membreDetailTop:hover {

    background: #056b3d;

    transform: translateY(-3px);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .membre-profile {

        grid-template-columns:
            260px 1fr;

        gap: 30px;

        padding: 30px;

    }


    .membre-photo-wrapper {

        height: 340px;

    }

}


@media (max-width: 767px) {

    .membre-detail-hero {

        min-height: 360px;

    }


    .membre-detail-hero-content {

        padding: 60px 20px;

    }


    .membre-detail-hero h1 {

        font-size: 35px;

    }


    .membre-detail-wrapper {

        margin-top: -35px;

        margin-left: 15px;

        margin-right: 15px;

    }


    .membre-profile {

        display: block;

        padding: 25px 20px;

    }


    .membre-photo-wrapper {

        height: 380px;

        margin-bottom: 30px;

    }


    .membre-name {

        font-size: 31px;

    }


    .membre-content-section {

        padding: 30px 20px;

    }


    .membre-detail-footer {

        align-items: flex-start;

        flex-direction: column;

    }

}

