@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

* {
    text-decoration: none;
    list-style: none;
    user-select: none;
    scroll-behavior: smooth;
    margin: 0;
}

:root {
    --background-modern: #141416;
    --cardfade: #FFFFFF;
    --linearprocessus: linear-gradient(180deg, rgba(97, 106, 115, 19%) 0%, rgba(20, 20, 22, 26%) 100%);
    --font-family-primary: 'Sora', sans-serif;
    --semi-bold: 600;
    --bold: 700;
    --regular: 400;
    --medium: 500;

    --navcolor: rgba(86, 59, 230, 75%);
    --blanc: #FFFFFF;
    --bleu-new: #302D5F;
    --violet-new: #725FD8;
    --back-color: #F8F7FF;
    --linear-back-card: linear-gradient(90deg, #FEFEFF 0%, #F5F0FE 100%);
}

body {
    background-color: var(--back-color);
}

#header-navigation {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.hero {
    padding: 50px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
    height: auto;
    background-color: var(--blanc);
    margin-bottom: 80px;
    gap: 50px;
}

.hero img {
    max-width: 450px;
    width: auto;
    height: auto;
    max-height: 500px;
}

.hero-infos {
    display: flex;
    flex-direction: column;

}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-infos span {
    font-family: var(--font-family-primary);
    font-weight: var(--semi-bold);
    font-size: 3.5rem;
    color: var(--bleu-new);
}

.hero-infos p {
    font-family: var(--font-family-primary);
    font-weight: var(--regular);
    color: var(--bleu-new);
    max-width: 470px;
    font-size: 1.2rem;
    margin: 0;
}

.hero-redirection {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-redirection a {
    width: 250px;
    height: 50px;
    border: none;
    border-radius: 8px;
    background-color: var(--violet-new);
    color: var(--blanc);
    font-family: var(--font-family-primary);
    font-weight: var(--semi-bold);
    font-size: 1rem;
    margin-top: 30px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 25%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-redirection a:hover {
    background-color: var(--bleu-new);
    cursor: pointer;
}

.hero-redirection p {
    font-family: var(--font-family-primary);
    font-weight: var(--regular);
    color: var(--bleu-new);
    font-size: 1rem;
    margin: 0;
}

.section-presentation-titre {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.section-presentation-titre>h2,
.section-presentation-titre>h3 {
    font-family: var(--font-family-primary);
    font-weight: var(--semi-bold);
    font-size: 2.1rem;
    text-align: center;
    color: var(--bleu-new);
    max-width: 470px;
}

.section-presentation-titre>p {
    font-family: var(--font-family-primary);
    font-weight: var(--regular);
    font-size: 1rem;
    text-align: center;
    margin: 0 auto;
    color: var(--bleu-new);
    max-width: 800px;
}

.Choix-formation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 100px;
}

.Card-duo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    max-width: 800px;
}


/* ! Card conteneur */
.Card-formation {
    width: 320px;
    padding: 30px 30px 20px;
    background-color: var(--blanc);
    border-radius: 24px;
    box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.Card-footer,
.Card-footer-none {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.4s ease, opacity 0.4s ease 0.1s;
}

.Card-formation:hover .Card-footer {
    height: 70px;
    opacity: 1;
}

.Card-formation:hover .Card-footer-none {
    height: 70px;
    opacity: 1;
}

.Card-information {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.disponibiliter {
    color: #205C41;
    font-family: var(--font-family-primary);
    font-weight: var(--medium);
    font-size: 0.9rem;
    width: 100px;
    height: 30px;
    background-color: #E6FAF1;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 20px; */
}

.disponibiliter-none {
    color: #2000BC;
    font-family: var(--font-family-primary);
    font-weight: var(--medium);
    font-size: 0.9rem;
    width: 150px;
    height: 30px;
    background-color: #EDEFFF;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 20px; */
}

.Card-information span {
    font-family: var(--font-family-primary);
    font-weight: var(--medium);
    font-size: 1.8rem;
    color: var(--bleu-new);
}

.Card-information p {
    font-family: var(--font-family-primary);
    font-weight: var(--regular);
    font-size: 1.1rem;
    color: var(--bleu-new);
}

.Card-footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family-primary);
    font-size: 1.3rem;
    font-weight: var(--regular);
    color: var(--blanc);
    width: 100%;
    height: 50px;
    margin-top: 10px;
    background-color: var(--violet-new);
    border-radius: 12px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.Card-footer-none a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family-primary);
    font-size: 1.3rem;
    font-weight: var(--regular);
    color: var(--blanc);
    width: 100%;
    height: 50px;
    margin-top: 10px;
    background-color: var(--bleu-new);
    border-radius: 12px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.Card-formation:hover .Card-footer a,
.Card-formation:hover .Card-footer-none a {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.Card-footer a:hover {
    background-color: var(--bleu-new);
    cursor: pointer;
}

.Triple-card-information {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
    gap: 20px;
}

.Triple-card-formation {
    padding: 20px;
    width: 240px;
    height: 280px;
    background-color: var(--blanc);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 20%);
}

.bxs-check-square,
.bxs-map,
.Triple-card-formation img {
    color: var(--violet-new);
    font-size: 3rem;
    height: 48px;
    width: auto;
}

.bx-check {
    color: var(--violet-new);
    font-size: 1.5rem;
}

.liste-information {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.liste-information li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.liste-information li>p {
    font-family: var(--font-family-primary);
    font-weight: var(--regular);
    font-size: 1rem;
    color: var(--bleu-new);
}

.Triple-card-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.Triple-card-text span {
    font-family: var(--font-family-primary);
    font-weight: var(--semi-bold);
    font-size: 1.2rem;
    color: var(--bleu-new);
    text-align: center;
}

#how {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 100px;
}

.how-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
}

