/* MEDIA QUERIES */

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

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

  .nav-desktop {
    display: none !important;
  }
}

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

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

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

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

  .menu-mobile {
    top: 107px !important;
  }

  .ul-mobile .btn-contact {
    display: block !important;
  }

  .halo-tr::after,
  .halo-bl::after,
  .halo-br::after {
    background-image: none !important;
  }

}

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

/* GENERAL */

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

header {
  position: relative;
  z-index: 3;
}
main {
  position: relative;
  z-index: 2;
}
footer {
  position: relative;
  z-index: 1;
}

p:empty {
  display: none;
}

:root {
  --black: var(--wp--preset--color--custom-black);
  --white: var(--wp--preset--color--custom-white);
  --purple: var(--wp--preset--color--custom-purple);
  --dark-purple: var(--wp--preset--color--custom-dark-purple);
  --orange: var(--wp--preset--color--custom-orange);
  --px: var(--wp--custom--wrapper--px);
  --py: var(--wp--custom--wrapper--py);
  --gap: var(--wp--custom--wrapper--gap);
}

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

/* HEADER */

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

.div-header::after ,
.bg-menu-mobile::after,
.bg-main::after{
  position: absolute;
  content: '';
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/uploads/2026/02/Rectangle-22.jpg);
  background-repeat: repeat;
  background-size: 1100px;
  transition: opacity 0.3s ease-out;
}

.div-header::after,
.bg-menu-mobile::after,
.bg-main::after {
  z-index: -1;
}

html[data-scroll="0"] .div-header {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0);
}

