/* ==========================================
   CHESS PARTY - DESIGN SIMPLE & ÉPURÉ
========================================== */
:root {
    --bleu: #173F8A;
    --bleu-dark: #0F2D5E;
    --orange: #F39C12;
    --noir: #101828;
    --gris: #667085;
    --off: #F7F9FB;
    --border: #E4E7EC;
    --font-titres: 'Cabinet Grotesk', 'EB Garamond', sans-serif;
    --font-corps: 'EB Garamond', 'Georgia', serif;
}

.che-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ==========================================
   OUVERTURE
========================================== */
.che-hero {
    background: var(--off);
    text-align: center;
    padding: 110px 24px 90px;
    border-bottom: 1px solid var(--border);
}

.che-label {
    display: inline-block;
    font-family: var(--font-titres);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--orange);
    margin-bottom: 22px;
}

.che-hero h1 {
    font-family: var(--font-titres);
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--bleu);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.che-subtitle {
    font-family: var(--font-corps);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--gris);
    margin-bottom: 30px;
}

.che-date {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-titres);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--noir);
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}

.che-date i { color: var(--orange); }

/* ==========================================
   PRÉSENTATION
========================================== */
.che-section { padding: 80px 0; background: #FFFFFF; }
.che-alt { background: var(--off); }

.che-presentation-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.che-text h2 {
    font-family: var(--font-titres);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--bleu);
    margin-bottom: 20px;
}

.che-text p {
    font-family: var(--font-corps);
    font-size: 1.05rem;
    color: var(--gris);
    line-height: 1.85;
    margin-bottom: 16px;
}

/* Infos pratiques */
.che-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.che-info-item {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.che-info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(23, 63, 138, 0.1);
}

.che-info-item i {
    font-size: 1.2rem;
    color: var(--bleu);
    margin-bottom: 10px;
}

.che-info-label {
    font-family: var(--font-titres);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gris);
    margin-bottom: 4px;
}

.che-info-value {
    font-family: var(--font-titres);
    font-size: 1rem;
    font-weight: 700;
    color: var(--noir);
}

/* ✅ Image ENTIERE (non zoomée) */
.che-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(23, 63, 138, 0.18);
}

.che-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================
   GALERIE
========================================== */
.che-head { text-align: center; margin-bottom: 50px; }

.che-head h2 {
    font-family: var(--font-titres);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 10px;
}

.che-head p {
    font-family: var(--font-corps);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gris);
}

.che-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.che-gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    background: #ddd;
}

.che-gallery-item img,
.che-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.che-gallery-item:hover img,
.che-gallery-item:hover video { transform: scale(1.08); }

.che-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 45, 94, 0.45), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.che-gallery-item:hover::after { opacity: 1; }

.che-voir {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 8px 20px;
    background: var(--bleu);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-family: var(--font-titres);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.che-voir:hover {
    background: var(--orange);
    transform: scale(1.05);
}

.che-video-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    background: var(--bleu);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
}

/* ==========================================
   LIGHTBOX
========================================== */
.che-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 32, 0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.che-lightbox.active { display: flex; }

.che-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.che-lightbox-content img,
.che-lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.che-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.che-lightbox-close:hover {
    color: var(--orange);
    transform: rotate(90deg);
}

.che-sound {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 18px;
    background: var(--bleu);
    color: #FFFFFF;
    border-radius: 50px;
    font-family: var(--font-titres);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 992px) {
    .che-presentation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .che-image {
        order: -1;
        max-width: 560px;
        margin: 0 auto;
    }
    .che-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .che-hero { padding: 80px 20px 65px; }
    .che-hero h1 { letter-spacing: 4px; }
    .che-section { padding: 60px 0; }
    .che-gallery-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .che-info-grid { grid-template-columns: 1fr; }
    .che-date { font-size: 0.85rem; padding: 10px 20px; }
    .che-hero h1 { font-size: 2.2rem; letter-spacing: 3px; }
}