main {
    display: flex;
    flex-wrap: wrap;
}

/* hero */
.hero-wrapper {
    height: 120vh;
    background-color: var(--darkBlue);
    padding: 0 8vw;
    position: relative;

    .real-hero {
        width: 100%;
        height: 100vh;
        display: flex;
        padding: 0 0 10vh 0;
        gap: 8vh;
        position: relative;
        flex-wrap: wrap;
        align-content: flex-end;
        h1 {
            display: flex;
            flex-wrap: wrap;
            margin: 0;
            font-weight: 700;
            font-size: 4.5vw;
            color: #fff;
            line-height: 1.1em;
            span {
                display: flex;
                width: 100%;
                transition: opacity .5s ease-in-out 0s;
                &:nth-child(1) {
                    color: var(--actionBlue);
                    transform: translateX(-100vw);
                    transition: transform 1.4s ease-in-out .1s;
                    opacity: 0;
                    &.revealed {
                        transform: translateX(0);
                        opacity: 1;
                    }
                }
                &:nth-child(2) {
                    transform: translateX(-100vw);
                    opacity: 0;
                    transition: transform 1.4s ease-in-out .6s;
                    &.revealed {
                        transform: translateX(0);
                        opacity: 1;
                    }
                }
                &:nth-child(3) {
                    transform: translateX(-100vw);
                    opacity: 0;
                    transition: transform 1.4s ease-in-out .9s;
                    &.revealed {
                        transform: translateX(0);
                        opacity: 1;
                    }
                }
                &:nth-child(4) {
                    transform: translateX(-100vw);
                    opacity: 0;
                    transition: transform 1.4s ease-in-out 1.2s;
                    &.revealed {
                        transform: translateX(0);
                        opacity: 1;
                    }
                }
            }
        }
        .cta-hero {
            position: absolute;
            opacity: 0;
            transition: opacity .5s ease-in-out 1.4s;
            &.revealed {
                opacity: 1;
            }
        }
        .welcome {
            width: 30%;
            opacity: 0;
            transform: translateY(-5vh);
            transition: all .5s ease-in-out 1.4s;
            p {
                font-size: 1.3rem;
                margin: 0;
                color: #fff;
                line-height: 1.6em;
            }
            &.revealed {
                transform: translateY(0);
                opacity: 1;
            }
        }
    }
    .illus {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        position: absolute;
        right: 8vw;
        bottom: 0;
        opacity: 0;
        transition: opacity .3s ease-in 0s;
        .line {
            height: 18vh;
            width: 100%;
            position: relative;
            display: flex;
            .item {
                aspect-ratio: 1/1;
                height: 100%;
                position: relative;
                transition: all .8s ease-in-out .2s;
                img {
                    width: 100%;
                    height: 100%;
                    object-position: center top;
                    object-fit: cover;
                }
                &.nb1 {
                    &.on {
                        opacity: .06;
                    }
                }
                &.nb3 {
                    &.on {
                        opacity: .18;
                    }
                }
                &.nb4 {
                    &.on {
                        opacity: .6;
                        transform: translateY(-18vh);
                    }
                }
            }
        }
        &.on {
            opacity: 1;
        }
        &.revealed {
            .line {
                .item {
                    &.nb5 {
                        transform: translateX(-18vh);
                    }
                    &.nb6 {
                        opacity: .65;
                    }
                    &.nb8 {
                        opacity: .21;
                    }
                    &.nb9 {
                        opacity: .16;
                    }
                    &.nb11 {
                        transform: translateY(18vh);
                    }
                    &.nb12 {
                        opacity: .12;
                    }
                }
            }
        }
    }
    .sep {
        width: 20%;
        height: 5rem;
        border-radius: 0 3rem 3rem 0;
        background-color: var(--actionBlue);
        position: absolute;
        left: 0;
        bottom: -2.5rem;
    }
}


