html{
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
}

@font-face {
    font-family: "Montserrat";
    src: url("../../Montserrat.ttf") format("ttf");
    font-display: swap;
}

body {
    font-family: Arial, sans-serif;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    background: url('../../Images/Fond.webp') no-repeat center center/cover;
    background-attachment: fixed; /* Ajout de cette ligne pour fixer le fond */
    background-repeat: repeat; 
    background-color: #1B1B1B;

    font-family: "Montserrat", serif;
    color: #C4C4C4;
    
}

#trait-horizontal{
    width: 90vw;
    height: 2px;
    margin-bottom: 20px;
    background-color: #C4C4C4;
}


a, a:link, a:visited {
    text-decoration: none !important;
    color: inherit !important;
}


#h1-titre{
    color: #C46200;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    font-family: "Montserrat", serif;
    margin-top: 40px;
    margin-bottom: 5px;

}

#h2-titre{
    color: #C46200;
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    font-family: "Montserrat", serif;
    margin-bottom: 40px;

}

#p-texte{
    color:#C4C4C4;
    font-size: 20px;
    font-weight: 500;
    text-align:justify;
    margin-right: 20vw;
    margin-left: 20vw;
    font-family: "Montserrat", serif;
    margin-bottom: 40px;
}

#iframe{
    display: flex;
    align-items: center;
    justify-content: center;
}

iframe{
    width: 60vw;
    height: 35vw;
}



.menu-button {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(34, 34, 34, 0.0);
    color: #C46200;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 38px;
    border-radius: 5px;
    z-index: 1000;

}
.menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #222;
    color: #C46200;
    padding: 20px;
    transition: left 0.3s ease-in-out;
    z-index: 999;

}
.menu-button:hover {
    color: #ffb266 ;

}

.menu.active {
    left: 0;
}
.menu ul {
    margin-top: 35%;
    list-style: none;
    padding: 0;
}
.menu li {
    width: max-content;
    margin: 20px 0;
    cursor: pointer;
    font-family: "Montserrat", serif;
    font-weight: bolder;
    text-decoration: none;
    cursor: pointer;
}
.menu li:hover {

    color: #ffb266;
    font-family: "Montserrat", serif;

}

.menu li {
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Animation d'apparition */
.menu.active li {
    opacity: 1;
    transform: translateX(0);
}

/* Ajout du délai progressif */
.menu.active li:nth-child(1) { transition-delay: 0.1s; }
.menu.active li:nth-child(2) { transition-delay: 0.2s; }
.menu.active li:nth-child(3) { transition-delay: 0.3s; }
.menu.active li:nth-child(4) { transition-delay: 0.4s; }
.menu.active li:nth-child(5) { transition-delay: 0.5s; }
.menu.active li:nth-child(6) { transition-delay: 0.6s; }
.menu.active li:nth-child(7) { transition-delay: 0.7s; }

/* ----- ANIMATION UNDERLINE ----- */
.menu li::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Distance sous le texte */
    left: 50%;
    width: 0%;
    height: 3px;
    background-color: #ffb266; /* Couleur du trait */
    transition: width 0.2s ease-in-out, left 0.2s ease-in-out;
}

/* Effet au survol */
.menu li:hover::after {
    width: 100%;
    left: 0;
}






        
/* Animation d'apparition */
#menu-pc.active li {
    opacity: 1;
    transform: translateX(0);
}

/* Ajout du délai progressif */
#menu-pc.active li:nth-child(1) { transition-delay: 0.1s; }
#menu-pc.active li:nth-child(2) { transition-delay: 0.2s; }
#menu-pc.active li:nth-child(3) { transition-delay: 0.3s; }
#menu-pc.active li:nth-child(4) { transition-delay: 0.4s; }
#menu-pc.active li:nth-child(5) { transition-delay: 0.5s; }
#menu-pc.active li:nth-child(6) { transition-delay: 0.6s; }

