* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    width: 100%;
    top: 0;
    position: fixed;
    height: 90px;
    transition: .5s;
    z-index: 9999;
    background: transparent;
    color: #000;
}

header ul {
    list-style: none;
}

header img {
    height: 30px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header-container nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-container div {
    display: flex;
    align-items: center;
}

.header-container a {
    text-decoration: none;
    text-transform: capitalize;
    margin-left: 20px;
    color: #fff;
    position: relative;
}

.header-container nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition:
        .3s;
    border-radius:
        40px;
}

.header-scrolled .header-container nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000 !important;
    transition: .3s;
    border-radius: 40px;
}


.header-container nav a:hover::after {
    width: 100%;
}

.header-scrolled {
    background: #fff;
    color: #000 !important;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
}

.lang a::after{
    display: none;
}
.header-scrolled ul li a {
    color: #000 !important;
}

.contact {
    color: #fff;
    border: 1px solid #fff;
}

.header-scrolled .contact {
    border: 1px solid #000;
}


.burger-wrapper span {
    width: 25px;
    height: 2px;
    display: block;
    background: #fff;
}
.global-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 20px;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* État initial */
.slide strong,
.slide h2,
.slide a {
    opacity: 0;
    transition: opacity 0s ease-out;
}

/* Style du h3 (inchangé) */
h3 {
    font-size: 18px;
    font-weight: 600;
    font-family: "Raleway", sans-serif;
}

/* Animation à l’activation */
.slide.active strong {
    animation: fadeInUp 1s ease-out forwards;
}

.slide.active h2 {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.25s; /* un léger décalage par rapport au strong */
}

.slide.active a {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}


.carousel {
    position: relative;
    width: 100%;
    margin: auto;
}

.slides {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease-in-out, visibility 0s linear 1s;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    backdrop-filter: brightness(0.5);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity .7s ease-in-out, visibility 0s linear 0s;
}

.slide strong {
    color: #fff !important;
    font-weight: 600;
    font-size: 3.4rem;
}

.slide h2{
    color: #fff !important;
    font-weight: 600;
    font-size: 1.3rem;
}

.slide a {
    color: #ffffff;
    border-radius: 30px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    width: max-content;
    border: 1px solid #ffffff;
    padding: 10px 30px;
    margin-top: 1rem;
}

.arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    cursor: pointer;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
}

.dot {
    width: 7px;
    height: 7px;
    margin: 3px;
    background: #ffffff3d;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

.slide-1 {
    background: url(../img/slides/slide-1.webp);
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;

}

.slide-2 {
      background: url(../img/slides/slide-2.webp);
    background-size: cover;
    background-position: top center;
    background-color: rgba(0, 0, 0, 0.2);
    background-blend-mode: darken;
}

.slide-3 {
   background: url(../img/slides/slide-3.webp);
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
}

.slide-4 {
    background: url(../img/slides/slide-4.webp);
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
}


.progress-container {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
    z-index: 999;
    display: none;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: var(--b-marine);
    transition: width 7s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}


.stats {
    display: flex;
    justify-content: center;
    gap: 7rem;
    margin-top: 4rem;
}

.stats article span {
    font-size: 3.5rem;
    font-weight: lighter;
    color: rgb(44, 55, 117) !important;
}

.stats h3 {
    margin-top: -0.5rem;
    color: #2B2B2B !important;
    font-weight: 400;
    text-align: center;
}


.plan {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.plan h2 {
    margin-bottom: 2rem;
}

.plan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
}

.grid {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(2, 1fr);
}

.plan-container article {
    width: 100%;
    padding: 40px 30px;
    border-radius: 10px;
    margin-bottom: 1.3rem;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    min-height: 300px;
}

.plan-container article img {
    height: 60px;
    width: 60px;
    margin-bottom: 1rem;
    margin-right: 30px;
}

.plan-container article h3 {
    margin-bottom: 1rem;
}

.plan-1{
    background: rgb(18, 78, 97);
}

.plan-2{
   background: #DB9F34;
}

.plan-3{
    background: #566B82;
}

.plan-4{
    background: #7DCCC7;
}



.plan-1 h3{
   color: #fff;
}

.plan-1 h3, .plan-2 h3, .plan-3 h3, .plan-4 h3, .plan-5 h3{
    font-size: 1.6rem;
}

.plan-1 p, .plan-2 p ,.plan-3 p, .plan-4 p, .plan-5 p, .plan-6 p   {
    font-weight: 600;
     color: #fff !important;
}






.plan-container article p {
    width: 90%;
}


.discover-btn {
    color: #fff;
    border-radius: 30px;
    display: inline-block;
    margin-top: 1rem;
    text-align: center;
    cursor: pointer;
    width: max-content;
    border: 1px solid #fff;
    padding: 10px 30px;

}

.article-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
}




.temoignage {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.temoignage h2 {
    color: #000;
    margin-bottom: 2rem;
}

.temoignage article p {
    color: #2B2B2B !important;
}

.hover {
    position: absolute;
    bottom: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    background: #d5dfff;
    color: #fff !important;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
}

.hover p {
    font-size: 18px;
}

.plan-container a:hover .hover {
    bottom: 0;
}

.scroll-x {
    overflow-x: scroll;
    display: flex;
    scrollbar-width: none;
}

.scroll-x::-webkit-scrollbar {
    display: none;
}


.flex-star {
    display: flex;
    align-items: center;
}

.flex-star p {
    margin-left: 20px;
    color: #2B2B2B;
    font-size: .8rem;
}

.star i {
    color: #FB8E28;
}

.scroll-x article {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    margin: 0 10px;
}

.scroll-x article h5 {
    color: var(--b-clair);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}


.flex-title {
    display: flex;
    justify-content: space-between;
}

.arrow-flex button {
    padding: 4px 6px;
    border: none;
    background: #f9f9f9;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
}





@media (max-width: 1024px) {

    .progress-container {
        top: 70px;
    }


    .global-container {
        justify-content: center;
        align-items: center;
    }

    .global-container div {
        text-align: center;
    }

    .stats {
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    .stats h3 {
        margin-top: .5rem;
    }

    .stats article p {
        font-size: 2.5rem;
    }

    .plan-container {
        display: block;
    }

    .plan-container article {
        width: 100%;
        padding: 20px !important;
    }

    .scroll-x {
        gap: 10px;
    }

    .scroll-x article {
        min-width: 100%;
        margin: 0px 10px 0 0px;
    }


    .img-referances-container img {
        width: 100%;
        height: auto;
    }

    .p-acc-resp {
        display: block;
    }

    .p-acc-desk {
        display: none;
    }

    .contact-container {
        width: 100%;
        margin-top: 1rem;
    }

    .contact-content {
        display: block;
    }

    .contact-right {
        margin: 0;
    }

    .contact-left div p {
        margin: 0;
    }

    .txt-contact {
        max-width: 100%;
    }

    form {
        margin-top: 5rem;
    }

    .contact-container .container {
        padding: 0 20px;

    }

    .contact-left span {
        padding: 0px 20px 0px 0px;
    }

    .txt-contact {
        margin-top: 1rem !important;
    }

    .grid {
        display: block;
    }

    .accueil {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .grid-btn {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }

    .stats article {
        text-align: center;
    }

    .stats article {
        padding: 15px !important;
    }
    .article-content {
        display: block;
    }

    .discover-btn {
        margin-left: 0;
    }

    .plan-container article img {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .arrows {
        display: none;
    }

    .slide h2 br {
        display: none;
    }

    .slide h2 {
        font-size: 25px;
        width: 80%;
    }

}