/*
Theme Name: syvrac
Description: Theme enfant de Divi
Author:
Author URI:
Template: Divi
Version: 0.1.0
*/




/************************************************************************************/
/************************* SECTION LISTE OPTIONS ***********************************/
/************************************************************************************/

.liste-option {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
}

.liste-option .option-item {
    position: relative;
    overflow: hidden;
    width: 20%;
    padding: 15px;
}

@media (max-width: 1100px) {
    .liste-option .option-item {
        width: 33%;
    }
}

@media (max-width: 768px) {
    .liste-option .option-item {
        width: 50%;
    }
}

@media (max-width: 550px) {
    .liste-option .option-item {
        width: 100%;
    }
}

.liste-option .option-item .option-link {
    height: 100%;
    display: block;
    position: relative;
    background-color: #fff;
}

.liste-option .option-item .option-content {
    padding: 15px 20px;
    border-top: 6px solid #FCC400;
}

.liste-option .option-item h3.option-title {
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
}

.liste-option .option-item .option-excerpt {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.liste-option .option-item .option-excerpt p {
    font-size: 16px;
    color: #fff;
    padding: 10px;
}

.liste-option .option-item .option-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.liste-option .option-item .option-image picture {
    height: 100%;
    display: block;
}

.liste-option .option-item .option-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* hover */
.liste-option .option-item:hover .option-content::before {
    width: 100%;
    height: 100%;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    background-color: #161616;
    cursor: pointer;
    content: "";
    position: absolute;
    opacity: 0.9;
}

.liste-option .option-item:hover .option-excerpt {
    display: flex;
}

.liste-option .option-item:hover .option-image .arrow-container::before {
    color: #FFF;
}


/************************************************************************************/
/************************* SECTION LISTE REALISATIONS *******************************/
/************************************************************************************/

.liste-realisation {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
}

.liste-realisation .realisation-item {
    position: relative;
    width: 25%;
    height: 350px;
    overflow: hidden;
    padding: 15px;
    cursor: pointer;
}

.liste-realisation .realisation-item a {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #161616;
    color: #fff;
    display: block;
    height: 100%;
}

.liste-realisation .liste-realisation .realisation-link {
    display: block;
    text-decoration: none;
    color: white;
    position: relative;
    height: 100%;
}

.liste-realisation .realisation-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.liste-realisation .realisation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.liste-realisation .realisation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.liste-realisation .realisation-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 2;
    padding: 0 10px;
}


.liste-realisation .realisation-category {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 10px;
    position: relative;
    letter-spacing: 2.5px;
}

.liste-realisation .realisation-category::after {
    content: "";
    display: block;
    width: 20px;
    height: 3px;
    background: #FCC400;
    margin: 5px auto;
}


.liste-realisation h3.realisation-title {
    font-size: 1.6rem !important;
    color: white !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
}

.liste-realisation .arrow-container {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #161616;
    width: 55px;
    height: 55px;
    border-radius: 100% 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8.5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    z-index: 3;
}

.liste-realisation .arrow-container::before {
    content: '\24';
    /* Glyphe de la police ETmodules */
    font-family: 'ETmodules';
    font-size: 18px;
    color: #fff;
    line-height: 18px;
    position: relative;
    top: 12%;
    font-weight: 500;
    left: 12%;
}


/** hover sur la vignette **/

.liste-realisation .realisation-item:hover .arrow-container {
    background-color: #FCC400;
    transform-origin: bottom right;
    animation: zoomAnimation 0.5s forwards;
}

.liste-realisation .realisation-item:hover .realisation-image img,
.liste-realisation .arrow-container::before {
    animation: zoomAnimation 0.5s forwards;
}


/* Définition des keyframes de l'animation */
@keyframes zoomAnimation {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
    }
}




@media (max-width: 1100px) {
    .liste-realisation .realisation-item {
        width: 33%;
    }
}

@media (max-width: 768px) {
    .liste-realisation .realisation-item {
        width: 50%;
    }
}

@media (max-width: 550px) {
    .liste-realisation .realisation-item {
        width: 100%;
    }
}


/************************************************************************************/
/************************* SECTION LISTE BLOG ***************************************/
/***********************************************************************************/

