/*********/
/*GENERAL*/
/*********/

a{
    font-style: inherit;
    list-style: none;
    text-decoration: none;
    color: inherit;
}

p{
    font-size: 17px;
    font-family: 'Nunito', sans-serif;

}

h1{
    font-size: 30px;
    font-weight: bolder;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    width: 90%;
    margin: auto;
}

body{
    color: black;
    background-color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0px;
    padding: 0px;
    align-items: center;
    justify-content: center;
    overflow-x: hidden; 
    width: 100vw; 
    font-family: 'Nunito', sans-serif;
}

article{
    width: 90vw;
    align-items: center;
    justify-content: center;
    margin: 0px;
    padding: 0px;
    margin-bottom: 10vh;
}

button{
    border: none;
    padding: 15px 0px;
    width: 130px;
    border-radius: 8px;
    text-transform: uppercase;
    color: rgb(61, 61, 61);
    margin: 0px 10px 0px 0px ;
    font-weight: 600;
}


button:hover{
    font-weight: 700;
    text-shadow: 2px 2px 2px grey;
}

/******/
/*MENU*/
/******/

.blanc_bleu{    
    height: 5vh;
    background:#1A4D68;
    position: fixed;
    width: 100%;
    z-index: 10000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bolder;
}

header{
    width: 100vw;
    margin: 0px;
    padding: 0px;
}

.header{
    height: 90vh;
    background-image: url(led_bleu.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    margin-bottom: 10vh;
}

.header_2{
    height: 20vh;
}

nav {
    top: 5vh;
    display: flex;
    flex-direction: row;
    position: fixed;
    width: 100vw;
    font-weight: bolder;
    text-transform: uppercase;
    font-family: 'Nunito';
    z-index: 1000;
    color: white;
    background-color: rgb(0, 0, 0, 0.5);
    transition: background-color 1ms ease;
    align-items: center;
}

.bloc2.visible {
    background-color: white;  /* Couleur lorsqu'elle devient visible */
}

.nav-loaded {
    box-shadow: 1px 1px 20px 0px #2c3e50;
    color: black;
    background-color: white; 
}



nav div {
    text-align: center;
    z-index: 1000;
    display: flex;
    padding: 0px 0px 0px 10px;
}

header ul {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin: auto;
    padding: 0px;
    position: absolute;
    justify-content: center;
    z-index: 2;
    height: 100%;
}

header li:hover{
    border-bottom: 3px solid white;
}

header li{
    margin: 0px 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent;
    list-style: none;
}

header .li-loaded:hover{
    border-bottom: 3px solid black;
}

.text_header {
    top: 20vh;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    height: 60vh;
    flex-direction: column;
}

.text_header img{
    height: 50vh;
}

.text_header h1{
    margin: 0px;
    color: white;
}

header button{
    padding: 20px 0px;
    width: 25vh;
    height: min-content;
    border-radius: 8px;
    margin: 0px 10px 0px 0px;
    max-width: 40vw;
    color: white;
    background: #2c3e50;
    z-index: 100000;
}

#Devis{
    display: none;
}

/**********/
/*Gallerie*/
/**********/

#Gallerie button{
    padding: 20px 0px;
    width: 25vh;
    border-radius: 8px;
    margin: 0px 10px 0px 0px;
    max-width: 40vw;
}

#Led{
    color:white;
    background:#1A4D68;
}

#Plasma{
    background: #1A4D68;
}

.gallerie_Plasma{
    display: none;
}

img.product-image {
    width: 35vw;
    border-radius: 8%;
    margin: 2px;
    margin-top: 10px;
    height: 45vh;
    min-width: 300px;
    min-height: 350px;
    object-fit: cover;
}



/* Conteneur pour image et texte */
#Prestations .sous_gallerie {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    gap: 20px; /* Espace entre les images */
    justify-items: center; /* Centrer les images horizontalement */
    align-items: center; /* Centrer les images verticalement */
    width: 100%;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: auto;
    max-width: 400px; /* Largeur max */
    width: 100%; /* Adapter à la largeur du parent */
}

