    @import url('https://fonts.googleapis.com/css2?family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&family=Oswald:wght@200..700&display=swap');

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-color: #E6204B;
}

/* ===== MENU ===== */
#menu {
    top: 2%;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}

#logo{
    margin-left: 5%;
}

#menu nav{
    margin-right: 5%;
}

#menu nav ul {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    padding-right: 20px;
    list-style: none;
    gap: 35px;
}

#menu nav ul li a {
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-size: 20px;
}

#menu-mobile{
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff0145;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 99;
    transition: all 0.8s ease-in-out;
}

#menu-mobile.open{
    left: 0;
}

#menu-mobile nav ul{
    list-style: none;
}

#menu-mobile nav ul li{
    margin: 15px 0;
}

#menu-mobile nav ul li a{
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
    color: white;
    font-size: 35px;
}

#menu-mobile nav ul .reseaux-sociaux img{
    width: 30px;
    gap: 25px;
}

#container-burger{
    width: 50px;
    height: 40px;
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.6px);
    -webkit-backdrop-filter: blur(3.6px);
    border: 1px solid rgba(255, 255, 255, 0.38);
    z-index: 100;
    display: none;
}

#burger{
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

#burger .bar{
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.5s;
}

#burger .bar:nth-child(1)
{
    top: 0;
    width: 100%;
}

#burger .bar:nth-child(2)
{
    top: 50%;
    width: 70%;
    transform: translateY(-50%);
}

#burger .bar:nth-child(3)
{
    top: 100%;
    transform: translateY(-100%);
    width: 45%;
}

#burger.open .bar:nth-child(1)
{
    top: 50%;
    width: 100%;
    transform: translateY(-50%) rotate(45deg);
}

#burger.open .bar:nth-child(2)
{
    transform: translateY(-50%) scaleX(0);
    opacity: 0;
}

#burger.open .bar:nth-child(3)
{
    top: 50%;
    width: 100%;
    transform: translateY(-50%) rotate(-45deg);
}

.reseaux-sociaux{
    display: flex;
    gap: 15px;
}

.reseaux-sociaux img {
    filter: brightness(0) invert(1);
}

/* ===== SLIDE ===== */
.slide {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.container{
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== ACCUEIL ===== */
#Accueil {
    background: linear-gradient(180deg, rgba(255, 143, 186, 1) 0%, rgba(255, 57, 110, 1) 100%);
}

.slide .title h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 9vw;
    word-break: break-all;
    text-align: center;
    line-height: 0.9;
    background: linear-gradient(180deg, #FFFFFF, #FFADC9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation-name: opa;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}



.slide .title p {
    font-family: 'Oswald', sans-serif;
    font-style: normal;
    font-size: 50px;
    line-height: 1.1;
    text-align: left;
    padding-left: 8px;
    -webkit-text-fill-color: white;
    animation: opa 2s forwards;
}

@keyframes opa {
    0% { opacity:0;}
    100% { opacity:1;}
}

.title {
    width: 40%;
}

.title-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-left: 45px;
    margin-right: 50px;
    opacity: 0;
    animation-name: opa;
    animation-delay: 0.8s;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.title-bottom .boutons{
    margin-top: 1rem;
}

/* ===== BOUTONS ===== */
.boutons {
    display: flex;
    gap: 15px;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    justify-content: center;
}

.btn {
    font-size: 18px;
    text-decoration: none;
    padding: 4px 15px;
    border-radius: 10px;
    letter-spacing: 0.1em;
    cursor: pointer;
    -webkit-text-fill-color: white;
}

.btn-outline {
    color: white;
    border: 2px solid white;
    background: transparent;
    transition: background 0.2s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-filled {
    color: white;
    background: #ff0145;
    transition: background 0.2s ease;
}

.btn-filled:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-contact {
    color: white;
    background: #ff0145;
    position: absolute;
    left: 50px;
    z-index: 3;
    transition: background 0.2s ease;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-video {
    font-size: 20px;
    color: white;
    margin-left: auto;
}

.presentation-glass .boutons{
    width: 100% !important;
    padding-top: 10px;
}

/* ===== PROJETS ===== */
#projets {
    flex-direction: column;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 57, 110, 1) 0%, rgba(255, 143, 186, 1) 100%);
}

.projets-titre {
    width: 60%;
    margin-left: 70px;
    font-size: 4rem;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    background: linear-gradient(180deg, #FFFFFF, #FFADC9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#projets p{
    margin-left: 70px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    width: 60%;
}

.liquid-glass {
    width: 50%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.6px);
    -webkit-backdrop-filter: blur(3.6px);
    border: 1px solid rgba(255, 255, 255, 0.38);
    overflow: hidden;
    position: relative;
}

.swiper {
    width: 100%;
    height: 300px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100% !important;
}

.swiper-slide a{
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo {
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
    cursor: pointer;
}

.photo.active {
    width: 270px;
    height: 360px;
}

.photo.inactive {
    width: 150px;
    height: 180px;
    opacity: 0.7;
}

.photo--side {
    width: 150px;
    height: 180px;
}

.photo--main {
    width: 150px;
    height: 180px;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== VIDEO ===== */
#video {
    background: linear-gradient(307deg, rgba(255, 57, 110, 1) 0%, rgba(255, 143, 186, 1) 100%);
    min-height: 70vh;
}

#video video {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 50%;
    height: 450px;
}

#video iframe {
    width: 50%;
    height: 450px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== BARRE DE TRANSITION ===== */
#barre-de-transition {
    background: linear-gradient(90deg, rgba(255, 143, 186, 1) 0%, rgba(255, 57, 110, 1) 100%);
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-family: 'Istok', sans-serif;
    color: white;
    text-align: center;
}