.liste-blog {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.liste-blog .blog-item {
    width: 20%;
    margin: 20px 0;
    padding: 0 10px;
}

.liste-blog .blog-item a {
    height: 100%;
    display: block;
    position: relative;
    background-color: #fff;
}

.liste-blog .blog-item .blog-image {
    height: 225px;
    width: 100%;
}

.liste-blog .blog-item .blog-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}


.liste-blog .blog-content {
    padding: 15px 15px 30px 15px;
    min-height: 125px;

}

.liste-blog .blog-content .blog-title {
    font-size: 1.3rem !important;
    margin-bottom: -0.5 !important;
}

.liste-blog .blog-content .blog-reading-time {
    position: absolute;
    bottom: 5px;
    font-size: 0.8em;
    color: #FCC400;
}

@media (max-width: 1600px) {
    .liste-blog .blog-item {
        width: 25%;
    }
}

@media (max-width: 1100px) {
    .liste-blog .blog-item {
        width: 33%;
    }
}

@media (max-width: 768px) {
    .liste-blog .blog-item {
        width: 50%;
    }
}

@media (max-width: 550px) {
    .liste-blog .blog-item {
        width: 100%;
    }
}

/************************************************************************************/
/************************* SECTION LISTE PRODUITS ***********************************/
/************************************************************************************/

.liste-produit {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
}

.liste-produit .product-item {
    position: relative;
    overflow: hidden;
    width: 25%;
    padding: 15px;
}

@media (max-width: 1100px) {
    .liste-produit .product-item {
        width: 33.33%;
    }
}

@media (max-width: 768px) {
    .liste-produit .product-item {
        width: 50%;
    }
}

@media (max-width: 550px) {
    .liste-produit .product-item {
        width: 100%;
    }
}

.liste-produit .product-item .product-link {
    height: 100%;
    display: block;
    position: relative;
    background-color: #fff;
    border-bottom: 6px solid #FCC400;
}

.liste-produit .product-item .product-content {
    padding: 15px 20px;
    height: 100%;
}

.liste-produit .product-item h3.product-title {
    font-size: 1.4rem !important;
}

.liste-produit .product-item .product-excerpt p {
    font-size: 14px;
}

.liste-produit .product-item .product-image {
    position: relative;
    width: 100%;
    height: 275px;
}

.liste-produit .product-item .product-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.liste-produit .product-image .arrow-container {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 100% 0 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8.5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    z-index: 3;
}

.liste-produit .product-image .arrow-container::before {
    content: '\24';
    /* Glyphe de la police ETmodules */
    font-family: 'ETmodules';
    font-size: 18px;
    color: #FCC400;
    line-height: 18px;
    position: relative;
    top: 12%;
    font-weight: 600;
}

/* hover */
.liste-produit .product-item:hover .product-link,
.liste-produit .product-item:hover .product-image .arrow-container {
    background-color: #FCC400;
}

.liste-produit .product-item:hover .product-image .arrow-container::before {
    color: #FFF;
}


/* =========================================================================== */
/* ===========  RÈGLES SPÉCIFIQUES LORSQUE .carousel EST ACTIVÉ  ============= */
/* =========================================================================== */

/* 1) On place le container en position relative (pour les flèches)
   et on empêche le wrap, car on veut un défilement horizontal */
.liste-produit.carousel,
.liste-realisation.carousel,
.liste-blog.carousel,
.liste-option.carousel {
    position: relative;
    flex-wrap: nowrap;
    /* On force l'alignement en une seule ligne */
    overflow-x: hidden;
    /* Pas de scroll visible au-dessus de 768px */
}

.liste-produit.carousel .product-item,
.liste-realisation.carousel .realisation-item,
.liste-blog.carousel .blog-item,
.liste-option.carousel .option-item {
    flex: 0 0 auto;
}

/* Les flèches HTML qu’on ajoute via PHP */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow::before {
    content: '\24';
    /* Glyphe de la police ETmodules */
    font-family: 'ETmodules';
    font-weight: 800;
    font-size: 1.3rem;
    color: #FCC400;
}

/* Flèche gauche */
.carousel-arrow.arrow-left {
    left: -50px;
}

.carousel-arrow.arrow-left::before {
    transform: rotate(180deg);
}

/* Flèche droite */
.carousel-arrow.arrow-right {
    right: -50px;
}

