/* ==========================================================
   VALORESSENCE — ÉVÉNEMENTS
========================================================== */


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

.events-hero {
    min-height: 360px;

    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;
}


.events-hero__inner {
    width: min(1180px, 100%);

    margin: 0 auto;
}


.events-hero__content {
    max-width: 540px;

    padding: 65px 0;
}


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

    color: #f0cf92;

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

    text-transform: uppercase;
}


.events-hero h1 {
    margin: 0;

    color: #fff;

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

    font-weight: 300;

    letter-spacing: -3px;
}


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

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


.events-hero p {
    max-width: 500px;

    margin: 18px 0 0;

    color: #fff;

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


/* ==========================================================
   LISTE
========================================================== */

.events-list {
    padding: 70px 0 110px;

    background: #fff;
}


.events-list__inner {
    width: min(1180px, 100%);

    margin: 0 auto;
}


.events-list__heading {
    margin-bottom: 42px;
}


.events-list__heading h2 {
    margin: 0;

    color: var(--brown);

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

    font-weight: 300;

    letter-spacing: -2px;
}


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

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


/* ==========================================================
   GRILLE
========================================================== */

.events-grid {
    display: grid;

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

    gap: 28px;
}


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

.event-card {
    position: relative;
    min-height: 335px;

    padding: 25px 25px 20px;

    display: flex;
    flex-direction: column;

    border-top:
        3px solid
        var(--orange);

    border-radius: 10px;

    background: #1c120d;

    color: #fff;
}


/* ==========================================================
   HEAD
========================================================== */

.event-card__head {
    min-height: 60px;

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

    gap: 20px;
}


.event-card__date {
    width: 53px;
    height: 53px;

    flex: 0 0 53px;

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

    border-radius: 50%;

    background: var(--orange);

    color: #fff;
}


.event-card__date strong {
    font-size: 13px;
    line-height: 1;

    font-weight: 700;
}


.event-card__date span {
    margin-top: 2px;

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

    font-weight: 600;

    text-transform: uppercase;
}


.event-card__type {
    min-height: 29px;

    display: inline-flex;
    align-items: center;

    padding: 0 13px;

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

    border-radius: 20px;

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

    color: #f0a14d;

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

    text-transform: uppercase;
}


/* ==========================================================
   BODY
========================================================== */

.event-card__body {
    margin-top: 17px;
}


.event-card__body h2 {
    margin: 0;

    color: #fff;

    font-size: 20px;
    line-height: 1.3;

    font-weight: 600;
}


.event-card__full-date {
    margin-top: 13px;

    color: #fff;

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

    font-weight: 600;
}


.event-card__infos {
    margin-top: 17px;

    padding: 14px 0;

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

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


.event-card__info {
    min-height: 33px;

    display: flex;
    align-items: center;

    gap: 10px;

    color: #fff;

    font-size: 11px;
}


.event-card__icon {
    width: 26px;
    height: 26px;

    flex: 0 0 26px;

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

    border-radius: 50%;

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

    color: var(--orange);

    font-size: 8px;
}


.event-card__muted {
    color: #aa968b;
}


/* ==========================================================
   LIEN
========================================================== */

.event-card__link {
    margin-top: auto;

    padding-top: 16px;

    display: inline-flex;
    align-items: center;

    gap: 12px;

    color: var(--orange-light);

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

    transition: color .2s ease;
}


.event-card__link span {
    transition: transform .2s ease;
}


.event-card__link:hover {
    color: #fff;
}


.event-card__link:hover span {
    transform: translateX(4px);
}


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

@media (max-width: 850px) {

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

}


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

@media (max-width: 700px) {

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


    .events-hero__inner,
    .events-list__inner {
        width: 100%;
    }


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


    .events-list {
        padding: 55px 0 75px;
    }


    .events-list__heading {
        margin-bottom: 30px;
    }


    .event-card {
        min-height: 315px;

        padding: 22px;
    }

}

/* FULL CARD CLICK TARGET */
.event-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.event-card__link {
    position: relative;
    z-index: 3;
}
