@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100;0,300;0,400;0,600;0,800;1,100;1,300;1,400;1,600;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,800;0,900;1,400;1,600;1,800;1,900&display=swap');

:root {

    --jem-font-size : 16px;
    --jem-font-family : 'Raleway', sans-serif;
    /* --jem-font-family : 'Libre Franklin', sans-serif; */
    --jem-font-title : 'Montserrat', sans-serif;
    /* --jem-font-title : 'Playfair Display', serif;   */   


    --jem-tiny-size : 0.5rem; 
    --jem-small-size : 0.9rem; 

    --jem-medium-size : 1.2rem;
    --jem-medium-size-l : 1.5rem;
    --jem-medium-size-xl : 1.8rem;

    --jem-large-size : 2.3rem;
    --jem-large-size-l : 3rem;
    --jem-large-size-xl : 4rem;

    --font-weight-normal : 500;
    --font-weight-bold : 600;
    --font-weight-big : 800;

    --jem-font-color: #110f16;
    --jem-link-color: #181719;
    --jem-third-color: #00ac98;

    --jem-box-shadow : 0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);
    --jem-box-shadow-large : 10px 10px 30px 0px rgba(174,174,192,0.5),-10px -10px 30px 0px rgba(255,255,255,1);
    --jem-box-shadow-min: 0 5px 5px 0px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);

    --jem-radius-button : 5px;

    --jem-height-navbar : 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  font-family: var(--jem-font-family);
  font-size: var(--jem-font-size);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  color: var(--jem-font-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--jem-font-title);
  color: var(--primary-color);
  margin-bottom: 20px;
}

h1 {
  font-size: 24px;
}

input,
select,
textarea {
    border: solid 1px var(--jem-font-color);
    font-size: var(--jem-font-size);
    border-radius: 0!important;
}

label {
  cursor: default;
  color: var(--jem-label-color);
  margin-right: var(--jem-font-size);
  font-size: var(--jem-small-size);
}

a {
  color: var(--jem-third-color);
  text-decoration: none;
}

a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

a.jem-no-decoration:hover {
  text-decoration: underline;
}

p {
  line-height: 1.5;
}

select {
 -webkit-appearance: none;
}

.jem-no-list-style {
  list-style: none ;
}

/* a.jem-link-block {
  display: block;
  background-color: var(--secondary-color);
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: var(--jem-medium-size);
  padding: 10px;
} */

.jem-fit {
  height: fit-content;
}

.jem-spacer-20 {
  height: 20px;
}