.image-container img {
    width: 100%; /* Remplit la largeur du conteneur */
    height: 50vh; /* Garde le ratio */
    object-fit: cover; /* Recadre les images */
    border-radius: 8px;
    transition: transform 0.4s ease-in-out;
}

.image-container .info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Fond semi-transparent */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    opacity: 0; /* Caché par défaut */
    transform: translateY(100%); /* En dehors de la vue */
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: 10px;
    box-sizing: border-box;
}

.image-container:hover img {
    transform: scale(1.05); /* Zoom léger */
}

.image-container:hover .info {
    opacity: 1; /* Texte visible */
    transform: translateY(0); /* Texte en vue */
    overflow-y: auto; /* Permet le défilement si le texte dépasse */
}



#Gallerie img:checked{
    width: 150%;
    height:150%;
}

#Gallerie .bloc_button {
    width: 100%;
    border-bottom: 1px solid black;
}

.gallerie_2 button{
    padding: 20px 0px;
    width: 25vh;
    border-radius: 8px;
    margin: 0px 10px 0px 0px;
    max-width: 40vw;
}

.gallerie_2 img {
    width: 20vw;
    border-radius: 8%;
    margin: 2px;
    margin-top: 10px;
    height: 25vw;
    min-width: 300px;
    min-height: 350px;
    object-fit: cover;
}

.gallerie_2 .bloc_button {
    width: 100%;
    border-bottom: 1px solid black;
}

