.project-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

/* IMAGE */
.project-hero-bg img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.project-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    color: white;
}

.project-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-family: 'Coolvetica', sans-serif;
    letter-spacing: 2px;
    font-size: 64px;
    text-align: center;
    text-transform: uppercase;
}

.project-back {
    position: absolute;
    bottom: 40px;
    left: 40px;

    color: white;
    text-decoration: none;
    font-size: 14px;

    opacity: 0.8;
    transition: 0.3s;
}


.project-back {
    position: absolute;
    bottom: 40px;
    left: 40px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: white;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Coolvetica', sans-serif;

}

/* CARRÉ ROUGE */
.project-back-cercle {
    width: 6px;
    height: 6px;
    background:#FF0202;
    border-radius: 50%;
    display: inline-block;

}


.project-categories-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;

    padding-top: 30px;
    padding-bottom: 10px;
}


.project-meta-inner {
    grid-column: 2 / span 10;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-categories {
    display: flex;
    
}

.project-category, .project-year{
    font-size: 15px;
    text-transform: uppercase;
    font-family: 'Braven', sans-serif;
    color: white;
    letter-spacing: 1px;
}


.project-separator {
    opacity: 1;
    color: #ffffff;
    font-family:'Braven', sans-serif;
}


.project-line {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.project-line::after {
    content: "";
    grid-column: 2 / span 10;

    height: 1px;
    background: rgba(255,255,255);
}


/* =========================================
   ULTRA WIDE (grands écrans)
========================================= */

@media (min-width: 1600px) {

    .project-title {
        font-size: 78px;
    }

    .project-back {
        bottom: 60px;
        left: 60px;
        font-size: 15px;
    }

    .project-categories-wrapper {
        padding-top: 40px;
    }

    .project-meta-inner {
        grid-column: 3 / span 8;
    }
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1024px) {

    .project-hero {
        height: 65vh;
    }

    .project-title {
        font-size: 48px;
        letter-spacing: 1.5px;
    }

    .project-back {
        bottom: 30px;
        left: 30px;
        font-size: 13px;
    }

    .project-meta-inner {
        grid-column: 1 / -1;
        padding: 0 30px;
    }

    .project-category,
    .project-year,
    .project-separator {
        font-size: 13px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .project-hero {
        height: 60vh;
    }

    .project-title {
        font-size: 34px;
        padding: 0 20px;
        width: 100%;
    }

    .project-back {
        bottom: 20px;
        left: 20px;
        font-size: 12px;
        gap: 8px;
    }

    .project-back-cercle {
        width: 5px;
        height: 5px;
    }

    .project-categories-wrapper {
        padding-top: 20px;
    }

    .project-meta-inner {
        align-items: flex-start;
        gap: 8px;
        padding: 0 20px;
    }

    .project-category,
    .project-year,
    .project-separator {
        font-size: 12px;
    }

    .project-categories {
        flex-wrap: wrap;
        gap: 5px;
    }
}


/* =========================================
   PETIT MOBILE
========================================= */

@media (max-width: 480px) {

    .project-hero {
        height: 55vh;
    }

    .project-title {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .project-back {
        bottom: 15px;
        left: 15px;
        font-size: 11px;
    }

    .project-categories-wrapper {
        padding-top: 15px;
    }

    /* 🔥 FIX DEMANDÉ : categories + year sur même ligne */
    .project-meta-inner {
        padding: 0 16px;

        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .project-categories {
        flex-wrap: wrap;
        gap: 4px;
    }

    .project-category,
    .project-year,
    .project-separator {
        font-size: 11px;
    }
}