/* MEDIA QUERIES */

@media not all and (min-width: 1537px) {}

@media not all and (min-width: 1281px) {
  :root {
    --wp--custom--wrapper--gap: 100px !important;
  }
}

@media not all and (min-width: 1025px) {
  :root {
    --wp--custom--wrapper--padding: 60px !important;
    --wp--custom--wrapper--gap: 40px !important;
  }

}

@media not all and (min-width: 769px) {
  :root {
    --wp--preset--font-size--52: 40px !important;
    --wp--preset--font-size--40: 32px !important;
    --wp--preset--font-size--32: 28px !important;
    --wp--preset--font-size--20: 18px !important;
  }
}

@media not all and (min-width: 641px) {
  :root {
    --wp--custom--wrapper--padding-main: 20px !important;
  }

  .header-mobile p:first-child {
    display: none !important;
  }
}

@media not all and (min-width: 391px) {
  :root {
    --wp--custom--wrapper--padding: 20px !important;
    --wp--preset--font-size--52: 28px !important;
    --wp--preset--font-size--40: 28px !important;
    --wp--preset--font-size--32: 20px !important;
    --wp--preset--font-size--20: 16px !important;
  }

  h1 {
    line-height: 34px !important;
  }

  html {
    scroll-padding-top: 150px !important;
  }
}

/* GENERAL */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 185px;
}

p:empty {
  display: none;
}

:root {
  --color-black: var(--wp--preset--color--custom-black);
  --color-white: var(--wp--preset--color--custom-white);
  --color-purple-light: var(--wp--preset--color--purple-light);
  --color-purple-dark: var(--wp--preset--color--purple-dark);
  --color-btn-hover: #7A52CB;
  --custom-padding: var(--wp--custom--wrapper--padding);
  --custom-padding-main: var(--wp--custom--wrapper--padding-main);
  --custom-gap: var(--wp--custom--wrapper--gap);
}

.font-maharlika {
  font-family: var(--wp--preset--font-family--maharlika);
}

/* HEADER */

.div-header {
  transition: background 0.3s ease-out, font-weight 0.3s ease-out, box-shadow 0.3s ease-out;
}

html[data-scroll="0"] .div-header {
  background: rgba(0, 0, 0, 0);
  -webkit-box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0);
  box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0);
}

html:not([data-scroll="0"]) .div-header {
  background: var(--color-white);
  -webkit-box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.1);
}

.logo-header {
  transition: fill 0.3s ease-out;
}

html[data-scroll="0"] .logo-header {
  fill: var(--color-white);
}

html[data-scroll="0"] .logo-header:hover {
  fill: var(--color-purple-dark);
}

html:not([data-scroll="0"]) .logo-header {
  fill: var(--color-purple-dark);
}

html:not([data-scroll="0"]) .logo-header:hover {
  fill: var(--color-btn-hover);
}

.menu-item a {
  font-family: 'Archivo';
  transition: color 0.3s ease-out, text-shadow 0.3s ease-out;
}

html[data-scroll="0"] .nav-desktop .menu-item a {
  color: var(--color-white);
}

html:not([data-scroll="0"]) .nav-desktop .menu-item a,
.nav-mobile .menu-item a {
  color: var(--color-black);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0), 0 0 10px rgba(0, 0, 0, 0), 0 0 15px rgba(0, 0, 0, 0), 0 0 20px rgba(0, 0, 0, 0), 0 0 30px rgba(0, 0, 0, 0), 2px 2px 2px rgba(147, 113, 219, 0);
}

html[data-scroll="0"] .nav-desktop .menu-item:not(.menu-item:last-child, .current-menu-item:not(.menu-item:last-child)) a:hover {
  color: var(--color-purple-dark);
  text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px var(--color-white), 0 0 30px var(--color-white), 2px 2px 2px rgba(147, 113, 219, 0);
}

html:not([data-scroll="0"]) .nav-desktop .menu-item:not(.menu-item:last-child, .current-menu-item:not(.menu-item:last-child)) a:hover,
.nav-mobile .menu-item:not(.current-menu-item) a:hover {
  color: var(--color-btn-hover);
  text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #9371DB, 0 0 30px #9371DB, 2px 2px 2px rgba(147, 113, 219, 0);
}

.nav-desktop .current-menu-item:not(.menu-item:last-child) a,
.nav-mobile .current-menu-item a {
  font-weight: 900;
}

/* MENU MOBILE */

.menu-mobile {
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  transform: translateX(100%);
  background: #FEFCFF;
  transition: height 0.3s ease-out, transform 0.4s ease-out;
}

.menu-closed {
  transform: translateX(100%);
}

.menu-opened {
  transform: translateX(0%);
}

.logo-menu-mobile {
  fill: var(--color-purple-light);
  transition: fill 0.3s ease-out;
}

