/**
 * Les entetes
 */

/* =============================================================================
   GLOBAL ENTETE
   ============================================================================= */
.et-db #page-container #et-boc .et-l .et_pb_section.entete{
    overflow: hidden;
    z-index: 10;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_button_module_wrapper{
    justify-content: flex-start;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper){
    background: #F5F5F5;
    width: 100%;
    margin-left: calc((100vw - 90%) / 2);
    padding-bottom: 0;
    padding-top: 3rem;
}
/* spe sans boutons ancrage */
@media(min-width: 1366px){
  .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper):not(:has(.ancre)){
      min-height: 350px;
  }
}
@media(min-width: 1500px){
  .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper):not(:has(.ancre)){
      min-height: 385px;
  }
}
@media(min-width: 1720px){
  .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper):not(:has(.ancre)){
      min-height: 500px;
  }
}


.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper){
    width: 100%;
    padding-left: 5rem;
    z-index: 3;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_module:has(:not(h2)){
    max-width: 544px;
    margin-bottom: 1rem;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_module:has(.ancre){
    margin-bottom: 0;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_button_module_wrapper{
    margin-bottom: 4rem !important;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_module:has(h2){
    max-width: max-content;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_module:has(h2) .ancre{
    display: flex;
    gap: 1px;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_module.fixed-anchor:has(h2) .ancre{
    justify-content: flex-start;
    padding: 0 calc((100vw - 80%) / 2);
    gap: 1rem;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap){
    position: absolute;
    right: 18%;
    bottom: 19%;
    max-height: 682px;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap) img{
    max-width: 112%;
    object-fit: cover;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .ancre a{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: var(--text-color);
    color: #fff;
    height: 45px;
    width: auto;
    padding: 0 1rem;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .ancre:has(a:hover) a:not(:hover){
    opacity: 0.3;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .ancre a:hover{
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .ancre a .bold{
    padding-left: 0.5rem;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete:not(:has(.fixed-anchor)) .ancre a:after{
    font-family: 'ETMODULES';
    content: '\33';
    text-align: center;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.5em;
    margin-left: 1rem;
}

@media(max-width: 1779px){
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap){
        right: 15%;
    }
}

@media(min-width: 1720px){
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper){
        margin-left: calc((100vw - 80%) / 2);
    }
}

@media(max-width: 1647px){
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap){
        right: 12%;
    }
}

@media(max-width: 1541px){
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap){
        right: 10%;
    }
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap) img {
      max-width: 107%;
    }
}

@media(max-width: 1182px){
  /*** row ***/
  .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) {
    width: 95%;
    padding-right: calc((100vw - 90%) / 2);
  }
    /** colonne image **/
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap){
        position: relative;
        right: inherit;
        left: inherit;
    }
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap) img {
      max-width: 100%;
    }
    /** colonne texte **/
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper){
        min-height: inherit;
        margin-right: 20px;
        width: 50%;
        flex: 1;
    }
}

@media(max-width: 980px){
    .et-db #page-container #et-boc .et-l .et_pb_section.entete{
        padding: 0;
    }
    /*** 1er row ***/
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(h1){
        padding-top: 0;
    }
    /*** 2eme row ***/
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper){
        display: flex;
        flex-direction: column-reverse;
        padding-top: 15px;
        padding-right: 0;
        margin: 0 auto;
        width: 100%;
    }

    /** colonne texte **/
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper){
        padding-left: 0;
        margin-right: 0;
        width: 90% !important;
    }
    /* tous les modules */
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_module:has(:not(h2)){
        max-width: inherit;
    }
    /* bouton */
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_button_module_wrapper{
        margin-bottom: 0 !important;
    }
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_button_module_wrapper .et_pb_button{
        width: 100%;
    }
    /* ancre */
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_module:has(h2){
        display: none;
    }
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row .et_pb_column .et_pb_module.fixed-anchor .ancre{
        top: 81px !important;
        flex-direction: column;
        gap: 0;
    }
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row .et_pb_column .et_pb_module.fixed-anchor .ancre a{
        width: 100%;
    }
    /* colonne image */
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap){
        left: inherit;
        transform: inherit;
        width: 90% !important;
    }
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_image_wrap) img{
        width: auto;
        max-width: 100%;
    }
}


@media(max-width: 425px){
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .ancre a{
        justify-content: flex-start;
    }
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_button_module_wrapper .et_pb_button{
        padding-left: 1rem;
    }
}

@media(max-width: 375px){
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .ancre a{
        padding: 0 0.4rem;
    }
}

/* =============================================================================
   MENU ANCRAGE
   ============================================================================= */
