@charset "UTF-8";
body:has(header.section) .wp-site-blocks {
  padding-top: 80px;
}

.header {
  background-color: #fff;
  width: 100%;
}
.header > .section {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  width: 100%;
  z-index: 999;
}
.home .header .wp-block-group:has(.yoast-breadcrumbs) {
  display: none;
}

header.section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80px;
  z-index: 999;
  background-color: #fff;
}
@supports (min-height: 100dvh) {
  header.section {
    --innerHeight: 100dvh;
  }
}
header.section * {
  box-sizing: border-box;
}
header.section ul {
  margin: 0px;
}
header.section .container {
  position: relative;
  height: 80px;
  padding-left: 16px;
  padding-right: 16px;
}
header.section .container nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 10px 0px;
}
header.section .container .left-part {
  display: flex;
  gap: 32px;
}
header.section .container .right-part {
  display: flex;
  align-items: center;
  gap: 12px;
}
header.section .button {
  margin: 0px;
}
header.section .site-logo a {
  display: block;
}
header.section .site-logo img {
  display: block;
  height: 100%;
  object-fit: contain;
  max-width: 200px;
}
header.section .secondary-menu {
  display: flex;
  align-items: center;
}
header.section .secondary-menu__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
header.section .secondary-menu__list .menu-item {
  list-style: none;
  margin: 0;
}
header.section .secondary-menu__list.is-vertical {
  flex-direction: column;
  align-items: stretch;
}
header.section .secondary-menu__list.is-vertical .wp-block-button {
  width: 100%;
}
header.section .menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
header.section .menu ul {
  padding: 0;
}
header.section .menu .menu-item {
  list-style: none;
}
header.section .menu .menu-item-has-children {
  position: relative;
}
header.section .menu .menu-item-has-children > button,
header.section .menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
header.section .menu .menu-item-has-children > button:after,
header.section .menu .menu-item-has-children > a:after {
  display: block;
  content: "";
  height: 16px;
  width: 16px;
  background: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 6L8 10L12 6" stroke="%23A4A7AE" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
  background-size: contain;
  transform: translateY(2px);
}
header.section .menu .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0px);
}
header.section .menu button:not(.wp-block-button__link),
header.section .menu a:not(.wp-block-button__link) {
  padding: 4px 6px;
  color: #535862;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
}
header.section .menu button:not(.wp-block-button__link):hover,
header.section .menu a:not(.wp-block-button__link):hover {
  color: #007CB9;
}
header.section .menu .wp-block-button {
  margin: 0;
  display: inline-flex;
  align-items: center;
}
header.section .menu .wp-block-button.is-style-secondary--2 {
  --caam-btn-bg: #D8000E;
  --caam-btn-bg-hover: #b5000c;
}
header.section .menu .wp-block-button__link {
  white-space: nowrap;
}
header.section .menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transition: 0.25s ease-in-out;
  transform: translate(-50%, -6px);
  background-color: white;
  border: 1px solid #e9eaeb;
  border-radius: 8px;
  margin-top: 8px;
}
header.section .menu .sub-menu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  bottom: 0;
  z-index: -1;
}
header.section .menu .sub-menu a {
  display: block;
}
header.section .menu .sub-menu a:not(.wp-block-button__link) {
  padding: 8px;
  white-space: nowrap;
}
header.section .hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 23px;
  padding: 0;
  background: none;
  border: 0;
}
@media screen and (min-width: 769px) {
  header.section .hamburger {
    display: none;
  }
}
header.section .hamburger .hamburger-line {
  height: 3px;
  width: 23px;
  background-color: #000;
  display: block;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}
