/* ══════════════════════════════════════════════
   CLUSIER — PAGE ÉVÉNEMENTS
   Dépend de main.css (variables + reset)
   Chargé uniquement sur /evenements/
══════════════════════════════════════════════ */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────
   FOND ET STRUCTURE PRINCIPALE
────────────────────────────────────────── */
.events-page {
    background: var(--white);
    color: var(--navy-clusier);
    padding-top: 11rem;   /* compense header fixe 10rem + promo bar */
    min-height: 100vh;
}

/* ──────────────────────────────────────────
   EN-TÊTE DE PAGE
────────────────────────────────────────── */
.events-header {
    padding: 48px 64px 28px;
}

.events-address {
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-clusier);
    margin-bottom: 14px;
}

.events-page-title {
    font-family: var(--serif-light);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--navy-clusier);
    margin-bottom: 14px;
}

.events-page-title em {
    font-family: var(--serif-light-italic);
    font-style: normal;
}

.events-intro {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--gray-clusier);
    line-height: 1.75;
    max-width: 540px;
}

/* ──────────────────────────────────────────
   FILTRES
────────────────────────────────────────── */
.events-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 64px 36px;
}

.filter-btn {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-clusier);
    background: transparent;
    border: 0.5px solid rgba(23, 37, 53, 0.28);
    border-radius: 2px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
}

.filter-btn:hover {
    border-color: var(--navy-clusier);
}

.filter-btn.is-active {
    background: var(--navy-clusier);
    color: var(--white);
    border-color: var(--navy-clusier);
}

/* ──────────────────────────────────────────
   BADGE / TAG DE TYPE
────────────────────────────────────────── */
.event-tag {
    display: inline-block;
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy-clusier);
    border: 0.5px solid rgba(23, 37, 53, 0.3);
    border-radius: 1px;
    padding: 4px 9px;
    margin-bottom: 12px;
    align-self: flex-start;
}

/* ──────────────────────────────────────────
   DATE
────────────────────────────────────────── */
.event-date {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-clusier);
    margin-bottom: 8px;
}

/* ──────────────────────────────────────────
   TITRE D'ÉVÉNEMENT
────────────────────────────────────────── */
.event-title {
    font-family: var(--serif-light);
    font-weight: 300;
    color: var(--navy-clusier);
    line-height: 1.25;
    margin-bottom: 10px;
}

.event-featured .event-title {
    font-size: clamp(18px, 2vw, 24px);
    margin-bottom: 14px;
}

.event-card .event-title {
    font-size: 17px;
}

.event-title em {
    font-family: var(--serif-light-italic);
    font-style: normal;
}

/* ──────────────────────────────────────────
   DESCRIPTION
────────────────────────────────────────── */
.event-desc {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--gray-clusier);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 20px;
}

/* ──────────────────────────────────────────
   PLACEHOLDER IMAGE (sans thumbnail)
────────────────────────────────────────── */
.event-img-placeholder {
    width: 100%;
    height: 100%;
    background: #ebe7e0;
}

/* ──────────────────────────────────────────
   ÉVÉNEMENT À LA UNE
────────────────────────────────────────── */
.event-featured {
    display: grid;
    grid-template-columns: 2fr 3fr;
    min-height: 320px;
    margin: 0 64px 4px;
    border: 0.5px solid rgba(23, 37, 53, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.event-featured-image {
    position: relative;
    background: #ebe7e0;
    overflow: hidden;
}

.event-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.event-featured:hover .event-featured-image img {
    transform: scale(1.03);
}

/* Badge "TRUNK SHOW — À LA UNE" sur l'image */
.event-featured-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(23, 37, 53, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 5px 10px;
    border-radius: 1px;
}

/* Corps texte du featured */
.event-featured-body {
    display: flex;
    flex-direction: column;
    padding: 32px 40px;
    background: var(--white);
}

/* Ligne du bas : adresse + CTA */
.event-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
    margin-top: auto;
    border-top: 0.5px solid rgba(23, 37, 53, 0.1);
}

.event-location {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--gray-clusier);
    font-style: normal;
    line-height: 1.5;
}

/* ──────────────────────────────────────────
   BOUTONS ÉVÉNEMENT
────────────────────────────────────────── */
.btn-event {
    display: inline-flex;
    align-items: center;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-clusier);
    background: transparent;
    border: 0.5px solid var(--navy-clusier);
    border-radius: 2px;
    padding: 9px 18px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.btn-event:hover {
    background: var(--navy-clusier);
    color: var(--white);
}

/* État COMPLET */
.btn-event--complet {
    color: var(--gray-clusier);
    border-color: rgba(23, 37, 53, 0.25);
    cursor: default;
    pointer-events: none;
}

