@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&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');

:root {
    --w-column: 200px;
}



.logo img {
    width: 4rem;
    height: 4rem;
}

.logo {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.logo .boutique {
    color: #28233d;
    font-family: 'montserrat';
    font-weight: 400;
    opacity: 0.9;
}




body {
    margin: 0;
    /* background-color: #232442; */
    color: #fff;
    font-size: 15px;
    font-family: Poppins;

    & * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    header {
        position: fixed;
        z-index: 10;
        width: min(1200px, 90vw);
        height: 70px;
        left: 50%;
        transform: translateX(-50%);
        display: grid;
        grid-template-columns: 1fr calc(var(--w-column) * 3);
        gap: 10%;
        align-items: center;

        & .logo {
            & img {
                width: 50px;
            }
        }

        & nav {
            & ul {
                display: grid;
                grid-template-columns: repeat(3, var(--w-column));
            }
        }
    }

    & .carousel {
        background-image: radial-gradient(#0056b3, #111126);
        height: 100vh;
        overflow: hidden;
        position: relative;

        & .list {
            width: min(1200px, 90vw);
            margin: auto;
            height: 100%;
            position: relative;

            & .item {
                position: absolute;
                inset: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: space-between;

                & figure {
                    position: absolute;
                    width: 70%;
                    top: 20%;
                    transform: translateY(-0%);

                    & img {
                        width: 60%;
                        transform: rotate(-30deg);
                    }

                    &::before {
                        content: '';
                        position: absolute;
                        background-color: #0b0b1b;
                        width: 100%;
                        height: 100px;
                        top: 150%;
                        left: 50px;
                        border-radius: 50%;
                        filter: blur(50px);
                    }
                }

                & .content {
                    position: absolute;
                    z-index: 20;
                    width: 70%;
                    height: 100%;
                    right: var(--w-column);
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: end;
                    gap: 20px;
                    padding-bottom: 11rem;

                    & .category {
                        font-weight: 500;
                    }

                    & h2 {
                        font-family: 'League Gothic';
                        font-size: 11em;
                        line-height: 1em;
                    }

                    & .description {
                        align-items: center;
                        color: #fff8;
                        max-width: 400px;
                        font-size: small;
                        text-align: right;

                        & i {
                            height: 50px;
                            color: #ffea7c;
                            font-size: 2em;
                            border: 1px solid #659cdf;
                            border-radius: 50%;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                        }
                    }
                }

                /* & .more {

                    border: none;
                    font-size: 15px;

                    display: grid;
                    grid-template-columns: repeat(2, 100px);
                    gap: 20px;
                    grid-template-rows: 50px;


                } */

                button {
                    background-color: #4c96eb;
                    padding: 15px 29px;
                    border: none;
                    color: #ffffff;
                    font-weight: 400;
                }
            }

            /* &::after {
                content: '';
                position: absolute;
                right: var(--w-column);
                width: var(--w-column);
                height: 100%;
                border-left: 1px solid #324073;
                border-right: 1px solid #324073;
                pointer-events: none;
            } */

            /* &::before {
                content: '';
                position: absolute;
                z-index: 10;
                height: var(--w-column);
                width: 100%;
                top: 52%;
                border-top: 1px solid #324073;
                border-bottom: 1px solid #324073;
                pointer-events: none;
            } */
        }

        & .arrows {
            width: min(1200px, 90vw);
            display: flex;
            justify-content: space-between;
            position: absolute;
            top: 52%;
            left: 50%;
            transform: translate(-50%, -25px);
            pointer-events: none;
            z-index: 100;

            & button {
                top: 60%;
                width: 50px;
                height: 50px;
                /* border-radius: 50%; */
                border: 1px solid #659cdf55;
                background-color: #232442;
                color: #fff7;
                font-size: large;
                cursor: pointer;
                pointer-events: auto;
                transition: 0.5s;

                &:hover {
                    border: 1px solid #659cdf;
                    color: #fff;
                }
            }
        }

        & .indicators {
            position: absolute;
            top: 52%;
            height: var(--w-column);
            width: min(1200px, 90vw);
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            pointer-events: none;
            justify-content: end;
            gap: 10px;

            & .number {
                font-family: 'League Gothic';
                font-size: 7vw;
            }

            & ul {
                display: flex;
                gap: 10px;

                & li {
                    width: 50px;
                    height: 5px;
                    background-color: #659cdf;
                    /* border-radius: 10px; */
                    pointer-events: auto;
                    cursor: pointer;
                    transition: 0.5s;

                    &.active {
                        background-color: yellow;
                    }
                }
            }
        }
    }
}

/* animation */
body {
    .carousel {
        --calculation: 1;

        /* 1 or -1 */
        & .list {
            & .item {
                transform: translateX(calc(100vw * var(--calculation)));
                transition: 0.5s;
                opacity: 0;

                & figure {
                    & img {
                        transform: rotate(-20deg);
                        transition: transform 0.5s;
                        transition-delay: 0.3s;
                    }
                }

                & .content {

                    & .category,
                    h2,
                    .description,
                    .more {
                        transform: translateX(calc(200px * var(--calculation)));
                        transition: 0.7s;
                        opacity: 0;
                        transition-delay: 0.3s;
                    }

                    & h2 {
                        transition-delay: 0.5s;
                    }

                    & .description {
                        transition-delay: 0.7s;
                    }

                    & .more {
                        transition-delay: 0.9s;
                    }
                }

                &.active {
                    opacity: 1;
                    transform: translateX(0);

                    & figure {
                        & img {
                            transform: rotate(0deg);
                        }
                    }

                    & .content {

                        & .category,
                        h2,
                        .description,
                        .more {
                            transform: translateX(0px);
                            opacity: 1;
                        }
                    }
                }

                &.activeOld {
                    transform: translateX(calc(-100vw * var(--calculation)));
                }
            }
        }
    }
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
    :root {
        --w-column: 100px;
    }

    body {
        & .carousel {
            height: 60vh;

            & .list {
                & .item {
                    & .content {
                        & h2 {
                            font-size: 5em;
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 767px) {
    :root {
        --w-column: 50px;
    }

    body {
        & .carousel {
            height: 100vh;

            & .list {
                & .item {
                    & .content {
                        justify-content: end;
                        padding-bottom: 100px;

                        & h2 {
                            font-size: 5em;
                            text-align: right;
                        }
                    }

                    & figure {
                        width: 140%;
                        transform: translateY(0);
                        top: 65px;
                        left: 80px;

                        position: absolute;

                        & img {
                            width: 60%;

                        }
                    }
                }
            }

            & .indicators {
                top: 18%;

                & .number {
                    font-size: 5em;
                    transform: translateX(50px);
                    opacity: 0.5;
                }

                & ul {
                    display: flex;
                    gap: 10px;

                    & li {
                        width: 35px;
                        height: 5px;
                        background-color: #659cdf;
                        /* border-radius: 10px; */
                        pointer-events: auto;
                        cursor: pointer;
                        transition: 0.5s;

                        &.active {
                            background-color: yellow;
                        }
                    }
                }
            }
        }
    }


}


.carousel .scroll-D {
    height: 50px;
    width: 30px;
    border: 2px solid #fff;
    position: absolute;
    left: 50%;
    bottom: 20px;
    border-radius: 50px;
    cursor: pointer;
}

.scroll-D::before,
.scroll-D::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    border: 2px solid #fff;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    animation: scroll-D 1s ease-in-out infinite;
}

.scroll-D::after {
    top: 30%;
    animation-delay: .3s;
}

@keyframes scroll-D {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 90%;
    }
}

html {
    scroll-behavior: smooth;
    transition: .3s ease-in-out;
}







/* video de publicité avec des texte video de publicité avec des texte */

.content-ads {
    padding: 2rem 0;
}




.content-ads .text-ads p {
    width: 80%;
    margin: auto;
    padding-top: 2rem;
    margin-bottom: -1rem;
    color: #505050;
    text-align: center;
    font-size: 20px;
    font-weight: 300;
}

.text-ads span {
    font-weight: 700;
}

.content-ads .text-ads--2 p {
    width: 80%;
    margin: auto;
    margin-top: -1rem;
    margin-bottom: 2rem;
    color: #505050;
    text-align: center;
    font-size: 20px;
    font-weight: 300;
}

.text-ads--2 span {
    font-weight: 700;
}

.text-ads--2 #Rouge {
    font-weight: 700;
    color: #fd0000;
}




.content-ads .prouve video {
    width: 600px;
    height: 600px;
}

.prouve {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .content-ads .prouve video {
        width: 320px;
        height: 320px;
    }

    .content-ads .text-ads p {
        width: 80%;
        margin: auto;
        padding-top: 1rem;
        margin-bottom: -1rem;
        color: #505050;
        text-align: center;
        font-size: 20px;
        font-weight: 300;
    }

    .prouve {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 2.5rem 0;
    }
}





.button-call {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -2.5rem;
}

.whatsapp-btn video {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
}

@media screen and (max-width: 767px) {
    .whatsapp-btn video {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 300px;
    }
}












/* Gallery Section */
.gallery {
    width: 100%;
    padding: 50px 20px;
    text-align: center;
    background-color: #ffffff;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0056b3;
}

/* .gallery .vente {
    width: 80%;
    margin: auto;
    margin-top: -15px;
    margin-bottom: 2rem;
    color: #505050;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
} */

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.Apercu {
    position: relative;
    width: 400px;
    height: 400px;
    cursor: pointer;
    overflow: hidden;
    padding: 20px;
    background-color: #f1f1f1;
    transition: transform 0.3s ease;
    /* Ajout d'une transition au survol */
}

@media screen and (max-width: 767px) {
    .Apercu {
        position: relative;
        width: 320px;
        height: 320px;
        cursor: pointer;
        overflow: hidden;
        margin-bottom: -3rem;
        padding: 20px;
        background-color: #f7f7f7;
        transition: transform 0.3s ease;
        /* Ajout d'une transition au survol */
    }

    .gallery-container {
        display: flex;
        flex-wrap: wrap;
        gap: 70px;
        justify-content: center;
    }

    .gallery h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
        color: #0056b3;
        line-height: 1.3;
    }
}


.Apercu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease-in-out;
}

.Apercu:hover img {
    transform: scale(1.2);
    /* Agrandissement au survol */
}

.Apercu video {
    width: 400px;
    height: 400px;
}



/* Visionneuse plein écran */
.zoom .image-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.801);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.zoom .image-preview img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 6px 50px rgba(146, 146, 146, 0.438);
    transition: .3s ease-in-out;
}

.zoom .image-preview .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.zoom .image-preview .close-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: black;
}