.sous_gallerie img {
    max-width: 400px;
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

/**************/
/*Presentation*/
/**************/

.sous_presentation{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.sous_presentation img{
    width: 30vw;
    height: 35vh;
    object-fit: cover;
    transition: width 1s, height 1s, transform 1s;
    min-width: 300px;
}

.sous_presentation img:hover{
    -ms-transform: scale(1.15); /* IE 9 */
    -webkit-transform: scale(1.15); /* Safari 3-8 */
    transform: scale(1.15); 
}

.presentation_Led img{
    position: relative;
    left: 2vw;
}

.presentation_Plasma img{
    position: relative;
    right: 2vw;
}

section{
    width: 40vw;
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 300px;
}

section p{
    width: 90%;
}

.presentation_Led section{
    background-color: #B0E0F5;
    padding: 15px;
}

.presentation_Plasma section{
    background-color: #E7CBCD;
    padding: 15px;
}


/**********/
/*A PROPOS*/
/**********/

.bloc3{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sous_a_propos{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 70vw;
}

.bloc_button2{
    display: flex;
    flex-direction: column;
    width: 10vw;
    min-width: 200px;
    align-items: center;
}

.bloc_button2 button{
    margin-bottom: 2vh;
    max-width: 15vw;
    min-width: 200px;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.valeurs{
    display: none;
}

.bloc3 i{
    font-size: xx-large;
}

.bloc{
    width: 45%;
    margin: 0vh 3vh;
}

.big_div{
    margin: 0;
    padding: 0;
    display: flex;
    width: 70vw;
    min-width: 400px;
}

#Avantages{
    color:white;
    background:#1A4D68;
}


/***********/
/*PROCESSUS*/
/***********/

.bloc4{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sous_processus{
    display: flex;
    flex-direction: column;
    width: 20vw;
    min-height: 30vh;
    padding: 2vh 5vw;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    align-content: center;
    justify-content: center;
    min-width: 300px;
}

.sous_processus:hover{
    background: radial-gradient(#ffffff 0%, #b5e3f7 15%, #b5e3f7 20%, #ffffff 30%);
}

.sous_processus i{
    color: #2DC1F463;
    font-size: 5em;
}

.sous_processus h4{
    font-size: 2em;
    margin: 20px;
}

.sous_processus p{
    font-size: 20px;
    min-height: 100px;
}



/*************/
/*INFORMATION*/
/*************/

h2{
    width: 100%;
}

.bloc5{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
}

.bloc5 i{
    color: #A73D46;
    font-size:xx-large;
}

.sous_information{
    width: 45%;
    display: flex;
    flex-wrap: wrap;
}

.chiffres{
    width: 30%;
    min-width: 300px;
    margin: auto;
}

.bloc5 img{
    width: 100%;
    height: 100%;
    min-width: 300px;
}


/*************/
/*PRESTATIONS*/
/*************/

.bloc6 {
    background-color: #82CEEF;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 300px;
    align-items: flex-start;
    position: relative;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100vw;
}

.bloc6 h2{
    width: 100%;
}

.box1{
    width: 440px;
    height: 200px;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
}

.prestation_text {
    width: 30%;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    top: -20%;
    left: 3vh;
}

.prestation_images {
    width: 65%;
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    height: 100%;
    top: 25%;
    /*justify-content: flex-end;
    left: 30%;*/
}

.prestation_images img{
    width: 200px;
    height: 300px;
    object-fit: cover;
    margin:0vh 20px;
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 2px 2px 8px 0px grey;
}
  
.slider-1{
    animation: slider-1 12s infinite ease-in-out;
    display: flex;
}


/*********/
/*CONTACT*/
/*********/

.bloc7 {
    background-color: #C8E8F6;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    border-radius: 8px;
    padding: 3vw;
    width: 84vw;
    position: relative;
    min-width: 300px;
    align-items: center;
    align-content: center;
    justify-content: center;
}


.bloc7 form{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.bloc7 form div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 10vh;
    margin-bottom: 2vh;
    width: 100%;
}

.bloc7 form input, .bloc7 form textarea{
    border: none;
    width: 100%;
    border-radius: 8px;
    padding-left: 10px;
    height: 45px;
}

.bloc7 form textarea{
    padding-top: 10px;
    font-family: 'Nunito';
    resize: none;
    height: 70px;;
}

.bloc7 .form2, .bloc7 .form3{
    width: 48%;
    min-width: 250px;
}

#order{
    width: auto;
    padding: 2vh 4vh;
    background:#1A4D68;
    color: white;
}

.cart__order__form__submit {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    top: 20px;

}

#order:hover{
    font-weight: bolder;
}

label{
    width: 100%;
    text-align: left;
}


/********/
/*footer*/
/********/

footer{
    background: linear-gradient(#212b42 , #2c3e50);
    width: 100vw;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px 0px 0px 0px;
}

.sous_footer{
    width: 45vw;
    min-width: 300px;
}

.footer_1{
    text-align: left;
    padding: 0 0 0 40px;
}

.footer_1 p{
    font-size: large;
}

.footer_2{
    text-align: right;
    padding: 0 40px 0 0;
}


footer h4{
    width: 80vw;
    margin: 30px auto;
}

footer p{
    margin: 8px;
    padding: 0;
}

.sous_footer i{
    color: #E7CBCD;
}

#tel_footer{
    display: none;
}



/**************/
/*sur-tablette*/
/**************/

@media (max-width: 1000px) {
    ul{
        display: none;
    }

    .big_div{
        width: auto;
        min-width: auto;
        flex-direction: column;
    }

    .bloc{
        width: 100%;
        margin: auto;
    }

    .bloc3{
        justify-content: center;
    }

    button{
        margin: 0;
    }

    .sous_information{
        width: 85%;
    }

    .chiffres{
        min-width: 150px;
    }

    section{
        width: 90%;
    }

    .sous_presentation img{
        width: 80%;
    }

    .presentation_Led{
        flex-direction: column-reverse;
    }

    #Devis{
        display: flex;
    }
}


/*********/
/*sur-tel*/
/********/

@media (max-width: 500px) { 

    nav div{
        width: 100%;
    }

    .bloc5{
        flex-direction: column;
    }

    #i4, #i2, #i3{
        display: none;
    }

    .prestation_images img {
        width: 240px;
    }

    .prestation_images{
        width: 220px;
        height: 350px;
        position: relative;
        top: 100px;
    }

    .prestation_text {
        min-width: 300px;
        left: 0px;
        right: 0px;
        align-items: center;
        justify-content: center;
    }

    .bloc3, .sous_a_propos,.sous_information {
        justify-content: center;
    }

    .bloc5{
        align-items: center;
    }

    .sous_processus{
        margin: 0px;
    }

    .bloc4{
        justify-content: center;
    }

    .sous_presentation img{
        right: 0vw;
        left: 0vw;
    }

    .bloc{
        min-width: 300px;
    }

    .blanc_bleu{
        position: fixed;
        padding: 2%;
        width: 96%;



    }

    nav{
        position: relative;
        top: 0vh;
    }

    .bloc6{
        height: auto;
    }

    .footer_2 {
        text-align: left;
        padding: 0 0 0 40px;
    }

    #ordi{
        display: none;
    }

    #tel_footer{
        display: block;
    }
    
}