@media (max-width: 1024px) {
  .carousel-arrow.arrow-left {
      left: -40px;
  }
  .carousel-arrow.arrow-right {
      right: -40px;
  }
}
@media (max-width: 980px) {
  .carousel-arrow.arrow-left {
      left: -37px;
  }
  .carousel-arrow.arrow-right {
      right: -37px;
  }
}

/* --- Les puces (mobile) --- */
.carousel-dots {
    display: none;
    /* Masqué en desktop */
    text-align: center;
    margin-top: 10px;
}

.carousel-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #DAD9D2;
    /* inactif */
}

.carousel-dots .dot.active {
    background-color: #FCC400;
    /* actif */
}

/* --- Comportement global carousel en desktop --- */
.liste-produit.carousel,
.liste-realisation.carousel,
.liste-blog.carousel,
.liste-option.carousel {
    position: relative;
    flex-wrap: nowrap;
    /* Sur une seule ligne */
    overflow-x: hidden;
    /* On cache la scrollbar */
}

/* --- En mobile, on masque les flèches et affiche les puces --- */
@media (max-width: 768px) {

    .liste-produit.carousel,
    .liste-realisation.carousel,
    .liste-blog.carousel,
    .liste-option.carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .liste-produit.carousel::-webkit-scrollbar,
    .liste-realisation.carousel::-webkit-scrollbar,
    .liste-blog.carousel::-webkit-scrollbar,
    .liste-option.carousel::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .liste-produit.carousel .product-item,
    .liste-realisation.carousel .realisation-item,
    .liste-blog.carousel .blog-item,
    .liste-option.carousel .option-item  {
      padding-right: 30px;
      padding-left: 0;
    }

    .carousel-arrow.arrow-left,
    .carousel-arrow.arrow-right {
        display: none;
    }

    .carousel-dots {
        display: block;
        /* Visible en mobile */
    }

    .et-db #page-container #et-boc .et-l .et_pb_row:has(.liste-produit.carousel),
    .et-db #page-container #et-boc .et-l .et_pb_row:has(.liste-realisation.carousel),
    .et-db #page-container #et-boc .et-l .et_pb_row:has(.liste-blog.carousel),
    .et-db #page-container #et-boc .et-l .et_pb_row:has(.liste-option.carousel) {
        margin-right: 0;
        width: 95%;
    }

    .et-db #page-container #et-boc .et-l .liste-produit.carousel .product-item,
    .et-db #page-container #et-boc .et-l .liste-realisation.carousel .realisation-item,
    .et-db #page-container #et-boc .et-l .liste-blog.carousel .blog-item,
    .et-db #page-container #et-boc .et-l .liste-option.carousel .option-item {
        width: 85%;
    }
}




/************************************************************************************/
/************************* COMMUN AUX SECTIONS LISTE ***********************************/
/************************************************************************************/

@media (max-width: 980px) {
  .et-db #page-container #et-boc .et-l .et_pb_section:has(> .et_pb_row:nth-child(2)):has(.liste-produit, .liste-realisation, .liste-blog, .liste-option ) .et_pb_row:not(:has(.liste-produit, .liste-realisation, .liste-blog, .liste-option )) .et_pb_column:first-child  {
  margin-bottom: 0;
  }
  .et-db #page-container #et-boc .et-l .et_pb_section:has(> .et_pb_row:nth-child(2)):has(.liste-produit, .liste-realisation, .liste-blog, .liste-option ) .et_pb_row:not(:has(.liste-produit, .liste-realisation, .liste-blog, .liste-option ))  {
  padding-bottom: 10px;
  }
}

/************************************************************************************/
/****************** CTA entete fiche produit et fiches realisation  *****************/
/************************************************************************************/

.entete-cta span {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2em;
}

.entete-cta .btn-contact {
    display: flex;
    flex-direction: row;
    gap: 2em;
    margin-top: 2em;
}

  @media(max-width: 550px) {
    .entete-cta .btn-contact {
        flex-direction: column;
    }
    .entete-cta .btn-contact a{
        min-width: 230px;
    }
  }


  /************************************************************************************/
  /************************* SECTION GALERIE PHOTOS *******************************/
  /***********************************************************************************/

  .et-db #page-container #et-boc .et-l .et_pb_gallery h3.et_pb_gallery_title {
      font-size: 1.1rem;
  }

  .et-db #et-boc .et-l .et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
      width: 23.5%;
      margin-right: 1.5%;
      margin-bottom: 5.5%;
  }

  @media(max-width: 768px) {
    .et-db #et-boc .et-l .et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
        width: 48.5%;
    }
    .et-db #page-container #et-boc .et-l .et_pb_gallery h3.et_pb_gallery_title {
        font-size: 1rem;
    }
  }