/* Testimonials Section */
.testimonials {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.testimonials h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.testimonials-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
    .testimonials-container {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .testimonials h2 {
        font-size: 1.5rem;
        color: #0056b3;
        margin-bottom: 20px;
        line-height: 1.3;
    }
}


.testimonial-item {
    width: 300px;
    text-align: center;
}

.testimonial-item p {
    color: #3f3f3f;
    padding-bottom: 2.2rem;
}

.testimonial-item video {
    width: 100%;
    padding-bottom: 1rem;
}






/* contact section design contact section design */

.contact {
    padding: 2rem 0;
    background-color: #fcfcfc;
}

.contact h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
}

.contact form {
    max-width: 45rem;
    margin: 1rem auto;
    text-align: center;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    color: #4d4d4d;
    background: #f0efef;
    margin: .5rem 0;
    border: none;

}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    background-color: #4c96eb;
    padding: 15px 29px;
    border: none;
    color: #ffffff;
    font-weight: 400;
}


@media screen and (max-width: 767px) {
    .contact {
        margin-top: -3rem;
        background-color: #fcfcfc;
    }

    .contact h2 {
        font-size: 1.3rem;
        color: #0056b3;
        margin-bottom: 20px;
        text-align: center;
    }

    .heading {
        font-weight: 400;
    }

    .heading span {
        font-weight: 700;
    }
}





/* Footer */
.footer {
    position: relative;
    padding: 40px;
    text-align: center;
    background-color: #09113f;
    color: #fff;
    position: relative;
}

.footer-info h3 {
    margin-bottom: 10px;
    font-weight: 200;
}

@media screen and (max-width: 767px) {
    .footer-info p {
        font-size: 0.7rem;
        font-weight: 300;
    }
}








.footer .scroll-down {
    height: 40px;
    width: 20px;
    border: 2px solid #fff;
    position: absolute;
    left: 89%;
    bottom: 60px;
    border-radius: 50px;
    cursor: pointer;
}

.scroll-down::before,
.scroll-down::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    border: 2px solid #fff;
    height: 5px;
    width: 5px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-bottom: transparent;
    border-right: transparent;
    animation: scroll-down 1s ease-in-out infinite;
}

.scroll-down::after {
    top: 30%;
    animation-delay: .3s;
}

@keyframes scroll-down {
    100% {
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    0% {
        opacity: 0;
        top: 90%;
    }
}







section {
    width: 90%;
    margin: auto;
}

.carousel {
    width: 100%;
}