/* ===== PRESENTATION ===== */
#presentation {
    background-color: #ff396e;
    min-height: 100vh;
    position: relative;
}

#presentation h1 {
    margin-right: auto;
    margin-left: 60px;
    margin-bottom: auto;
    margin-top: 50px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 20rem;
    background: linear-gradient(180deg, #FFFFFF, #FFADC9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 4px 15px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

#presentation img {
    margin-top: auto;
    position: absolute;
    right: 30px;
    bottom: 0;
    width: 900px;
    height: auto;
    z-index: 2;
}

.presentation-glass {
    margin-top: 300px;
    margin-right: 150px;
    display: flex;
    width: 20%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.6px);
    -webkit-backdrop-filter: blur(3.6px);
    border: 1px solid rgba(255, 255, 255, 0.38);
    position: absolute;
    z-index: 3;
}

.presentation-glass, .texte-glass p{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Istok', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

/* ===== COMMENT JE TRAVAILLE ===== */
#comment-je-travaille {
    background: linear-gradient(91deg, rgba(255, 143, 186, 1) 0%, rgba(255, 57, 110, 1) 50%, rgba(255, 143, 186, 1) 100%);
    min-height: 150vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    position: relative;
}

.nd-etape {
    position: relative;
    width: 100%;
    padding: 40px 60px;
    margin-bottom: 60px;
}

.nd-etape--droite {
    text-align: right;
    align-self: flex-end;
    padding-right: 80px;
    margin-right: 240px;
}

.nd-etape--gauche {
    text-align: left;
    align-self: flex-start;
    padding-left: 80px;
    margin-left: 240px;
}

.nd-numero {
    font-family: 'Oswald', sans-serif;
    font-size: 20rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    line-height: 1;
    z-index: 0;
}

.nd-etape--droite .nd-numero {
    right: 20px;
    top: -190px;
}

.nd-etape--gauche .nd-numero {
    left: 20px;
    top: -190px;
}

.nd-texte {
    position: relative;
    z-index: 1;
}

.nd-texte h2 {
    margin-left: 120px;
    margin-right: 120px;
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: bold;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
}

.nd-texte p {
    margin-left: -30px;
    margin-right: -30px;
    font-family: 'Istok', sans-serif;
    font-size: 0.9rem;
    color: white;
    max-width: 320px;
    line-height: 1.5;
}

.nd-etape--droite .nd-texte p {
    margin-left: auto;
}

/* ===== CONTACT ===== */
#contact {
    background: linear-gradient(0deg, rgba(255, 57, 110, 1) 0%, rgba(255, 143, 186, 1) 100%);
    min-height: 100vh;
    justify-content: center;
}

.nd-contact-wrapper {
    width: 70%;
    padding: 60px;
}

