/*
Theme Name: Medicospa de letoile
Template: Divi
Description: Divi Child Theme
Author: PIERRAT Jimmy - Lcom
*/
@charset "UTF-8";

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  line-height: normal;
}

@media screen and (min-width: 980px) and (max-width: 1150px) {

  p,
  ul,
  li {
    font-size: 16px !important;
  }
}

footer .et_pb_text_inner li {
  line-height: 100%;
}

h1 {
  font-size: clamp(1.6rem, 0.66vw + 1.6rem, 3.055rem) !important;
}

.formulaire-contact {
  font-family: "Jost", sans-serif !important;
}

.formulaire-contact .forminator-button {
  position: relative !important;
  padding: 0.3em 0.3rem 0.3rem 0.7rem !important;
  display: inline-flex !important;
  align-items: center !important;
  z-index: 3 !important;
  overflow: visible !important;
  width: 5rem !important;
}

.formulaire-contact .forminator-button span {
  padding-left: 1.1rem !important;
}

.formulaire-contact .forminator-button::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 2.22rem !important;
  height: 2.22rem !important;
  background-image: url("/wp-content/themes/Medicospa-de-letoile/assets/rond.png") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  z-index: 1 !important;
}

.formulaire-contact .forminator-button::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 0.5rem !important;
  height: 0.5rem !important;
  border-radius: 50% !important;
  background: #E9C1A5 !important;
  z-index: 2 !important;
  transition: width 0.3s ease, left 0.3s ease;
}

.formulaire-contact .forminator-button:hover::after {
  width: 0 !important;
  left: 16px !important;
}

.formulaire-contact .forminator-button:hover span {
  padding-left: 0.5rem !important;
}

.small-h1 {
  font-size: clamp(1.94444rem, 1vw + 1.6rem, 2.5rem) !important;
}

.pink-h1 {
  color: #E9C1A5 !important;
  font-size: clamp(2rem, 1.5vw + 1.5rem, 3.6rem) !important;
}

.pink-h2 {
  color: #E9C1A5 !important;
}

.et_pb_section:has(.word-stroke) {
  z-index: -10 !important;
}

.word-stroke {
  font-family: "Jost", sans-serif;
  -webkit-text-stroke-color: #E9C1A5;
  -webkit-text-stroke-width: 3px;
  color: white !important;
  paint-order: stroke fill;
  -webkit-font-smoothing: antialiased;
  height: clamp(7rem, 5vw + 5rem, 10rem) !important;
  display: flex !important;
  justify-content: center !important;
}

.word-stroke p {
  font-size: clamp(7rem, 5vw + 5rem, 10rem) !important;
}

.word-stroke.smaller {
  height: clamp(3rem, 3vw + 2rem, 5rem) !important;
}

.word-stroke.smaller p {
  font-size: 3rem;
}

@media screen and (min-width: 980px) and (max-width: 1150px) {
  .word-stroke.smaller p {
    font-size: 2.8rem !important;
  }
}

@media (min-width: 1151px) {
  .word-stroke.smaller p {
    font-size: 3.2rem !important;
  }
}

@media (min-width: 1351px) {
  .word-stroke.smaller p {
    font-size: 3.8rem !important;
  }
}

@media (min-width: 1501px) {
  .word-stroke.smaller p {
    font-size: 4.2rem !important;
  }
}

.forminator-field:has(.forminator-button) {
  display: flex;
  justify-content: center;
}

.et_pb_button_module_wrapper:has(.btn-style) {
  position: relative;
  padding: 0.3em 0.3rem 0.3rem 0.7rem !important;
}

.et_pb_button_module_wrapper:has(.btn-style) a {
  white-space: nowrap !important;
}

.et_pb_button_module_wrapper:has(.btn-style)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.22rem;
  height: 2.22rem;
  background-image: url("/wp-content/themes/Medicospa-de-letoile/assets/rond.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.et_pb_button_module_wrapper:has(.btn-style)::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #E9C1A5;
  z-index: 2;
  transition: width 0.3s ease, left 0.3s ease;
}