/*keyframes*/

@keyframes slider-1 {
    0%,
    14% {
      transform: translateX(0);
    }
    18%,
    32% {
      transform: translateX(-240px);
    }
    36%,
    50% {
      transform: translateX(-480px);
    }
    54%,
    68% {
      transform: translateX(-720px);
    }
    72%,
    86% {
      transform: translateX(-960px);
    }
} 


/*pages interieures*/

.bloc_articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.articles {
    width: 30%;
}

@media (max-width: 1000px) { 
    .articles {
        width: 100%;
    }
    
}

.section_2{
    width: 90%;
}

.articles button:hover {
    font-weight: bolder;
}

.articles button {
    width: auto;
    padding: 2vh 4vh;
    background: #2c3e50;
    color: white;
}

.evenement{
display: flex;
justify-content: center;
}


@media (max-width: 1000px) { 
    .bloc_articles .articles {
        width: 50%;
    }
    
}
@media (max-width: 500px) { 
    .bloc_articles .articles {
        width: 100%;
    }
    
}

*{
    transition: width 1s, height 1s, transform 1s;
}

/* img:hover {
    -ms-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}*/

#menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 3px 0;
}

@media screen and (max-width: 1000px) {
    #menu-toggle {
        display: flex;
        align-items: center;
    }
    header ul {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 10vh;
        color: black;
        height: 80vh;
    }
    ul.active {
        display: flex;
    }

    ul.active li {
        margin: 0px 30px;
        padding-bottom: 0px;
        height: 5vh;
        border-bottom: 3px solid black;
        list-style: none;
        width: 50%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    #Prestations .sous_gallerie {
        grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
    }

   .image-container img{
       width: 80vw;
    }

}

#led_location{
font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -.022em;
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    background-color: #fff;
    color: #1d1d1f;
    font-style: normal;
}

#led_location .articles_texte{
width: 45vw;
}

#led_location h1, #led_location h2, #led_location h3 {
    font-weight: 600;
    color: #1d1d1f;
margin: 40px 0px;
}

#led_location h1 {
    margin-bottom: 30px;
    text-transform: capitalize;
    font-size: 33.75px;
    line-height: 45px;
}

#led_location h2 {
        font-size: 30px;
    margin-bottom: 30px;
}

#led_location h3 {
    margin-top: 10px;
    font-size: 25px;
    line-height: 42.5px;
    width: 100%;
}

#led_location article p {
    font-size: 1em;
    margin-top: 10px;
}

#led_location article{
padding: 50px 0;
}

/* Conteneur des articles avec alternance */
#led_location .bloc_articles .articles {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* Cartes des produits avec alignement alterné */
.card {
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    min-width: 300px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.card button{
    padding: 12px 20px;
    background-color: #2c3e50;
    color: white;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: fit-content;
    text-transform: none;
    font-weight: initial;
    margin: 0px;
    margin-top: 20px;
}


/* Image du produit */
.product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card img.product-image {
    width: 40vw;
    border-radius: 0;
    margin: 0;
}

/* Zoom sur l'image au survol */
.card:hover .product-image {
    transform: scale(1.05);
}

/* Contenu texte */
.articles_texte {
    padding: 20px;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
min-width: 300px;
    width: auto;
}

.articles_texte h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.articles_texte p {
    font-size: 1.1em;
    line-height: 1;
    color: #5f6368;
    margin-bottom: 15px;
}

/* Badges pour caractéristiques */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
justify-content: center;
}

.badge {
    color: #2c3e50;
    padding: 8px 12px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
}

