@charset "UTF-8";
/* =========================================================
   PAGE : SINGLE ÉVÉNEMENT (DÉTAILS DYNAMIQUES)
   OPTIMISÉ PERF : Zéro CSS Inline, GPU Acceleration, Typographie fluide
   ========================================================= */

/* --- 1. HERO & NAVIGATION --- */
.uf-page-hero {
    height: 60vh; 
    min-height: 400px; 
    margin-top: -100px; 
    position: relative; 
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.uf-page-hero .uf-hero-media {
    position: absolute; 
    inset: 0;
    overflow: hidden;
}

.uf-page-hero .uf-hero-media img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: brightness(0.4);
    will-change: transform; /* 🔴 GPU BOOST */
}

.uf-hero-media-gradient {
    position: absolute; 
    inset: 0; 
    background: linear-gradient(0deg, #050505 0%, transparent 100%);
}

.uf-single-hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1300px;
    padding: 0 4vw;
    box-sizing: border-box;
    z-index: 2;
}

.uf-single-hero-content .uf-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--uf-purple-light, #c084fc);
}

.uf-single-hero-content .uf-kicker a {
    color: inherit; 
    text-decoration: none;
}

.uf-single-hero-content .uf-kicker i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.uf-single-hero-content .uf-kicker:hover i {
    transform: translateX(-5px);
}

.uf-single-event-title {
    color: #fff; 
    font-size: clamp(2rem, 5vw, 4.5rem); /* 🔴 TYPOGRAPHIE FLUIDE */
    text-transform: uppercase; 
    font-weight: 300; 
    margin: 10px 0; 
    line-height: 1.1;
}

/* --- 2. LAYOUT & GRILLE --- */
.uf-event-detail-section {
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
}

.uf-event-grid-layout {
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 60px; 
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* --- 3. CONTENU ÉDITORIAL (Géré par WordPress) --- */
.uf-event-description {
    color: var(--text-muted, #ccc);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.8;
}

.uf-event-description h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.5rem); /* 🔴 TEXTE FLUIDE SANS MEDIA QUERY */
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--lux-border, rgba(255, 255, 255, 0.1));
}

.uf-event-description h3 {
    color: var(--uf-purple-light, #c084fc);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 300;
    text-transform: uppercase;
    margin: 40px 0 20px 0;
}

.uf-event-description p {
    margin-bottom: 25px;
}

/* Listes avec puces personnalisées */
.uf-event-description ul {
    list-style: none;
    padding-left: 25px;
    margin-bottom: 30px;
}

.uf-event-description ul li {
    position: relative;
    margin-bottom: 15px;
}

.uf-event-description ul li::before {
    content: "⚡";
    position: absolute;
    left: -30px;
    top: 2px;
    color: var(--uf-purple, #662d91);
    font-size: 0.9rem;
}

/* Citations Coach */
.uf-event-description blockquote {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--uf-purple, #662d91);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Images dans le texte */
.uf-event-description img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    margin: 30px 0;
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 4. SIDEBAR : CARTE DE RÉSERVATION --- */
.uf-event-sidebar-card {
    position: sticky; 
    top: 120px; 
    background: rgba(10, 10, 12, 0.4);
    border: 1px solid var(--lux-border, rgba(255, 255, 255, 0.1)); 
    border-radius: 32px; 
    padding: clamp(30px, 3vw, 40px); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    width: 100%;
    box-sizing: border-box;
}

.uf-sidebar-title {
    color: #fff; 
    font-size: 1.2rem; 
    text-transform: uppercase; 
    margin: 0 0 20px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 15px;
}

.uf-practical-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.uf-practical-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #eee;
    font-size: clamp(0.9rem, 1vw, 1rem);
    padding: 15px 0;
    border-bottom: 1px solid var(--lux-border, rgba(255,255,255,0.05));
}

.uf-practical-list li:last-child {
    border-bottom: none;
}

.uf-practical-list i {
    color: var(--uf-purple, #662d91);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
    margin-top: 2px;
}

.uf-location-wrapper {
    display: flex; 
    align-items: flex-start; 
    gap: 15px;
}

.uf-location-text a.uf-map-link {
    display: block; 
    font-size: 0.75rem; 
    color: var(--uf-purple-light, #c084fc); 
    margin-top: 5px; 
    text-decoration: none; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-weight: 700;
    transition: color 0.3s ease;
}

.uf-location-text a.uf-map-link:hover {
    color: #fff;
}

/* Jauge de remplissage */
.uf-booking-gauge {
    background: rgba(255, 255, 255, 0.03);
    padding: clamp(15px, 2vw, 25px);
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px dashed var(--lux-border, rgba(255,255,255,0.1));
}

.uf-gauge-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted, #888);
    margin-bottom: 10px;
}

.uf-gauge-value {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.uf-fomo-alert {
    background: rgba(255, 107, 129, 0.1); 
    border: 1px solid #ff6b81; 
    color: #ff6b81; 
    padding: 12px; 
    border-radius: 12px; 
    text-align: center; 
    margin-bottom: 25px; 
    font-weight: 800; 
    font-size: 0.85rem; 
    text-transform: uppercase;
}

/* --- 5. BOUTONS & ACTIONS --- */
.uf-evt-actions .btn-primary {
    width: 100%;
    padding: clamp(15px, 2vw, 20px);
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

.btn-cancel-resa {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #ff6b81;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    width: 100%;
}

.btn-cancel-resa:hover {
    opacity: 1;
    transform: translateY(-2px);
    text-decoration: underline;
    color: #ff4757 !important;
}

.uf-gcal-link {
    display: block; 
    text-align: center; 
    margin-top: 15px; 
    color: #fff; 
    font-size: 0.85rem; 
    text-decoration: none; 
    border: 1px solid rgba(255,255,255,0.2); 
    padding: 10px; 
    border-radius: 8px;
    transition: all 0.3s ease;
}

.uf-gcal-link:hover {
    background: rgba(255,255,255,0.1);
}

/* =========================================================
   6. RESPONSIVE MOBILE ET TABLETTE (Strict Box-Sizing)
   ========================================================= */
@media (max-width: 992px) {
    .uf-event-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 5vw; 
    }

    .uf-event-sidebar-card {
        position: relative; 
        top: 0;
    }
}

@media (max-width: 768px) {
    .uf-single-hero-content {
        padding: 0 6vw;
        bottom: 20px;
    }

    .uf-page-hero {
        height: 35dvh !important; 
        min-height: 300px !important; 
    }

    .uf-event-grid-layout {
        padding: 0 6vw; 
        gap: 30px;
    }

    .uf-event-description h2 {
        font-weight: 400;
        padding-bottom: 10px;
        letter-spacing: 0px;
    }

    .uf-event-description blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }
    
    .uf-event-sidebar-card {
        padding: 25px 20px;
        border-radius: 20px;
        margin-top: 10px;
    }
    
    .uf-practical-list li {
        padding: 12px 0;
    }
}