/* ──────────────────────────────────────────
   GRILLE DE CARTES
────────────────────────────────────────── */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin: 4px 64px;
}

/* ──────────────────────────────────────────
   CARTE ÉVÉNEMENT
────────────────────────────────────────── */
.event-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 0.5px solid rgba(23, 37, 53, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.event-card-image {
    aspect-ratio: 3 / 2;
    background: #ebe7e0;
    overflow: hidden;
    flex-shrink: 0;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.04);
}

.event-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 24px 24px;
}

/* Pied de carte : lieu + CTA */
.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 0.5px solid rgba(23, 37, 53, 0.08);
}

.event-location-tag {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--gray-clusier);
    line-height: 1.4;
}

.event-limited {
    color: #9a7741;   /* ton doré/ambre discret */
    font-style: italic;
}

/* ──────────────────────────────────────────
   AUCUN ÉVÉNEMENT
────────────────────────────────────────── */
.events-empty {
    padding: 64px;
    text-align: center;
    font-family: var(--serif-reg);
    font-size: 15px;
    color: var(--gray-clusier);
}

/* ──────────────────────────────────────────
   CTA SESSIONS PRIVÉES
────────────────────────────────────────── */
.events-private-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin: 4px 64px 64px;
    padding: 36px 40px;
    background: var(--cream);
    border-radius: 2px;
    border: 0.5px solid rgba(23, 37, 53, 0.08);
}

.events-private-cta p {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--navy-clusier);
    line-height: 1.65;
    max-width: 420px;
}

.btn-event-contact {
    display: inline-flex;
    align-items: center;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-clusier);
    border: 0.5px solid var(--navy-clusier);
    border-radius: 2px;
    padding: 10px 22px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-event-contact:hover {
    background: var(--navy-clusier);
    color: var(--white);
}

/* ──────────────────────────────────────────
   RESPONSIVE — Tablette
────────────────────────────────────────── */
@media (max-width: 1024px) {
    .events-header,
    .events-filters   { padding-left: 32px; padding-right: 32px; }
    .event-featured   { margin: 0 32px 4px; }
    .events-grid      { margin: 4px 32px; }
    .events-private-cta { margin: 4px 32px 48px; }

    .event-featured { grid-template-columns: 1fr 1.4fr; }
}

/* ──────────────────────────────────────────
   RESPONSIVE — Mobile
────────────────────────────────────────── */
@media (max-width: 768px) {
    .events-page { padding-top: 4.5rem; }

    .events-header     { padding: 32px 20px 20px; }
    .events-filters    { padding: 0 20px 24px; gap: 6px; }

    /* Featured : image au-dessus */
    .event-featured {
        grid-template-columns: 1fr;
        margin: 0 20px 4px;
    }
    .event-featured-image { aspect-ratio: 4 / 3; }
    .event-featured-body  { padding: 20px; }

    /* Grille : 1 colonne */
    .events-grid        { grid-template-columns: 1fr; margin: 4px 20px; }
    .events-private-cta { margin: 4px 20px 40px; padding: 28px 20px; }

    .events-empty { padding: 40px 20px; }
}

/* ══════════════════════════════════════════════
   FICHE INDIVIDUELLE (single-clusier_event.php)
   FIX #5
══════════════════════════════════════════════ */
.single-event-page {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 80px;
}
.single-event-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 32px 64px 0;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-clusier);
}
.single-event-breadcrumb a {
    color: var(--navy-clusier);
    text-decoration: none;
    transition: opacity .2s;
}
.single-event-breadcrumb a:hover { opacity: .6; }
.breadcrumb-sep { opacity: .4; }

.single-event-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 32px 64px;
}
.single-event-image {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}
.single-event-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4;
}
.single-event-body {
    padding-top: 8px;
}
.single-event-title {
    font-family: var(--serif-light);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy-clusier);
    margin: 12px 0 20px;
}
.single-event-title em {
    font-family: var(--serif-light-italic);
    font-style: normal;
}
.single-event-desc {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--gray-clusier);
    line-height: 1.75;
    margin-bottom: 24px;
}
.single-event-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans);
    font-size: 12px;
    color: var(--gray-clusier);
    margin-bottom: 28px;
}
.single-event-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.btn-event-back {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-clusier);
    text-decoration: none;
    transition: color .2s;
}
.btn-event-back:hover { color: var(--navy-clusier); }
.single-event-info-note {
    font-family: var(--serif-reg);
    font-style: italic;
    font-size: 14px;
    color: var(--gray-clusier);
}

@media (max-width: 768px) {
    .single-event-breadcrumb { padding: 24px 20px 0; }
    .single-event-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 20px 40px;
    }
    .single-event-image img { aspect-ratio: 4/3; }
}