/* Disposition alternée des cartes */
.card:nth-child(odd) {
    flex-direction: row; /* Image à gauche et texte à droite pour les articles impairs */
}

.card:nth-child(even) {
    flex-direction: row-reverse; /* Image à droite et texte à gauche pour les articles pairs */
}

/* Réactivité sur petits écrans */
@media (max-width: 768px) {
    .bloc_articles .articles {
        display: grid;
        grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
        gap: 20px;
    }

    .card {
        width: 100%; /* Les cartes prennent toute la largeur sur les petits écrans */
justify-content: center;
    }

    .product-image {
        height: 250px;
    }
}


/* Carrousel container */
.carrousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carrousel items */
.carrousel {
    display: flex;
    transition: transform 0.25s ease;
}

/* Chaque élément du carrousel */
.carrousel-item {
    min-width: 350px;
    width: 50%;
    box-sizing: border-box;
    padding: 20px;
    perspective: 1000px; /* Appliquer la perspective pour l'effet 3D */
}

/* Conteneur de la carte */
.carrousel-card {
    width: 100%;
    height: auto;
    position: relative;
    transform-style: preserve-3d; /* Permet la rotation 3D */
    transition: transform 0.25s ease-in-out; /* Transition pour l'animation */
    backface-visibility: hidden; /* Permet de cacher le dos de la carte lors de la rotation */
}

/* Image dans le carrousel */
.carrousel-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    backface-visibility: hidden; /* Cache l'arrière de l'image lors de la rotation */
}

/* Texte qui apparaît au survol (positionné au dos de la carte) */
.carrousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Initialement caché derrière l'image */
    color: black;
    font-size: 1.5em;
    opacity: 0; /* Texte caché par défaut */
    transition: opacity 0.3s ease, transform 0.5s ease; /* Transition pour l'apparition du texte */
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    backface-visibility: visible; /* Cache le texte lors de la rotation */
}

/* Rotation 3D de la carte et affichage du texte au survol */
.carrousel-item:hover .carrousel-card {
    transform: rotateY(180deg); /* Rotation de 180 degrés */
}

.carrousel-item:hover .carrousel-text {
    opacity: 1; /* Affiche le texte */
    transform: translate(-50%, -50%) rotateY(-180deg); /* Texte en face de l'utilisateur */
}

/* Effet sur mobile (ajustements) */
@media (max-width: 768px) {
    .carrousel .carrousel-item {
        padding: 10px;  /* Réduire l'espacement sur mobile */
    }

    .carrousel .carrousel-text {
        font-size: 1.2em; /* Ajuster la taille du texte pour mobile */
    }

    .carrousel .carrousel-img {
        height: 50vw;  /* Ajuster la hauteur en fonction de la largeur pour mobile */
        object-fit: contain;  /* Maintenir l'aspect ratio */
    }
}


/* Boutons de navigation (précédent et suivant) */
.carrousel-container button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 15px;
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carrousel-container button.prev {
    left: 10px;
}

.carrousel-container button.next {
    right: 10px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2.5em;
    color: white;
    cursor: pointer;
}

/* Ajustement des images */
img.carrousel-img {
    width: 80%;
    border-radius: 10px;
    margin: 0px;
    margin-top: 0px;
    height: 25vw;
    min-width: 300px;
    min-height: 350px;
    object-fit: cover;
}






/* Boutons de navigation (précédent et suivant) */
.carrousel-container button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 15px;
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carrousel-container button.prev {
    left: 10px;
}

.carrousel-container button.next {
    right: 10px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2.5em;
    color: white;
    cursor: pointer;
}

/* Ajustement des images */
img.carrousel-img {
    width: 80%;
    border-radius: 10px;
    margin: 0px;
    margin-top: 0px;
    height: 25vw;
    min-width: 300px;
    min-height: 350px;
    object-fit: cover;
}




/* témoignages*/
#temoignages {
    text-align: center;
}

#temoignages h2 {
    font-size: 30PX;
font-family: 'Nunito', sans-serif;
    margin-bottom: 20px;
}

.avis_client {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
}

.client {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
width: 25%;
min-width: 300px;
}

.client p {
    margin: 10px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

.client h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
}