.logo-menu-mobile:hover {
  fill: var(--color-purple-dark);
}

.nav-mobile .menu-item a {
  font-size: 26px;
color: var(--color-purple-light);
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-mobile ul::-webkit-scrollbar {
	display: block;
	width: 4px;
	height: 10px;
}

.nav-mobile ul::-webkit-scrollbar-track {
	background: var(--color-white) !important;
	border-radius: 10px;
}

.nav-mobile ul::-webkit-scrollbar-thumb {
	background: var(--color-purple-dark) !important;
	border-radius: 10px;
}

.nav-mobile ul {
  scrollbar-width: thin;
  scrollbar-color: var(--color-purple-dark) var(--color-white);
}

/* CUSTOM BTN */

.nav-desktop .menu-item:last-child a,
.custom-btn-header,
.custom-btn-1,
.custom-btn-2,
.custom-btn-3 {
  display: flex;
  padding-right: 20px;
}

.nav-desktop .menu-item:last-child a .btn-part-text,
.custom-btn-header .btn-part-text,
.custom-btn-1 .btn-part-text,
.custom-btn-2 .btn-part-text,
.custom-btn-3 .btn-part-text {
  padding: 14px 24px;
  border: solid 1px;
  border-radius: 360px;
  display: flex;
  align-items: center;
  width: max-content;
  transition: border-color 0.3s ease-out, background 0.3s ease-out, color 0.3s ease-out;
}

html[data-scroll="0"] .nav-desktop .menu-item:last-child a .btn-part-text,
html[data-scroll="0"] .custom-btn-header .btn-part-text,
.custom-btn-2 .btn-part-text {
  border-color: var(--color-white);
  background: rgba(0, 0, 0, 0);
  color: var(--color-white);
}

html[data-scroll="0"] .nav-desktop .menu-item:last-child a:hover .btn-part-text,
html[data-scroll="0"] .custom-btn-header:hover .btn-part-text,
.custom-btn-2:hover .btn-part-text,
.custom-btn-3:hover .btn-part-text,
.custom-btn-3:hover .bubble-custom-btn {
  background: var(--color-white);
  color: var(--color-black);
}

.custom-btn-3 .btn-part-text,
.custom-btn-3 .bubble-custom-btn {
  background: var(--color-black);
  color: var(--color-white);
}

.bubble-custom-btn {
  padding: 12px;
  border: solid 1px;
  border-radius: 360px;
  transform: translateX(0);
  transition: border-color 0.3s ease-out, background 0.3s ease-out, transform 0.3s ease-out;
}

.nav-desktop .menu-item:last-child a:hover .bubble-custom-btn,
.custom-btn-header:hover .bubble-custom-btn,
.custom-btn-1:hover .bubble-custom-btn,
.custom-btn-2:hover .bubble-custom-btn,
.custom-btn-3:hover .bubble-custom-btn {
  transform: translateX(20px);
}

html[data-scroll="0"] .nav-desktop .menu-item:last-child a .bubble-custom-btn,
html[data-scroll="0"] .custom-btn-header .bubble-custom-btn,
.custom-btn-2 .bubble-custom-btn {
  border-color: var(--color-white);
}

html[data-scroll="0"] .nav-desktop .menu-item:last-child a:hover .bubble-custom-btn,
html[data-scroll="0"] .custom-btn-header:hover .bubble-custom-btn,
.custom-btn-2:hover .bubble-custom-btn {
  background: var(--color-white);
}

.nav-desktop .menu-item:last-child a .bubble-custom-btn svg,
.custom-btn-header svg,
.custom-btn-2 svg,
.custom-btn-3 svg {
  transition: fill 0.3s ease-out;
}

html[data-scroll="0"] .nav-desktop .menu-item:last-child a .bubble-custom-btn svg,
html[data-scroll="0"] .custom-btn-header svg,
.custom-btn-2 svg,
.custom-btn-3 svg {
  fill: var(--color-white);
}

html[data-scroll="0"] .nav-desktop .menu-item:last-child a:hover .bubble-custom-btn svg,
html[data-scroll="0"] .custom-btn-header:hover svg,
.custom-btn-2:hover svg,
.custom-btn-3:hover svg {
  fill: var(--color-black);
}

html:not([data-scroll="0"]) .nav-desktop .menu-item:last-child a .btn-part-text,
html:not([data-scroll="0"]) .custom-btn-header .btn-part-text {
  background: rgba(0, 0, 0, 0);
  color: var(--color-black);
  border-color: var(--color-black);
}

html:not([data-scroll="0"]) .nav-desktop .menu-item:last-child a:hover .btn-part-text,
html:not([data-scroll="0"]) .custom-btn-header:hover .btn-part-text {
  background: var(--color-purple-light);
  color: var(--color-white);
  border-color: var(--color-purple-light);
}



html:not([data-scroll="0"]) .nav-desktop .menu-item:last-child a .bubble-custom-btn,
html:not([data-scroll="0"]) .custom-btn-header .bubble-custom-btn {
  border-color: var(--color-black);
  background: rgba(0, 0, 0, 0);
}

html:not([data-scroll="0"]) .nav-desktop .menu-item:last-child a:hover .bubble-custom-btn,
html:not([data-scroll="0"]) .custom-btn-header:hover .bubble-custom-btn {
  border-color: var(--color-purple-light);
  background: var(--color-purple-light);
}

html:not([data-scroll="0"]) .nav-desktop .menu-item:last-child a .bubble-custom-btn svg,
html:not([data-scroll="0"]) .custom-btn-header svg {
  fill: var(--color-black);
}

html:not([data-scroll="0"]) .nav-desktop .menu-item:last-child a:hover .bubble-custom-btn svg,
html:not([data-scroll="0"]) .custom-btn-header:hover svg {
  fill: var(--color-white);
}

.custom-btn-1 svg {
  transition: background 0.3s ease-out;
}

.custom-btn-1 .btn-part-text,
.custom-btn-1 .bubble-custom-btn,
.custom-btn-1 svg {
  background: var(--color-purple-light);
  color: var(--color-white);
  fill: var(--color-white);
  border-color: var(--color-purple-light);
}

.custom-btn-1:hover .btn-part-text,
.custom-btn-1:hover .bubble-custom-btn,
.custom-btn-1:hover svg {
  background: var(--color-btn-hover);
  border-color: var(--color-btn-hover);
}

/* FOOTER */

.logo-footer {
  fill: var(--color-white);
  transition: fill 0.3s ease-out;
}

.logo-footer:hover {
  fill: var(--color-btn-hover);
}

.link-footer svg {
  fill: var(--color-white);
  transition: fill 0.3s ease-out;
}

.link-footer p {
  color: var(--color-white);
  transition: color 0.3s ease-out;
}

.link-footer:hover svg {
  fill: var(--color-btn-hover);
}

.link-footer:hover p {
  color: var(--color-btn-hover);
}

/* HERO */

.conteneur-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.conteneur-video::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.video-hero,
.img-hero-bg {
  position: absolute;
  aspect-ratio: 16/9;
  left: 50% !important;
  top: 50% !important;
  transform: translatex(-50%) translateY(-50%) !important;
  width: auto !important;
  height: auto !important;
  min-width: 113% !important;
  min-height: 100% !important;
}

.img-hero {
  position: absolute;
}

.icon-sound {
  padding: 13px;
  width: 54px;
  height: 54px;
  border: solid 1px;
  border-color: var(--color-white);
  border-radius: 100%;
  background: rgba(0, 0, 0, 0);
  cursor: pointer;
  margin-right: 20px !important;
  transition: background 0.3s ease-out;
}

.icon-sound svg {
  fill: var(--color-white);
  stroke: var(--color-white);
  transition: fill 0.3s ease-out, stroke 0.3s ease-out
}

.icon-sound:hover {
  background: var(--color-white);
}

.icon-sound:hover svg {
  fill: var(--color-black);
  stroke: var(--color-black);
}

/* BANNER LINKS */

.img-link-banner::after {
  position: absolute;
  content: '';
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.30);
}

