* {
font-family: 'Poppins', sans-serif;
}

body {
            font-family: 'Poppins', sans-serif;
            background-image: url('images/fond.webp');
            background-position: center;
}

        :root {
            --rose: #F2357B;
            --beige: #EFE7D4;
            --dore: #BF9663;
            --orange: #F25430;
            --gris: rgb(29, 29, 27); 
            --rouge: #730623;
        }


        /* NAVIGATION */
        nav {
            position: fixed;
            left: 40px;
            top: 80px;
            transform: translateY(-50%);
            z-index: 1000;
        }

        nav ul {
            list-style: none;
            margin: 30px 0;
        }

        nav a {
            max-width: 800px;
            margin-bottom: 48px; /* espace entre 2 éléments de navigation*/
        }


        /* MENU BURGER - MOBILE */
.menu-burger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1002;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-burger img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    transform: rotate(0deg); /* État initial */
}

.menu-burger.active img {
    transform: rotate(180deg) !important;
}

.menu-burger:hover img {
    transform: rotate(180deg) scale(1.1);
}

/* OVERLAY - fond gris semi-transparent */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 29, 27, 0.9);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

        /* SECTION COMMUNE */
        section {
            min-height: 100vh;
            padding: 200px 32px 200px 400px;   /* 1=IDK???   2=marge à droite   3=marge entre projet  4=marge à gauche */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* HOME */
        #home {
            flex-direction: row;
            text-align: left;
        }

        .logo-main {
            width: 160px;
            margin-bottom: 40px;
            text-align: left;
            margin-top: -200px;
        }

        .navigation{
             max-height: 24px;
             width: auto;
             transition: transform 0.3s ease;
             margin: -16px 8px;
             display: flex;
             flex-direction: column;
        }

        .soustitrecv{
             max-height: 40px;
             width: auto;
             transition: transform 0.3s ease;
             margin: 0px 0;  
             flex-direction: column;
             }

        .nomprenom{
             max-height: 280px;
             width: auto;
             transition: transform 0.3s ease;
             margin: 10px 0;
             display: flex;       
             flex-direction: column;
             margin-bottom: 24px;
        }

        .datecv{
             max-height: 16px;
             width: auto;
             transition: transform 0.3s ease;
             margin: 10px 0;
             display: flex;       
             flex-direction: column;
             margin-top: 16px;
        }

        .titre {
            max-width: 1100px;
            margin-bottom: 60px;
        }

        .soustitre {
            color: var(--rose);
            font-size: 25px;
            font-weight: 900;
            /* display: flex; */ 
            text-align: left;
            margin-top: 8px;
            line-height: 1;
        }

        
        .soustitrebeige {
            color: var(--beige);
            font-size: 24px;
            font-weight: 700;
            display: flex;
            text-align: left;
            line-height: 1.4;
            margin-top: 60px;
        }

        .labeurrose {
            color: var(--rose);
            font-size: 16px;
            font-weight: 400;
            text-align: left;
            line-height: 1.6;
            margin-top: 16px;
        } 

        .dateprojet {
            color: var(--dore);
            font-size: 25px;
            font-weight: 100;
            display: flex;
            text-align: left;
            line-height: 1.4;
            font-style: italic;
            margin-top: 8px;
        } 


        .labeurgras {
            color: var(--dore);
            font-size: 16px;
            font-weight: 600;
            text-align: left;
            line-height: 1.6;
        } 

        .competences {
            color: var(--orange);
            font-style: italic;
            margin-top: 8px;
        } 


        .contact-info {
            text-align: left;
            margin-left: auto;
            max-width: 600px;
            margin-top: 24px;
        }

        .contact-info a {
            color: var(--rose);
            text-decoration: none;
            display: block;
            margin: 5px 0;
        }

        /* SECTIONS PROJETS */
        .project-section {
            flex-direction: column;
            align-items: flex-start;
        }

         .labeur {
            color: var(--beige);
            font-size: 16px;
            font-weight: 400;
            text-align: left;
            line-height: 1.6;
        } 

        .project-title {
            max-width: 900px;
        }

        .project-content {
            display: grid;
            grid-template-columns: 0.5fr 1fr;
            gap: 60px;
            width: 100%;
            max-width: 1400px;
        }
        
        .project-left p {
            line-height: 1.6;
            margin-bottom: 15px;
        }


        .project-left .tools {
            color: var(--orange);
            font-style: italic;
            margin-top: 20px;
        }

        .project-right img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

/* GRID GALERIE */
.gallery-grid {
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Item 4/3 */
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative; 
}

