.zoom-gallery {
    transition: opacity .2s ease, transform .2s ease;
}

.zoom-gallery:hover {
    opacity: 0.75;
    transform: translateY(-4px);
}

.responsive {
    width: 100%;
    height: auto;
}

/*--------------------------------------------------------------
    FIL D'ARIANE (breadcrumb)
--------------------------------------------------------------*/
.projet-breadcrumb .breadcrumb {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.projet-breadcrumb .breadcrumb-item a {
    color: var(--grey-color);
    text-decoration: none;
}

.projet-breadcrumb .breadcrumb-item a:hover,
.projet-breadcrumb .breadcrumb-item a:focus {
    color: var(--black-color);
    text-decoration: underline;
}

.projet-breadcrumb .breadcrumb-item.active {
    color: var(--black-color);
    font-weight: 700;
}

.projet-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    color: var(--grey-color);
    padding-right: 0.5rem;
}

/*--------------------------------------------------------------
    1. MEDLEY — plein cadre
--------------------------------------------------------------*/
.projet-hero__img {
    display: block;
    width: 100%;
    height: auto;
}

/* Bloc titre sous le medley (medley conservé intégral, non recadré) */
.projet-head {
    margin-top: 1.5rem;
}

.projet-head__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: 0.75rem;
}

.projet-head__cat {
    margin: 0.75rem 0 0;
    color: var(--grey-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.8rem;
}

/*--------------------------------------------------------------
    4. DESCRIPTION — lisible, titres admin nettoyés (pas d'uppercase forcé ni de tiret)
--------------------------------------------------------------*/
.projet-description {
    line-height: 1.7;
}
.projet-description :is(h1, h2, h3, h4) {
    text-transform: none;
    letter-spacing: normal;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.projet-description :is(h1, h2, h3, h4)::after {
    content: none;
}
.projet-description :is(h1, h2, h3, h4):first-child {
    margin-top: 0;
}
.projet-description p {
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
    3. LIBELLÉ du comparatif responsive
--------------------------------------------------------------*/
.projet-eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: var(--black-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    font-size: 0.8rem;
}

/*--------------------------------------------------------------
    6. PROJET SUIVANT — bande de navigation (sombre, mène au footer)
--------------------------------------------------------------*/
.projet-next {
    display: block;
    background-color: var(--first-color);
    text-decoration: none;
}
.projet-next__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 0;
}
.projet-next__thumb {
    flex-shrink: 0;
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.projet-next__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.projet-next__label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}
.projet-next__name {
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}
.projet-next__arrow {
    margin-left: auto;
    color: var(--fourth-color);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}
.projet-next:hover .projet-next__arrow,
.projet-next:focus-visible .projet-next__arrow {
    transform: translateX(6px);
}
.projet-next:hover .projet-next__thumb,
.projet-next:focus-visible .projet-next__thumb {
    transform: scale(1.05);
}