/* ==========================================================
   VALORESSENCE — ANNUAIRE
========================================================== */


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

.directory-hero {
    min-height: 365px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(28,18,13,.94),
            rgba(28,18,13,.84)
        ),
        url(
            "https://honeydew-sheep-776998.hostingersite.com/wp-content/uploads/2026/04/Business-club-a-Bordeaux.jpg"
        )
        center 42% / cover no-repeat;

    color: #fff;
}


.directory-hero__content {
    width: min(1180px, 100%);

    margin: 0 auto;

    padding: 65px 0;
}

.directory-hero__content > * {
    max-width: 590px;
}

.directory-hero__eyebrow {
    margin-bottom: 20px;

    color: #f0cf92;

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

    text-transform: uppercase;
}


.directory-hero h1 {
    margin: 0;

    font-size: clamp(55px, 4.7vw, 78px);
    line-height: 1;

    font-weight: 300;

    letter-spacing: -3px;
}


.directory-hero h1 span {
    color: var(--orange-light);

    font-weight: 300;
    font-style: italic;
}


.directory-hero p {
    max-width: 490px;

    margin: 18px 0 0;

    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================
   ANNUAIRE
========================================================== */

.directory-members {
    padding: 42px 0 95px;

    background: #fff;
}


.directory-members__layout {
    width: min(1180px, 100%);

    display: grid;

    grid-template-columns:
        260px
        minmax(0, 1fr);

    gap: 28px;

    align-items: start;

    margin: 0 auto;
}


/* ==========================================================
   FILTRES
========================================================== */

.directory-filters {
    position: sticky;

    top: 115px;

    overflow: hidden;

    border:
        1px solid
        #dfd2c7;

    border-radius: 10px;

    background: #fff;
}


.directory-filters__title {
    padding: 17px 18px;

    background: #b29b86;

    color: #fff;

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

    text-transform: uppercase;
}


.directory-filters__form {
    padding: 13px 17px 17px;
}


.directory-filter {
    position: relative;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 5px 0;

    color: #625a55;

    font-size: 12px;

    cursor: pointer;
}


.directory-filter input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.directory-filter__box {
    position: relative;

    width: 15px;
    height: 15px;

    flex: 0 0 15px;

    border:
        1px solid
        #8f8984;

    border-radius: 2px;

    background: #fff;
}


.directory-filter input:checked
+ .directory-filter__box {
    border-color: var(--orange);

    background: var(--orange);
}


.directory-filter input:checked
+ .directory-filter__box::after {
    content: "";

    position: absolute;

    top: 2px;
    left: 4px;

    width: 4px;
    height: 7px;

    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;

    transform: rotate(45deg);
}


.directory-filters__reset {
    display: inline-block;

    margin-top: 14px;

    color: var(--orange);

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

    text-transform: uppercase;
}


/* ==========================================================
   RÉSULTATS
========================================================== */

.directory-results__top {
    min-height: 26px;

    display: flex;
    justify-content: flex-end;

    margin-bottom: 8px;

    color: #86766a;

    font-size: 9px;

    text-transform: uppercase;
}


.members-grid {
    display: grid;

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

    gap: 22px;
}


/* ==========================================================
   TUILE MEMBRE
   Fidèle au design de l'ancien site
========================================================== */

.member-card {
    min-height: 280px;

    padding: 27px;

    display: flex;
    flex-direction: column;

    border-top:
        2px solid
        rgba(216,125,33,.68);

    border-radius: 9px;

    background: #28150d;

    color: #fff;
}


.member-card__top {
    display: flex;
    align-items: center;

    gap: 13px;

    min-height: 46px;
}


.member-card__avatar {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    overflow: hidden;

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

    border-radius: 50%;

    background: #df852f;

    color: #25140d;

    font-size: 14px;
    font-weight: 700;
}


.member-card__avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.member-card__sector {
    display: inline-flex;
    align-items: center;

    min-height: 27px;

    padding: 0 13px;

    border:
        1px solid
        rgba(216,125,33,.46);

    border-radius: 20px;

    background:
        rgba(216,125,33,.11);

    color: #e59848;

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

    text-transform: uppercase;
}


/* IDENTITÉ */

.member-card__identity {
    margin-top: 20px;
}


.member-card__identity h2 {
    margin: 0 0 8px;

    color: #fff;

    font-size: 18px;
    line-height: 1.25;

    font-weight: 700;
}


.member-card__identity p {
    margin: 0;

    color: #aa968b;

    font-size: 11px;
    line-height: 1.5;
}


.member-card__identity strong {
    color: #fff;

    font-weight: 700;
}


.member-card__dot {
    margin: 0 3px;

    color: #9c887c;
}


/* CONTACT */

.member-card__contact {
    margin-top: auto;

    padding-top: 17px;

    border-top:
        1px solid
        rgba(255,255,255,.10);
}


.member-card__contact a {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 8px;

    color: #aa968b;

    font-size: 11px;

    transition: color .2s ease;
}


.member-card__contact a:hover {
    color: #fff;
}


.member-card__contact-icon {
    width: 22px;
    height: 22px;

    flex: 0 0 22px;

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

    border-radius: 50%;

    background:
        rgba(216,125,33,.10);

    color: var(--orange);

    font-size: 9px;
}


.member-card__empty {
    color: #786b64;

    font-size: 10px;
}


/* ==========================================================
   AUCUN RÉSULTAT
========================================================== */

.directory-empty {
    padding: 70px 30px;

    text-align: center;

    background: var(--cream);
}


.directory-empty strong {
    display: block;

    margin-bottom: 8px;

    font-size: 18px;
}


.directory-empty p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 13px;
}