/******************** GALLERIE CAROUSEL AVEC VIGNETTES -- a revoir   *************************/


.mfp-container.mfp-image-holder.mfp-s-ready {
    background-color: rgba(255, 255, 255, 1) !important;
}

.mfp-arrow,
.mfp-arrow:after {
    background-color: #FFF;
    opacity: 1;
    border-radius: 50%;
    margin: 1em;
}

.mfp-image-holder .mfp-close {
    top: -0.3em;
}

.mfp-image-holder .mfp-close,
.mfp-arrow-left .mfp-a,
.mfp-arrow-left:after,
.mfp-arrow-right .mfp-a,
.mfp-arrow-right:after {
    border: none;
    font-size: 64px;
    color: #6d7680;
    opacity: 1;
}

.mfp-content .mfp-img {
    max-width: 450px;
    max-height: 650px !important;
}

.mfp-figure:after {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .6);
    box-shadow: 0 0 8px rgba(0, 0, 0, .0);
    background: #fff;
}

.mfp-title {
    color: #6d7680 !important;
    padding-top: 1.5em;
    padding-right: 0;
    font-weight: 600;
}


/******************************************************************************/
/******************************* FICHES PRODUIT *******************************/
/******************************************************************************/

/* ========================= */
/* Entete fiche produit      */
/* ========================= */

.et-db #page-container #et-boc .et-l .section_entete_fp {
    padding: 0;
}

.et-db #page-container #et-boc .et-l .entete_fp {
    margin-top: 0;
    margin-bottom: 0;
    z-index: 2;
    position: relative;
    padding: 60px 0 50px 0;
}
@media(max-width: 500px) {

  .et-db #page-container #et-boc .et-l .entete_fp {
      padding: 25px 0 40px 0;
  }
}

.et-db #page-container #et-boc .et-l .entete_fp::before {
    background-color: #FFFFFF;
    position: absolute;
    display: block;
    top: 0;
    left: -50px;
    width: 200%;
    height: 100%;
    content: "";
}
.et-db #page-container #et-boc .et-l .entete_fp .et_pb_heading,
.et-db #page-container #et-boc .et-l .entete_fp_col_droite p {
    margin-bottom: 25px;
}

.et-db #page-container #et-boc .et-l .entete_fp_col_droite p span {
    text-transform: uppercase;
    color: #6d7680;
    display: block;
    font-size: 1.3rem;
    padding-bottom: 0;
    margin-bottom: -10px;
}

.et-db #page-container #et-boc .et-l .entete_fp .sous-titre {
    font-size: 1.5rem;
    line-height: 2rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
}


@media(max-width: 980px) {
    .section_entete_fp .entete_fp_col_droite {
        position: initial !important;
    }

    .section_entete_fp .entete_fp_col_droite .et_pb_code.filariane {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
    }
}
@media(max-width: 500px) {

    /*.section_entete_fp .entete_fp_col_gauche {
        margin-top: 65px;
    }*/
    /*.section_entete_fp .entete_fp_col_droite .et_pb_heading {
        position: absolute !important;
        top: 20px;
    }*/
}



/* ========================= */
/* Section repeteur      */
/* ========================= */

.et-db #page-container #et-boc .et-l .repeater {
    margin: -120px 0 0 0;
    position: relative;
    z-index: 1;
    padding: 0;
    background-color: #FCC400;
}

.et-db #page-container #et-boc .et-l .repeater .et_pb_row {
    min-width: 100%;
    margin: 0 !important;
    padding: 120px 0 0 0 !important;
}

/* Conteneur parent pour centrer le contenu dans la page */
.repeater-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

/* Conteneur des éléments répéteurs */
.my-repeater-table {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px 0;
    background-color: #FCC400;
    margin: auto;
    max-width: 1466px;
}

/* Éléments individuels */
.repeater-item {
    text-align: left;
    padding: 25px 15px;
    width: calc(33.333% - 20px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    flex: 1 0 auto;
}

.repeater-label {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #161616;
    margin-bottom: 15px;
}

.repeater-content {
    font-weight: 800;
    font-size: 3.0rem;
    color: #161616;
    line-height: 40px;
}

/* ========================= */
/* Contenu FP      */
/* ========================= */

.et-db #page-container #et-boc .et-l .contenu_fp .et_pb_row {
    max-width: 1100px;
}