/* Images + vidéos */
.gallery-item img,
.gallery-item video {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

  .gallery-item img:hover,
  .gallery-item video:hover {
    transform: scale(1.05);
  }

  /* Overlay */
  .gallery-item .overlay {
    position: absolute;
    inset: 0; /* top:0;right:0;bottom:0;left:0; */
    background: rgba(242, 53, 123, 0.7); /* couleur du fond */
  }

    /* Apparition au survol (desktop) */
  .gallery-item:hover .overlay,
  .gallery-item.show-overlay .overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .overlay {
    display: flex;
    flex-direction: column; /* empile verticalement */
    gap: 8px; /* espace entre les lignes */
}





        /* CV SECTION */
        .cv-container {
            width: 100%;
            max-width: 80px;
        }

        .cv-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            margin-top: 40px;
        }

        /* BANDEAU ANIMÉ */
        .animated-banner {
            bottom: 0;
            left: 0;
            width: 100%;
            height: auto;
            overflow: hidden;
            z-index: 999;
        }

        .animated-banner video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }



        /* RESPONSIVE */
        @media (max-width: 1714px) { 
                    .labeur {
                color: var(--beige);
                font-size: 14px;
                font-weight: 400;
                text-align: left;
                line-height: 1.6;
        } 

            .labeur br {
             display: none;
            }

        }


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

        /* AFFICHER LE MENU BURGER */
        .menu-burger {
          display: block;
        }

        .soustitre br {
         display: none;
        }

        nav { 
         position: fixed;
         margin-left: 0px;
         margin-top: 64px;
         border: none;
         opacity: 0;
         pointer-events: none;
         transition: opacity 0.3s ease;
        }

        nav.active {
         opacity: 1;
         pointer-events: all;
        }

        .labeur {
                color: var(--beige);
                font-size: 14px;
                font-weight: 400;
                text-align: left;
                line-height: 1.6;
        } 

            .labeur br {
             display: none;
            }


            section {
                padding: 60px 40px 60px 180px;
            }

            .project-content {
                grid-template-columns: 1fr;
            }

            .cv-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            /* .cv-container {
             width: 100%;
             max-width: 80px;
            }

            .cv-grid {
             display: grid;
             grid-template-columns: 1fr 1fr;
             gap: 80px;
             margin-top: 40px;
            } */

}







