/* === Hero Section === */

.title-hero-section {
    height: 100vh;
    padding: 14rem 0 12rem 0;
}.text-container {
    z-index: 1;
}
.page-title {
    font-size: 7rem!important;
    text-transform: uppercase;
    margin-bottom: 5rem;
}
.subtitle {
    /*font-size: 1.25rem!important;*/
    font-weight: 400!important;
    font-size: clamp(18px, 15.8873239437px + 0.4225352113vw, 24px);
}
#scroll-to-content {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 5;
    height: 1.5em;
    width: 3.5em;
    font-size: 16px;
    font-size: 1rem;
    overflow: hidden;
    opacity: .5;
    transform: translateX(-50%);
    animation: pulsate 1.5s ease-out infinite;
}
#scroll-to-content:hover {
    opacity: 1;
}
#scroll-to-content:before {
    content: '';
    display: block;
    position: absolute;
    left: 15px;
    bottom: 10px;
    height: 30px;
    width: 30px;
    border: 2px solid #fff;
    transform: rotate(45deg);
}
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 600px;*/
    object-fit: cover;
    filter: brightness(1.5);
    height: -webkit-fill-available;
}





.inner-container {
    inline-size: min(100% - 52px * 2, 1816px);
}

.projects-section {
    padding: 12rem 0 12rem 0;
}
.project-section-title {
    font-size: 5rem!important;
    text-transform: uppercase;
}
.illustration-projects-section {
    width: 100%;
    height: auto;
}

.project-list-title {
    margin-top: 8rem;
    margin-bottom: 6rem;
    font-size: 3rem!important;
    max-width: 400px; 
}
.projects-list {
    /* Diviser en 3 colonnes */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
    /* gap: 1.5rem; */
    gap: 1.875rem 1.25rem;
}
.project-card-img {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    filter: grayscale(1);
    transition: all cubic-bezier(.645,.045,.355,1) 0.35s;
}
.project-card-img:hover {
    filter: grayscale(0);
    transition: all cubic-bezier(.645,.045,.355,1) 0.35s;
}
.project-card-img img {
    width: 100%;
    height: auto;
}
.project-title {
    font-weight: 700;
    line-height: 125%;
}
.project-tag {
    font-weight: 600;
    font-size: 0.8rem!important;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    background-color: #000;
    display: flex;
    width: fit-content;
}
.project-bonus-tag {
    margin-left: 10px;
    font-weight: 600;
    font-size: 0.8rem!important;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    background-color: #920000;
    display: flex;
    width: fit-content;
}

@media screen and (max-width: 1500px) {
    .projects-list {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media screen and (max-width: 1024px) {
    .page-title {
        font-size: 5rem!important;
    }
    .project-section-title {
        font-size: 4rem!important;
    }
    .projects-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .title-hero-section {
        padding: 10rem 0 8rem 0;
        height: 620px;
    }
    .page-title {
        font-size: 3.5rem!important;
        margin-bottom: 2rem;
    }
    .subtitle br {
        display: none;
    }
    .video-bg {
        height: 620px;
    }
    .project-section-title {
        font-size: 3rem!important;
    }
    .inner-container {
        inline-size: min(100% - 52px, 1816px);
    }
    
    .projects-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .project-list-title {
        margin-bottom: 4rem;
        font-size: 2.5rem!important;
    }
}