/* competence cle */
.ie-key {
    padding: 25vh 8vw 10vh 8vw;
    position: relative;
    display: flex;
    overflow: hidden;
    .left {
        display: flex;
        flex-direction: column;
        width: 50%;
        gap: 3rem;
        h2 {
            font-size: 3.5vw;
            margin: 0;
            line-height: 1.1em;
        }
        p {
            width: 80%;
            margin: 0;
            font-size: 1.2rem;
            line-height: 1.6em;
        }
    }
    .right {
        display: flex;
        width: 60%;
        justify-content: flex-end;
        align-items: flex-start;
        position: relative;
        transform: translateX(10vw);
        .citation {
            padding: 8vh 11vw 7vh 9vw;
            line-height: 1.7em;
            margin-top: 17vh;
            background-color: var(--actionBlue);
            border-radius: 25vh;
            position: relative;
            span {
                font-family: 'ivypresto-display', serif;
                font-style: italic;
                color: #fff;
                font-size: 1.8rem;
                &.author {
                    display: flex;
                    font-family: inherit;
                    font-size: 1.2rem;
                    margin: 1rem 0 0 0;
                    font-style: normal;
                    font-weight: 700;
                    color: var(--main-text-color);
                    justify-content: flex-end;
                }
            }
        }
        .quote-sup {
            position: absolute;
            font-size: 23vh;
            font-weight: 700;
            left: 0;
            top: 23vh;
        }
        .quote-inf {
            position: absolute;
            font-size: 15vh;
            font-weight: 700;
            right: 5vw;
            bottom: 2vh;
        }
    }
}


/* Wef */
.wef {
    padding: 12vh 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    .bar {
        width: 95%;
        height: 30vh;
        background-color: #2563eb2e;
        border-radius: 0 20vh 20vh 0;
        position: relative;
        display: flex;
        .limits {
            width: 93%;
            display: flex;
            padding: 0 2rem 0 8vw;
            top: -2.5rem;
            position: absolute;
            justify-content: space-between;
            span {
                font-size: 2.4rem;
                font-weight: 700;
            }
        }
        .bar-content {
            height: 100%;
            width: 67%;
            position: relative;
            gap: 8rem;
            display: flex;
            justify-content: flex-start;
            padding-left: 8vw;
            .logo {
                position: relative;
                height: 100%;
                z-index: 2;
                img {
                    height: 100%;
                }
            }
            .edition {
                position: relative;
                z-index: 2;
                height: 100%;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                span {
                    font-size: 2rem;
                    line-height: 1em;
                    font-weight: 700;
                    color: #fff;
                }
            }
            .progress {
                height: 100%;
                width: 0%;
                position: absolute;
                z-index: 1;
                left: 0;
                top: 0;
                background-color: var(--actionBlue);
                transition: width 2s ease-in-out 0s;
                .progress-indicator {
                    position: absolute;
                    height: 6rem;
                    width: 6rem;
                    display: flex;
                    top: -6rem;
                    right: -3rem;
                    justify-content: center;
                    .bubble {
                        width: 5rem;
                        height: 5rem;
                        background-color: var(--actionBlue);
                        border-radius: 50%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        span {
                            color: #fff;
                            font-size: 3rem;
                            font-weight: 700;
                            line-height: 1em;
                        }
                    }
                    svg {
                        position: absolute;
                        top: 4.4rem;
                        transform: rotate(90deg);
                        width: 2.2rem;
                        height: 1.6rem;
                        path {
                            fill: var(--actionBlue);
                            stroke-width: 0;
                        }
                    }
                }
                &.on {
                    width: 100%;
                }
            }
        }
        .explain {
            height: 100%;
            width: 33%;
            padding: 0 4rem;
            display: flex;
            position: relative;
            justify-content: flex-start;
            align-items: center;
            span {
                font-size: 2rem;
                line-height: 1em;
                font-weight: 700;
            }
        }
    }
    .for-ie {
        display: flex;
        width: 87%;
        justify-content: flex-end;
        font-size: 2.5rem;
        line-height: 1em;
        font-weight: 700;
        padding: 1rem;
        opacity: 0;
        transform: translateX(-10vw);
        transition: all 1s ease-in-out 1.5s;
        &.on {
            opacity: 1;
            transform: translateX(0);
        }
        .for-sm {
            display: none;
        }
    }
}