/* ----- ANIMATION UNDERLINE ----- */
#menu-pc li::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Distance sous le texte */
    left: 50%;
    width: 0%;
    height: 3px;
    background-color: #ffb266; /* Couleur du trait */
    transition: width 0.2s ease-in-out, left 0.2s ease-in-out;
}

/* Effet au survol */
#menu-pc li:hover::after {
    width: 100%;
    left: 0;
}

#header-pc li{

    color: #C4C4C4;
    text-decoration: none;
    list-style-type: none;
    display: flex;
    position: relative;
    margin: 2vw;
    font-size: 17px;
    font-family: "Montserrat", serif;
    font-weight: 600;
    color: #C46200;
    width: max-content;
    cursor: pointer;

}

#header-pc li:hover{
    color: #ffb266;
    font-family: "Montserrat", serif;
}

#header-pc ul{

    display: flex;
    position: relative;
    align-items: center;
    margin-top: 2vh;
}

#header-pc {
    display: flex;
    justify-content: center; /* Centre les éléments horizontalement */
    width: 100%; /* Assure que le header prend toute la largeur */
    align-items: center; /* Centre verticalement également */
}



#logo-header{
    max-width: 170px;
    
}

footer{
    
    width: 100vw;
    margin-top: 40px;
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    display: grid;
    place-items: center;
}

#ligne-footer{
    margin-top: 40px;
    width: 2px;
    height: 30vh;
    background-color: #C4C4C4; 
    margin-left: 300px; 
    margin-right: 300px; 
}

#colonne-footer{
    display: flex;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    
}

#h4-contact{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:bold;
    font-size: 27px;
    margin-bottom: 40px;
    margin-top: 40px;

}

#p-contact{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:400;
    font-size: 15px;
}

#p-réseaux{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:500;
    font-size: 15px;
}

#icone-footer{
    max-width: 35px;

}

#logo-footer{
    max-width: 120px;
}

#réseaux-tel{
    display: none;
}

#header-footer{
    display: none;
}

#p-copy{
    display: block;
}

#p-copy-tel{
    display: none;
}

#header-pc{
    display: flex;
}

#header-tel{
    display: none;
}

#content {
    display: flex;
    justify-content: center;
    align-items: center;
  }

#container{
    margin: 60px;
    display: block;
    justify-content: center;
    overflow: hidden;
    height: 28vw;
    width: 50vw;
    align-items: left;
}

#img-container{
    height: 28vw;
    width: 50vw;

    border-radius: 10px;

}

.text-section {
    position: absolute;

    background: #d37021;
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    padding-right: 40px;
    color: #1B1B1B;
    font-family: Arial, sans-serif;
    height: 28vw;
    width: 20vw;
    border-radius: 10px;

}
.text-section h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    font-family: "Montserrat", serif;

}
.text-section p {
    margin-top: 20px;
    margin: 5px 0 0;
    font-size: 18px;
    opacity: 0.8;
    font-weight: 500;
    font-family: "Montserrat", serif;


}


@media (max-width: 767px) { 
    
#avis-clients{
    font-size: 30px;
    margin-top: 20px;
}

#colonne-footer{
    display: none;
}

#competence{
    display: block;
    margin-bottom: 0;
}

#competence1, #competence2, #competence3{
    width: 80vw;
    height: 70vh;
    margin-bottom: 15vh;
}

footer{
    padding-left: 0; /* Reset le padding pour mobile */
    display: block;
    justify-content: left;
    align-items: left;
    text-align: left;
    padding: 20px;  /* Exemple de padding pour le contenu */
}

#trait-horizontal{
    margin-top: 0;

}

#réseaux-tel{
    display: block;
    justify-content: center;    /* Centre le div lui-même horizontalement */
    align-items: center;        /* Centre le div lui-même verticalement */
    position: relative;
    width: 100%;                /* Prend 100% de la largeur de son parent */
    height: 100vh;  
    font-size: 10px;
    margin-bottom: 0;
    height: 20px;
}

#header-footer{
    display: block;
    margin-top: 5vh;
    font-size: 10px;
    font-weight: 400;
    text-align: left;
}