/* ========================= */
/* Section options      */
/* ========================= */

.et-db #page-container #et-boc .et-l .section-options {
    padding: 0;
}

.et-db #page-container #et-boc .et-l .section-options .et_pb_row:not(:has(.dica_divi_carousel)),
.et-db #page-container #et-boc .et-l .section-options .et_pb_row:not(:has(.et_pb_code)) {
    padding: 0 0 20px 0 !important;
}
  @media(max-width: 980px) {
    .et-db #page-container #et-boc .et-l .section-options .et_pb_row:not(:has(.dica_divi_carousel)),
    .et-db #page-container #et-boc .et-l .section-options .et_pb_row:not(:has(.et_pb_code)) {
        padding: 0 0 10px 0 !important;
    }
    .et-db #page-container #et-boc .et-l .section-options .et_pb_row:has(.dica_divi_carousel) .et_pb_column {
        padding: 0 20px !important;
    }
  }
  @media(max-width: 768px) {
    .et-db #page-container #et-boc .et-l .section-options .et_pb_row:has(.dica_divi_carousel) .et_pb_column {
        padding: 0 !important;
    }
  }

/* Conteneur principal */
.et-db #page-container #et-boc .et-l .section-options .dica-item {
    position: relative;
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

/* Conteneur de l'image */
/* On remplace la hauteur fixe par un aspect-ratio */
.et-db #page-container #et-boc .et-l .section-options .dica-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.et-db #page-container #et-boc .et-l .section-options .dica-image-container .image,
.et-db #page-container #et-boc .et-l .section-options .dica-image-container .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Contenu textuel */
.et-db #page-container #et-boc .et-l .section-options .dica-item-content {
    width: 100%;
    padding: 20px;
    background: white;
    text-align: left;
    border-top: solid 5px #FCC400;
    padding-bottom: 0;
    position: initial;
}

/* Titre */
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .dica_divi_carouselitem .dica-item-content h3.item-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    padding-bottom: 0;
}

/* Texte sous le titre */
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .dica_divi_carouselitem .dica-item-content .content {
    font-size: 16px;
    margin-bottom: 20px;
    position: absolute;
    top: 35px;
    display: none;
}

/* Effet hover */
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .dica_divi_carouselitem:hover .dica-item-content::before {
    width: 100%;
    height: 100%;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    background-color: #161616;
    cursor: pointer;
    content: "";
    position: absolute;
}

.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .dica_divi_carouselitem:hover .dica-item-content .content {
    display: block;
    color: #FFF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    padding: 0 10px;
}

.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .dica_divi_carouselitem:hover .dica-item-content .content h3 {
    font-size: 1.5rem;
}

.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .dica_divi_carouselitem:hover .dica-item-content .content h3,
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .dica_divi_carouselitem:hover .dica-item-content .content p {
    color: #fff;
    text-align: center;
}


.et-db #page-container #et-boc .et-l .section-options .dica-item:hover .dica-item-image {
    transform: scale(1.05);
    /* Effet zoom sur l’image */
}

/* fin hover */

.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-button-next,
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-button-prev {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  min-width: 45px;
  font-size: 20px;
  background-color: #fff !important;
}

.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-button-next {
    left: 65px;
}
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-button-prev {
    right: 65px;
}

.et-db #page-container #et-boc .et-l .section-options .swiper-button-prev:before,
.et-db #page-container #et-boc .et-l .section-options .swiper-button-next:before {
    color: #fcc400 !important;
    font-weight: 700 !important;
}

@media(max-width: 1366px) {

  .et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-button-next {
      left: 50px;
  }
  .et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-button-prev {
      right: 50px;
  }
}
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-pagination-bullets {
  display: none;
  margin-top: 20px;
}
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-pagination-bullets .swiper-pagination-bullet {
  background-color: #DAD9D2 !important;
  opacity: 1;
}
.et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: #FCC400 !important;
  opacity: 1;
}

@media(max-width: 768px) {
  .et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-buttton-container {
    display: none;
  }
  .et-db #page-container #et-boc .et-l .section-options .dica_divi_carousel .swiper-pagination-bullets {
    display: block;
  }
}