.img-link {
  transition: opacity 0.3s ease-out;
}

@keyframes showCardBtn {
  0% {
    opacity: 0;
    height: 0px;
  }

  100% {
    opacity: 100;
    height: 55px;
  }
}

@keyframes hideCardBtn {
  0% {
    opacity: 100;
    height: 55px;
  }

  100% {
    opacity: 0;
    height: 0px;
  }
}

.card-link-btn.show {
  animation: showCardBtn 0.3s forwards;
}

.card-link-btn.hide {
  animation: hideCardBtn 0.3s forwards;
}

.link-home .bg-icon {
  background: var(--color-purple-light);
  transition: background 0.3s ease-out;
}

.link-home:hover .bg-icon {
  background: var(--color-btn-hover);
}

.link-home svg {
  fill: var(--color-purple-light);
  transition: fill 0.3s ease-out;
}

.link-home:hover svg {
  fill: var(--color-btn-hover);
}

.link-home p {
  color: var(--color-black);
  transition: color 0.3s ease-out;
}

.link-home:hover p {
  color: var(--color-btn-hover);
}

/* SLIDER INFINITE */

/* SLIDER INFINITE */

@keyframes animateSliderInfinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.animate-slider-infinite {
  animation: animateSliderInfinite linear infinite;
  animation-duration: var(--duration);
}

.wp-block-elfsight-instagram-feed {
  width: 100%;
}

.eapps-instagram-feed-header {
  background: rgba(0, 0, 0, 0) !important;
}