.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row .et_pb_column .et_pb_module.fixed-anchor .ancre {
    top: 61px;
    position: fixed;
    width: 100%;
    padding: 0;
    z-index: 9999;
    height: 2.5rem;
    background: var(--text-color);
    left: 0;
    justify-content: space-evenly;
    align-items: center;
}

.et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row .et_pb_column .et_pb_module.fixed-anchor .ancre a {
    height: auto;
    width: auto;
}

@media(max-width: 980px){
    .et-db #page-container #et-boc .et-l .et_pb_section.entete .et_pb_row:has(.et_pb_button_module_wrapper) .et_pb_column:has(.et_pb_button_module_wrapper) .et_pb_module:has(h2) .ancre.visible-en-scroll{
        top: 4.84rem;
    }
}

/* =============================================================================
   NOS REUSSITES - ENTETE - AVEC VIDEO 16/9
   ============================================================================= */
.et-db #page-container #et-boc .et-l .entete-reussite {
    padding: 0 !important;
}

.et-db #page-container #et-boc .et-l .entete-reussite .et_pb_row {
    max-width: 1366px !important;
    width: 90% !important;
    padding: 0 !important;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_row{
    margin: inherit;
    display: flex;
    justify-content: space-between;
    width: 100% !important;
}

.et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.et-db #page-container #et-boc .et-l .entete-reussite a.et_pb_button {
    padding-left: 0 !important;
}

.et-db #page-container #et-boc .et-l .entete-reussite a.et_pb_button:after{
    color: var(--main-color);
}

.et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video),.first-column) {
    background-color: var(--text-color);
    padding: 5.25rem 0 2.88rem 0 !important;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
}

.et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video,video)) .et_pb_module:not(.et_pb_button_module_wrapper){
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video,video)) .et_pb_button_module_wrapper a{
    padding-right: 3.875rem;
}

.et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video,video)) .et_pb_button_module_wrapper{
    margin-bottom: 0;
}

.et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video,video)) .et_pb_button_module_wrapper:nth-child(3) a::before{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: -2.5rem;
    height: 12px;
    width: 2px;
    background: #fff;
    transform: translateY(-50%);
}

.et-db #page-container #et-boc .et-l .entete-reussite .tag-conteneur{
    flex-wrap: wrap;
}

.et-db #page-container #et-boc .et-l .entete-reussite .sous-titre {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.et-db #page-container #et-boc .et-l .entete-reussite .tag-conteneur p{
    color: var(--text-color) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.75rem;
    min-width: 9.437rem;
}

.et-db #page-container #et-boc .et-l .entete-reussite p.description-conteneur{
    line-height: 1.7;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0;
    margin-bottom: 1.875rem;
}

.et-db #page-container #et-boc .et-l .entete-reussite .tag-conteneur p.tag-parent {
    background-color: var(--yellow-color);
}

.et-db #page-container #et-boc .et-l .entete-reussite .tag-conteneur p.tag-enfant {
    background-color: var(--light-grey-color);
    padding: 12px 30px;
}

.et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_video_box :is(video, iframe) {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

.et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_video_box video {
    object-fit: cover;
}

.et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_column:has(.et_pb_video) {
    min-width: 400px;
}

.et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_column:has(.et_pb_video) .et_pb_video{
    width: 100%;
}

.et-db #page-container #et-boc .et-l .entete-reussite .et_pb_video_overlay {
    display: none !important;
}

@media (max-width: 1200px) {
    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column {
        margin: 2rem 0;
    }

    .et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_row {
        flex-direction: column;
        gap: 2rem;
    }

    .et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_row::after{
        display: none;
    }

    .et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_column:has(.et_pb_video) {
        min-width: 0;
        max-width: 640px;
        width: 100%;
    }

    .et-db #page-container #et-boc .et-l .entete-reussite .tag-conteneur {
        flex-wrap: wrap;
    }

    .et-db #page-container #et-boc .et-l  > .et_pb_row > .et_pb_column{
        margin: 0 auto !important;
    }

    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video),.first-column){
        margin: 0 !important;
        padding: 0 !important;
        grid-template-areas:
        "a a"
        "b c";
    }
    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video,video)) .et_pb_module:not(.et_pb_button_module_wrapper){
        grid-area: a;
    }
    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video,video)) .et_pb_module.et_pb_button_module_wrapper{
        margin-bottom: 0;
    }
    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video,video)) .et_pb_module.et_pb_button_module_wrapper:has(.real){
        grid-area: b;
    }
    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video,video)) .et_pb_module.et_pb_button_module_wrapper:has(.temo){
        grid-area: c;
    }
    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_row{
        overflow: visible;
    }
}