.et_pb_button_module_wrapper:has(.btn-style) .btn-style {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.et_pb_button_module_wrapper:has(.btn-style):hover::after {
  width: 0;
  left: 16px;
}

@media screen and (min-width: 1425px) {
  .group-metiers {
    width: 40% !important;
  }
}

.btn-contact {
  position: relative !important;
  left: 50px !important;
  background-color: #E9C1A5 !important;
  border-radius: 2.77778rem !important;
  padding: 0.67rem 3.5rem !important;
  color: #000000 !important;
}

.mega-menu-link {
  font-family: "Jost", sans-serif !important;
}

@media screen and (min-width: 980px) {
  .mega-menu .mega-sub-menu .mega-sub-menu {
    display: none !important;
  }
}

/* Affiche uniquement au hover du parent (niveau 2) */
@media screen and (min-width: 980px) {
  .mega-menu .mega-sub-menu>li:hover>.mega-sub-menu {
    display: block !important;
  }
}

.carousel-img .et_pb_group_carousel_slide .et_pb_group {
  height: 100%;
}

.carousel-img .et_pb_group_carousel_container {
  height: 100%;
}

.carousel-img .et_pb_group_carousel_container .et_pb_group_carousel_track {
  height: 100%;
}

.carousel-img .et_pb_group_carousel_container .et_pb_group_carousel_track .et_pb_image {
  height: 100%;
}

.carousel-img .et_pb_group_carousel_container .et_pb_group_carousel_track .et_pb_image .et_pb_image_wrap {
  height: 100%;
}

.carousel-img .et_pb_group_carousel_container .et_pb_group_carousel_track .et_pb_image img {
  height: 100% !important;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.carousel-img .et_pb_group_carousel_arrow_prev,
.carousel-img .et_pb_group_carousel_arrow_next {
  position: absolute;
  top: inherit !important;
  transform: none !important;
  bottom: 0px !important;
}

.carousel-img .et_pb_group_carousel_arrow_prev {
  left: inherit;
  right: 72px;
  border-right: 2px solid #e9c1a5;
}

@media screen and (max-width: 680px) {
  .carousel-img .et_pb_group_carousel_arrow_prev {
    right: 62px !important;
  }
}

.carousel-img .et_pb_group_carousel_arrow_prev::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 75%;
  background-color: #FFFFFF;
  right: -2px !important;
  top: 10%;
  left: inherit;
}

#menu-nav-header {
  justify-content: flex-start !important;
  transition: all 0.4s ease;
}

#menu-nav-header #mega-menu-wrap-primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 980px) {

  /*   #menu-nav-header #mega-menu-wrap-primary-menu {
    align-items: flex-start !important;
    height: 90vh !important;
  } */
  #menu-nav-header #mega-menu-wrap-primary-menu .mega-menu-item {
    width: 90% !important;
  }
}

#menu-nav-header #mega-menu-primary-menu {
  position: relative !important;
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  max-height: 114px;
  max-width: 650px !important;
}

@media screen and (min-width: 981px) and (max-width: 1350px) {
  #menu-nav-header #mega-menu-primary-menu {
    gap: 0% !important;
  }
}

@media screen and (min-width: 1351px) {
  #menu-nav-header #mega-menu-primary-menu {
    gap: 20px !important;
  }
}

@media screen and (max-width: 980px) {
  #menu-nav-header #mega-menu-primary-menu {
    height: auto !important;
    align-items: center !important;
    text-align: left !important;
    justify-content: space-between !important;
    width: 90vw !important;
    max-height: 75vh !important;
    /* height: 100% !important;
      align-items: center !important;
      text-align: left !important;
      justify-content: space-between !important;
      width: 90vw !important;
      max-height: 75vh !important; */
  }

  #menu-nav-header #mega-menu-primary-menu .mega-sub-menu {
    margin-top: 25px !important;
  }

  #menu-nav-header #mega-menu-primary-menu .mega-sub-menu .mega-menu-link {
    text-align: left !important;
    margin-bottom: 25px !important;
  }

  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-item {
    margin-bottom: 1rem !important;
  }

  #mega-menu-wrap-primary-menu #mega-menu-primary-menu>li.mega-menu-megamenu>ul.mega-sub-menu {
    padding-left: 1.5rem !important;
  }

  #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu li.mega-collapse-children.mega-toggle-on>ul.mega-sub-menu {
    padding-left: 1.5rem !important;
  }
}

@media screen and (min-width: 980px) and (max-width: 1100px) {
  #menu-nav-header #mega-menu-primary-menu .mega-menu-link {
    font-size: 14px !important;
  }
}

@media screen and (min-width: 1101px) and (max-width: 1200px) {
  #menu-nav-header #mega-menu-primary-menu .mega-menu-link {
    font-size: 16px !important;
  }
}

#menu-nav-header #mega-menu-primary-menu .mega-sub-menu .mega-menu-item .mega-sub-menu {
  display: none;
}

@media screen and (min-width: 980px) {
  #menu-nav-header #mega-menu-primary-menu .mega-sub-menu .mega-indicator {
    display: none !important;
  }
}

#menu-nav-header #mega-menu-primary-menu .mega-sub-menu {
  width: 80vw !important;
  display: flex;
  padding: 0px !important;
}