@media (max-width: 1046px) {

        /* Cible uniquement les titres d'images dans les sections projets */
        .project-section .titre {
          height: auto;
          max-height: 170px;
          margin-bottom: 8px;
        }

        /* AFFICHER LE MENU BURGER */
        .menu-burger {
          display: block;
          margin-left: -10px;
          margin-top: -10px;
        }

        nav { 
         position: fixed;
         margin-left: -35px;
         margin-top: 64px;
         border: none;
         opacity: 0;
         pointer-events: none;
         transition: opacity 0.3s ease;
        }

        nav.active {
         opacity: 1;
         pointer-events: all;
        }

        /*nav ul {
         display: flex;
         flex-direction: column;
         align-items: center;
         gap: -300px; 
         padding: 0;
         margin: 0;
        }*/

            section {
                padding: 0px 20px 20px 20px;
                padding-bottom: 100px;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                max-width: auto;
                margin-right: 40px;
            }

            .project-section {
             flex-direction: column;
             align-items: flex-start;
             max-width: auto;
             margin: auto;
            }

            .bio,
            .contact-info {
                text-align: left;
                margin-left: 0;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .gallery-item {
                aspect-ratio: auto;
                width: 100%;
            }

            .gallery-item img,
            .gallery-item video {
                height: auto;
                width: 100%;
            }

            #home {
                flex-direction: flex;
                position: relative;
                margin-right: 900px;
                margin-top: 120px;
            }

            .logo-main {
                width: 70px;
                text-align: left;
                margin-top: 0px;
            }

            .nomprenom{
                width: 340px;
                display: flex;
                flex-direction: column;
            }

            .dateprojet {
             color: var(--dore);
             font-size: 24px;
             font-weight: 100;
             display: flex;
             text-align: left;
             line-height: 1.4;
             font-style: italic;
             margin-top: 8px;
            } 

            .soustitre {
                color: var(--rose);
                font-size: 20px;
                font-weight: 900;
                text-align: left;
                margin-top: 8px;
                line-height: 1;
            }

            .labeur {
                color: var(--beige);
                font-size: 14px;
                font-weight: 400;
                text-align: left;
                line-height: 1.6;
            } 

            .labeur br {
             display: none;
            }

            .soustitrebeige {
                color: var(--beige);
                font-size: 24px;
                font-weight: 700;
                display: flex;
                text-align: left;
                line-height: 1.6;
                margin-top: 0px;
                max-width: 400px;
                margin-bottom: 0px;
                margin-top: 60px;
            }

            .labeurrose {
                color: var(--rose);
                font-size: 16px;
                font-weight: 400;
                text-align: left;
                line-height: 1.6;
                margin-top: 16px;
                max-width: 400px;
            } 

            .competences {
                color: var(--orange);
                font-style: italic;
                margin-top: 8px;
                max-width: 380px;
            } 

            .soustitrecv{
                transition: transform 0.3s ease;
                display: flex;       
                flex-direction: column;
                max-height: 110px;
            }

            .animated-banner {
                bottom: 0;
                left: 0;
                height: 40px;
                width: auto;
                overflow: hidden;
                z-index: 999;
            }
        }




        /* PETIT ECRAN */
        @media (max-width: 380px) {

            section {
                padding: 0px 20px 20px 20px;
                padding-bottom: 100px;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                max-width: 100%;
            }

            .project-section {
             flex-direction: column;
             grid-template-columns: 295px;
            }

           .project-section .titre {
             height: auto;
             max-height: 130px;
             margin-bottom: 8px;
            }

            .gallery-grid {
                grid-template-columns: 295px;
                gap: 15px;
            }

            .gallery-item {
                aspect-ratio: auto;
                width: 100%;
            }

            .gallery-item img,
            .gallery-item video {
                height: auto;
                width: 100%;
            }

            .soustitrecv{
                transition: transform 0.3s ease;
                display: flex;       
                flex-direction: column;
                max-height: 80px;
            }

            .nomprenom{
                width: 280px;
                display: flex;
                flex-direction: column;
            }

            .soustitre {
                color: var(--rose);
                font-size: 20px;
                font-weight: 900;
                text-align: left;
                margin-top: 8px;
                line-height: 1;
            }

            .labeur {
                color: var(--beige);
                font-size: 14px;
                font-weight: 400;
                text-align: left;
                line-height: 1.6;
            } 

            .soustitrebeige {
                color: var(--beige);
                font-size: 24px;
                font-weight: 700;
                display: flex;
                text-align: left;
                line-height: 1.4;
                margin-top: 0px;
                max-width: 330px;
                margin-bottom: 0px;
                margin-top: 60px;
            }

            .labeurrose {
                color: var(--rose);
                font-size: 16px;
                font-weight: 400;
                text-align: left;
                line-height: 1.6;
                margin-top: 16px;
                max-width: 330px;
            } 

            .competences {
                color: var(--orange);
                font-style: italic;
                margin-top: 8px;
                max-width: 300px;
            } 

            .animated-banner {
                bottom: 0;
                left: 0;
                height: 30px;
                width: auto;
                overflow: hidden;
                z-index: 999;
            }
}



        
        /* SLIDER IMAGES */

            <meta name="viewport" content="width=device-width, initial-scale=1">
            <style>
            * {box-sizing: border-box;}
            body {font-family: poppins, sans-serif;}
            .mySlides {display: none;}
            img {vertical-align: middle;}

        /* Slideshow container */
         .slideshow-container {
         max-width: 1000px;
         position: relative;
         margin: auto;
        }

        .slideshow-container video {
          border-radius: 8px;
        }

        /* Caption text */
         .text {
         color: #f2f2f2;
         font-size: 15px;
         padding: 8px 12px;
         position: absolute;
          bottom: 8px;
          width: 100%;
         text-align: center;
        }


        /* The dots/bullets/indicators */
        .dot {
         height: 15px;
         width: 15px;
         margin: 0 2px;
         background-color: var(--rouge);
         border-radius: 50%;
         display: inline-block;
         transition: background-color 0.6s ease;
        }

        .active {
         background-color: var(--rose)
        }

        /* Fading animation */
         .fade {
         animation-name: fade;
          animation-duration: 1.5s;
        }

        @keyframes fade {
          from {opacity: .4} 
         to {opacity: 1}
        }

        /* On smaller screens, decrease text size */
         @media only screen and (max-width: 300px) {
        .text {font-size: 11px}
        }


/* Overlay */
  .gallery-item .overlay {
    position: absolute;
    inset: 0; /* top:0;right:0;bottom:0;left:0; */
    background: rgba(242, 53, 123, 0.7); /* couleur du fond */


    color: var(--beige); /* couleur du texte */
    font-size: 1.1rem;
    font-weight: 500;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none; /* laisse passer les clics */
    padding: 12px;
    z-index: 2; /* au-dessus du média */
    transform: translateY(6px);
  }

  /* Apparition au survol (desktop) */
  .gallery-item:hover .overlay,
  .gallery-item.show-overlay .overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .overlay {
    display: flex;
    flex-direction: column; /* empile verticalement */
    gap: 8px; /* espace entre les lignes */
}

/* SLIDER IMAGES */

* {box-sizing: border-box;}
body {font-family: poppins, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: var(--rouge);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: var(--rose);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

/* === CURSEUR PERSONNALISÉ === */
body {
    cursor: url('images/cursor/beige_5.webp') 30 30, auto;
}

/* Curseur au survol des liens et éléments cliquables */
a, 
button, 
.dot,
.navigation img {
    cursor: url('images/cursor/rose_5.webp') 30 30, pointer !important;
}

/* Curseur au survol des vidéos / images / nav */
img:hover,
video:hover {
    cursor: url('images/cursor/vert_11.webp') 30 30, pointer !important;
}