.nd-contact-titre {
    font-family: 'Oswald', sans-serif;
    font-size: 10rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(180deg, #FFFFFF, #FFADC9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nd-contact-glass {
    display: flex;
    gap: 60px;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nd-contact-infos {
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    min-width: 200px;
}

.nd-contact-infos p, .nd-contact-infos a {
    font-family: 'Istok', sans-serif;
    font-size: 0.95rem;
    color: white;
    line-height: 2;
}

.nd-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.nd-prenom-nom {
    display: flex;
    gap: 20px;
}

.nd-champ {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.nd-champ label {
    font-family: 'Istok', sans-serif;
    font-size: 0.85rem;
    color: white;
    margin: 10px 0;
}

.nd-champ input, .nd-champ textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    font-family: 'Istok', sans-serif;
    font-size: 1rem;
    padding: 6px 0;
    width: 100%;
}

.nd-champ input:focus, .nd-champ textarea:focus{
    outline: solid 1px rgba(255, 255, 255, 0.6);
}

.nd-champ textarea {
    resize: none;
    height: 150px;
}

.nd-champ input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nd-btn-envoyer {
    align-self: flex-start;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.nd-btn-envoyer:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== FOOTER ===== */

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #ff396e;
    color: white;
    font-family: 'Oswald', sans-serif;
    padding: 10px 0;
}

.footer-link {
    color: white;
    text-decoration: none;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1300px) {

    /* GLOBAL */

    body {
        overflow-x: hidden;
    }

    /* ACCUEIL */

    .title {
        width: 100%;
    }

    .title .title-bottom p {
        font-size: 5rem;
    }

    .slide .title h1 {
        font-size: 8rem;
    }

    .title-bottom{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .boutons {
        flex-direction: column;
    }

    /* PROJETS */

    .projets-titre {
        margin-right: 330px;
    }

    #projets p{
        margin-right: 330px;
    }

    .liquid-glass {
        width: 75%;
    }

    /* VIDEO */

    #video iframe {
        width: 85%;
    }

    /* BARRE-DE-TRANSITION */

    #barre-de-transition {
        font-size: 2rem;
        min-height: 15vh;
    }

    /* PRESENTATION */

    #presentation {
        min-height: 60vh;
        overflow: hidden;
    }

    #presentation h1 {
        font-size: 10rem;
        margin-top: 40px;
    }

    #presentation p {
        font-size: 1rem;
    }

    .presentation-glass {
        width: 35% !important;
        margin-top: 20px !important;
        min-height: 20%;
        margin-right: 0;
    }

    #presentation img {
        display: none;
    }

    .btn-video {
        left: 80%;

    }

    /* COMMENT JE TRAVAILLE*/

    .nd-numero {
        font-size: 14rem;
    }

    .nd-etape--gauche h2{
        margin-left: -100px;
    }

    .nd-etape--droite h2{
        margin-right: -100px;
    }

    .nd-etape--gauche p{
        margin-left: -200px;
    }

    .nd-etape--droite p{
        margin-right: -200px;
    }

    .nd-etape--droite .nd-numero {
        right: -130px;
        top: -115px;
    }

    .nd-etape--gauche .nd-numero {
        left: -130px;
        top: -115px;
    }

    .nd-numero {
        font-size: 15rem;
    }

    .nd-etape:nth-child(3) .nd-numero {
        top: -35px;
    }
}

@media (max-width: 834px) {
    .nd-contact-titre{
        font-size: 20vw;
    }

    /* PROJETS */

    .projets-titre {
        width: 100%;
        margin-right: 80px;
        margin-left: 40px;
    }

    #projets p{
        width: 100%;
        margin-right: 80px;
        margin-left: 40px;
    }

    .liquid-glass {
        width: 75%;
    }

    /* CONTACT */
    .nd-contact-wrapper {
        width: 100%;
        padding: 20px 15px;
    }

    .nd-contact-titre {
        font-size: 3rem; /* ← réduit le titre "Contact" */
    }

    .nd-contact-glass {
        flex-direction: column; /* ← empile gauche et droite */
        gap: 20px;
        padding: 1rem;
    }

    .nd-contact-infos {
        min-width: unset;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nd-prenom-nom {
        flex-direction: column;
        gap: 8px;
    }

    .nd-btn-envoyer {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 700px){
    #presentation h1{
        font-size: 20vw;
    }

    #menu nav ul{
        display: none;
    }

    #container-burger{
        display: block;
    }

    .presentation-glass {
        width: 45% !important;
        margin-top: 20px !important;
        min-height: 20%;
        margin-right: 0;
    }



}

