section{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-case-study{
    margin-top: 8rem;
    padding:  3rem;
    width: 100%;
}
h1{
    text-align: start;
}
.bold {
    font-weight: 500;
}
.italic{
font-family: hanken-italic;
line-height: 1;
}
.project{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 3rem;
}

.video2-3{
   scroll-snap-align: none; 
}
.shadow{

    box-shadow: 0 0px 50px rgba(0, 0, 0, 0.419);
}
.the-challenge{
    max-width: 120ch;
    text-align: justify;
    margin: 3rem;
}


/* Conteneur Global */
/* --- STAIRCASE GRID (Escalier Symétrique) --- */
.staircase-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 4rem 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    
    /* SÉCURITÉ : On ajoute de l'espace en bas pour accueillir la Col 1 qui descend */
    padding-bottom: 250px; 
    margin-bottom: 5vh;
}

.s-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 32%;
    will-change: transform;
}

/* TES VALEURS EXACTES */
.col-1 { margin-top: 0; }        /* 0px */
.col-2 { margin-top: 100px; }    /* 100px */
.col-3 { margin-top: 200px; }    /* 200px */

/* Items */
.s-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.s-item img, .s-item video {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

@media (max-width: 768px) {
    .staircase-grid { flex-direction: column; padding: 2rem 1rem; }
    .s-col { width: 100%; margin-top: 0 !important; }
}
.conclusion{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100%;
}
.italic{
    line-height: 3;
}
.bold{
    line-height: 1.3;
}
.conclu-txt .bold{
    line-height: 1.2;
}
.next-project-content{
    width: 100%;
    padding: 0 3rem ;
    display: flex;
    justify-content: start;
    gap: 1rem;
    align-items: end;
}
.next-project:hover::after {
    width: 100%; 
}
.cta-p{
    margin: 6rem 0 ;
}

.next-project-container {
    width: 100%;
    margin-top: 1rem; /* Espace après la conclusion */
    height: 60vh; /* Prend une bonne partie de l'écran */
    overflow: hidden;
    position: relative;
}

.next-project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

/* --- LE FOND (IMAGE/VIDEO) --- */
.next-project-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.next-project-bg img,
.next-project-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* L'overlay sombre pour que le texte reste lisible */
.next-project-bg .overlay {
    position: absolute;
    inset: 0;
    transition: background 0.5s ease;
}

.next-title {
    margin-left: 3rem;
    font-family: 'hanken', sans-serif;
    height: 150px;
}
.low-opacity{
    font-weight: 200;
    margin-left: 2rem;
}
.next-arrow svg {
    width: 40px;
    height: 40px;
    transform: translateX(0);
    transition: transform 0.4s ease;
}


.next-project-link:hover .next-project-bg img {
    transform: scale(1);
}

@media (max-width: 768px) {
    h1{
    text-align: center;
}
.project{
   flex-direction: column;
   align-items: center;
   gap: 2rem;
}
.project-detail{
    text-align: center;
}
.next-title {
    margin-left: 0;
    height: 3rem;
}

.conclusion{
    flex-direction: column;
    align-items: center;
    gap: 2rem;
} 
.conclu-txt{
    display: flex;
    flex-direction: column;
    align-items: center;
}
}

