/* ==========================================================
   CARTES ÉVÉNEMENTS
========================================================== */

.event-card {

    height: 100%;

    background: var(--blanc);

    border-radius: var(--rayon);

    overflow: hidden;

    box-shadow: var(--ombre-sm);

    transition: var(--transition);

}


.event-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--ombre);

}


/* ==========================================================
   IMAGE
========================================================== */

.event-card-image {

    position: relative;

    height: 240px;

    overflow: hidden;

}


.event-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;

}


.event-card:hover .event-card-image img {

    transform: scale(1.05);

}


/* ==========================================================
   DATE
========================================================== */

.event-date {

    position: absolute;

    top: 15px;

    left: 15px;

    width: 65px;

    height: 65px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background: var(--blanc);

    border-radius: 12px;

    box-shadow: var(--ombre-xs);

}


.event-day {

    color: var(--bleu);

    font-family: 'Poppins', sans-serif;

    font-size: 1.45rem;

    font-weight: 700;

    line-height: 1;

}


.event-month {

    margin-top: 4px;

    color: var(--orange);

    font-family: 'Poppins', sans-serif;

    font-size: .7rem;

    font-weight: 700;

    letter-spacing: 1px;

}


/* ==========================================================
   CONTENU
========================================================== */

.event-card-content {

    padding: 25px;

}


.event-category {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--orange);

    font-family: 'Poppins', sans-serif;

    font-size: .85rem;

    font-weight: 600;

}


.event-card-content h3 {

    margin-bottom: 12px;

    color: var(--bleu);

    font-family: 'Poppins', sans-serif;

    font-size: 1.35rem;

    font-weight: 700;

}


.event-location {

    margin-bottom: 20px;

    color: var(--gris-fonce);

    font-size: .95rem;

}


.event-location i {

    margin-right: 7px;

    color: var(--orange);

}


/* ==========================================================
   BOUTON
========================================================== */

.event-card-content .btn {

    border-radius: 10px;

    font-family: 'Poppins', sans-serif;

    font-weight: 600;

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 767.98px) {

    .event-card-image {

        height: 220px;

    }

}


@media (max-width: 575.98px) {

    .event-card-image {

        height: 210px;

    }

    .event-card-content {

        padding: 20px;

    }

}/* ==========================================================
   MOTEUR DE RECHERCHE - ANNUAIRE DES ÉVÉNEMENTS
========================================================== */

.annuaire-evenements-recherche {
    padding: 40px 0 70px;
    background: var(--gris);
}


/* ==========================================================
   BLOC PRINCIPAL
========================================================== */

.annuaire-search-box {

    display: grid;

    grid-template-columns:
        1.5fr
        1.3fr
        1fr
        1.2fr
        auto;

    gap: 15px;

    align-items: end;

    padding: 30px;

    background: var(--blanc);

    border-radius: var(--rayon);

    box-shadow: var(--ombre-sm);

}


/* ==========================================================
   CHAMPS
========================================================== */

.search-field {

    display: flex;

    flex-direction: column;

}


.search-field label {

    margin-bottom: 8px;

    color: var(--bleu);

    font-family: 'Poppins', sans-serif;

    font-size: .9rem;

    font-weight: 600;

}


.search-field input,
.search-field select {

    width: 100%;

    min-height: 50px;

    padding: 10px 15px;

    border: 1px solid var(--gris-clair);

    border-radius: 10px;

    background: var(--blanc);

    color: var(--texte);

    font-family: 'Open Sans', sans-serif;

    font-size: .95rem;

    transition: var(--transition);

}


/* ==========================================================
   FOCUS
========================================================== */

.search-field input:focus,
.search-field select:focus {

    border-color: var(--orange);

    box-shadow: 0 0 0 3px rgba(243,156,18,.15);

}


/* ==========================================================
   BOUTON
========================================================== */

.search-button {

    display: flex;

    align-items: flex-end;

}


.search-button .btn {

    min-height: 50px;

    padding: 10px 25px;

    border: none;

    border-radius: 10px;

    background: var(--orange);

    color: var(--blanc);

    font-family: 'Poppins', sans-serif;

    font-weight: 600;

    white-space: nowrap;

    transition: var(--transition);

}


.search-button .btn:hover {

    background: var(--orange-hover);

    transform: translateY(-3px);

    box-shadow: 0 10px 20px rgba(243,156,18,.25);

}


/* ==========================================================
   RESPONSIVE TABLETTE
========================================================== */

@media (max-width: 991.98px) {

    .annuaire-search-box {

        grid-template-columns: 1fr 1fr;

    }

    .search-button {

        grid-column: 1 / -1;

    }

    .search-button .btn {

        width: 100%;

    }

}


/* ==========================================================
   RESPONSIVE MOBILE
========================================================== */

@media (max-width: 575.98px) {

    .annuaire-evenements-recherche {

        padding: 30px 0 50px;

    }

    .annuaire-search-box {

        grid-template-columns: 1fr;

        gap: 18px;

        padding: 22px;

        border-radius: 18px;

    }

    .search-button {

        grid-column: auto;

    }

    .search-button .btn {

        width: 100%;

    }

}/* ==========================================================
   AJUSTEMENT DU BANDEAU — ANNUAIRE DES ÉVÉNEMENTS
========================================================== */

.page-banner {
    padding-top: 170px;
}