.client strong {
    font-weight: bold;
}

.client p:first-child {
    font-size: 1.2em;
    color: #f39c12; /* Pour la couleur des étoiles */
}

.client p:first-child::before {
    content: "⭐";
}

.client p:first-child {
    display: inline-block;
    font-size: 1.5em;
    margin-right: 5px;
}

.client::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
}

@media (max-width: 768px) {
    .avis_client {
        grid-template-columns: 1fr;
    }
}



/* Engagement écoresponsable */
#eco {
    text-align: center;
}

#eco h2 {
    font-size: 2.4em;
    margin-bottom: 30px;
    color: #2d862d; /* Vert pour accentuer l'aspect écoresponsable */
    font-weight: bold;
}

.eco_content {
        display: flex;
    gap: 20px;
    justify-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.eco_item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eco_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Icônes des écoresponsabilités */
.eco-icon {
    font-size: 3em;
    color: #2d862d; /* Vert vif pour l'aspect écologique */
    margin-bottom: 20px;
}

/* Titres des sous-sections */
.eco_item h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2d862d; /* Vert pour la lisibilité et l'impact */
}

/* Texte des sous-sections */
.eco_item p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555; /* Gris pour le texte */
}

/* Progress bar pour l'impact énergétique */
.eco-progress {
    width: 100%;
    height: 15px;
    background-color: #e0e0e0;
    border-radius: 8px;
    margin-top: 20px;
}

.progress-bar {
    height: 100%;
    background-color: #2d862d; /* Vert de consommation d'énergie */
    border-radius: 8px;
    transition: width 2s ease-out;
}

/* Responsivité */
@media (max-width: 768px) {
    .eco_content {
        grid-template-columns: 1fr;
    }

    .eco-item {
        padding: 20px;
    }

    .eco-icon {
        font-size: 2.5em;
    }
}


/* Processus en 5 étapes */
#process {
    padding: 40px;
    background-color: #eef2f4;
    text-align: center;
}

#process h2 {
    font-size: 2.4em;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: bold;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid #2c3e50;
    padding-left: 50px;
    transition: all 0.3s ease-in-out;
}

/* Etapes de la timeline */
.timeline_step {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

/* Icônes pour chaque étape */
.step_marker {
    width: 50px;
    height: 50px;
    background-color: #2c3e50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    position: absolute;
    left: -72px;
    top: 15px;
    z-index: 2;
}

/* Contenu des étapes */
.step_content {
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 700px;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.step_content h3 {
    font-size: 1.6em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step_content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

/* Animation de l'affichage des étapes au scroll */
.timeline_step.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsivité */
@media (max-width: 768px) {
    .timeline {
        padding-left: 20px;
    }
    .timeline_step {
        flex-direction: column;
    }
    .step_marker {
        left: 0;
        top: 0;
display: none;
    }
}



#devis {
    background-color: #eef2f4;
    text-align: center;
}

#devis h2 {
    font-size: 2.4em;
    margin-bottom: 30px;
    font-weight: bold;
}

.devis_form_container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.form_field {
    margin-bottom: 20px;
    margin-top: 20px;
}

.form_field label {
    font-size: 1.1em;
    color: #2c3e50;
    margin-bottom: 5px;
    display: block;
}

/* Champ de texte */
#devis input, #devis textarea {
    width: 98%;
    padding: 1%;
    border: 1px solid #ddd;
    font-size: 1em;
    color: #2c3e50;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus sur les champs */
#devis input:focus, #devis textarea:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 5px rgba(44, 62, 80, 0.5);
}

/* Zones d'erreur */
.error {
    color: #e74c3c;
    font-size: 0.9em;
    display: none;
    margin-top: 5px;
}

/* Stylisation du bouton */
#devis button {
    padding: 12px 20px;
    background-color: #2c3e50;
    color: white;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    text-transform: none;
    font-weight: initial;
    margin-top: 20px;
}

/* Changement de couleur du bouton au survol */
#devis button:hover {
    background-color: #34495e;
}

/* Responsivité */
@media (max-width: 768px) {
    .devis_form_container {
        padding: 20px;
    }
}