html:not([data-scroll="0"]) .div-header,
html[data-scroll="0"] body.error404 .div-header,
html[data-scroll="0"] body.page-id-332 .div-header {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

html[data-scroll="0"] .div-header::after {
  opacity: 0;
}

html:not([data-scroll="0"]) .div-header::after,
html[data-scroll="0"] .div-header.active::after,
html[data-scroll="0"] body.error404 .div-header::after,
html[data-scroll="0"] body.page-id-332 .div-header::after{
  opacity: 1;
}

.container-logo-header,
.container-logo-header::after {
  position: relative;
}

.container-logo-header::after {
  position: absolute;
  content: '';
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  background-image: url("/wp-content/uploads/2026/02/Rectangle.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  transition: opacity 0.3s ease-out;
}

.container-logo-header:hover::after {
  opacity: 1;
}

.logo-header {
  position: relative;
  z-index: 1;
  transition: fill 0.3s ease-out;
}

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

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

.nav-desktop {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.container-main-nav {
  display: flex;
  gap: 20px;
  padding-block: 20px;
  justify-content: space-between;
  padding-inline: var(--px);
}

.container-collapse-submenu {
  display: grid;
  grid-template-rows: 0fr;
  background: rgba(99, 85, 150, 0.4);
  transition: grid-template-rows 0.3s ease-out;
}

.container-collapse-submenu.active {
  grid-template-rows: 1fr;
}

.container-collapse-submenu .sub-menu {
  padding: 20px;
}

.container-main-nav, .ul-desktop {
  display: flex;
  gap: 20px;
  align-items: center;
}

.ul-desktop {
  width: fit-content;
  justify-content: end;
}

.nav-desktop .sub-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
}

.ul-desktop .menu-item a,
.container-collapse-submenu .menu-item a,
.mobile-btn-contact,
.ul-mobile .menu-item a {
  display: block;
  font-family: var(--wp--preset--font-family--special-gothic-expanded-one);
  font-size: 16px;
  text-transform: uppercase;
}

.container-collapse-submenu .menu-item a {
  width: max-content;
}

.ul-desktop .menu-item:not(.desktop-btn-contact) a,
.container-collapse-submenu .menu-item a {
  transition: color 0.3s ease-out;
}

html[data-scroll="0"] .ul-desktop .menu-item:not(.desktop-btn-contact) a,
.container-collapse-submenu .menu-item a {
  color: var(--white);
}

html:not([data-scroll="0"]) .ul-desktop .menu-item a,
html[data-scroll="0"] body.error404 .ul-desktop .menu-item a,
html[data-scroll="0"] body.page-id-332 .ul-desktop .menu-item a {
  color: var(--black);
}

html[data-scroll="0"] .ul-desktop .menu-item:not(.desktop-btn-contact):hover a,
html:not([data-scroll="0"]) .ul-desktop .menu-item:not(.desktop-btn-contact):hover a,
html[data-scroll="0"] .ul-desktop .current-menu-item:not(.desktop-btn-contact) a,
html:not([data-scroll="0"]) .ul-desktop .current-menu-item:not(.desktop-btn-contact) a,
.container-collapse-submenu .menu-item:hover a{
  color: var(--orange);
}

.menu-item-has-children {
  display: flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
}

.menu-item-has-children svg {
  transform: rotate(0);
  transition: all 0.3s ease-out;
}

html[data-scroll="0"] .ul-desktop .menu-item-has-children svg {
  stroke: var(--white);
}

html:not([data-scroll="0"]) .ul-desktop .menu-item-has-children svg ,
html[data-scroll="0"] body.error404 .ul-desktop .menu-item-has-children svg,
html[data-scroll="0"] body.page-id-332 .ul-desktop .menu-item-has-children svg{
  stroke : var(--black);
}

html[data-scroll="0"] .menu-item-has-children:hover svg,
html:not([data-scroll="0"]) .menu-item-has-children:hover svg,
html[data-scroll="0"] .menu-item-has-children.current-menu-item svg ,
html:not([data-scroll="0"]) .menu-item-has-children.current-menu-item svg ,
html[data-scroll="0"] body.error404 .menu-item-has-children:hover svg,
html[data-scroll="0"] body.page-id-332 .menu-item-has-children:hover svg {
  stroke: var(--orange);
}

.menu-item-has-children.active svg {
  transform: rotate(-180deg);
}

.desktop-btn-contact a,
.mobile-btn-contact{
  color: var(--black);
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--orange);
  transition: background 0.3s ease-out;
}

.desktop-btn-contact a:hover,
.mobile-btn-contact:hover {
  background: #C0631B;
}

/* MENU MOBILE */

.menu-mobile {
  position: fixed;
  display: grid;
  grid-template-rows: 0fr;
  z-index: 2;
  top: 142px;
  right: 0;
  width: 100vw;
  height: 100dvh;
  transition: all 0.4s ease-out;
}

.menu-closed {
  grid-template-rows: 0fr;
  pointer-events: none;
}

.menu-opened {
  grid-template-rows: 1fr;
  pointer-events: all;
}

.nav-mobile {
  padding-block: 60px;
}

.ul-mobile {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ul-mobile a{
  padding-inline: 60px;
}

.ul-mobile .menu-item-has-children {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ul-mobile .sub-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--purple);
  padding-block: 20px;
}

.ul-mobile .menu-item a {
  transition: color 0.3s ease-out;
}

.ul-mobile .menu-item:not(.menu-item-type-custom) a {
  color: var(--black);
}

.ul-mobile .menu-item-type-custom a {
  color: var(--white) !important;
}

.ul-mobile .menu-item a:hover,
.ul-mobile .current-menu-item:not(.menu-item-type-custom) > a {
  color: var(--orange) !important;
}

.ul-mobile .menu-item-has-children .container-collapse-submenu-mobile {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  transition: grid-template-rows 0.3s ease-out;
}

.ul-mobile .menu-item-has-children.active .container-collapse-submenu-mobile {
  grid-template-rows: 1fr;
}

.a-tag-service-mobile {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}

.a-tag-service-mobile svg {
  stroke: var(--black);
  transform: rotate(0);
  transition: all 0.3s ease-out;
}

.a-tag-service-mobile.active svg {
  transform: rotate(-180deg);
}

.nav-mobile {
  height: calc(100dvh - 142px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.ul-mobile .btn-contact {
  display: none;
}

.ul-mobile .menu-item:not(.menu-item-has-children) {
  width: fit-content;
}

/* CUSTOM BTN */

.icon-burger {
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--purple);
  transition: background 0.3s ease-out;
}

.icon-burger:hover {
  background: #50447A;
}

.icon-burger .text-icon-burger {
  position: relative;
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
  width: 82px;
  height: 24px;
  font-family: var(--wp--preset--font-family--special-gothic-expanded-one);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--white);
}

.icon-burger .text-burger-wrapper {
  position: absolute;
  inset: 0;
  transform: translateY(0);
  transition: transform 0.3s ease-out;
}

.icon-burger.active .text-burger-wrapper {
  transform: translateY(-100%);
}

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

.icon-burger .lines-icon-burger span:nth-child(1) {
  width: 100%;
  transform: rotate(0) translateX(0) translateY(0);
}

.icon-burger .lines-icon-burger span:nth-child(2) {
  width: 75%;
  opacity: 1;
}

.icon-burger .lines-icon-burger span:nth-child(3) {
  width: 50%;
  transform: rotate(0) translateX(0) translateY(0);
}

.icon-burger.active .lines-icon-burger span:nth-child(1) {
  width: 100%;
  transform: rotate(45deg) translateX(3px) translateY(4px);
}

.icon-burger.active .lines-icon-burger span:nth-child(2) {
  opacity: 0;
}

.icon-burger.active .lines-icon-burger span:nth-child(3) {
  width: 100%;
  transform: rotate(-45deg) translateX(3px) translateY(-4px);
}

/* FOOTER */

.logo-footer {
  position: relative;
  z-index: 1;
  fill: var(--white);
}

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

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

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

.link-footer:hover span {
  color: var(--orange);
}

.netdev-footer {
  padding-inline: var(--px) !important;
}

/* CALLOUTS */

.is-style-callout-1 {
  font-family: var(--wp--preset--font-family--lexend-mega); 
  font-size: var(--wp--preset--font-size--20);
  font-weight: 500;
}

/* HALO */

.halo-tr,
.halo-bl,
.halo-br {
  position: relative;
}

.halo-tr::after,
.halo-bl::after,
.halo-br::after {
  position: absolute;
  content: '';
  background-repeat: no-repeat;
  background-size: 100%;
}

.halo-tr::after {
  top: 0;
  right: 0;
  width: 650px;
  height: 500px;
  background-image: url(/wp-content/uploads/2026/02/Ellipse-3.png);
}

.halo-bl::after {
  bottom: -50%;
  left: 0;
  width: 580px;
  height: 950px;
  background-image: url(/wp-content/uploads/2026/02/Ellipse-3-1.png);
}

.halo-br::after {
  bottom: -50%;
  right: 0;
  width: 480px;
  height: 950px;
  background-image: url(/wp-content/uploads/2026/02/Ellipse-4.png);
}


/* HERO */

@keyframes fadeinHero {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-el-1,
.hero-el-2,
.hero-el-3 {
  opacity: 0;
  animation: fadeinHero 1s ease-out forwards;
}

.hero-el-1 {
  animation-delay: 0.2s;
}

.hero-el-2 {
  animation-delay: 0.5s;
}

.hero-el-3 {
  animation-delay: 0.8s;
}

.custom-btn-1 {
  font-family: var(--wp--preset--font-family--special-gothic-expanded-one);
  font-size: 16px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.3s ease-out;
}

.custom-btn-1 {
  color: var(--white);
  background: var(--purple);
}

.custom-btn-1:hover{
  background: #50447A;
}

/* CONTACT */

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

.link-contact:hover svg{
  fill: var(--purple)
}

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

.link-contact:hover span {
  color: var(--purple);
}

.wpforms-field-container label,
legend,
.modern-title {
  font-size: var(--wp--preset--font-size--p) !important;
  font-family: var(--wp--preset--font-family--lexend) !important;
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: normal !important;
}

.wpforms-required-label {
  display: none !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;
}

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

.btn-envoi-form {
  font-family: var(--wp--preset--font-family--special-gothic-expanded-one) !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  color: var(--white) !important;
  background: var(--purple) !important;
  transition: all 0.3s ease-out !important;
}

.btn-envoi-form:hover {
  background: #50447A !important;
}

.filter-expertise::after {
    position: absolute;
    content: '';
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 10, 0.30);
}

.custom-btn {
  font-family: var(--wp--preset--font-family--special-gothic-expanded-one);
  font-size: 16px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 6px;
  color: #FEFDFF;
  background: #635596;
  transition: all 0.3s ease-out;
}

.custom-btn:hover {
  background: #50447A;
}

/* 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(--black);
  word-break: break-all;
  transition: color 0.3s ease-out;
}

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