.eapps-instagram-feed-header-inner {
  max-width: none !important;
}

.eapps-instagram-feed-header-follow-button,
.eapps-instagram-feed-posts-grid-load-more {
  background: var(--color-purple-light) !important;
  transition: background 0.3s ease-out;
}

.eapps-instagram-feed-header-follow-button:hover,
.eapps-instagram-feed-posts-grid-load-more:hover {
  background: var(--color-btn-hover) !important;
}

/* WP FROM */

.wpforms-container {
  width: 100% !important;
  margin: 0 !important;
}

.wpforms-field-medium {
  max-width: 100% !important;
}

.wpforms-required-label {
  display: none !important;
}

.wpforms-field-container label,
legend {
  font-size: var(--wp--preset--font-size--p) !important;
  font-family: Archivo !important;
  margin: 0 !important;
}

#wpforms-443 .wpforms-field-container label,
#wpforms-443 .wpforms-field-container legend {
  font-weight: 400 !important;
}

#wpforms-541 .wpforms-field:not(#wpforms-541-field_8-container) label {
  font-weight: 700 !important;
}

#wpforms-443 .wpforms-field-container label:not(.wpforms-field-label-inline),
legend {
  padding-bottom: 20px !important;
}

#wpforms-443 .wpforms-container .wpforms-field:not(.wpforms-field-checkbox) {
  padding-bottom: 20px !important;
  padding-top: 10px !important;
}

#wpforms-541 .wpforms-field-container label:not(.wpforms-field-label-inline),
legend {
  padding-bottom: 6px !important;
}

#wpforms-541 .wpforms-field {
  padding-bottom: 16px !important;
}

.wpforms-field-checkbox {
  padding: 0 !important;
}

.wpforms-field-radio ul {
  gap: 40px !important;
}

#wpforms-443-field_24-container {
  margin-top: 0 !important;
  padding-bottom: 20px !important;
}

#wpforms-443-field_24 {
  display: none !important;
}

#wpforms-443-field_24-description {
  font-size: 16px !important;
}

.wpforms-submit::after {
  border: none !important;
  position: inherit !important;
}

.btn-envoi-form {
  font-family: Archivo !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  padding: 12px 24px !important;
}

#wpforms-443-field_1-container,
#wpforms-443-field_2-container,
#wpforms-443-field_3-container,
#wpforms-443-field_4-container,
#wpforms-443-field_5-container,
#wpforms-541-field_5-container,
#wpforms-541-field_6-container {
  padding-left: 15px !important;
}

#wpforms-443-field_25-container input::before,
#wpforms-443-field_26-container input::before,
#wpforms-443-field_27-container input::before,
#wpforms-443-field_28-container input::before,
#wpforms-443-field_29-container input::before,
#wpforms-443-field_30-container input::before,
#wpforms-541-field_5-container input::before,
#wpforms-541-field_6-container input::before {
  border-radius: 100% !important;
}

#wpforms-541-field_5-container legend {
  width: 174px !important;
  min-width: fit-content;
}

#wpforms-541-field_8-container .choice-1 {
  align-items: center;
}

/* CONTACT */

.link-contact .bg-icon {
  background: var(--color-white);
  transition: background 0.3s ease-out;
}

.link-contact:hover .bg-icon {
  background: var(--color-btn-hover)
}

.link-contact p {
  color: var(--color-white);
  transition: color 0.3s ease-out;
}

.link-contact:hover p {
  color: var(--color-btn-hover);
}

.link-contact svg {
  fill: var(--color-white);
  transition: fill 0.3s ease-out;
}

.link-contact:hover svg {
  fill: var(--color-btn-hover);
}

/* MENTIONS LEGALES */

.page-mentions,
.page-404-custom {
  transition: background 0.3s ease-out;
}

html[data-scroll="0"] .page-mentions,
html[data-scroll="0"] .page-404-custom {
  background: rgba(0, 0, 0, 0.35);
}

html:not([data-scroll="0"]) .page-mentions,
html:not([data-scroll="0"]) .page-404-custom {
  background: var(--color-white);
}

.netdev-mentions-legales p,
.page-404-custom p {
  transition: color 0.3s ease-out
}

html[data-scroll="0"] .netdev-mentions-legales p,
html[data-scroll="0"] .page-404-custom p {
  color: var(--color-white);
}

html:not([data-scroll="0"]) .netdev-mentions-legales p,
html:not([data-scroll="0"]) .page-404-custom p {
  color: var(--color-black);
}

.netdev-mentions-legales h2 {
  padding-top: 40px;
  padding-bottom: 20px;
}

.netdev-mentions-legales a {
  font-weight: 700;
  transition: color 0.3s ease-out;
  text-decoration: underline;
}

.netdev-mentions-legales a:hover {
  color: var(--color-btn-hover);
}