#p-header-footer{
    color: #C4C4C4;
    font-family: "Montserrat", serif;
    font-weight:400;
    font-size: 10px;
    text-align: left;

}

#p-h-f{
    color: #C4C4C4;
    align-items: left;
    font-size: 10px;
    font-weight: 400;
}


#icone-footer{
    max-width: 30px;
    margin-bottom: 20px;
}

#p-copy{
    display: none;
}

#p-copy-tel{
    display: block;
    align-items: center;
    text-align: center;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
}



#header-pc{
    display: none;
}

#header-tel{
    display: block;
}

.text-section h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: "Montserrat", serif;

}
.text-section p {
    margin-top: 20px;
    margin: 5px 0 0;
    font-size: 10px;
    opacity: 0.8;
    font-weight: 500;
    font-family: "Montserrat", serif;


}

.text-section {
    position: absolute;

    background: #d37021;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    padding-right: 40px;    color: #1B1B1B;
    font-family: Arial, sans-serif;
    height: 38vw;
    width: 32vw;
    border-radius: 10px;

}

#container{
    margin: 30px;
    display: block;
    justify-content: center;
    overflow: hidden;
    height: 38vw;
    width: 70vw;
    align-items: left;
}

#img-container{
    height: 38vw;
    width: 70vw;

    border-radius: 10px;

}


#h1-titre{
    color: #C46200;
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    font-family: "Montserrat", serif;
    margin-top: 40px;
    margin-bottom: 5px;

}

#h2-titre{
    color: #C46200;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    font-family: "Montserrat", serif;
    margin-bottom: 40px;

}

#p-texte{
    color:#C4C4C4;
    font-size: 10px;
    font-weight: 500;
    text-align:justify;
    margin-right: 15vw;
    margin-left: 15vw;
    font-family: "Montserrat", serif;
    margin-bottom: 40px;
}


 }

 @media (min-width: 768px) and (max-width: 1045px){    

    #header-pc{
        display: none;
    }

    #header-tel{
        display: block;
    }






    #avis-clients{
        font-size: 30px;
        margin-top: 20px;
    }
    
    #colonne-footer{
        display: none;
    }
    
    #competence{
        display: block;
        margin-bottom: 0;
    }
    
    #competence1, #competence2, #competence3{
        width: 80vw;
        height: 70vh;
        margin-bottom: 15vh;
    }
    
    footer{
        padding-left: 0; /* Reset le padding pour mobile */
        display: block;
        justify-content: left;
        align-items: left;
        text-align: left;
        padding: 20px;  /* Exemple de padding pour le contenu */
    }
    
    #trait-horizontal{
        margin-top: 0;
    
    }
    
    #réseaux-tel{
        display: block;
        justify-content: center;    /* Centre le div lui-même horizontalement */
        align-items: center;        /* Centre le div lui-même verticalement */
        position: relative;
        width: 100%;                /* Prend 100% de la largeur de son parent */
        height: 100vh;  
        font-size: 10px;
        margin-top: 10vh;
        margin-bottom: 0;
        height: 20px;
    }
    
    #header-footer{
        display: block;
        margin-top: 5vh;
        font-size: 15px;
        font-weight: 400;
        text-align: left;
    }
    
    #p-header-footer{
        color: #C4C4C4;
        font-family: "Montserrat", serif;
        font-weight:400;
        font-size: 15px;
        text-align: left;
    }
    
    #p-h-f{
        color: #C4C4C4;
        align-items: left;
        font-size: 15px;
        font-weight: 400;
    }
 
    
    #icone-footer{
        max-width: 30px;
        margin-bottom: 20px;
    }
    
    #p-copy{
        display: none;
    }
    
    #p-copy-tel{
        display: block;
        align-items: center;
        text-align: center;
        font-weight: 700;
        margin-top: 50px;
        margin-bottom: 20px;
    }


    .text-section {
        position: absolute;
    
        background: #d37021;
        clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 20px;
        padding-right: 40px;        color: #1B1B1B;
        font-family: Arial, sans-serif;
        height: 28vw;
        width: 22vw;
        border-radius: 10px;
    
    }
    .text-section h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
        font-family: "Montserrat", serif;
    
    }
    .text-section p {
        margin-top: 20px;
        margin: 5px 0 0;
        font-size: 14px;
        opacity: 0.8;
        font-weight: 500;
        font-family: "Montserrat", serif;
    
    
    }

    #h1-titre{
        color: #C46200;
        font-size: 30px;
        font-weight: 600;
        text-align: center;
        font-family: "Montserrat", serif;
        margin-top: 40px;
        margin-bottom: 5px;
    
    }
    
    #h2-titre{
        color: #C46200;
        font-size: 23px;
        font-weight: 500;
        text-align: center;
        font-family: "Montserrat", serif;
        margin-bottom: 40px;
    
    }
    
    #p-texte{
        color:#C4C4C4;
        font-size: 15px;
        font-weight: 500;
        text-align:justify;
        margin-right: 15vw;
        margin-left: 15vw;
        font-family: "Montserrat", serif;
        margin-bottom: 40px;
    }

    
    
     }


     