@media screen and (min-width: 980px) {
  #menu-nav-header #mega-menu-primary-menu .mega-sub-menu::before {
    left: -15% !important;
    content: "" !important;
    position: absolute !important;
    height: 100% !important;
    background-color: white !important;
    z-index: -1 !important;
    display: flex !important;
    top: 0 !important;
    width: 105vw !important;
  }
}

#menu-nav-header #mega-menu-primary-menu .mega-sub-menu .mega-menu-item {
  position: static !important;
}

#menu-nav-header #mega-menu-primary-menu .mega-sub-menu .mega-menu-item .mega-sub-menu::before {
  display: none !important;
}

@media screen and (min-width: 980px) {
  #menu-nav-header #mega-menu-primary-menu .mega-sub-menu .mega-menu-item:hover>.mega-sub-menu {
    display: flex !important;
    align-items: center;
    justify-content: space-evenly;
    position: absolute;
    right: 0px;
    padding: 0px !important;
    top: 55px;
    padding-bottom: 15px !important;
    background: white;
    z-index: -1;
  }
}

@media screen and (min-width: 980px) and (max-width: 1080px) {
  #menu-nav-header #mega-menu-primary-menu .mega-sub-menu .mega-menu-item:hover>.mega-sub-menu {
    top: 50px;
  }
}

@media (max-width: 980px) {
  #menu-nav-header {
    height: 114px !important;
  }

  #menu-nav-header:has(.active) {
    height: 100% !important;
  }

  #menu-nav-header .menu-burger {
    position: fixed;
    top: 5px;
    right: 10%;
    z-index: 4;
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    transition: all 0.4s ease;
  }

  #menu-nav-header .menu-burger span {
    position: absolute;
    display: block;
    height: 5px;
    background-color: #000000;
    transition: all 0.3s ease;
  }

  #menu-nav-header .menu-burger span:nth-child(1) {
    width: 3.5rem;
    top: 2rem;
    right: 1.3rem;
  }

  #menu-nav-header .menu-burger span:nth-child(2) {
    width: 2.5rem;
    top: 2.8rem;
    right: 1.8rem;
  }

  #menu-nav-header .menu-burger span:nth-child(3) {
    width: 1.5rem;
    top: 3.6rem;
    right: 2.3rem;
  }

  #menu-nav-header .menu-burger.active {
    width: 102vw;
    height: 0 !important;
    border-radius: 0;
    transform: translate(2%, -8%);
  }

  #menu-nav-header .menu-burger.active span {
    width: 2.8rem;
    position: fixed;
    top: 3rem;
    right: 2rem;
    transform-origin: center center;
  }

  #menu-nav-header .menu-burger.active span:nth-child(1) {
    transform: rotate(45deg);
  }

  #menu-nav-header .menu-burger.active span:nth-child(2) {
    opacity: 0;
    transform: none;
  }

  #menu-nav-header .menu-burger.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  #menu-nav-header {
    /* Menu en plein écran */
  }

  #menu-nav-header .menu-fullscreen {
    display: none;
    position: absolute;
    top: 114px;
    left: 0;
    width: 100vw;
    height: 80vh;
    z-index: 3;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.4s ease;
  }

  #menu-nav-header .menu-fullscreen .mega-sub-menu {
    background-color: transparent !important;
    text-align: flex-start !important;
    padding: 1rem;
  }

  #menu-nav-header .menu-fullscreen .mega-sub-menu .mega-menu-link {
    color: #000000 !important;
    margin-bottom: 0px !important;
  }

  #menu-nav-header .menu-fullscreen .mega-sub-menu .mega-menu-link:hover {
    color: #000000 !important;
  }

  #menu-nav-header .menu-fullscreen .mega-sub-menu .mega-menu-item {
    padding: 0 !important;
  }

  #menu-nav-header .menu-fullscreen .mega-sub-menu .mega-menu-item .mega-sub-menu .mega-menu-link {
    text-align: left !important;
    padding: 0px !important;
    margin: 5px !important;
    font-size: 16px !important;
    color: black !important;
    font-weight: 500 !important;
  }

  #menu-nav-header .menu-fullscreen.active {
    display: flex;
    opacity: 1;
    width: 100% !important;
  }

  #menu-nav-header .menu-fullscreen.active #mega-menu-wrap-primary-menu {
    overflow-y: auto !important;
    touch-action: pan-y;
    overflow-x: none !important;
    width: auto !important;
  }
}

#menu-nav-header .mega-menu-separator {
  display: flex !important;
  align-items: center !important;
  width: 1px !important;
  background-color: #E9C1A5 !important;
  height: 30px !important;
  padding: 0px !important;
}

#menu-nav-header .mega-menu-separator a {
  padding: 0px !important;
}

