/* ---------- NOS REALISATIONS SECTION ---------- */

/* =========================================================
   NOS RÉALISATIONS
========================================================= */
.proj-link,
.proj-link:hover,
.proj-link:focus,
.proj-link:visited,
.proj-link h3,
.proj-link p,
.proj-link span,
.proj-link .meta,
.proj-link .loc {
  text-decoration: none !important;
}

.projects {
    background: var(--anthracite);
    color: var(--white);
}

.projects .sec-head h2 {
    color: var(--white);
}

.projects .kicker {
    color: var(--red);
}

.proj-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--pearl-grey);
}

.proj-counter .total {
    color: var(--white);
    font-weight: 700;
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
}

.proj {
    cursor: pointer;
}

.proj-1 {
    grid-column: 1 / span 5;
}

.proj-2 {
    grid-column: 6 / span 4;
}

.proj-3 {
    grid-column: 10 / span 3;
}

.proj-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.proj-img {
    position: relative;
    overflow: hidden;
    background: var(--light-dark);
}

.proj-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.proj:hover .proj-bg {
    transform: scale(1.05);
}


.proj-1 .proj-img {
    height: 380px;
}

.proj-2 .proj-img {
    height: 320px;
}

.proj-3 .proj-img {
    height: 260px;
}

.proj-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 12px;
    background: var(--red);
    color: var(--white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.proj-info {
    padding-top: 20px;
    text-decoration: none;
}

.proj-info h3 {
    max-width: 300px;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    transition: color .2s ease;
}

.proj:hover .proj-info h3 {
    color: var(--red);
}

.proj-info .meta {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .08em;
    text-transform: uppercase;
    color:var(--pearl-grey);
}

.proj-info .loc {
    color: var(--white);
    font-weight: 700;
}

.grid-foot {
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 960px) {

    .proj-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .proj-2,
    .proj-3 {
        display: none;
    }

    .proj-counter{
        display:none;
    }

}

@media (max-width: 640px) {
    .proj-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .proj-2,
    .proj-3 {
        display: none;
    }

    .proj-counter{
        display:none;
    }
    
}