/**
 * HEADER CSS - COPIÉ EXACTEMENT du WordPress app.css lignes 482-995
 */

header {
  position: absolute;
  top: 0;
  z-index: 200;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  padding-bottom: 150px;
}
header::before {
  content: "";
  width: 100%;
  height: 240px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  transform: scaleY(-1);
  background-image: url("../images/header-overlay.svg");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  mix-blend-mode: color-burn;
}
header .burger-menu {
  display: none;
}
@media (max-width: 1024px) {
  header .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 200;
    width: 2rem;
    height: 2rem;
    padding: 0;
    background-color: transparent;
    border: none;
  }
}
header .burger-menu div {
  background-color: #C19A59;
  width: 25px;
  height: 3px;
  margin: 2px 0;
  transition: all 0.3s ease;
}
header .burger-menu.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
header .burger-menu.active div:nth-child(2) {
  opacity: 0;
}
header .burger-menu.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
header .header__top {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin: 0rem 0 0 0;
  z-index: 10;
  width: 1280px;
}
@media (max-width: 1200px) {
  header .header__top {
    width: 100%;
  }
}
@media (max-width: 992px) {
  header .header__top {
    justify-content: center;
  }
}
@media (max-width: 430px) {
  header .header__top {
    flex-direction: column;
  }
}
header .header__top .phone_number {
  width: 15%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
@media (max-width: 1200px) {
  header .header__top .phone_number {
    width: 25%;
  }
}
@media (max-width: 992px) {
  header .header__top .phone_number {
    width: auto;
  }
}
@media (max-width: 430px) {
  header .header__top .phone_number {
    display: none;
  }
}
header .header__top .phone_number i, header .header__top .phone_number a {
  color: #483C3C !important;
  font-weight: 700;
}
@media (max-width: 576px) {
  header .header__top .phone_number a {
    font-size: 0.8rem;
  }
}
header .header__top .phone_number i {
  margin: 0 1rem;
}
header .header__top .reviews {
  width: auto;
  display: flex;
  align-items: center;
  margin: 0 1rem;
}
header .header__top .reviews .ti-widget-container {
  display: flex;
  align-items: center;
}
header .header__top .reviews .ti-header {
  display: flex;
  align-items: center;
  text-decoration: none;
}
header .header__top .reviews .ti-fade-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
header .header__top .reviews .ti-small-logo {
  display: flex;
  align-items: center;
}
header .header__top .reviews .ti-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
header .header__top .reviews .ti-mob-row {
  display: flex;
  align-items: center;
}
header .header__top .reviews .nowrap {
  white-space: nowrap;
}
header .header__top .reviews .ti-separator {
  margin: 0 0.25rem;
}
header .header__top .trad-social {
  display: flex;
}
header .header__top .trad-social .socials:after {
  content: "";
  position: absolute;
  width: 1px;
  height: 50%;
  background-color: rgba(72, 60, 60, 0.2);
  right: 0;
}
header .header__top .trad-social .socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: auto;
  position: relative;
  padding: 0 1rem;
}
@media (max-width: 1200px) {
  header .header__top .trad-social .socials {
    width: 10%;
  }
}
@media (max-width: 992px) {
  header .header__top .trad-social .socials {
    width: auto;
  }
}
header .header__top .trad-social .socials a svg {
  width: 17px;
  height: 17px;
}
header .header__top .trad-social .socials a svg * {
  fill: black;
}
header .header__bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
@media (max-width: 1200px) {
  header .header__bottom {
    width: 95%;
    flex-direction: column;
    align-items: center;
  }
}
header .header__bottom .logo::after {
  content: "";
  position: absolute;
  top: -17rem;
  left: -11rem;
  background-image: url("../images/general/Smoke.png");
  background-size: contain;
  background-position: center;
  width: 25rem;
  height: 25rem;
  z-index: -1;
  opacity: 0.7;
}
@media (max-width: 1024px) {
  header .header__bottom .logo::after {
    background-position: left;
    top: -19rem;
    left: -20rem;
    opacity: 0.5;
  }
}
header .header__bottom .logo {
  position: relative;
  width: 20%;
}
@media (max-width: 1200px) {
  header .header__bottom .logo {
    width: 15%;
  }
}
@media (max-width: 1024px) {
  header .header__bottom .logo {
    width: 30%;
    height: 5rem;
    z-index: 100;
  }
}
@media (max-width: 576px) {
  header .header__bottom .logo {
    width: 100%;
    margin: 2rem 0 0 0;
  }
}
@media (max-width: 1024px) {
  header .header__bottom .logo a {
    width: 100%;
    height: 100%;
  }
}
header .header__bottom .logo a img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
header .header__bottom nav {
  width: 80%;
  display: flex;
  flex-direction: row;
}
@media (max-width: 1200px) {
  header .header__bottom nav {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  header .header__bottom nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100vh;
    background-color: rgba(72, 60, 60, 0.9);
    overflow: hidden;
    z-index: 100;
    transition: width 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start !important;
  }
}
@media (max-width: 1024px) {
  header .header__bottom nav.active {
    width: 100%;
  }
}
header .header__bottom nav .menu {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between !important;
}
@media (max-width: 1024px) {
  header .header__bottom nav .menu {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 0 2rem;
  }
}
header .header__bottom nav .menu > .menu-item:last-child:after {
  display: none;
}
header .header__bottom nav .menu > .menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #483C3C;
}
header .header__bottom nav .menu > .menu-item:hover::after {
  width: 80%;
  height: 2px;
  background-color: #483C3C;
  transition: width 0.5s ease;
}
@media (max-width: 1024px) {
  header .header__bottom nav .menu > li:last-child {
    width: auto;
    display: flex;
    justify-content: center !important;
    align-items: center;
    align-self: center;
    padding: 0 1rem;
  }
}
header .header__bottom nav .menu > li:last-child a {
  background-color: #C19A59;
  border-radius: 2rem;
  height: 2.5rem;
  color: #ffffff !important;
}
@media (max-width: 1024px) {
  header .header__bottom nav .menu > li:last-child a {
    text-align: center;
    width: 100% !important;
  }
}
header .header__bottom nav .menu > li {
  align-items: center;
  color: #C19A59 !important;
  display: flex;
  flex-direction: column;
  font-family: "Work Sans", sans-serif;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  height: 100% !important;
  justify-content: center;
  letter-spacing: 0.0375rem;
  line-height: 0.75rem;
  list-style: none;
  position: relative;
  text-transform: uppercase;
  transition: width 0.5s ease;
  width: auto;
  white-space: nowrap;
}
header .header__bottom nav .menu > li.has-children::after {
  content: "";
  position: absolute;
  bottom: -3.5rem;
  left: -2rem;
  right: -2rem;
  width: auto;
  height: 4rem;
  background: transparent;
  z-index: 10;
}
/* Hover state must not override the bridge height/width */
header .header__bottom nav .menu > li.has-children:hover::after {
  width: auto;
  height: 4rem;
  background: transparent;
}
@media (max-width: 1024px) {
  header .header__bottom nav .menu > li {
    width: 100%;
    text-align: flex-start;
    margin: 1rem 0;
  }
}
header .header__bottom nav .menu > li a {
  color: #ffffff !important;
}
@media (max-width: 1024px) {
  header .header__bottom nav .menu > li a {
    color: #ffffff;
    font-size: 1.25rem;
    padding: 1rem;
    display: flex;
    justify-content: flex-start !important;
  }
}
@media (max-width: 992px) {
  header .header__bottom nav .menu .menu-item.has-children:hover {
    position: relative;
    z-index: 100;
    left: -1rem;
  }
}
/* Desktop: CSS hover natif (identique au CSS WordPress original ligne 992) */
@media (min-width: 1025px) {
  header .header__bottom nav .menu .menu-item.has-children:hover > .sub-menu {
    display: flex;
  }
}

