/* RELATION SÉRIES ET PHOTOGRAPHES */
.series-photographe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.serie-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.serie-card h3 {
    margin-top: 12px;
    font-size: 24px;
    line-height: 1.2em;
}

.serie-card a {
    text-decoration: none;
    color: inherit;
}

.serie-card {
    transition: transform .25s ease;
}

.serie-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 980px) {
    .series-photographe {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .series-photographe {
        grid-template-columns: 1fr;
    }
}

/* BOUTON SÉRIE PHOTOGRAPHE */
.bouton-photographe-serie {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #6f91a3;
    color: #6f91a3;
    text-decoration: none;
    transition: all .25s ease;
}

.bouton-photographe-serie:hover {
    background: #6f91a3;
    color: #fff;
}

/* PRODUITS LIÉS À LA SÉRIE */
.produits-serie {
    column-count: 4;
    column-gap: 30px;
    margin-top: 40px;
}

.produit-serie-card {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.produit-serie-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s ease;
}

.overlay-produit-serie {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity .35s ease;
}

.produit-serie-card:hover .overlay-produit-serie {
    opacity: 1;
}

.produit-serie-card:hover img {
    transform: scale(1.05);
}

.icone-zoom-serie {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 28px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all .25s ease;
}

.icone-zoom-serie:hover {
    background: #fff;
    color: #000 !important;
}

.bouton-produit-serie {
    padding: 12px 24px;
    border: 1px solid #fff;
    color: #fff !important;
    text-decoration: none;
    transition: all .25s ease;
}

.bouton-produit-serie:hover {
    background: #fff;
    color: #000 !important;
}

@media (max-width: 980px) {
    .produits-serie {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .produits-serie {
        column-count: 1;
    }
}