header.section.is-open .hamburger .hamburger-line {
  background-color: #000;
  display: block;
  cursor: pointer;
}
header.section.is-open .hamburger .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 6px);
}
header.section.is-open .hamburger .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-35px);
}
header.section.is-open .hamburger .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}
@media screen and (min-width: 769px) {
  header.section .mobile-only {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  header.section .secondary-menu {
    display: none;
  }
  header.section .container {
    width: 100%;
  }
  header.section .container nav.navbar {
    gap: 12px;
  }
  header.section nav.navbar .left-part > .menu {
    position: fixed;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px);
    left: 100%;
    width: 100vw;
    height: calc(var(--innerHeight, 100vh) - var(--wp-admin--admin-bar--height, 0px) - 80px);
    padding: 16px;
    padding-top: 0;
    overflow-y: auto;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transition: left 0.25s ease-in-out;
    z-index: 998;
    border-top: 1px solid #e9eaeb;
  }
  header.section nav.navbar .left-part > .menu > ul.menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  header.section nav.navbar .left-part > .menu > ul.menu > .menu-item {
    border-bottom: 1px solid #f0f1f3;
  }
  header.section nav.navbar .left-part > .menu > ul.menu > .menu-item:last-child {
    border-bottom: 0;
  }
  header.section nav.navbar .left-part > .menu a:not(.wp-block-button__link),
  header.section nav.navbar .left-part > .menu button,
  header.section nav.navbar .left-part > .menu span {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: none;
    border: 0;
    padding: 16px 0;
    text-align: left;
    color: #000;
  }
  header.section nav.navbar .left-part > .menu button {
    cursor: pointer;
  }
  header.section nav.navbar .left-part > .menu .mobile-arrow {
    display: inline-flex;
    width: auto;
    margin-left: auto;
    padding: 0;
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out;
  }
  header.section nav.navbar .left-part > .menu .menu-item-has-children.is-open > a .mobile-arrow,
  header.section nav.navbar .left-part > .menu .menu-item-has-children.is-open > button .mobile-arrow {
    transform: rotate(90deg);
  }
  header.section nav.navbar .left-part > .menu .sub-menu {
    position: static;
    top: auto;
    left: auto;
    visibility: visible;
    opacity: 1;
    transform: none;
    margin: 0;
    padding: 4px 0 8px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: none;
    width: 100%;
    margin-top: -2px;
  }
  header.section nav.navbar .left-part > .menu .sub-menu:before {
    display: none;
  }
  header.section nav.navbar .left-part > .menu .sub-menu .menu-item {
    list-style: none;
    border-top: 1px solid #eceef2;
  }
  header.section nav.navbar .left-part > .menu .sub-menu a,
  header.section nav.navbar .left-part > .menu .sub-menu button,
  header.section nav.navbar .left-part > .menu .sub-menu span {
    font-size: 15px;
    white-space: normal;
  }
  header.section nav.navbar .left-part > .menu .menu-item-has-children.is-open > .sub-menu {
    display: block;
    position: static;
    top: auto;
    left: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: -2px;
  }
  header.section nav.navbar .left-part > .menu .menu-item-has-children:hover > .sub-menu {
    left: auto;
    transform: none;
  }
  header.section nav.navbar .left-part > .menu .wp-block-button {
    width: 100%;
    display: block;
    margin: 8px 0;
  }
  header.section nav.navbar .left-part > .menu .wp-block-button__link {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  header.section nav.navbar .left-part > .menu > .after-menu {
    display: block;
    padding-top: 16px;
    border-top: 1px solid #e9eaeb;
  }
  header.section nav.navbar .left-part > .menu > .after-menu .search-container {
    width: 100%;
    display: block;
    justify-content: flex-start;
  }
  header.section nav.navbar .left-part > .menu > .after-menu .search-container::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.5002%2017.5L13.9168%2013.9166M15.8333%209.16667C15.8333%2012.8486%2012.8486%2015.8333%209.16667%2015.8333C5.48477%2015.8333%202.5%2012.8486%202.5%209.16667C2.5%205.48477%205.48477%202.5%209.16667%202.5C12.8486%202.5%2015.8333%205.48477%2015.8333%209.16667Z%22%20stroke%3D%22%23A3A3A3%22%20stroke-width%3D%221.81818%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  header.section nav.navbar .left-part > .menu > .after-menu .search-form {
    position: static;
    right: auto;
    width: 100%;
    overflow: visible;
    visibility: visible;
    transition: none;
    z-index: auto;
  }
  header.section nav.navbar .left-part > .menu > .after-menu .search-form.active {
    width: 100%;
  }
  header.section nav.navbar .left-part > .menu > .after-menu .search-button {
    display: none;
  }
  header.section nav.navbar .left-part > .menu > .after-menu .search-input {
    width: 100%;
    padding-left: 40px;
  }
  header.section .cta-container {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  header.section .cta-container .button {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  header.section.is-open .container > nav.navbar .left-part > .menu {
    left: 0px;
  }
}

/* ✅ IMPORTANT: sur mobile, on cache seulement le after-menu de la topbar */
@media (max-width: 768px) {
  header.section nav.navbar .right-part > .after-menu {
    display: none !important;
  }
}
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.search-container .search-form {
  position: absolute;
  right: 50px;
  width: 0;
  overflow: hidden;
  transition: width 0.4s ease-in-out;
  z-index: 10;
  visibility: hidden;
}
.search-container .search-form.active {
  visibility: visible;
  width: 250px;
}
.search-container .search-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  background-color: #fff;
}
.search-container .search-input:focus {
  border-color: #333;
  outline: none;
}
.search-container .search-button {
  position: relative;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: none;
}
.search-container .search-button img {
  display: block;
  width: 24px;
  height: 24px;
}
@media (max-width: 768px) {
  .search-container .search-form.active {
    width: 200px;
  }
}

html body div.search-overlay {
  position: fixed;
  z-index: 998;
  top: -370px;
  opacity: 0;
  margin-top: 0;
  width: 100vw;
  transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
html body div.search-overlay .search-overlay-content {
  padding: 16px 0px;
  background-color: white;
  position: relative;
  z-index: 99;
}
html body div.search-overlay .wp-block-button__link {
  white-space: nowrap;
}
html body div.search-overlay.active::after {
  display: block;
}
html body div.search-overlay:after {
  display: none;
  content: "";
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
html body div.search-overlay.active {
  top: calc(80px + var(--wp-admin--admin-bar--height, 0px));
  opacity: 1;
}
html body div.search-overlay .container {
  max-width: 90vw;
  width: 900px;
  margin: auto;
}
html body div.search-overlay .container form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
html body div.search-overlay .container form .search-input-wrapper {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
html body div.search-overlay .container form .search-input-wrapper:before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.5002%2017.5L13.9168%2013.9166M15.8333%209.16667C15.8333%2012.8486%2012.8486%2015.8333%209.16667%2015.8333C5.48477%2015.8333%202.5%2012.8486%202.5%209.16667C2.5%205.48477%205.48477%202.5%209.16667%202.5C12.8486%202.5%2015.8333%205.48477%2015.8333%209.16667Z%22%20stroke%3D%22%23A3A3A3%22%20stroke-width%3D%221.81818%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
html body div.search-overlay .container form .search-input-wrapper input {
  border: 1px solid #e9eaeb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  flex-grow: 1;
}

@media (max-width: 768px) {
  html body div.search-overlay .container form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  html body div.search-overlay .wp-block-button,
  html body div.search-overlay .wp-block-button__link {
    width: 100%;
  }
  html body div.search-overlay .wp-block-button__link {
    display: flex;
    justify-content: center;
  }
}
body.no-scroll {
  overflow: hidden;
}