/* ==========================================================
   ÉVÉNEMENTS À VENIR
========================================================== */

.directory-events {
    padding: 85px 0 100px;

    background: var(--cream);
}


.directory-events__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    padding-bottom: 30px;

    border-bottom:
        1px solid
        var(--line);
}


.directory-events h2 {
    margin: 0;

    font-size: clamp(38px, 3vw, 53px);
    line-height: 1.04;

    font-weight: 300;

    letter-spacing: -2px;
}


.directory-events h2 em {
    color: var(--orange);

    font-weight: 300;
    font-style: italic;
}


.directory-events__all {
    padding-bottom: 5px;

    color: var(--orange);

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

    text-transform: uppercase;
}


/* GRILLE */

.directory-events__grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin-top: 28px;
}


.directory-event {
    position: relative;

    min-height: 170px;

    padding: 28px 55px 28px 28px;

    display: grid;

    grid-template-columns:
        65px
        1fr;

    gap: 20px;

    align-items: center;

    background: var(--brown);

    color: #fff;

    transition:
        transform .2s ease,
        background-color .2s ease;
}


.directory-event:hover {
    transform: translateY(-3px);

    background: #281912;
}


.directory-event__date strong {
    display: block;

    color: var(--orange);

    font-size: 32px;
    line-height: 1;

    font-weight: 300;
}


.directory-event__date span {
    display: block;

    margin-top: 7px;

    color: #ddd1a9;

    font-size: 7px;
    font-weight: 500;

    text-transform: uppercase;
}


.directory-event__content small {
    display: block;

    margin-bottom: 7px;

    color: var(--orange);

    font-size: 8px;

    text-transform: uppercase;
}


.directory-event__content h3 {
    margin: 0 0 6px;

    color: #fff;

    font-size: 17px;

    font-weight: 500;
}


.directory-event__content p {
    margin: 0;

    color: #ddd1c9;

    font-size: 10px;
}


.directory-event__arrow {
    position: absolute;

    top: 50%;
    right: 22px;

    color: var(--orange);

    font-size: 18px;

    transform: translateY(-50%);
}


/* ==========================================================
   TABLETTE
========================================================== */

@media (max-width: 1000px) {

    .directory-members__layout {
        grid-template-columns:
            220px
            1fr;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .directory-events__grid {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .directory-hero {
        min-height: 330px;
    }

    .directory-hero h1 {
        font-size: 52px;
    }


    /* FILTRES AU-DESSUS */

    .directory-members {
        padding: 35px 0 65px;
    }

    .directory-members__layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .directory-filters {
        position: static;
    }

    .directory-filters__form {
        display: grid;

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

        gap: 2px 12px;
    }

    .directory-filters__reset {
        grid-column: 1 / -1;
    }

    .directory-results__top {
        justify-content: flex-start;
    }

    .members-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .member-card {
        min-height: 270px;

        padding: 24px;
    }


    /* EVENTS */

    .directory-events {
        padding: 65px 0 75px;
    }

    .directory-events__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .directory-event {
        min-height: 150px;
    }

}


/* ==========================================================
   PETIT MOBILE
========================================================== */

@media (max-width: 480px) {

    .directory-filters__form {
        grid-template-columns: 1fr;
    }

    .member-card__sector {
        font-size: 8px;
    }

    .member-card__identity h2 {
        font-size: 17px;
    }

}

/* ==========================================================
   TUILE MEMBRE — ZONE HAUTE CLIQUABLE
========================================================== */

.member-card {
    position: relative;
}


/* Toute la partie haute */

.member-card__main {
    flex: 1;

    display: flex;
    flex-direction: column;

    color: inherit;

    cursor: pointer;
}


/* Petite indication discrète */



/* Hover de toute la zone haute */



.member-card__main:hover .member-card__identity h2 {
    color: #e99645;
}


/* Nom animé légèrement */

.member-card__identity h2 {
    transition: color .2s ease;
}


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

.member-card__contact {
    position: relative;
    z-index: 2;

    margin-top: 18px;
    padding-top: 17px;

    border-top:
        1px solid
        rgba(255,255,255,.10);
}