
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(85, 61, 48, 0.8);
    backdrop-filter: blur(20px);
    color: white;
    z-index: 10;
    text-align: center;
    padding: 20px 16px;
    box-sizing: border-box;
}

.header.active{
    background-color: rgba(85, 61, 48, 1);
}
.mobile{
    display: flex !important;
}

.desktop{
    display: none !important;
}

.nav-mobile.active {
    opacity: 1;
    visibility: visible;
}

*, ::after, ::before {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

.img-zoom {
    transition: transform .2s; /* Animation de zoom */
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}

a{
    color: inherit;
    text-decoration: inherit;
}

blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: 0;
}

menu, ol, ul {
   
    margin: 0;
    padding: 0;
}

.menu-mobile{
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo-mobile{
    width: 48px;
    height: auto;
}

.main-title{
    font-size: 24px;
    font-family: 'Roustel', serif;
    margin: 0;
    font-weight: 400;
}

.sub-title{
    font-family: 'Inter', serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 15.6px;
    letter-spacing: 0.09em;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}
@media screen and (max-width: 346px) {
    .nav-mobile{
        top: unset !important;
    }
}

.nav-mobile{
    position: fixed;
    top: 91px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px); /* Adjust based on header height */
    background-color: rgba(85, 61, 48, 1);
    backdrop-filter: blur(30px);
    overflow: hidden; /* Prevent scrolling */
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 50px 46px;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}
.nav-list{
    display: flex;
    flex-direction: column;
    list-style: none;
}

.nav-container{
    display: flex;
    flex-direction: column;
    gap: 48px;
    text-align: left;
}

.nav-item{
    font-family: 'Inter', serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 17.28px;
    letter-spacing: 0.09em;
    text-underline-position: 'from-font';
    text-decoration-skip-ink: none;
    text-transform: uppercase;

}

.nav-link, .sub-link {
    position: relative;
    text-decoration: none;
    display: inline-block;
}


.phone-button-margin{
    margin-bottom: 35px;
}
#nav-couteau{
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-menu{
    border-left: 2px solid white;
    padding-left: 24px;
    margin-top: 0px;
    gap: 40px;
    display: flex;
    flex-direction: column;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    height: 0;
}

.sub-menu.active{
    opacity: 1;
    height: auto;
    visibility: visible;
    margin-top: 32px;
    gap: 28px;

}

.sub-item{
    font-family: 'Inter', serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 15.36px;
    letter-spacing: 0.09em;
    text-underline-position: 'from-font';
    text-decoration-skip-ink: none;
    text-transform: uppercase;
}