/* Fil d'Ariane */
.fil-ariane {
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 3vh auto 0;
    padding: 10px 22px;
    font-family: "Montserrat", serif;
    font-size: 14px;
    background: rgba(15, 15, 15, 0.55);
    border: 1px solid rgba(196, 98, 0, 0.3);
    border-radius: 99px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.fil-ariane a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #EDEDED !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

.fil-ariane a:hover {
    color: #ffb266;
}

.fil-ariane-icon {
    flex-shrink: 0;
}

.fil-ariane-sep {
    color: #C46200;
    opacity: 0.7;
    font-size: 12px;
}

.fil-ariane-current {
    color: #ffb266;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .fil-ariane {
        font-size: 12px;
        margin-top: 72px;
        gap: 6px;
        padding: 8px 16px;
    }
}

/* Regroupement nav "Mes réalisations" */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a::after {
    content: " \25BE";
    font-size: 12px;
}

.nav-submenu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #1B1B1B;
    border: 1px solid rgba(196, 98, 0, 0.3);
    border-radius: 10px;
    padding: 8px !important;
    min-width: 180px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    z-index: 50;
    list-style: none !important;
    margin: 0 !important;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
    display: block !important;
}

.nav-submenu li {
    margin: 0 !important;
    width: 100% !important;
}

.nav-submenu li a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 6px;
    color: #C4C4C4 !important;
}

@media (hover: hover) and (pointer: fine) {
    .nav-submenu li a:hover {
        background: rgba(196, 98, 0, 0.15);
        color: #ffb266 !important;
    }
}

.nav-submenu li a:active {
    background: rgba(196, 98, 0, 0.15);
    color: #ffb266 !important;
}

.nav-dropdown-mobile > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-caret {
    font-size: 12px;
    display: inline-block;
    transition: transform 0.25s ease;
}

.nav-dropdown-mobile.open .nav-caret {
    transform: rotate(180deg);
}

.nav-submenu-mobile {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: max-content !important;
}

.nav-dropdown-mobile.open .nav-submenu-mobile {
    max-height: 300px;
}

.nav-submenu-mobile li {
    margin: 14px 0 0 18px !important;
}

.nav-submenu-mobile li a {
    font-size: 15px;
    font-weight: 500;
    color: #C4C4C4 !important;
}

@media (hover: hover) and (pointer: fine) {
    .nav-submenu-mobile li a:hover {
        color: #ffb266 !important;
    }
}

.nav-submenu-mobile li a:active {
    color: #ffb266 !important;
}

#p-header-footer-label {
    color: #C46200;
    font-family: "Montserrat", serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 10px;
    margin-bottom: 2px;
}

.footer-sub {
    margin-left: 14px !important;
    opacity: 0.85;
}

/* Neutralise le soulignement hérité de l'ancien menu plat sur les nouveaux sous-menus */
.nav-dropdown::after,
.nav-dropdown-mobile::after,
.nav-submenu li::after,
.nav-submenu-mobile li::after {
    content: none !important;
    display: none !important;
}
