/* RESET DE BASE */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    color: white;
    box-sizing: border-box;
}

@font-face {
    font-family: "sublimgrav";
    src: url("../assets/font/LHF_Convecta_BASE.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* NAVBAR */
.desktop-only{
    display: block;
}

.mobile-only{
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 1000;
    transition: transform 0.4s ease-in-out;
}

.logo {
    font-size: 2em;
    font-weight: bold;
    font-family: "sublimgrav";
}

.logo .red {
    color: red;
}

.nav-links ul {
    display: flex;
    align-items: center;
}

.nav-links ul li {
    position: relative; 
    margin: 0 30px;
}

.navbar .menu-burger {
    display: none;
    position: absolute;
    top: 50px;
    right: 50px;
    width: 35px;
}

/* Effet ligne sous les liens */
.nav-links > ul > li::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: red;
    transition: width .3s;
}

.nav-links > ul > li:hover::after {
    width: 100%;
}

/* SOUS-MENU */
.sous {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(79, 22, 22);
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
    min-width: 180px;
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.sous li {
    opacity: 0;
    transform: translateX(-10px);
    margin: 0;
    padding: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sous li a {
    display: block; 
    padding: 10px 20px;
    width: 100%;
}

/* Apparition du sous-menu */
.atelier:hover .sous {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Animation en cascade des items */
.atelier:hover .sous li {
    opacity: 1;
    transform: translateX(0);
}

.sous li:nth-child(1) { transition-delay: 0.05s; }
.sous li:nth-child(2) { transition-delay: 0.10s; }
.sous li:nth-child(3) { transition-delay: 0.15s; }
.sous li:nth-child(4) { transition-delay: 0.20s; }
.sous li:nth-child(5) { transition-delay: 0.25s; }

.sous li:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* SOUS-MENU 2 */

.sous2 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(79, 22, 22);
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
    min-width: 180px;
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.sous2 li {
    opacity: 0;
    transform: translateX(-10px);
    margin: 0;
    padding: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sous2 li a {
    display: block;
    padding: 10px 20px;
    width: 100%;
}

/* Apparition du sous-menu */
.produits:hover .sous2 {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Animation en cascade des items */
.produits:hover .sous2 li {
    opacity: 1;
    transform: translateX(0);
}

.sous2 li:nth-child(1) { transition-delay: 0.05s; }
.sous2 li:nth-child(2) { transition-delay: 0.10s; }
.sous2 li:nth-child(3) { transition-delay: 0.15s; }
.sous2 li:nth-child(4) { transition-delay: 0.20s; }
.sous2 li:nth-child(5) { transition-delay: 0.25s; }

.sous2 li:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* === SLIDER === */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slides {
    position: relative; 
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
}

.slide.active {
    opacity: 1; 
    z-index: 1;
}

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

.text-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%; 
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.text-slide h2 {
    font-size: 3rem;
}

.text-slide h6 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* en savoir plus */
.plus {
    border: 1px solid white;
    font-size: 20px;
    padding: 8px 15px;
    background-color: rgba(0,0,0,0.5);
    transition: background 0.3s;
}

.plus:hover {
    background-color: grey;
}

/* dots */

.dots {
    position: absolute;
    top: 50%;                 
    right: 20px;               
    transform: translateY(-50%); 
    display: flex;
    flex-direction: column;    
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

.scroll {
    position: absolute;
    top: 95%;
    left: 50%;
    cursor: pointer;
    z-index: 1;
    transition: transform 0.3s;
}

.scroll h1:hover {
    color: red;
    transform: translateY(-5px);
}

/* PARTENAIRES */
.partenaires {
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    margin: 150px 0;
    gap: 150px;
}

.partenaires h1 {
    color: black;
    margin-bottom: 20px;
}

.partenaires img {
    height: 150px;
    width: 300px;
    margin: 0 20px;
}

.partenaires h3 {
    color: black;
    margin-top: 20px;
}

.partenaires-logos {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-top: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(50px); 
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0); 
}

.findus {
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    background: rgb(79, 22, 22);
}
.findus h1{
    left: 40%;
    color: white;
    margin: 150px;

}

.findus-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    gap: 50px; 
    margin-top: 30px;
    flex-wrap: wrap; 
}

.findus-container iframe,
.findus-container img {
    max-width: 600px;
    margin-bottom: 150px;
}

.findus-container img {
    height: 450px;
}

/* xp, client... */

.bginvisible img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out;
}

.bginvisible {
    height: 50vh; 
    display: flex;
    background-color: rgba(0,0,0,0.5); 
    justify-content: center;
    align-items: center;
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    color: white;
    text-align: center;
}

.stat {
    flex: 1;
}

.counter {
    font-size: 3rem;
    font-weight: bold;
}

/* ils nous on fait confiance */

.eux {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 20px; 
    padding: 20px;
    max-width: 100%; 
    overflow: hidden; 
    background: rgb(79, 22, 22);
}

.eux p {
    font-size: 2rem;
    font-weight: bold;
    color: black;
    min-width: 200px;
    text-align: left;
    flex-shrink: 0; 
    color: white;
}

.logo-marquee {
    overflow: hidden;
    flex: 1;
    position: relative;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite; 
}

.logo-track img {
    width: 150px;
    margin: 0 15px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.logo-track img:hover {
    filter: grayscale(0%);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%); 
    }
}

/* Animation de défilement */
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* catalogue */

.catalogue {
    background: white;
    padding: 50px;
}

.catalogue h1 {
    text-align: center;
    color: black;
    margin: 40px 0;
}

.services {
    display: flex;
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap; 
}

.production {
    display: flex;
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap; 
}

.broderie {
    width: 400px;
    height: 600px;
    overflow: hidden;
    border-radius: 7px;
    position: relative;
}

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

.broderie a {
    position: absolute;
    top: 80%;                 
    left: 50%;               
    transform: translateX(-50%); 
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    background: rgb(79, 22, 22);
    width: 50%;
    height: 10%;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.broderie a:hover {
    transform: translateX(-50%) scale(1.1);
}

.flocage {
    width: 400px;
    height: 600px;
    overflow: hidden;
    border-radius: 7px;
    position: relative;
}

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

.flocage a {
    position: absolute;
    top: 80%;                 
    left: 50%;               
    transform: translateX(-50%); 
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    background: rgb(79, 22, 22);
    width: 50%;
    height: 10%;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.flocage a:hover {
    transform: translateX(-50%) scale(1.1);
}

.signaletique {
    width: 400px;
    height: 600px;
    overflow: hidden;
    border-radius: 7px;
    position: relative;
}

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

.signaletique a {
    position: absolute;
    top: 80%;                 
    left: 50%;               
    transform: translateX(-50%); 
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    background: rgb(79, 22, 22);
    width: 50%;
    height: 10%;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.signaletique a:hover {
    transform: translateX(-50%) scale(1.1);
}

.bricolage {
    width: 500px;
    height: 600px;
    overflow: hidden;
    border-radius: 7px;
    position: relative;
}

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

.bricolage a {
    position: absolute;
    top: 80%;                 
    left: 50%;               
    transform: translateX(-50%); 
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    background: rgb(79, 22, 22);
    width: 50%;
    height: 10%;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.bricolage a:hover {
    transform: translateX(-50%) scale(1.1);
}

.vetement {
    width: 500px;
    height: 600px;
    overflow: hidden;
    border-radius: 7px;
    position: relative;
}

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

.vetement a {
    position: absolute;
    top: 80%;                 
    left: 50%;               
    transform: translateX(-50%); 
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    background: rgb(79, 22, 22);
    width: 50%;
    height: 10%;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.vetement a:hover {
    transform: translateX(-50%) scale(1.1);
}


/* trust pilot */

.trustpilot {
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    height: auto;
    padding: 40px 20px;
    width: 100vw;
    background: rgb(79, 22, 22);
    gap: 15px;
}

.trustpilot-widget {
    margin: 0;
    max-width: 500px;
}

.trustpilot p {
    color: white;
    margin: 10px 0 0;
    text-align: center;
}

/* footer */

footer {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    background: grey;
    padding: 20px;
    text-align: center;
    color: black;
}

footer div {
    margin-bottom: 20px; 
}

.logors {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.logors li {
    list-style: none; 
    display: inline-block;
    justify-content: center;
    align-items: center;
    width: 50px;    
    height: 50px;
    background: transparent;
}

.logors img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s;
    flex-direction: row;
}

.logors img:hover {
    transform: scale(1.1); 
}



@media screen and (max-width: 1070px) {
    /* Navbar */
    .desktop-only{
        display: none;
    }
    .mobile-only{
        display: block;
    }
    .navbar {
        padding: 0;
    }

    .logo {
        display: none;
    }

    .navbar .logo {
        position: absolute;
        top: 50px;
        left: 50px;
    }

    .nav-links {
        position: fixed;          
        top: 0;
        left: 0;
        z-index: 1500;
        width: 100vw;
        height: 100vh;
        background: rgba(79, 22, 22, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;      
        transition: margin-left .35s ease;
        overflow-y: auto;         
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        padding: 80px 20px 40px;   
    } 

    .navbar .menu-burger {
        display: block;
        z-index: 2000;           
        position: absolute;
        top: 20px;
        right: 20px;
        width: 35px;
    }

    .nav-links.mobile-menu {
        margin-left: 0;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(560px, 90%);
    }

    .nav-links ul li {
        margin: 25px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links ul li a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .nav-links > ul > li::after {
        display: none !important;
    }

    /* Autres éléments responsive */
    .findus-container,
    .findus-container img {
        width: 90%;
    }

    .findus-container img {
        height: auto;
    }

    .dots {
        position: absolute;
        top: 92%;  
        left: 50%;                        
        transform: translateY(-50%); 
        display: flex;
        flex-direction: row;    
        gap: 10px;
        z-index: 10;
    }

    .map {
        width: 90%;
    }

    .eux {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        overflow: hidden;
    }

    .eux p {
        font-size: 1.5rem;
        text-align: center;
    }

    .logo-track img {
        width: 120px;
        margin: 0 10px;
    }
}

body.menu-open { overflow: hidden;}