/* ===== RESPONSIVE (Iphone 14, 15, 16) ===== */
@media (max-width: 500px) {

    /* GLOBAL */

    body {
        overflow-x: hidden;
    }

    /* ACCUEIL */

    .title {
        width: 100%;
    }

    .title .title-bottom p {
        font-size: 3rem;
    }

    .slide .title h1 {
        font-size: 5rem;
    }

    .boutons {
        width: 56%;
        font-size: 1rem;
        flex-direction: column;
        margin-bottom: -70px;
        margin-right: -15px;
    }

    /* PROJETS */

    #projets{
        min-height: 60vh;
    }

    #contact{
        min-height: 60vh;
    }

    #comment-je-travaille{
        min-height: 100vh;
    }

    .projets-titre {
        margin-left: 70px;
        font-size: 2rem;
    }

    #projets p{
        margin: 20px 0;
        font-size: 1rem;
        width: 60%;
    }



    .liquid-glass {
        width: 45%;
        margin-bottom: 25px;
    }

    /* VIDEO */

    #video iframe {
        height: 300px;
    }

    /* BARRE-DE-TRANSITION */

    #barre-de-transition {
        font-size: 1rem;
        min-height: 10vh;
    }

    /* PRESENTATION */



    #presentation h1 {
        font-size: 5rem;
        margin-top: 10px;
        margin-right: 150px;
    }

    #presentation p {
        font-size: 15px;
        margin-top: -70px;
    }

    .presentation-glass {
        width: 60% !important;
        min-height: 230px;
    }

    #presentation img {
        display: none;
    }


    .btn-contact {
        left: 20px;
        width: 33%;
    }

    /* COMMENT JE TRAVAILLE*/

    .nd-numero {
        font-size: 10rem;
    }

    .nd-etape--gauche h2{
        margin-left: -200px;
        font-size: 4rem;
    }

    .nd-etape--droite h2{
        margin-right: -200px;
        font-size: 4rem;
    }

    .nd-etape--gauche p{
        margin-left: -300px;
        font-size: 0.7rem;
    }

    .nd-etape--droite p{
        margin-right: -300px;
        font-size: 0.7rem;
    }

    .nd-etape--droite .nd-numero {
        right: -130px;
        top: -50px;
    }

    .nd-etape--gauche .nd-numero {
        left: -130px;
        top: -50px;
    }

    .nd-etape:nth-child(3) .nd-numero {
        top: 10px;
    }

    .nd-etape:nth-child(3) .nd-texte h2 {
        margin-right: -250px;
    }


}


    /* ===== RESPONSIVE (Iphone 14, 15, 16) ===== */
    @media (max-width: 435px) {

        /* GLOBAL */

        body {
            overflow-x: hidden;
        }

        /* ACCUEIL */

        .title {
            width: 100%;
        }

        .title .title-bottom p {
            font-size: 3rem;
        }

        .slide .title h1 {
            font-size: 5rem;
        }

        .btn{
            font-size: 16px;
        }

        /* PROJETS */

        #projets{
            min-height: 60vh;
        }

        #contact{
            min-height: 60vh;
        }

        #comment-je-travaille{
            min-height: 100vh;
        }

        .projets-titre {
            margin-left: 0px;
            font-size: 2rem;
        }

        #projets p{
            margin: 5px 0;
            font-size: 1rem;
            width: 100%;
        }



        .liquid-glass {
            width: 100%;
            margin-bottom: 25px;
        }

        /* VIDEO */

        #video iframe {
            height: 300px;
        }

        /* BARRE-DE-TRANSITION */

        #barre-de-transition {
            font-size: 1rem;
            min-height: 10vh;
        }

        /* PRESENTATION */



        #presentation h1 {
            font-size: 5rem;
            margin-top: 30px;
            margin-right: 150px;
        }

        #presentation p {
            font-size: 12px;
            margin-top: -70px;
            text-align: center;
        }

        .presentation-glass {
            width: 50% !important;
            min-height: 180px;
        }

        #presentation img {
            display: none;
        }


        .btn-contact {
            left: 20px;
            width: 33%;
        }

        /* COMMENT JE TRAVAILLE*/

        .nd-numero {
            font-size: 10rem;
        }

        .nd-etape--gauche h2{
            margin-left: -200px;
            font-size: 4rem;
        }

        .nd-etape--droite h2{
            margin-right: -200px;
            font-size: 4rem;
        }

        .nd-etape--gauche p{
            margin-left: -300px;
            font-size: 0.7rem;
        }

        .nd-etape--droite p{
            margin-right: -300px;
            font-size: 0.7rem;
        }

        .nd-etape--droite .nd-numero {
            right: -130px;
            top: -50px;
        }

        .nd-etape--gauche .nd-numero {
            left: -130px;
            top: -50px;
        }

        .nd-etape:nth-child(3) .nd-numero {
            top: 10px;
        }

        .nd-etape:nth-child(3) .nd-texte h2 {
            margin-right: -250px;
        }

        .site-footer{
            font-size: 12px;
        }
    }