/* Carrousel des marques partenaires */
.gallerie_4 {
    text-align: center;
}

.carrousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px; /* Arrondir les bords du carrousel */
}

.carrousel {
    display: flex;
    transition: transform 0.5s ease;
}

.gallerie_4 .carrousel-item {
    min-width: 20vw; /* Chaque image occupe 20% de la largeur */
    box-sizing: border-box;
    padding: 20px;
}

.carrousel-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallerie_4 img.carrousel-img {
    width: 80px;
    height: 80px;
    min-height: 80px;
    padding: 0;
    margin: 0;
object-fit: contain;
}

/* Effet au survol sur les logos */
.carrousel-img:hover {
    transform: scale(1.05);
}

/* Responsive: ajuster le carrousel sur petits écrans */
@media (max-width: 768px) {
    .gallerie_4 .carrousel-item {
        min-width: 50%; /* Plus grand sur mobile pour mieux voir les logos */
    }
}


#black-led {
    padding: 50px 0;
    text-align: center;
    margin-bottom: 50px; /* Espacement en bas */
}


.black-led-images{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 40px;
}

.black-led-img{
  width: 45%;
  height: 200px;          /* hauteur fixe */
  object-fit: contain;    /* IMPORTANT : ne coupe plus */
  background: #fff;       /* optionnel : joli “fond” si bandes */
  border-radius: 10px;    /* optionnel */
}


.black-led-img:hover {
    transform: scale(1.05);
}

#pourquoi-louer-ecran-led .sous_presentation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#pourquoi-louer-ecran-led .text {
    width: 50%;
    text-align: left;
}

#pourquoi-louer-ecran-led .image-container {
    width: 50%;
    text-align: right;
}

#pourquoi-louer-ecran-led .image-container img {
    width: 80%;  /* Adaptez selon la taille souhaitée */
    max-width: 400px;
    border-radius: 10px;
    object-fit: cover;
}

/* Responsive : ajuster les images sur mobile */
@media (max-width: 768px) {
    .black-led-img {
        width: 80%; /* Les images prennent plus de place sur les petits écrans */
    }

    #pourquoi-louer-ecran-led .text{
    width: 100%;
    }

    #pourquoi-louer-ecran-led .image-container {
        width: 100%;
text-align: center;
    }
}

/* Masquer le sous-menu par défaut */
.submenu {
    display: none;  /* Cacher par défaut */
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: auto; /* La largeur sera automatiquement déterminée par la largeur de l'élément parent */
    top: 100%; /* Positionner juste en dessous de l'élément parent */
    left: 0;
    padding: 10px 0; /* Espacement intérieur */
    border-radius: 5px;
}

/* Afficher le sous-menu au survol sur desktop */
#menu li:hover .submenu {
    display: block;
}

.submenu {
  display: none;
}

@media (max-width: 768px) {
  .submenu {
    display: block !important;
  }
}

/* Cartes LED : 3 colonnes, mêmes hauteurs, CTA en bas */
.gallerie_2 .bloc_articles{
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: nowrap; /* important : empêche le 3e de passer à la ligne */
}

/* Chaque carte */
.gallerie_2 .bloc_articles .articles{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Image tout en haut */
.gallerie_2 .bloc_articles .articles > img{
  width: 100%;
  height: 260px;         /* fixe une hauteur commune */
  object-fit: cover;     /* recadre proprement */
  display: block;
  margin: 0;
  border-radius: 8px;
}

/* Texte juste sous l'image */
.gallerie_2 .bloc_articles .articles_texte{
  padding: 12px 0 0;
}

/* Bouton collé en bas */
.gallerie_2 .bloc_articles .articles .cta{
  margin-top: auto;
  display: block;
}

.gallerie_2 .bloc_articles .articles .cta button{
  width: 100%;
}

/* Responsive */
@media (max-width: 900px){
  .gallerie_2 .bloc_articles{
    flex-wrap: wrap; /* sur mobile on repasse en colonne */
  }
  .gallerie_2 .bloc_articles .articles{
    flex: 1 1 100%;
  }

  .articles{
    width: 100%;
  }
}

.bloc_articles2{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}