.how-wrapper img {
    height: auto;
    width: 200px;
}

.how-info {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.how-nbr {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.how-nbr p {
    font-family: var(--font-family-primary);
    font-weight: var(--semi-bold);
    font-size: 1.8rem;
    color: var(--bleu-new);
}

.how-nbr hr {
    width: 4px;
    height: 160px;
    border: none;
    background-color: #E7E3FC;
}


.how-txt {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.how-txt span {
    font-family: var(--font-family-primary);
    font-weight: var(--semi-bold);
    font-size: 1.8rem;
    color: var(--bleu-new);
    width: 350px;
}

.how-txt p {
    font-family: var(--font-family-primary);
    font-weight: var(--regular);
    font-size: 1.1rem;
    color: var(--bleu-new);
    width: 320px;
}

.booking-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.booking-infos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.booking-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    width: 650px;
    height: auto;
    background: var(--linear-back-card);
    border-radius: 24px;
    gap: 20px;
    margin-bottom: 100px;
    box-shadow: 0px 12px 28px 0px rgba(89, 78, 155, 12%);
}

.booking-card img {
    height: 200px;
}

.booking-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-title span {
    font-family: var(--font-family-primary);
    font-weight: var(--semi-bold);
    font-size: 1.8rem;
    color: var(--bleu-new);
}

.booking-title p {
    font-family: var(--font-family-primary);
    font-weight: var(--regular);
    font-size: 1rem;
    color: var(--bleu-new);
    max-width: 350px;
}

.booking-redirect {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.booking-redirect a {
    width: 250px;
    height: 50px;
    border: none;
    border-radius: 8px;
    background-color: var(--violet-new);
    color: var(--blanc);
    font-family: var(--font-family-primary);
    font-weight: var(--semi-bold);
    font-size: 1rem;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 25%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.booking-redirect a:hover {
    background-color: var(--bleu-new);
    cursor: pointer;
}

.booking-redirect p {
    font-family: var(--font-family-primary);
    font-weight: var(--regular);
    font-size: 1rem;
    color: var(--bleu-new);
    max-width: 350px;
    margin: 0;
}

.booking-redirect p>b {
    color: var(--violet-new);
}

@media (max-width: 800px) {
    .Card-duo {
        display: flex;
        justify-content: center;
    }

    .hero {
        margin-top: 100px;
    }
    .Card-formation.active .Card-footer {
        height: 70px;
        opacity: 1;
    }
    .Card-formation.active .Card-footer-none {
        height: 70px;
        opacity: 1;
    }
    
}

@media (max-width: 600px) {
    .hero img {
        max-width: 100%;
        max-height: 300px;
    }

    .hero-title {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .hero-infos span {
        font-size: 2.5rem;
    }

    .hero-infos p {
        max-width: 400px;
        font-size: 1rem;
    }

    .section-presentation-titre>h2,
    .section-presentation-titre>h3 {
        font-size: 1.8rem;
    }

    .section-presentation-titre>p {
        font-size: 0.9rem;
        max-width: 90%;
    }

    .Card-formation {
        width: 100%;
        max-width: 320px;
        padding: 30px 30px 20px;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

    .how-wrapper {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 0px;
    }

    .how-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .how-nbr {
        display: flex;
        flex-direction: row;
    }

    .how-nbr hr {
        width: 300px;
        height: 4px;
    }

    .how-txt {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .how-txt span,
    .how-txt p {
        text-align: center;
    }

    .how-txt span {
        font-size: 1.5rem;
    }

    .how-txt p {
        font-size: 1rem;
        width: 340px;
    }

    .how-wrapper img {
        width: 150px;
    }

    #how {
        display: flex;
        gap: 50px;
    }

    .booking-infos {
        flex-direction: column-reverse;
    }

    .booking-redirect {
        flex-direction: column;
    }
}