/* ========================= */
/* Tableau      */
/* ========================= */

/* Style de base pour le tableau généré */



.custom-cp-table {
    border-collapse: collapse;
    margin: 0 0 20px 0;
    table-layout: auto;
    width: auto;
    /* ne pas forcer à 100% */
}

.et-db #page-container #et-boc .et-l .custom-cp-table .et_pb_row:not(:has(table)) {
    padding-bottom: 20px !important;
}

.custom-cp-table th {
    white-space: pre-wrap;
}

/* Style commun pour les cellules d'en-tête (th) et de contenu (td) */
.custom-cp-table th,
.custom-cp-table td {
    padding: 8px 16px;
    text-align: center;
    min-width: 130px;
}

/* Style spécifique pour les cellules d'en-tête */
.custom-cp-table thead th {
    font-variant-caps: small-caps;
    font-size: 1.1rem;
    color: #161616;
}

.custom-cp-table thead th:nth-child(odd) {
    background-color: #FFFFFF;
}

/* Alternance des couleurs pour les colonnes impaires */
.custom-cp-table td:nth-child(odd) {
    background-color: #FFFFFF;
}

/*** Version Responsive ***/

@media (max-width: 1580px) {
    .custom-cp-table {
        font-size: 0.95rem;
    }

    .custom-cp-table .produit-tableau {
        padding-top: 0;
        white-space: normal;
        overflow-wrap: break-word;
    }

    /* Force la coupure des mots trop longs */
    .custom-cp-table th,
    .custom-cp-table td {
        padding: 6px 10px;
    }
}

@media (max-width: 980px) {
    .custom-cp-table {
        font-size: 0.9rem;
    }

    .custom-cp-table th,
    .custom-cp-table td {
        padding: 5px 8px;
    }

    .custom-cp-table thead th {
        max-width: 16ch;
        white-space: normal;
        overflow-wrap: break-word;
    }
}

@media (max-width: 520px) {
    .custom-cp-table {
        font-size: 0.75rem;
    }

    .custom-cp-table th,
    .custom-cp-table td {
        padding: 3px 5px;
    }
}

@media (max-width: 415px) {
    .custom-cp-table {
        font-size: 0.5rem;
        display: none;
    }

    .custom-cp-table th,
    .custom-cp-table td {
        padding: 1px 3px;
    }
}



/*****************************************************************************/
/******************************* PAGE CONTACT  ******************************/
/*****************************************************************************/

.et-db #page-container .formulaire-contact {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ========================= */
/* Formulaire      */
/* ========================= */

.et-db #page-container .contact-formulaire {
    position: inherit;
    background-color: #FFF;
    width: 100%;
    padding: 2%;
}

@media (max-width: 1705px) {

    /* Rows */
    .single #et-boc .et-l .et_pb_row .contact-formulaire {
        width: 100%;
    }
}

@media (max-width: 1280px) {

    #page-container .et_pb_row,
    .single #et-boc .et-l .et_pb_row .contact-formulaire {
        width: 90%;
    }
}

@media(max-width: 1240px) {
    .et-db #page-container .contact-formulaire {
        padding: 5%;
    }
}

