
/* ══════════════════════════════════════════════════════════════
   GALERIE COMPLÈTE — Photos en grand + Lightbox zoom
   ══════════════════════════════════════════════════════════════ */

.galerie-complete {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--z-border);
}

.galerie-complete-header {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: 1.5rem;
}

.galerie-complete-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }

.galerie-complete-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--z-text);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 .35rem;
    border: none;
    padding: 0;
    display: block;
}

.galerie-complete-hint {
    font-size: .82rem;
    color: var(--z-text-light);
    margin: 0;
    line-height: 1.6;
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: .4rem .85rem;
    display: inline-block;
}

.galerie-complete-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.galerie-complete-item {
    position: relative;
    cursor: pointer;
    border-radius: var(--z-radius-lg);
    overflow: hidden;
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
    transition: box-shadow .2s ease, border-color .2s ease;
    line-height: 0;
}

.galerie-complete-item:hover {
    box-shadow: var(--z-shadow-hover);
    border-color: rgba(201,168,76,.5);
}

.galerie-complete-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #f0ede6;
    pointer-events: none;
}

.galerie-complete-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.galerie-complete-overlay span {
    color: white;
    background: rgba(0,0,0,.6);
    border-radius: 30px;
    padding: .5rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity .2s ease;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,.2);
    letter-spacing: .3px;
}

.galerie-complete-item:hover .galerie-complete-overlay { background: rgba(0,0,0,.15); }
.galerie-complete-item:hover .galerie-complete-overlay span { opacity: 1; }

/* ── Galerie dans la modale lot ───────────────────────────────────────── */

/* La modale devient scrollable pour accueillir la galerie */
.modal-avec-galerie {
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Galerie dans la modale : marges plus compactes */
.modal-galerie-complete {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    flex-shrink: 0;
}

.modal-galerie-complete .galerie-complete-hint {
    font-size: .78rem;
}

/* ── Lightbox plein écran ──────────────────────────────────────────── */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.93);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: white;
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9501;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
    line-height: 1;
}

.lightbox-close:hover { background: rgba(255,255,255,.3); }

.lightbox-hint {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.6);
    font-size: .8rem;
    white-space: nowrap;
    z-index: 9501;
    background: rgba(0,0,0,.5);
    padding: .4rem 1rem;
    border-radius: 20px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.1);
}

.lightbox-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: var(--z-radius);
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
    transition: none;
    display: block;
}