@media (max-width: 1024px) {
  header .header__bottom nav .menu .menu-item.has-children:hover .sub-menu {
    background-color: unset;
    border-bottom: unset !important;
    border-left: unset !important;
    border-right: unset;
  }
}
header .header__bottom nav .menu > li .sub-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  min-width: 250px;
  width: max-content;
  max-width: 350px;
  padding: 1rem;
  background-color: #E0DDC7;
  border: 1px solid rgba(72, 60, 60, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  z-index: 1000;
}
header .header__bottom nav .menu > li .sub-menu.show {
  display: flex;
}
@media (max-width: 1024px) {
  header .header__bottom nav .menu > li .sub-menu {
    display: none;
    flex-direction: column;
    background-color: primary;
    padding: 1rem 0;
    position: relative;
    top: 0;
    border-bottom: unset;
    border-left: unset;
    border-right: unset;
    width: 100%;
  }
  header .header__bottom nav .menu > li .sub-menu.active {
    display: flex;
  }
}
header .header__bottom nav .menu > li .sub-menu li::before {
  content: "›";
  width: auto;
  height: auto;
  position: absolute;
  z-index: 2;
  left: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #C19A59;
  font-weight: bold;
}
header .header__bottom nav .menu > li .sub-menu li {
  display: flex;
  height: auto;
  width: 100%;
  position: relative;
  margin-bottom: 0.25rem;
  padding-left: 1.5rem;
}
@media (max-width: 1024px) {
  header .header__bottom nav .menu > li .sub-menu li {
    width: 100%;
  }
}
header .header__bottom nav .menu > li .sub-menu li a {
  padding: 0.75rem 1rem;
  width: 100%;
  height: auto;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: normal;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-radius: 4px;
}
@media (max-width: 1024px) {
  header .header__bottom nav .menu > li .sub-menu li a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    color: #ffffff;
  }
}
header .header__bottom nav .menu > li .sub-menu li a:hover {
  color: #C19A59 !important;
  background-color: rgba(193, 154, 89, 0.1);
  padding-left: 1.25rem;
}
header .header__bottom nav .menu > li a {
  text-decoration: none;
  color: #483C3C !important;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-weight: 800;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}
@media (max-width: 992px) {
  header .header__bottom nav .menu > li a {
    color: #ffffff !important;
  }
}