@media (max-width: 980px) {

    #page-container .et_pb_row,
    .single #et-boc .et-l .et_pb_row .contact-formulaire {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

/***** Contact adresse *****/
.contact-adresse .contact-icon1,
.contact-adresse .contact-icon2 {
    font-weight: 500;
    font-size: 1.5rem;
    padding-top: 2rem;
}

.contact-adresse .contact-icon1::before {
    content: "\e0ef";
    font-family: 'ETModules';
    display: inline;
    padding-right: 0.5rem;
    width: 2rem;
    color: #FCC400;
}

.contact-adresse .contact-icon2::before {
    content: "\7d";
    font-family: 'ETModules';
    display: inline;
    padding-right: 0.5rem;
    width: 2rem;
    color: #FCC400;
}

.contact-adresse p {
    font-size: 1.2rem;
}
.contact-adresse a.et_pb_button {
  font-size: 1.2rem !important;
  padding: 0 0 0 50px !important;
}

@media (max-width: 980px) {
  .contact-adresse p,
  .contact-adresse .et_pb_text_inner {
      text-align: center;
  }
  .contact-adresse div a {
      display: flex;
      justify-content: center;
  }
}

/***** Input formulaire contact *****/

.gform_required_legend {
    /***** Masque la légende du formulaire *****/
    display: none;
}

.gfield_required .gfield_required_custom {
    /***** Required en italique *****/
    font-style: italic;
}

.gfield_label.gform-field-label {
    font-weight: 600;
}

.gform-theme--foundation .gfield select,
.contact-formulaire textarea,
.contact-formulaire input {
    font-weight: 400 !important;
}

.gform-theme--foundation .gfield select::placeholder,
.contact-formulaire textarea::placeholder,
.contact-formulaire input::placeholder {
    color: #aaa !important;
}


.gform-theme--foundation .gform_fields {
    row-gap: 0.7rem !important;
}


.contact-formulaire .textarea.medium {
    padding-top: 1rem;
}

.et_pb_section.et_pb_section_0.contact.et_section_regular div.et_pb_column:last-child {
    background-color: #FFF;
    padding: 1%;
}

.gform_heading .gform_title {
    display: none;
}

.gform_heading .gform_description {
    display: none;
}

/* ========================= */
/* Boutons formulaire contact      */
/* ========================= */

#gform_submit_button_1 {
    font-family: 'Poppins';
    color: #161616;
    background-color: #FCC400;
    border: solid 1px #161616;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.0175em;
    width: fit-content;
    cursor: pointer;
    min-width: 10rem;
    justify-content: center;
    align-items: center;
    height: 45px;
}

#gform_submit_button_1:hover {
    background-color: #161616;
    color: #fff;
}



/*****************************************************************************/
/************************* FICHES INSTALLATIONS ********************************/
/*****************************************************************************/

/* ========================= */
/* Entete fiche Install     */
/* ========================= */

.et-db #page-container #et-boc .et-l .section_entete_install {
    background-color: transparent !important;
    z-index: 2;
    margin-bottom: 0;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media(max-width: 980px) {
  .et-db #page-container #et-boc .et-l .section_entete_install .et_pb_row {
      padding-bottom: 10px;
      padding-top: 0;
  }
}

.et-db #page-container #et-boc .et-l .section_entete_install h2 {
    margin-left: 1em;
}

/** boutons taxo **/
.et-db #page-container #et-boc .et-l .section_entete_install .boutons-entete-taxo {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

.et-db #page-container #et-boc .et-l .section_entete_install .et_pb_image .et_pb_image_wrap {
    max-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.et-db #page-container #et-boc .et-l .section_entete_install .et_pb_image .et_pb_image_wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/** titre applications client **/
.et_pb_text:has(.titre_appli) {
    margin-bottom: 15px !important;
}


.titre_appli {
    margin-top: 1em;
    font-size: 1.7rem;
    font-weight: 600;
    color: #6d7680;
}


/*****************************************************************************/
/************************* SECTION ACTU HOME PAGE *************************/
/*****************************************************************************/


#section-actu {
    padding-top: 0 !important;
}

  @media(max-width: 980px) {
      #page-container #section-actu .section-actu-titre {
          padding-bottom: 0;
      }
  }
#page-container #section-actu .section-actu-titre .et_pb_column {
    width: 100%;
    padding-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}
#page-container #section-actu .section-actu-titre .et_pb_text {
    margin-bottom: 0;
}
#page-container #section-actu .section-actu-titre .et_pb_text_inner {
    width: fit-content;
    width: -moz-fit-content;
}

#page-container #section-actu h2.entry-title {
    padding: 5px 20px 40px 20px;
}

#page-container #section-actu .section-actu-icone-rs,
.et-db #page-container #et-boc .et-l .section-actu-icone-rs {
    display: flex;
    align-items: center;
}

#page-container #section-actu .section-actu-icone-rs span,
.et-db #page-container #et-boc .et-l .section-actu-icone-rs span {
    height: auto;
    width: auto;
    margin-left: 20px;
    margin-bottom: 0;
    display: inline-block;
    font-size: 1.3rem;
}

#page-container #section-actu .section-actu-icone-rs span.icone,
.et-db #page-container #et-boc .et-l .section-actu-icone-rs span.icone {
    width: 40px;
}

#page-container #section-actu .et_pb_button_module_wrapper {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    width: -moz-fit-content;
}
@media(max-width: 980px) {
    #page-container #section-actu .section-actu-bouton {
        padding-top: 0;
    }
}


