/* TITRE PAGE */
.oeuvres-titre {
    text-align: center;
    padding: 60px 40px 80px;
}

.oeuvres-titre h1 {
    font-family: 'FakeSmiths', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--rose);
    letter-spacing: 0.05em;
}

.categorie-bloc {
    padding: 50px 80px;
    margin: 20px 40px;
    border-radius: 20px;
}

.categorie-bloc h2 {
    font-family: 'FakeSmiths', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--noir);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.categorie-bloc.vert  { background-color: var(--vert); }
.categorie-bloc.rose  { background-color: var(--rose); }
.categorie-bloc.orange { background-color: var(--orange); }

/* GALERIE MASONRY */
.galerie {
    columns: 4;
    column-gap: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .categorie-bloc { padding: 40px 20px; }
    .galerie { columns: 1; }
}
.galerie-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.galerie-item {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    break-inside: avoid;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.galerie-item img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.galerie-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.galerie-item::after {
    content: '＋';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 2.5rem;
    color: var(--blanc);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.galerie-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* LIGHTBOX HOVER */
.lightbox-hover {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    cursor: pointer;
}

.lightbox-hover.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease;
}

.lightbox-hover img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

/* FORMATS */
.galerie-item.paysage  { height: 200px; }
.galerie-item.portrait { height: 300px; }
.galerie-item.carre    { height: 240px; }
.galerie-item.petit    { height: 130px; }