@media(max-width: 980px){
    .et-db #page-container #et-boc .et-l .entete-reussite {
        padding: 3rem 0 0 0 !important;
    }
}

@media(max-width: 777px){
    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_row .et_pb_column{
        display: block;
    }
}

@media(max-width: 550px){
    .et-db #page-container #et-boc .et-l .entete-reussite .et_pb_column:not(:has(.et_pb_video),.first-column){
        display: flex;
        flex-direction: column;
        align-items: baseline;
    }
    .et-db #page-container #et-boc .et-l .entete-reussite {
        padding: 0!important;
    }
}

@media(max-width: 425px){
    .et-db #page-container #et-boc .et-l .entete-reussite > .et_pb_row > .et_pb_column{
        padding: 2rem 0 !important;
        grid-template-columns: 1fr;
    }

    .et-db #page-container #et-boc .et-l .entete-reussite a.et_pb_button{
        justify-content: flex-start;
    }

    .et-db #page-container #et-boc .et-l .entete-reussite .tag-conteneur p:last-child{
        padding: 8px 20px;
    }

    .et-db #page-container #et-boc .et-l .entete-reussite #entete-reussite-wrapper .et_pb_column:has(.et_pb_video){
        margin: 0 !important;
        width: 100% !important;
    }
}

/* =============================================================================
   SECTION ENTETE FP ET MODULE COMPLEMENTAIRE
   ============================================================================= */
.et-db #page-container #et-boc .et-l .section_entete_fp{
    overflow: hidden;
    padding-bottom: 0;
}
@media(min-width: 981px) {
  .et-db #page-container #et-boc .et-l .section_entete_fp {
      margin-bottom: -20px;
  }
}
.et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row{
    padding-bottom: 0;
    display: flex;
    align-items: stretch;
}
.et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .et_pb_column{
    width: calc(50% - 20px);
    margin: 0;
}

/*********** colonne texte  ***********/
.et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte {
    padding: 0 0 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 20px;
}
  @media(max-width: 1250px) {
    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte {
        padding: 0 0 30px 70px;
    }
  }
.et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte .et_pb_text_inner:has(a){
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte .et_pb_text_inner:has(a) a{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 45px;
    width: 262px;
}
.et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte .et_pb_text_inner:has(a) a:after{
    font-family: 'ETMODULES';
    content: '\33';
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    margin-left: 1rem;
}
.et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte .et_pb_button_module_wrapper{
    margin-bottom: 1rem;
}

/*********** colonne galerie  ***********/
.et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_galerie {
    margin-right: 20px;
}
.section_entete_fp .galerie-slide.thumb-item{
    display: block;
}

/* =============================================================================
   STYLE ADMIN POUR LA METABOXE "Galerie Mixte"
   ============================================================================= */
#product-media-container #video-drop-zone{
  transition: all 0.3s ease;
}
#product-media-container #video-drop-zone:hover{
  border-color:#007cba !important;
  background-color:#f0f8ff !important;
}
#product-media-container .media-item{
  transition: background-color 0.2s ease;
}
#product-media-container .media-item:hover{
  background-color:#f8f9fa !important;
}
#product-media-container .button:disabled{
  opacity:0.5;
  cursor:not-allowed;
}
#product-media-container #new_video_url{
  transition: border-color 0.3s ease;
}
#product-media-container .thumb-item{
  transition: all 0.2s ease;
}
#product-media-container .thumb-item:hover{
  transform: scale(1.05);
  border-color:#007cba !important;
}
@media(max-width: 980px) {
    .et-db #page-container #et-boc .et-l .section_entete_fp{
        padding-bottom: 10px;
        margin-top: 0;
    }
    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte{
        padding: 0 0 4rem 0;
    }
    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .et_pb_column{
        width: 100%;
        padding-left: inherit;
        padding-right: inherit;
        margin: 0 auto;
    }
    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte::after {
        display: none;
    }
    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row{
        flex-direction: column-reverse;
    }
}
@media(max-width: 475px){
    .et-db #page-container #et-boc .et-l .section_entete_fp .col_entete_fp_texte .et_pb_button{
        width: 100%;
    }

    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte img{
        max-width: 100%;
    }

    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte .et_pb_button{
        max-width: 100%;
    }
    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte{
        padding: 2rem 0 0 0;
    }
}
@media(max-width: 320px){
    .et-db #page-container #et-boc .et-l .section_entete_fp .et_pb_row .col_entete_fp_texte{
        padding: 1rem 0 0 0;
    }
}