/* ********** Nouvelle section actualites home page avec obfuscation de lien *********** */

.home .homeShortOffLink .blog-post-preview-container {
    display: flex;
    justify-content: space-between;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    width: 24% !important;
    margin: 0 44px 30px 0;
    position: relative;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview {
    background-color: #fff;
    min-height: 300px;
    height: 100%;
}


.home .homeShortOffLink .blog-post-preview-container div.obflink:hover:before {
    content: "";
    position: absolute;
    width: auto;
    height: auto;
    top: -1px;
    left: -1px;
    bottom: -1px;
    right: -1px;
    background-color: rgba(0, 0, 0, 0.6);
    display: block;
    z-index: 9;
    visibility: initial;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .images-container {
    margin: 0 0 15px 0;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview-image {
    width: 100%;
    height: 209px;
    object-fit: cover;
    margin-bottom: 0;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 33%;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview p.entry-date {
    position: absolute;
    right: 5px;
    bottom: -4px;
    font-size: 0.8rem;
    color: #DAD9D2;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview-content p.hoverMore {
    display: none;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink:hover .blog-post-preview-content p.hoverMore {
    position: absolute;
    bottom: 38%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    height: 3.2rem;
    background-color: #161616;
    z-index: 11;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview-content h2.entry-title {
    font-size: 1.1rem !important;
    text-align: center;
    width: 100%;
}

.home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview-content h2.entry-title::before {
    left: -5px !important;
}

@media(max-width: 1100px) {

    .home .homeShortOffLink .blog-post-preview-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .home .homeShortOffLink .blog-post-preview-container div.obflink {
        width: 100% !important;
    }
}

@media(max-width: 768px) {

    .home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview p.entry-date {
        position: absolute;
        right: 5px;
        bottom: 4px;
        font-size: 0.8rem;
        color: #ccdbe1;
    }

    .home .homeShortOffLink .blog-post-preview-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: inherit;
    }

    .home .homeShortOffLink .blog-post-preview-container div.obflink {
        height: 350px;
    }

    .home .homeShortOffLink .blog-post-preview-container div.obflink .blog-post-preview-image {
        height: 240px;
    }
}


/*****************************************************************************/
/************************* PAGE BLOG *****************************************/
/*****************************************************************************/

.single-blog .et-db #page-container #et-boc .et-l {
    width: 1280px;
    margin: auto;
}

/*****************************************************************************/
/************************* PAGE INDUSTRIE ************************************/
/*****************************************************************************/

/* Colonnes flexibles */
.section-resume .et_pb_column {
    display: flex;
    flex-wrap: wrap;
}

/* Module blurb */
.section-resume .et_pb_blurb {
    display: flex;
    align-items: flex-start;
    width: calc(50% - 20px);
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-resume .et_pb_blurb:nth-child(2n-1) {
    margin-right: 20px;
}

.section-resume .et_pb_blurb:nth-child(2n) {
    margin-left: 20px;
}

/* Contenu du blurb */
.section-resume .et_pb_blurb_content {
    display: flex;
    gap: 20px;
    max-width: inherit;
}

.et-db #page-container #et-boc .et-l .section-resume .et_pb_blurb_content h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 600;
}

.et-db #page-container #et-boc .et-l .section-resume .et_pb_blurb_content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.et-db #page-container #et-boc .et-l .section-resume .et_pb_blurb_content p {
    margin-top: 10px;
}

@media(max-width: 980px) {
    .section-resume .et_pb_blurb_content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .section-resume .et_pb_blurb .et_pb_main_blurb_image {
        width: 100% !important;
    }

    .section-resume .et_pb_blurb .et_pb_main_blurb_image img {
        max-height: 250px;
        object-fit: cover;
    }
}

@media(max-width: 583px) {
    .section-resume .et_pb_column {
        flex-direction: column;
    }

    .section-resume .et_pb_blurb {
        width: 100%;
    }

    .section-resume .et_pb_blurb:nth-child(2n) {
        margin-left: initial;
        margin-right: 20px;
    }
}

/* Conteneur de l’image */
.section-resume .et_pb_blurb .et_pb_main_blurb_image {
    width: 35%;
    flex-shrink: 1;
    margin-top: 1%;
}

/* Conteneur texte */
.section-resume .et_pb_blurb .et_pb_blurb_container {
    flex: 1;
}
