/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --amor-red: #df1217;
    --amor-dark: #151515;
    --amor-text: #333333;
    --amor-muted: #777777;
    --amor-light: #f7f7f7;
    --amor-border: #e8e8e8;
}


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

.membres-hero {

    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: #151515;

}


.membres-hero-image {

    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

}


.membres-hero-overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.55) 42%,
            rgba(0,0,0,.20) 75%,
            rgba(0,0,0,.05) 100%
        );

}


.membres-hero-content {

    position: absolute;
    z-index: 2;

    left: 9%;
    top: 50%;

    transform: translateY(-50%);

    max-width: 650px;

    padding-left: 28px;

    border-left: 3px solid var(--amor-red);

}


.membres-hero-line {

    width: 35px;
    height: 3px;

    margin-bottom: 15px;

    background: var(--amor-red);

}


.membres-hero-tag {

    display: block;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;

}


.membres-hero h1 {

    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 78px);

    font-weight: 700;
    line-height: 1;

}


.membres-hero p {

    max-width: 580px;

    margin: 0;

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

    font-size: 16px;
    line-height: 1.7;

}


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

.membres-hero-actions {

    position: absolute;
    z-index: 3;

    right: 7%;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

    gap: 15px;

}


.membres-hero-btn {

    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 130px;
    height: 48px;

    padding: 0 22px;

    color: #ffffff;

    background: var(--amor-red);

    border: 1px solid var(--amor-red);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    text-decoration: none;

    transition: .25s ease;

}


.membres-hero-btn:hover {

    color: var(--amor-red);

    background: #ffffff;

    text-decoration: none;

}


.membres-action-outline {

    background: rgba(0,0,0,.25);

    border-color: rgba(255,255,255,.7);

}


.membres-action-outline:hover {

    color: #ffffff;

    background: var(--amor-red);

    border-color: var(--amor-red);

}



/* =========================================================
   INTRODUCTION
   ========================================================= */

.membres-intro {

    max-width: 900px;

    margin: 0 auto;

    padding: 95px 25px 55px;

    text-align: center;

}


.membres-intro-heading {

    max-width: 720px;

    margin: 0 auto;

}


.section-eyebrow {

    display: block;

    margin-bottom: 12px;

    color: var(--amor-red);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;

}


.membres-intro h2 {

    margin: 0;

    color: #292929;

    font-size: clamp(32px, 4vw, 46px);

    font-weight: 500;

    line-height: 1.2;

}


.section-red-line {

    width: 38px;
    height: 3px;

    margin: 22px auto;

    background: var(--amor-red);

}


.membres-intro p {

    max-width: 650px;

    margin: 0 auto;

    color: #777777;

    font-size: 15px;

    line-height: 1.8;

}


.membres-intro-icon {

    margin-top: 38px;

}


.membres-intro-icon img {

    width: 80px;
    height: 80px;

    object-fit: contain;

    opacity: .9;

}



/* =========================================================
   SECTION MEMBRES
   ========================================================= */

.membres-section {

    padding: 35px 0 100px;

    background: #fafafa;

}


.membres-container {

    width: min(1180px, 90%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;

}



/* =========================================================
   CARTE MEMBRE
   ========================================================= */

.membre-card {

    position: relative;

    display: flex;

    min-height: 285px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e8e8e8;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.membre-card:hover {

    transform: translateY(-6px);

    border-color: #dddddd;

    box-shadow:
        0 18px 40px rgba(0,0,0,.08);

}



/* =========================================================
   IMAGE
   ========================================================= */

.membre-card-image {

    position: relative;

    flex: 0 0 42%;

    min-height: 285px;

    overflow: hidden;

    background: #eeeeee;

}


.membre-card-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform .5s ease;

}


.membre-card:hover .membre-card-image img {

    transform: scale(1.05);

}


.membre-number {

    position: absolute;

    top: 15px;
    left: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    color: #ffffff;

    background: var(--amor-red);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

}



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

.membre-card-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    flex: 1;

    padding: 32px;

}


.membre-fonction {

    display: block;

    margin-bottom: 12px;

    color: var(--amor-red);

    font-size: 11px;

    font-weight: 700;

    line-height: 1.5;

}


.membre-card-content h3 {

    margin: 0 0 12px;

    color: #292929;

    font-size: 24px;

    font-weight: 500;

    line-height: 1.25;

}


.membre-card-content p {

    margin: 0;

    color: #777777;

    font-size: 14px;

    line-height: 1.7;

}


.membre-link {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    width: fit-content;

    margin-top: auto;
    padding-top: 25px;

    color: #557b99;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: .25s ease;

}


.membre-link strong {

    font-size: 17px;

    font-weight: 400;

    transition: transform .25s ease;

}


.membre-link:hover {

    color: var(--amor-red);

    text-decoration: none;

}


.membre-link:hover strong {

    transform: translateX(5px);

}



/* =========================================================
   SECTION FINALE
   ========================================================= */

.membres-end {

    padding: 100px 20px;

    background: #ffffff;

    text-align: center;

}


.membres-end-inner {

    max-width: 700px;

    margin: 0 auto;

}


.membres-end h2 {

    margin: 0 0 20px;

    color: #292929;

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 500;

    line-height: 1.2;

}


.membres-end p {

    max-width: 600px;

    margin: 0 auto 30px;

    color: #777777;

    font-size: 15px;

    line-height: 1.8;

}


.membres-end-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 28px;

    color: #ffffff;

    background: var(--amor-red);

    border: 1px solid var(--amor-red);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    text-decoration: none;

    transition: .25s ease;

}


.membres-end-btn:hover {

    color: var(--amor-red);

    background: #ffffff;

    text-decoration: none;

}



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

@media (max-width: 900px) {

    .membres-container {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 700px) {

    .membres-hero {

        height: 500px;

    }


    .membres-hero-content {

        left: 7%;

        right: 7%;

        top: 42%;

        padding-left: 20px;

    }


    .membres-hero h1 {

        font-size: 48px;

    }


    .membres-hero p {

        font-size: 14px;

    }


    .membres-hero-actions {

        left: calc(7% + 23px);

        right: auto;

        top: auto;
        bottom: 35px;

        transform: none;

        flex-direction: row;

        gap: 10px;

    }


    .membres-hero-btn {

        min-width: auto;

        height: 44px;

        padding: 0 16px;

    }


    .membres-intro {

        padding-top: 70px;

    }


    .membres-container {

        width: 92%;

    }


    .membre-card {

        flex-direction: column;

    }


    .membre-card-image {

        flex: none;

        width: 100%;

        height: 280px;

        min-height: 280px;

    }


    .membre-card-content {

        min-height: 245px;

        padding: 28px;

    }

}


@media (max-width: 480px) {

    .membres-hero h1 {

        font-size: 40px;

    }


    .membres-hero-actions {

        flex-direction: column;

        align-items: flex-start;

    }


    .membres-hero-btn {

        min-width: 130px;

    }


    .membre-card-image {

        height: 250px;

        min-height: 250px;

    }


    .membre-card-content h3 {

        font-size: 21px;

    }

}