.jem-btn-list {
  border: none;
  background-color: transparent;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.jem-btn-list:hover {
 color: var(--hover-color);
}

.jem-button,
a.jem-button {
  display: block;
  float: center;
  background-color: var(--contrast-color);
  padding: 10px 30px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  border: none;
}

.jem-button:hover,
a.jem-button:hover {
  background-color: var(--hover-color);
}

/* ******************************************************* */
/* JEM FLEXBOX */
/* ******************************************************* */

.jem-flex-evenly {
  display: flex;
  justify-content: space-evenly; 
}

.jem-flex-start {
  display: flex;
  justify-content: flex-start; 
}

.jem-flex-end {
  display: flex;
  justify-content: flex-end; 
}

.jem-flex-between {
  display: flex;
  justify-content:space-between;
}

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

.jem-align-center {
  align-items: center;
}

.jem-flex-wrap {
  flex-wrap: wrap;
}

.jem-flex-gap {
  gap: 20px;
}

.jem-flex-gap-max {
  gap: 50px;
}

/* ******************************************************* */
/* JEM TAILLES */
/* ******************************************************* */

.w-20 {
  width: 20%;
}

.w-30 {
  width: 30%;
}

.w-45 {
  width: 45%;
}

.w-50 {
  width: 50%;
}

.w-60 {
  width: 60%;
}

.w-65 {
  width: 65%;
}

.w-70 {
  width: 70%;
}

.w-100 {
  width: 100%;
}

.w-min-600 {
  margin: auto;
  width: 100%;
  max-width: 600px;
}

.w-min {
  margin: auto;
  width: 100%;
  max-width: 800px;
}

.w-mid {
  margin: auto;
  width: 100%;
  max-width: 1000px;
}

.w-max {
  width: 100%;
  max-width: 1600px;
	margin: auto;
}

.m-top {
  margin-top: 40px;
}

.m-top-min {
  margin-top: 20px;
}

.m-top-double {
  margin-top: 80px;
}

.m-top-navbar {
  margin-top: var(--jem-height-navbar);
}

.m-bottom {
  margin-bottom: 40px;
}

.m-bottom-0 {
  margin-bottom: 0px;
}

.m-bottom-10 {
  margin-bottom: 10px;
}

.m-bottom-min {
  margin-bottom: 20px;
}

.m-right-10 {
  margin-right: 10px;
}

/* **************************************
** IMAGES
*****************************************/

.jem-img,
.jem-img-cover {
  overflow: hidden;
}

.jem-img-ratio-square {
  aspect-ratio: 1 / 1;
}

.jem-img img {
  width: 100%;
  height: 100%;
  object-fit:contain;
}

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

/* **************************************
** TEXTES
*****************************************/

.square-text {
   padding : 6rem ;
   height: auto;
   /* background-color: var(--bbv-bis-color); */
   background-color: #FFF;
}

/* **************************************
** PRE-FOOTER
*****************************************/

 .jem-nav-pages {
           width: fit-content;
       }

.jem-nav-pages li a {
           display: block;
           font-size: 0.9rem;
           font-weight: var(--font-weight-bold);
           color: var(--primary-color);
           text-decoration: none;
           padding: 0 1em;
           border-right: 1px solid var(--primary-color);
       }
.jem-nav-pages li a:hover {
           color: var(--jhover-color);
       }

.jem-nav-pages li:first-child a {
           padding: 0 1em 0 0;
       }

.jem-nav-pages li:last-child a {
           border-right: none;
       }


/* *********************************************************************************************** */
/* NAVBAR MOBILE */
/* *********************************************************************************************** */

.mobile-navbar {
  display: none;
}

.mobile-navbar-icon {
  font-size: 1.4rem;
  color: var(--primary-color);
  padding: 20px 40px;
  text-align: end;
}

.mobile-navbar-menu {
  display: flex;
  justify-content: start;
  flex-direction: column;
  background-color: var(--primary-color);
/*   width: 100%; */
  height: 100vh;
  padding: 40px;
  width: 100vw;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transform: translateX(100vw);
  -webkit-transition: transform 0.6s;
  transition: transform 0.6s;
}

.mobile-menu-container{
  height: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.mobile-menu-container > ul {
  list-style-type: none;
  text-transform: uppercase;
  font-weight: 700;
}

.mobile-menu-container > ul li {
  margin-bottom: 10px;
}

.mobile-menu-li {
  text-transform: uppercase;
  font-weight: 700;
  color: white;
}

.mobile-menu-container > ul a {
  color: white;
  display: block;
  padding: 5px 0;
}

.mobile-menu-container > ul a:hover {
  color: var(--hover-color);
  text-decoration: none;
}

.mobile-icons-container {
  margin-bottom: 1em;
  display: flex;
  color: white;
  font-size: 1rem;
}

.mobile-icons-container li {
  display: inline-block;
  margin-right: 1em;
}

  .mobile-appear {
    transform: translateX(0vw);
  }

  .mobile-menu-down {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    font-size: 1.3rem;
    color: var(--dark-color);
    z-index: 9999;
    visibility: hidden;
    height: 75px;
  }

  .mobile-menu-down-div-icon {
    display:flex;
    flex-direction:column;
    align-items:center;
    color: var(--bbv-main-color-2);
  }

  .mobile-menu-down-div-icon p {
    margin-top: 3px;
    font-size:0.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--bbv-main-color-2);
  }

  .godigit-mobile-search {
    display: none;
    position: fixed;
    width: 100%;
    bottom: 75px;
    background-color: var(--light-color-2);
    height: 100px;
    z-index: 400;
    transform: translateY(200px);
    -webkit-transition: transform 0.6s;
    transition: transform 0.6s;
  }

  .mobile-search-appear {
    transform: translateY(0px);
  }
  
  .godigit-mobile-search .infos-search {
    border-color: var(--dark-color);
  }

  .godigit-mobile-search .infos-search input,
  .godigit-mobile-search .infos-search input::placeholder {
    font-size: 1.3rem;
    color: var(--dark-color);
  }

  .godigit-navbar-search {
    position: absolute;
    width: 100%;
    top: 0px;
    background-color: var(--footer-color);
    color: white;
    height: 160px;
    z-index: auto;
    box-shadow: 0px 4px 4px rgba(55, 77, 97, 0.1);
    transform: translateY(-200px);
    -webkit-transition: transform 0.6s;
    transition: transform 0.6s;
  }

  .navbar-search-appear {
    transform: translateY(0px);
  }

  .godigit-navbar-search .infos-search {
    border-color: white;
    margin: 50px 60px 60px ;
  }

  .infos-search {
    height: 35px;
    padding: none;
    margin: 20px;
    border-bottom: 1px solid;
    border-bottom-color: currentcolor;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: var(--font-weight-light);
    letter-spacing: 1px;
  }

  .infos-search input {
    width: 100%;
    text-align: right;
    margin-right: 200px;
  }

  .godigit-navbar-search .infos-search input,
  .godigit-navbar-search .infos-search input::placeholder {
    font-size: 1rem;
    color: white;
    font-weight: var(--font-weight-normal);
  }

  .close-icon {
    float: right;
    margin-top: 1em;
    margin-right: 1em;;
  }

  .mobile-navbar-menu > ul {
    overflow: hidden;
  }

  .mobile-menu-ul {
    color: white;
  }

  .mobile-menu-label {
    cursor: pointer;
    display: block;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
  }

  .fa-chevron-right {
    -webkit-transition: transform 0.2s;
    transition: transform 0.2s;
    transform: rotateZ(0deg);
  }
  
  .mobile-menu-label:hover .fa-chevron-right {
    transform: rotateZ(90deg);
  }

  .mobile-menu-ul > li {
    cursor: pointer;
    overflow: hidden;
    height: 0;
    margin: 0;
    opacity: 0;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }

  .mobile-menu-container ul li ul {
    margin-bottom: 0.5em;
  }


/*   .mobile-menu-container ul li ul li a {
    font-size: 1rem;
  } */

  .mobile-menu-input[type="checkbox"] {
    display: none;
  }

  .mobile-menu-input:checked + .mobile-menu-ul > li:first-child {
    margin-top: 0.4em;
  }
  .mobile-menu-input:checked + .mobile-menu-ul > li:last-child {
    margin-bottom: 0.6em;
  }

  .mobile-menu-input:checked + .mobile-menu-ul > li {
    height: 1.6em;
    opacity: 1;
  }

/* **************************************
** NAV
*****************************************/       

/* .menu_nav {
  background-color: var(--dark);
}

.menu_nav a {
  color: white;
}

.menu_nav {
  width: 100%;
  position: relative;
}

.menu_nav a:hover {
  background-color: #f9b004;
  transition: all 0.3s;
} */

/* **************************************
** FOOTER
*****************************************/

 .footer-parent {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    .footer-div1 {
        grid-area: 1 / 1 / 2 / 2;
    }

       .footer-div2 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .footer-div3 {
        grid-area: 1 / 2 / 2 / 3;
    }

    .footer-div4 {
        grid-area: 2 / 2 / 3 / 3;
    }

    .footer-div5 {
        grid-area: 1 / 3 / 3 / 4;
    }

    .footer-div6 {
        grid-area: 2 / 3 / 4 / 3;
    }

       .footer-div7 {
        grid-area: 1 / 4 / 4 / 4;
    }

    @media (max-width: 800px) {
        .footer-parent {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .footer-div7 {
            order: 1;
        }

        .footer-div1 {
            order: 2;
        }

        .footer-div3 {
            order: 3;
        }

        .footer-div2,
        .footer-div6 {
            display: none;
        }

        .footer-menu-ul {
            padding-left: 0;
        }
    }


/* **************************************
** MEDIA QUERIES
*****************************************/


@media(max-width: 560px) {
    .jem-display-desktop {
        display: none;
    }

/*       .menu_nav {
    display: none;
    transition: all 0.8s;
  } */
}

@media(min-width: 560px) {
    .jem-display-mobile {
        display: none;
    }
}

@media(max-width: 800px) {
  .m-top,
  .m-top-double {
    margin-top: 20px;
  }

  .jem-flex-center.jem-flex-wrap {
    margin-bottom: 40px;
    margin-top: 40px;
  }
}

@media(max-width: 1200px) {
  .jem-hide-tablet {
    display: none;
  }
}