@media screen and (max-width: 980px) {
  #menu-nav-header .mega-menu-separator {
    width: 150px !important;
    height: 1px !important;
    background-color: #FFFFFF !important;
    max-width: 150px !important;
    align-self: flex-start !important;
    margin-left: 5% !important;
  }
}

.m-contact {
  display: none !important;
  position: relative !important;
}

@media screen and (max-width: 980px) {
  .m-contact {
    display: flex !important;
  }

  .m-contact .mega-menu-link {
    width: 100% !important;
  }
}

@media screen and (min-width: 981px) {
  .m-contact {
    position: absolute !important;
    right: 0 !important;
  }
}

.m-contact .mega-menu-link {
  color: #000000 !important;
  font-style: normal !important;
  font-size: 20px !important;
  font-weight: bold !important;
  text-transform: none !important;
  background-color: #E9C1A5 !important;
  border-radius: 2.77778rem !important;
  border: 2px solid #E9C1A5 !important;
  height: 25px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  padding: 20px 30px !important;
  line-height: normal !important;
}

.m-contact:hover a {
  border: 2px solid #c29b80 !important;
  background-color: #c29b80 !important;
  color: #FFFFFF !important;
}

.carousel-dr .et_pb_group_carousel_arrow_prev {
  left: -5% !important;
}

@media screen and (min-width: 560px) and (max-width: 740px) {
  .carousel-dr .et_pb_group_carousel_arrow_prev {
    left: 5% !important;
  }
}

@media screen and (min-width: 740px) {
  .carousel-dr .et_pb_group_carousel_arrow_prev {
    left: 15% !important;
  }
}

.carousel-dr .et_pb_group_carousel_arrow_next {
  right: -5% !important;
}

@media screen and (min-width: 560px) and (max-width: 740px) {
  .carousel-dr .et_pb_group_carousel_arrow_next {
    right: 5% !important;
  }
}

@media screen and (min-width: 740px) {
  .carousel-dr .et_pb_group_carousel_arrow_next {
    right: 15% !important;
  }
}

.et_pb_group_carousel_arrow_next,
.et_pb_group_carousel_arrow_prev {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.et_pb_group_carousel_arrow_next .et-pb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  font-size: 0;
  /* cache l’ancienne icône */
}

@media screen and (max-width: 680px) {
  .et_pb_group_carousel_arrow_next .et-pb-icon {
    padding: 15px !important;
  }
}

.et_pb_group_carousel_arrow_next .et-pb-icon:before {
  content: "";
  display: block;
  width: 22px;
  height: 15px;
  margin: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='15' viewBox='0 0 22 15' fill='none'%3E%3Cpath d='M20.7887 8.07112C21.1793 7.6806 21.1793 7.04743 20.7887 6.65691L14.4248 0.292946C14.0343 -0.0975785 13.4011 -0.0975785 13.0106 0.292946C12.62 0.68347 12.62 1.31664 13.0106 1.70716L18.6674 7.36401L13.0106 13.0209C12.62 13.4114 12.62 14.0446 13.0106 14.4351C13.4011 14.8256 14.0343 14.8256 14.4248 14.4351L20.7887 8.07112ZM0 7.36401V8.36401H20.0816V7.36401V6.36401H0V7.36401Z' fill='white'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.et_pb_group_carousel_arrow_prev .et-pb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  padding: 15px 20px;
}

@media screen and (max-width: 680px) {
  .et_pb_group_carousel_arrow_prev .et-pb-icon {
    padding: 15px !important;
  }
}

.et_pb_group_carousel_arrow_prev .et-pb-icon:before {
  content: "";
  display: block;
  width: 22px;
  height: 15px;
  margin: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='15' viewBox='0 0 22 15' fill='none'%3E%3Cpath d='M1.2113 6.92888C0.820774 7.3194 0.820774 7.95257 1.2113 8.34309L7.57526 14.7071C7.96578 15.0976 8.59895 15.0976 8.98947 14.7071C9.37999 14.3165 9.37999 13.6834 8.98947 13.2928L3.33262 7.63599L8.98947 1.97914C9.37999 1.58862 9.37999 0.955447 8.98947 0.564923C8.59895 0.174399 7.96578 0.174399 7.57526 0.564923L1.2113 6.92888ZM22 7.63599V6.63599H1.91838V7.63599V8.63599H22V7.63599Z' fill='white'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

body #page-container .et_pb_section .et_pb_button.btn-style:hover,
body #page-container .et_pb_section .et_pb_module .et_pb_button.btn-style:hover {
  padding: 0.3em 1.4em 0.3em 0.6em !important;
}

/*# sourceMappingURL=style.css.map */