.projet-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
}

.filter-btn.active {
    background: #000;
    color: #fff;
}

.projet-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.projet-card {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    font-size: 20px;
    font-family: "General Sans";
    font-weight: 400;
}

/*.projet-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #bfa283cc; 
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}*/

.projet-date,
.projet-overlay {
    position: relative;
    z-index: 2;
}

.projet-link:hover .projet-card::before {
    opacity: 0.6;
}


.projet-date {
    position: absolute;
    top : 0px;
    left : 0px;
    background: #fff;
    padding: 10px 20px;
    border-style: solid;
    border-width: 0.5px;
    border-color: #b4b4b4;
    color: #000;
}

.projet-overlay {
    width: 100%;
    background: white;
    padding: 20px;
}

.projet-title {
    text-transform: uppercase;
    margin: 0 0 8px;
    font-size: 20px!important;
	font-weight : 400!important;
    color: #000;
}

.projet-resume {
    font-size: 18px;
    margin: 0;
    color : #4D4D4D;
}

.projet-link {
    display: block;
    width: calc(50% - 20px);
    text-decoration: none;
    color: inherit;
}

/* MOBILE */
@media (max-width: 768px) {
    .projet-card {
        width: 100%;
        height: 450px;
    }
    .projet-link {
        width: 100%;
    }
    .projet-resume {
        font-size: 15px;
        line-height: 17px;
    }
    .projet-title{
        font-size: 18px !important;
        line-height: 25px;
    }
    .projet-overlay{
        padding: 20px 0px;
    }
    .projet-date {
        padding: 6px 10px;
        font-size: 15px;
    }
}

