/* MEDIA QUERIES */

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

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

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

@media not all and (min-width: 769px) {
  :root {
    --wp--custom--wrapper--gap: 60px !important;
    --wp--preset--font-size--h-2: 32px;
    --wp--preset--font-size--32: 24px;
    --wp--preset--font-size--20: 18px
  }

  .menu-mobile {
    width: 100vw !important;
  }

  .menu-item {
    font-size: 24px !important;
  }
}

@media not all and (min-width: 641px) {
  :root {
    --wp--custom--wrapper--padding: 20px !important;
    --wp--custom--wrapper--gap: 40px !important;
    --wp--preset--font-size--h-1: 32px;
    --wp--preset--font-size--h-2: 24px;
  }
}

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

/* GENERAL */

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

p:empty {
  display: none;
}

:root {
  --black: var(--wp--preset--color--custom-black);
  --white: var(--wp--preset--color--custom-white);
  --yellow: var(--wp--preset--color--custom-yellow);
  --grey: var(--wp--preset--color--custom-grey);
  --bg-main: var(--wp--preset--color--background-main);
  --padding: var(--wp--custom--wrapper--padding);
  --gap: var(--wp--custom--wrapper--gap);
}

.font-bricolage {
  font-family: "Bricolage Grotesque";
}

.callout {
  font-family: var(--wp--preset--font-family--bricolage-grotesque);
  font-size: var(--wp--preset--font-size--20);
  font-weight: 500;
}

/* HEADER */

.div-header {
  transition: background 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,
body.error404 .div-header,
body.page-id-760 .div-header {
  background: var(--bg-main);
  -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: #FEFCF4;
}

html:not([data-scroll="0"]) .logo-header,
body.error404 .logo-header,
body.page-id-760 .logo-header {
  fill: var(--black);
}

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

html:not([data-scroll="0"]) .logo-header:hover,
body.error404 .logo-header:hover,
body.page-id-760 .logo-header:hover {
  fill: var(--grey);
}

.icon-burger,
.icon-cross {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 12px;
  border-radius: 100%;
  aspect-ratio: 1;
  width: 74px;
  height: auto;
  background: var(--yellow);
  transition: background 0.3s ease-out;
}

.icon-burger:hover,
.icon-cross:hover {
  background: #C9BE05;
}

.icon-cross {
  align-self: end;
}

/* MENU MOBILE */

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

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

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

.menu-item {
  display: flex;
  align-items: center;
  height: 48px;
  position: relative;
  color: var(--white);
  font-size: 32px;
  text-transform: uppercase;
}

.menu-item a {
  display: block;
  padding-right: 0px;
  transform: translateX(0);
  transition: transform 0.3s ease-out 0.2s, padding-right 0.3s ease-out;
}

.menu-item:hover a,
.current-menu-item a {
  transform: translateX(58px);
  padding-right: 58px;
  transition: transform 0.3s ease-out;
}

.menu-item .div-arrow-menu {
  position: absolute;
  left: 0;
  padding: 12px;
  aspect-ratio: 1;
  width: 48px;
  height: auto;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--yellow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.menu-item:hover .div-arrow-menu,
.current-menu-item .div-arrow-menu {
  opacity: 1;
  transition: opacity 0.3s ease-out 0.05s;
}

.nav-mobile {
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) var(--black);
}

/* CUSTOM BTN */

.custom-btn-1,
.custom-btn-2 {
  padding: 12px 24px;
  border-radius: 360px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  transition: color 0.3s ease-out, background 0.3s ease-out;
}

.custom-btn-1 {
  color: var(--white);
  background: var(--black);
  border: solid 1px var(--black);
}

.custom-btn-1:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0);
}

.custom-btn-2 {
  color: var(--black);
  background: var(--yellow);
}

.custom-btn-2:hover {
  background: #C9BE05;
}

/* FOOTER */

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

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

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

.link-footer p {
  color: var(--white);
  font-family: var(--wp--preset--font-family--bricolage-grotesque);
  font-size: var(--wp--preset--font-size--20);
  font-weight: 500;
  transition: color 0.3s ease-out;
}

.link-footer:hover svg {
  fill: var(--yellow)
}

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

/* 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: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
  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(--white);
  border-radius: 100%;
  background: rgba(0, 0, 0, 0);
  cursor: pointer;
  margin-right: 20px !important;
  transition: background 0.3s ease-out;
  align-self: flex-end;
}

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

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

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

.corner-div {
  mask-image: linear-gradient(var(--yellow) 0%, var(--yellow) 100%), url(/wp-content/uploads/2025/09/mask-1.png);
  mask-repeat: repeat, no-repeat;
  mask-composite: subtract;
  mask-size: cover, 20%;
  mask-position: center, top left;
}

/* MISCELANEOUS */

h2 mark.has-inline-color {
  padding-inline: 12px;
  border-radius: 360px;
  display: inline-block;
  padding-inline: 20px;
  width: auto;
}

.svg-underline {
  position: relative;
}

.svg-underline::after {
  position: absolute;
  content: '';
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: url(/wp-content/uploads/2025/09/Vector-3.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.yellow-underline {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.img-banner::after {
  position: absolute;
  content: '';
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(8, 8, 7, 0.60) 100%);
}

/* SLIDER LINKS HOME */

.div-img-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.div-img-link::after {
  position: absolute;
  content: '';
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, var(--FRAME-Background-black, rgba(8, 8, 7, 0.50)) 100%);
}

.link-logo {
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

.link-logo:hover {
  transform: scale(1.025);
}

/* SLIDER INFINITE */

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

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

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

/* IMAGE MODAL */

.modal-image {
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(1.5px);
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.icon-cross-modal {
  width: fit-content;
  align-self: end;
  cursor: pointer;
  margin-bottom: auto !important;
}

.icon-cross-modal svg {
  stroke: var(--black);
  transition: stroke 0.3s ease-out;
}

.icon-cross-modal:hover svg {
  stroke: var(--grey);
}

.img-modal {
  margin-bottom: auto !important;
  height: calc(100% - 80px);
  width: fit-content;
  object-fit: contain;
  align-self: center;
}

/* CONTACT */

.link-contact svg {
	fill: var(--black);
}

.link-contact p {
  text-decoration: underline;
	text-decoration-color: rgba(0,0,0,0);
	text-decoration-thickness: 2px;
	transition: text-decoration-color 0.3s ease-out;
}

.link-contact:hover p {
	text-decoration-color: var(--black);
}

/* MENTIONS LEGALES */

.netdev-mentions-legales {
  width: 100%;
}

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

.netdev-mentions-legales a {
  font-weight: 500;
  color: var(--black);
  transition: color 0.3s ease-out;
}

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