.btn-2{
    width: 337px;
    padding: 13px 16px;
    gap: 10px;
    border-radius: 100px;
    background-color: rgba(251, 251, 251, 0.8);
    color: rgba(85, 61, 48, 1);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    width: fit-content;

    font-family: 'Inter', serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 19.2px;
    letter-spacing: 0.09em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.btn-2-width{
    width: 100% !important;
}
.btn-2:hover{
    background-color: rgba(214, 155, 125, 1);
}

.btn-2-gammes{
    width: 100%;
    padding: 13px 16px;
    line-height: 16.8px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(20px);
    
}

.hidden{
    display: none;
}
.body-background {
    height: 100vh;
    background-image: url('/assets/images/background_image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    
}


.corps{
    margin:110px 16px 17px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.section-container{
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    justify-content: space-between;
}


.container{
    border-radius: 5px;
    padding: 24px;
    gap: 32px;
    background-color: rgba(85, 61, 48, 0.8);
    backdrop-filter: blur(20px);
    
}

.popup-image-container{
    width: 90%;
}

.burger-button{
    cursor: pointer;
    background-color: transparent;
    margin: 0;
    padding: 0;
    border-width: 0;

}

.container-image{
    padding: 8px;
}
.border-title{
    border-left: 2px solid white;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map {
    width: 100%;  
    height: 100%;
    border: 0;
}

.title{
    font-family: 'Roustel';
    font-size: 28px;
    font-weight: 400;
    line-height: 26.04px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.subtitle{
    font-family: 'Inter', serif;
font-size: 13px;
font-weight: 400;
line-height: 15.48px;
letter-spacing: 0.09em;
text-align: left;
text-underline-position: from-font;
text-decoration-skip-ink: none;
text-transform: uppercase;
}

.corps-texte{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.nav-desktop{
    display: none;
}

.text-classique{
    font-family: 'Inter', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 27.03px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.image-left{
    border-radius: 5px;
    overflow: hidden;
    height:100%
}
.image-right{
    border-radius: 5px;
    overflow: hidden;
    height:100%
}

.image-gammes-couteau{
    border-radius: 5px;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.img-container{ 
    width: 100%;
    height: 100%;
    object-fit : cover;
}

.contact-info{
    display: flex;
    gap: 12px;

}

.contact-container-orange{
    height: 76px;
    width: 56px;
    padding: 0 16px;
    flex-shrink: 0;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--acc-orange);
}

.contact-icon{
    width: 24px;
    height: 24px;
}

.contact-text-between{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-text-center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex-grow: 1; 
    min-width: 0;
}

.h3-contact{
    font-family: 'Inter', serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19.2px;
    letter-spacing: 0.09em;
    text-underline-position: 'from-font';
    text-decoration-skip-ink: none;
    color: var(--acc-orange);
    text-transform: uppercase;
}  

.p-contact{
    font-family: 'Inter', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 23.46px;
    text-underline-position: 'from-font';
    text-decoration-skip-ink: none;
    color: white;
    word-wrap: break-word;
    word-break: break-word;
}

.formulaire{
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yes-1200{
    display: none !important;
}

.input{
    background-color: rgba(251, 251, 251, 0.8);
    padding: 15px 17px;
    gap: 10px;
    border-radius: 5px;
    width: 100%;
    font-family: 'Inter', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 23.46px;
    text-align: left;
    text-underline-position: 'from-font';
    text-decoration-skip-ink: none;
    color: rgba(85, 61, 48, 1);
}
.input::placeholder {
    color: rgba(85, 61, 48, 0.6);
    font-family: 'Inter', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 23.46px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.formation-complete-subtitle{
    font-family: 'Inter', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 15.36px;
    letter-spacing: 0.09em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-top: 32px;
    margin-bottom: 24px;
    text-transform: uppercase;

}

.formation-text-mini{
    font-family: 'Inter', serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    line-height: 20.67px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

    margin-top: 24px;
    
}

.ul-formation{
    display: flex;
    flex-direction: column;
    gap: 8px;
    
    list-style-type: none;
}

.formation-francois{
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 36px;
    
}

.formation-type{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.formation-type-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.formation-complete-prix{
    font-family: 'Inter', serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 19.11px;
    letter-spacing: 0.09em;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    text-transform: uppercase;
    color: rgba(251, 251, 251, 0.8);
}


.gammes-navigation{
    background-color: rgba(85, 61, 48, 0.8);
    padding: 4px 12px;
    border-radius: 50px;
    font-family: 'Inter', serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 13.31px;
    letter-spacing: 0.09em;
    text-align: left;
    text-underline-position: 'from-font';
    text-decoration-skip-ink: none;
    color: rgba(251, 251, 251, 0.8);
    text-transform: uppercase;
    display: flex;
    gap: 8px;
}

.icon-loupe{
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(85, 61, 48, 0.8);
    backdrop-filter: blur(20px);
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.couteau-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 8px;
    gap: 8px;
}

.couteau-images{
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

.couteau-container-atout{
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 24px;
    gap: 24px;
}

.couteau-icone-text{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    flex-basis: 25%;
    font-family: "Inter";
font-size: 12px;
font-weight: 600;
line-height: 14.52px;
letter-spacing: 0.09em;
text-align: center;
text-underline-position: 'from-font';
text-decoration-skip-ink: none;
text-transform: uppercase;

}

.invisible{
    display: none !important;
}

.visible{
    display: flex !important;
}

.popup-image {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 50;
}

.popup-cross {
    position: absolute;
    top: 16px;
    right: 16px;
    color: black;
    background-color: rgba(85, 61, 48, 0.8);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
}

.popup-switch-left{
    position: absolute;
    top: 50%;
    left: 16px;
    color: black;
    background-color: rgba(85, 61, 48, 0.8);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}

.popup-switch-right{
    position: absolute;
    top: 50%;
    right: 16px;
    color: black;
    background-color: rgba(85, 61, 48, 0.8);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    -webkit-appearance: none;
    appearance: none;
}

.footer {
    background-color: rgba(85, 61, 48, 0.8);
    backdrop-filter: blur(20px);
    color: white;
    font-size: 14px;
    text-align: center;
    padding: 1rem 2rem;
    z-index: 10;
    font-family: 'Inter', serif, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: max-content;
    gap: 0 16px; /* 4 * 4px (default gap unit) */
}


.position-button{
    position: absolute;
    padding:0 5px;
    bottom: 9px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-container-reverse{
    flex-direction: column;
    gap: 20px;
}


@media screen and (min-width: 768px) {
    .header{
        padding: 20px 32px 20px 32px;
    }

    .size-zoom{
        width: 80vh;
    }

    .phone-button-margin{
        margin-top: 0px;
    }
    #send-message{
        width: 100%;
    }
    .center-corps{
        width: 100%; justify-content: center; display: flex; min-height: calc(100vh - 60px);
    }

    .corps{
        max-width: 824px;
        margin:110px 100px 55px 100px;
        gap: 32px;
    }
    .couteau-container-atout{
        display: flex;
        
    }
    .nav-mobile{
        left:auto;
        right: 0;
        width: 50%;
        top: 90px;
        align-items: start;
       
    }
    .container{
        padding: 32px;
        max-width: 100%;
    }

    .container-image{
        padding: 16px;
    }

    .popup-image-container{
        width: auto;
    }

    .image-gammes-couteau{
        max-height: 390px;
    }

    .contact-container-orange{
        width: 74px;
        height: 74px;
    }

    .contact-icon{
        width: 32px;
        height: 32px;
    }

    .map {
        width: 100%;  
        border: 0;
    }

    .btn-2-formation{
        width: 100% !important;
    }

    .corps-texte{
        gap: 32px;
    }
    
    .btn-2-gammes{
        width: fit-content;
    }

    .position-button{
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        padding-right: 13px;
    }
    
    .formation-type{
        gap: 32px;
    }

    .couteau-images{
        max-height: 122px;
        object-fit: cover;
        object-position: center;
    }

    .icon-loupe{
        width: 36px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .gammes-navigation{
        margin-bottom: -16px;
    }

    .section-container{
        gap: 32px;
    }

    .logo-home{
        width: 386px;
        height: auto;
    }
    /* Add your styles here */

    #bignon-regard-percant{
        object-position: 50% 22%;

    }

    .couteau-grid{
        gap: 16px;
    }

    #lightbox-image{
        height: 80vh;
    }
}

@media screen and (min-width: 1200px) {
    .flex-basis-40{
        flex-basis: 40%;
    }
    .flex-basis-60{
        flex-basis: 60%;
    }

    .no-1200{
        display: none !important;
    }

    .image-no-bottom-rounded{
        border-bottom-right-radius: 0px !important;
    }
    .yes-1200{
        display: flex !important;
        justify-content: space-between;
    }

    .corps{
        max-width: 1120px;
        margin: 180px 30px 106px 30px;
    }


    .title{
        font-size: 36px;
        line-height: 33.48px;
    }

    .corps-texte{
        gap: 16px;
    }

    .section-container{
        height: 100%;
        flex-direction: row;
    }

    .radius-left{
        border-radius: 50px 5px ;
    }

    .radius-right{
        border-radius: 5px 50px ;
    }

    .image-left{
        
        border-radius: 34px 5px;
    }

    .image-right{
        
        border-radius: 5px 34px;
    }


    .container-image-formation{
        width: 100%;
        height: 100%; /* Le conteneur occupe toute la hauteur disponible */
        display: flex;
        align-items: center; /* Centre le contenu verticalement */
        justify-content: center; /* Centre le contenu horizontalement */
        overflow: hidden; /* Cache le contenu qui dépasse */
    }

    .corps-texte-formation{
        gap: 32px;
        align-items: flex-end;
    }

    .btn-2-formation{
        width: fit-content !important;
    }

    .nav-mobile{
        display: none;
    }

    .nav-desktop{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .burger-button{
        display: none;
    }

    .title-app{
        display: none;
    }

    .menu-mobile{
        display: none;
    }
    .nav-list-desktop{
        display: flex;
        gap: 32px;
        list-style: none;
    }

    .nav-link:hover, .sub-link:hover{
        color: rgba(225, 204, 139, 1);
    }
    
    .nav-link::after, .sub-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px; /* Ajuste la position de l'underline */
        width: 0;
        height: 2px; /* Épaisseur de la ligne */
        background-color: rgba(225, 204, 139, 1);
        color: rgba(225, 204, 139, 1);
        transition: width 0.3s ease-out;
    }
    
    .nav-link:hover::after, .sub-link:hover::after {
        width: 100%;
    }


    .nav-item{
        font-size: 16px;
        line-height: 15.36px;
    }

    .formation-francois{
        flex-direction: row;
        gap: 32px;
    }

    .img-formation-complete-atelier{
        width: 425px;
        max-width: max-content;
    }

    .container-rounded-top{
        border-radius: 50px 50px 5px 5px;
        width: 100%;
    }

    .formation-type{
        display: flex;
        flex-direction: row;
        
        gap: 16px;
        align-items: stretch;
    }

    .formation-type-title{
        gap: 1px;
    }

    .formation-complete-subtitle{
        font-size: 20px;
        line-height: 19.2px;
    }

    .formation-complete-prix{
        font-size: 16px;
        line-height: 23.52px;
    }

    .flex-1{
        flex: 1;
    }

    .container-width-full{
        width: 100%;
    }

    .container-height-full{
        height: 100%;
    }

    .corps-grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    #gammes-couteau{height: 352px;}

    .mobile{
        display: none !important;
    }

    .desktop{
        display: flex !important;
    }

    #formulaire-contact{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 32px;
    }

    .formulaire{
        margin-top: 0px;
    }

    #image-principale-couteau{
        height: 100%;
    }
    
    .image-principale-loupe{
        height: 84%;
    }

    .couteau-container-atout{
        padding: 24px;   
    }

    #image-grid-last-rounded-right{
        border-bottom-right-radius: 34px;
    }

    .gammes-navigation{
        width: fit-content;
    }

    .footer{
        flex-direction: row;
        justify-content: space-between;
    }

    .separator {
        width: 100%;
        height: 2px; /* Épaisseur de la ligne */
        background: linear-gradient(to right, 
    transparent 0%,         /* Départ transparent */
    rgba(255, 255, 255, 0.5) 40%, /* Dégradé semi-transparent */
    #ffffff 50%,             /* Blanc au centre */
    rgba(255, 255, 255, 0.5) 60%, /* Retour au dégradé semi-transparent */
    transparent 100%         /* Fin transparent */
  );
        margin: 0 20px; /* Espacement vertical */
        border: none;
      }
    
    .nav-link.underline{
       text-decoration: underline;
    }

    .submenu-desktop-separator{
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        width: 0;
        top: 91px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        z-index: -2;
        color: transparent;
    }

    .submenu-desktop-separator.active{
        opacity: 1;
        width: 100%;
        color: white;
    }

    .sub-menu{
        flex-direction: row;
        left: 0;
        border-left: 0px;
        width: 100%;
        justify-content: space-around;
        padding-left: 0px;
        background-color: rgba(85, 61, 48, 0.8);
        padding: 24px 20px ;
        margin-top: 0px;
        visibility: visible;
	opacity: 1;
	height:auto;
    }

    .main-title{
        font-size: 35px;
    }

    #lightbox-image{
        height: 70vh;
    }
}

@media screen and (min-width: 1440px){
    .corps{
        max-width: 1500px;
        min-width: 1200px;
    }


    
    #gammes-couteau{height: 400px;}

   
    .couteau-container-atout{
        padding: 32px;   
    }

    .title-app{
        display: block;
    }

    .icone-text{
        display: flex; 
        align-items: center;
        gap: 22px;
      
    }

    .logo-mobile{
        width: 56px;
        height: 56px;
    }

    .main-title{
        font-size: 24px;
    }

    .formation-francois{
        align-items: normal;
    }
    
    .img-formation-complete-atelier{
        width: 660px;
    }

    #bignon-regard-percant{
        height: 510px;
    }

    .nav-desktop{
        padding: 0px;
    }

    .submenu-desktop-separator{
        top: 94px;
    }

    .separator {
        margin: 0;
      }

      
    .no-1200{
        display: flex !important;
    }

    .yes-1200{
        display: none !important;
    }

    .h2-ml{
        font-family: 'Inter', serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 19.2px;
        letter-spacing: 9%;
        margin-bottom: 24px;
    }

    .title-obj-tranchant{
        font-family: 'Inter', serif;
        font-weight: 700;
        font-size: 24px;
        line-height: 23.04px;
        letter-spacing: 9%;
        text-align: center;

    }

    .image-principale-loupe{
        height: 82%;
    }
}

@media screen and (min-width:1500px) {
    .image-principale-loupe{
        height: 80%;
    }
}