/* MEDIA QUERIES */

@media not all and (min-width: 1536px) {
  :root {
    --wp--custom--wrapper--px: 80px !important;
    --wp--custom--wrapper--gap: 80px !important;
    --wp--preset--font-size--76: 70px !important;
    --wp--preset--font-size--52: 48px !important;
    --wp--preset--font-size--40: 36px !important;
  }
}

@media not all and (min-width: 1280px) {
  :root {
    --wp--custom--wrapper--px: 60px !important;
    --wp--custom--wrapper--gap: 60px !important;
    --wp--preset--font-size--76: 62px !important;
    --wp--preset--font-size--52: 44px !important;
    --wp--preset--font-size--40: 32px !important;
  }
}

@media not all and (min-width: 1024px) {
  :root {
    --wp--preset--font-size--76: 56px !important;
    --wp--preset--font-size--52: 40px !important;
    --wp--preset--font-size--40: 28px !important;
  }

}

@media not all and (min-width: 768px) {
  :root {
    --wp--custom--wrapper--px: 40px !important;
    --wp--custom--wrapper--gap: 40px !important;
    --wp--preset--font-size--76: 52px !important;
    --wp--preset--font-size--52: 36px !important;
    --wp--preset--font-size--40: 24px !important;
  }
}

@media not all and (min-width: 640px) {
  :root {
    --wp--custom--wrapper--px: 32px !important;
    --wp--custom--wrapper--gap: 32px !important;
    --wp--preset--font-size--76: 48px !important;
    --wp--preset--font-size--52: 32px !important;
    --wp--preset--font-size--40: 20px !important;
  }

  .nav-wrapper {
    max-height: calc(100svh - 190px) !important;
  }

  .menu-item a {
    width: 100% !important;
  }
}

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

/* GENERAL */

html {
  scroll-behavior: smooth;
}

p:empty {
  display: none;
}

:root {
  --white: var(--wp--preset--color--custom-white);
  --dark-green: var(--wp--preset--color--custom-dark-green);
  --dark-red: var(--wp--preset--color--custom-dark-red);
  --brown: var(--wp--preset--color--custom-brown);
  --light-green: var(--wp--preset--color--custom-light-green);
  --px: var(--wp--custom--wrapper--px);
  --gap: var(--wp--custom--wrapper--gap);
}


/* HEADER */

.div-header {
  transition: all 0.3s ease-out;
}

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

html:not([data-scroll="0"]) .div-header,
html[data-scroll="0"] body.error404 .div-header,
html[data-scroll="0"] body.page-id-318 .div-header {
  background: var(--dark-green);
  --webkit-box-shadow: 0px 5px 15px 5px rgba(255,255,255,0.15);
  box-shadow: 0px 5px 15px 5px rgba(255,255,255,0.15);
}

.logo-header .spinning-part {
  transform : rotate(0deg);
  transition : transform 0.3s ease-out;
}

.logo-header:hover .spinning-part {
  transform: rotate(180deg);
}

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

.logo-header:hover .scaling-part {
  transform : scale(0.9);
}

.icon-burger {
  transition: all 0.3s ease-out;
}

/* MENU MOBILE */

.menu-mobile {
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  width: 100vw;
  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%);
}

.img-menu img{
  width: auto;
  height: 100% !important;
  clip-path: ellipse(75% 50% at 0% 50%);
}

.menu-item a {
  display: block;
  position: relative;
  width: max-content;
  text-align: end;
  color: var(--white);
  font-family: var(--wp--preset--font-family--citrus-gothic-rough);
  font-size: 28px;
  text-transform: uppercase;
}

.menu-item a::after,
.current-menu-item a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

.menu-item a:hover::after,
.current-menu-item a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-wrapper {
  overflow-y: auto;
  height: 100%;
  max-height: calc(100svh - 280px);
  padding-inline: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--white) transparent;
}

/* FOOTER */

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

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

.logo-footer .path-circle{
    transform: rotate(0deg);
    transform-origin: center;
    transition: all 0.6s ease-out;
}

.logo-footer:hover .path-circle {
    transform: rotate(280deg);
}

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

.link-footer:hover a{
  color: var(--brown);
}

/* MISCELANEOUS */

.img-dome img{
  aspect-ratio: 2/1;
  width: 100%;
  height: auto;
  object-fit: cover;
  mask-image: url(/wp-content/uploads/2026/04/mask-dome.svg);
  mask-repeat: no-repeat;
}

.img-saw {
  mask-image: url(/wp-content/uploads/2026/04/brown-saw.svg);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.img-saw img{
  width: 100%;
}

.link-text  {
  color: var(--dark-green);
  text-decoration: underline;
  transition: color 0.3s ease-out;
}

.link-text:hover {
  color: var(--brown);
}

/* CONTACT */

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

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

.wpforms-required-label {
  color: #222D35 !important;
}

.wpforms-field-container label,
.wpforms-field-container legend, 
.wpforms-field-container input,
.wpforms-field textarea,
.modern-title {
  font-size: var(--wp--preset--font-size--p) !important;
  font-family: var(--wp--preset--font-family--albert-sans) !important;
  color: #222D35 !important;
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: normal !important;
}

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

.wpforms-container .wpforms-field {
  padding-bottom: 16px !important;
  padding-top: 0 !important;
}

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

.depth-1 {
  align-items: center !important;
}

.btn-envoi-form {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 12px 16px !important;
  border-radius: 360px !important;
  height: 64px !important;
  background: #692621;
  border: 2px solid #692621;
  transition: all 0.3s ease-out;
}

.btn-envoi-form span {
  transform: translateX(0);
  font-size: 20px;
  font-family: var(--wp--preset--font-family--citrus-gothic-inline), sans-serif;
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.btn-envoi-form svg {
  position: relative;
  left: 0%;
  right: 100%;
  fill: var(--white);
  transition: all 0.3s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.btn-envoi-form:hover span {
  transform: translateX(-44px);
}

.btn-envoi-form:hover svg {
  left: calc(100% - 34px);
  right: 0;
}

/* MENTIONS LEGALES */

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

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

.netdev-mentions-legales a {
  font-weight: 700;
  color: var(--dark-green);
  word-break: break-all;
  transition: color 0.3s ease-out;
}

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