/*-----------------------------------------VANTA----------------------------------------------------------------------*/


#vanta-bg-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180%;
    z-index: -1;
    transition: opacity 1s ease;
}




#vanta-bg-fog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: opacity 1s ease;
}

#vanta-bg-fog {
    opacity: 0;
    pointer-events: none;
}

#vanta-bg-clouds {
    opacity: 1;
}



/*-----------------------------------------MAIN-----------------------------------------------------------------------*/

html{
    background-color: #E8DCCB;
}




.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
    padding: 0 20px;

}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;

}


.subtitle {
    font-size: 1.2rem;
    color: #695C5C;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-family: 'Raleway', sans-serif;
    color: #695C5C;
    line-height: 1.2;
    margin: 0;
}



.interactive-title {

    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    text-align: center;
    cursor: pointer;
    perspective: 800px;
}

.interactive-title .char {
    display: inline-block;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.espace{
    height: 20vh;
}


.scroll-down-btn {
    margin-top: 40px;
    font-size: 2rem;
    color: #695C5C;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    border: 2px solid #695C5C;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;

    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-down-btn:hover {
    background-color: #695C5C;
    color: #E8DCCB;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(105, 92, 92, 0.4);
}




.containerSplit {
    max-width: 80vw;
    margin: 14vh auto;
}

.split {
    opacity: 0;
    text-align:center;
    font-size: 1.6rem;
    font-family: Raleway;
    letter-spacing: 0.05rem;
    will-change: transform;
}

.containerSplit h1{
    margin: 0;
    color: #292424;
    font-size: 3.2rem;
}

.split * {
    will-change: transform;
}



.highlight {
    background-image: linear-gradient(to right, #b17d6e,#c7a298);
    background-repeat: no-repeat;
    background-size: 0% 0.5em;
    background-position: 0 85%;
    transition: background-size 0.5s ease;
}


.btn-wrapper{
    text-align: center;
}
.gsap-btn {
    position: relative;
    display: inline-block;
    padding: 2.5rem 3.5rem;
    font-family: 'Raleway', sans-serif;
    background: transparent;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    color: #695C5C;
}

.gsap-btn .btn-border {
    position: absolute;
    inset: 0;
    border: 2px solid #695C5C;
    border-radius: 60px;
    z-index: 1;
    pointer-events: none;
}

.gsap-btn .btn-bg {
    position: absolute;
    inset: 0;
    background-color: #695C5C;
    border-radius: 60px;
    transform: scaleX(0);
    transform-origin: left;
    z-index: 0;
}

.btn-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 2;
}

.btn-lines {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.btn-title {
    font-size: 2.1rem;
    font-weight: 600;
    display: inline-block;
}

.btn-sub {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.7;
    display: inline-block;
}

.btn-arrow {
    width: 28px;
    height: 28px;
    stroke: #695C5C;
    flex-shrink: 0;
}

.btn-title,
.btn-sub {
    transition: color 0.3s ease;
}





.skills-marquee {
    overflow: hidden;
    white-space: nowrap;
    margin-top: 8vh;
    padding: 1rem 0;
    border-top: 1px solid #d5cbc0;
    border-bottom: 1px solid #d5cbc0;
    position: relative;
}

.skills-track {
    display: inline-block;
    animation: scroll-left 25s linear infinite;
}

.skills-track span {
    display: inline-block;
    margin: 0 4vw;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    color: #695C5C;
    font-family: 'Raleway', sans-serif;
    opacity: 0.9;
}

/* Animation fluide */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}




/*-----------------------------------------RESPOONSIVE----------------------------------------------------------------*/


/* Responsive SPLIT */
@media (max-width: 1000px) {
    .containerSplit {
        padding: 0 5vw;
        margin: 10vh auto;
    }

    .split {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
        word-break: break-word;
    }

    .split h1 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .highlight {
        background-size: 100% 0.4em;
    }
    .interactive-title .char{
        font-size:8vw; /* 10% de la largeur de l'écran */
        text-align: center;
    }
    .btn-title .btn-char{
        font-size: 8vw; /* 10% de la largeur de l'écran */
        text-align: center;
    }

    .nonsautligne{
        display: inline-block;

    }
}