/* Schools */
.schools {
    padding: 0vh 8vw;
    position: relative;
    display: flex;
    margin: 0 0 20vh 0;
    .logos {
        width: 60%;
        display: flex;
        justify-content: center;
        .logos-container {
            width: 80%;
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            .line {
                width: 100%;
                display: flex;
                justify-content: center;
                .item {
                    width: 45%;
                    display: inline-flex;
                    height: 8rem;
                    justify-content: center;
                    img {
                        height: 100%;
                        filter: grayscale(100%);
                        opacity: .7;
                        transition: all .3s ease-in-out 0s;
                    }
                    &:hover {
                        img {
                            opacity: 1;
                            filter: none;
                        }
                    }
                }
            }
        }
    }
    .right {
        width: 40%;
        display: flex;
        justify-content: center;
        align-items: center;
        p {
            margin: 0;
            width: 65%;
            font-size: 1.9rem;
            font-weight: 400;
            &::after {
                content: '';
                display: inline-block;
                width: 1em;
                height: 1em;
                border-radius: 50%;
                position: relative;
                top: .2em;
                background: var(--actionBlue);
                margin-left: .3em;
                opacity: 0; /* caché par défaut */
                transition: opacity 0.2s;
            }
        }
        /* Quand le texte est en cours d'écriture → on fait clignoter */
        p.is-typing::after {
            opacity: 1;
        }
        p.has-finished::after {
            opacity: 1;
            animation: blink 0.8s step-end infinite;
        }
        #typing-container span {
            overflow: hidden;
        }
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


/* Example */
.example {
    padding: 10vh 8vw 18vh 8vw;
    position: relative;
    display: flex;
    justify-content: center;
    background-color: var(--darkBlue);
    flex-wrap: wrap;
    p {
        font-size: 2rem;
        font-weight: 400;
        text-align: center;
        margin: 0;
        color: #fff;
        width: 60%;
        span {
            font-weight: 700;
            font-style: italic;
            color: var(--actionBlue);
        }
    }
    .cta-container {
        width: 100%;
        display: flex;
        margin: 7vh 0 0 0;
        justify-content: center;
    }
    .sep-top {
        width: 15%;
        height: 5rem;
        border-radius: 0 3rem 3rem 0;
        background-color: var(--darkBlue);
        position: absolute;
        left: 0;
        top: -2.5rem;
    }
    .example-bottom {
        width: 30%;
        height: 8rem;
        border-radius: 4rem 0 0 4rem;
        background-color: #fff;
        position: absolute;
        right: 0;
        bottom: -4rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        .siy {
            width: 40%;
        }
        .and {
            font-size: 1rem;
        }
        .gg {
            width: 25%;
        }
    }
}


/* Conclusion */
.conclusion {
    padding: 10vh 8vw;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    span {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        font-size: 2rem;
        font-weight: 400;
    }
    .cta-container {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 5vh 0 0 0;
        span {
            font-size: 1.1rem;
        }
    }
}


/* ##################################################################################################### */
/* ##################################  R E S P O N S I V E  ############################################ */
/* ##################################################################################################### */
/* Ecrans larges */
@media (max-height: 768px) and (min-width: 1366px) {
    .hero-wrapper {
        .real-hero {
            h1 {
                font-size: 3rem;
            }
            .welcome {
                width: 45%;
                p {
                    font-size: 1.2rem;
                    line-height: 1.4em;
                }
            }
        }
    }
}
/* Small Laptops */
@media screen and (min-width: 1024px) and (max-width: 1366px) {

}
@media (max-width: 1366px) {
    .hero-wrapper {
        padding: 0 6vw;
        height: auto;

        .real-hero {
            height: auto;
            align-content: center;
            gap: 5vh;
            padding-bottom: 15vh;
            padding-top: 25vh;
            h1 {
                font-size: 3rem;
            }

            .welcome {
                width: 45%;

                p {
                    font-size: 1.2rem;
                }
            }
        }
        .illus {
            .line {
                height: 12vh;
                .item {
                    &.nb4 {
                        &.on {
                            transform: translateY(-12vh);
                        }
                    }
                }
            }
            &.revealed {
                .line {
                    .item {
                        &.nb5 {
                            transform: translateX(-12vh);
                        }
                        &.nb11 {
                            transform: translateY(12vh);
                        }
                    }
                }
            }
        }
    }
    .ie-key {
        padding: 15vh 6vw 10vh 6vw;
        .left {
            gap: 2rem;
        }
        .right {
            width: 70%;
            transform: translateX(2vw);
        }
    }
    .wef {
        .bar {
            .bar-content {
                .progress {
                    .progress-indicator {
                        height: 5rem;
                        width: 5rem;
                        right: -2.5rem;
                        top: -5rem;
                        .bubble {
                            width: 4rem;
                            height: 4rem;
                        }
                        svg {
                            top: 3.5rem;
                        }
                    }
                }
            }
        }
    }
}
@media (max-width: 1199px) {
    .hero-wrapper {
        padding: 0 5vw;
        height: auto;
    }
    .ie-key {
        .left {
            h2 {
                font-size: 2rem;
            }
        }
    }
    .wef {
        .bar {
            .bar-content {
                gap: 4rem;
                padding-left: 5vw;
            }
            .explain {
                padding: 0 2rem;
            }
        }
    }
    .schools {
        padding: 0 6vw;
        .logos {
            .logos-container {
                width: 100%;
            }
        }
        .right {
            p {
                font-size: 1.5rem;
            }
        }
    }
    .example {
        padding: 10vh 5vw 18vh 5vw;
        p {
            width: 100%;
        }
        .example-bottom {
            width: 50%;
            height: 7rem;
        }
    }
    .conclusion {
        padding: 10vh 6vw;
    }
}
@media (max-width: 991px) {
    .ie-key {
        .right {
            .citation {
                padding: 7vh 6vw 7vh 6vw;
                border-radius: 5rem;
            }
            .quote-sup {
                font-size: 19vh;
                left: -2rem;
                top: 13rem;
            }
            .quote-inf {
                right: -1rem;
                bottom: 1rem;
            }
        }
    }
    .wef {
        .bar {
            .bar-content {
                gap: 2rem;
                .edition {
                    span {
                        font-size: 1.5rem;
                        line-height: 1.3em;
                    }
                }
            }
            .explain {
                span {
                    font-size: 1.5rem;
                    line-height: 1.3em;
                }
            }
        }
        .for-ie {
            font-size: 2rem;
        }
    }
}
@media (max-width: 767px) {
    .hero-wrapper {
        .real-hero {
            flex-wrap: wrap;
            padding-bottom: 25vh;
            .cta-hero {
                position: relative;
                top: inherit !important;
                right: inherit !important;
            }
            .welcome {
                width: 80%;
            }
        }
        .illus {
            right: 0;
            .line {
                height: 10vh;
                .item {
                    &.nb4 {
                        &.on {
                            transform: translateY(-10vh);
                        }
                    }
                }
            }
            &.revealed {
                .line {
                    .item {
                        &.nb5 {
                            transform: translateX(-10vh);
                        }
                        &.nb11 {
                            transform: translateY(10vh);
                        }
                    }
                }
            }
        }
    }
    .ie-key {
        padding: 15vh 5vw 6vh 5vw;
        flex-wrap: wrap;
        .left {
            width: 100%;
            p {
                width: 100%;
            }
        }
        .right {
            position: relative;
            width: 100%;
            transform: translateX(0);
            .citation {
                margin-top: 8vh;
            }
            .quote-sup {
                top: 9rem;
            }
        }
    }
    .wef {
        .bar {
            height: 20vh;
        }
        .explain {
            span {
                display: none;
            }
        }
        .for-ie {
            width: 100%;
            transform: none !important;
            display: inline;
            text-align: center;
            padding: 1rem 2rem;
            .for-sm {
                display: inline;
            }
        }
    }
    .schools {
        flex-wrap: wrap;
        gap: 4rem;
        .logos {
            width: 100%;
            .logos-container {
                .line {
                    .item {
                        width: 40%;
                        height: 6rem;
                    }
                }
            }
        }
        .right {
            width: 100%;
        }
    }
    .example {
        p {
            font-size: 1.5rem;
        }
    }
}
@media (max-width: 650px) {
    .wef {
        padding: 12vh 0 8vh 0;
        .bar {
            height: 15vh;
            .limits {
                top: -2rem;
                span {
                    font-size: 1.4rem;
                }
            }
            .bar-content {
                gap: 1rem;
                align-items: center;
                .logo {
                    display: none;
                }
                .edition {
                    span {
                        font-size: 1.1rem;
                    }
                }
                .progress {
                    .progress-indicator {
                        .bubble {
                            span {
                                font-size: 2rem;
                            }
                        }
                    }
                }
            }
        }
        .for-ie {
            font-size: 1.5rem;
        }
    }
}
@media (max-width: 550px) {
    .hero-wrapper {
        .real-hero {
            padding-top: 20vh;
            h1 {
                font-size: 2.5rem;
            }
            .welcome {
                font-size: 1.1rem;
            }
        }
        .sep {
            height: 3rem;
            width: 25%;
            bottom: -1.5rem;
        }
    }
    .ie-key {
        .right {
            .citation {
                padding: 5vh 8vw 5vh 8vw;
                border-radius: 2rem;
            }
            .quote-sup {
                top: 6rem;
            }
            .quote-inf {
                bottom: -2rem;
            }
        }
    }
    .schools {
        .logos {
            .logos-container {
                gap: 1rem;
                .line {
                    .item {
                        width: 50%;
                        height: 4rem;
                    }
                }
            }
        }
        .right {
            p {
                width: 90%;
            }
        }
    }
    .example {
        .example-bottom {
            width: 95%;
        }
    }
}