@charset "UTF-8";
/* ============================================================
   HEADER — Clinique Dentaire Geneviève Lafrance
   Fichier : sass/header.scss
   Tous les px convertis en vw pour responsive fluide
   ============================================================ */
/* --- Variables locales --- */
/* ============================================================
   HEADER PRINCIPAL
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  padding: 0 7.3vw;
  min-height: 7.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.4s ease, height 0.4s ease, background 0.4s ease;
}
.site-header.scrolled {
  min-height: 3.1vw;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}

/* ============================================================
   LOGO (custom logo WordPress)
   ============================================================ */
.custom-logo-link,
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 0.6s ease 0.1s forwards;
}
.custom-logo-link img.custom-logo,
.site-logo img.custom-logo {
  height: 2.6vw;
  min-height: 36px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}
.custom-logo-link:hover img,
.site-logo:hover img {
  opacity: 0.85;
}

/* ============================================================
   NAVIGATION WORDPRESS — #primary-menu
   ============================================================ */
.site-header nav > div {
  display: flex;
  align-items: center;
}

#primary-menu {
  display: flex;
  align-items: center;
  gap: 1.15vw;
  list-style: none;
  margin: 0;
  padding: 0;
  /* ============================================================
     BOUTONS DANS LE MENU
     ============================================================ */
}
#primary-menu > li {
  position: relative;
  opacity: 0;
  animation: fadeInDown 0.5s ease forwards;
  /* ---- Sous-menu (Services) ---- */
}
#primary-menu > li:nth-child(1) {
  animation-delay: 0.15s;
}
#primary-menu > li:nth-child(2) {
  animation-delay: 0.22s;
}
#primary-menu > li:nth-child(3) {
  animation-delay: 0.29s;
}
#primary-menu > li:nth-child(4) {
  animation-delay: 0.36s;
}
#primary-menu > li:nth-child(5) {
  animation-delay: 0.43s;
}
#primary-menu > li:nth-child(6) {
  animation-delay: 0.5s;
}
#primary-menu > li:nth-child(7) {
  animation-delay: 0.57s;
}
#primary-menu > li:nth-child(8) {
  animation-delay: 0.64s;
}
#primary-menu > li:nth-child(9) {
  animation-delay: 0.71s;
}
#primary-menu > li > a {
  font-family: "SuperBlue", serif;
  font-weight: 400;
  color: #383839;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color 0.3s ease;
  display: inline-block;
}
#primary-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #C58E80;
  transition: width 0.3s ease;
}
#primary-menu > li > a:hover {
  color: #C58E80;
}
#primary-menu > li > a:hover::after {
  width: 100%;
}
#primary-menu > li.current-menu-item > a, #primary-menu > li.current-menu-ancestor > a {
  color: #C58E80;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #C58E80;
}
#primary-menu > li.menu-item-has-children > a {
  padding-right: 18px;
}
#primary-menu > li.menu-item-has-children > a::before {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #C58E80;
  transition: transform 0.3s ease;
}
#primary-menu > li.menu-item-has-children:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}
#primary-menu > li.menu-item-has-children > .sub-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 280px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 999;
}
#primary-menu > li.menu-item-has-children > .sub-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}
#primary-menu > li.menu-item-has-children > .sub-menu li {
  opacity: 1;
  animation: none;
}
#primary-menu > li.menu-item-has-children > .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  color: #383839;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}
#primary-menu > li.menu-item-has-children > .sub-menu li a:hover {
  color: #C58E80;
  background: #F3F1ED;
  border-left-color: #C58E80;
  padding-left: 24px;
}
#primary-menu > li.menu-item-has-children > .sub-menu li.current-menu-item a {
  color: #C58E80;
  border-left-color: #C58E80;
  padding-left: 24px;
  background: #F3F1ED;
}
#primary-menu > li.menu-item-has-children:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
#primary-menu li.btn-phone {
  opacity: 1;
  animation: fadeInRight 0.6s ease 0.5s forwards;
}
#primary-menu li.btn-phone > a {
  display: inline-flex;
  align-items: center;
  padding: 0.47vw 0.94vw;
  background: #C58E80;
  color: #ffffff !important;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.3s ease;
}
#primary-menu li.btn-phone > a::after {
  display: none;
}
#primary-menu li.btn-phone > a::before {
  display: none;
}
#primary-menu li.btn-phone > a:hover {
  background: #b87564;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 142, 128, 0.35);
  color: #ffffff !important;
}
#primary-menu li.btn-coin-enfant {
  opacity: 1;
  animation: fadeInRight 0.6s ease 0.58s forwards;
}
#primary-menu li.btn-coin-enfant > a {
  display: inline-flex;
  align-items: center;
  padding: 0.47vw 1vw;
  background: #242424;
  color: #ffffff !important;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.3s ease;
}
#primary-menu li.btn-coin-enfant > a::after {
  display: none;
}
#primary-menu li.btn-coin-enfant > a::before {
  display: none;
}
#primary-menu li.btn-coin-enfant > a:hover {
  background: #4a4a4a;
  transform: translateY(-1px);
  color: #ffffff !important;
}

/* ============================================================
   HAMBURGER — MOBILE
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #242424;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SIDEBAR — Fixed
   ============================================================ */
.hero-sidebar {
  position: fixed;
  right: 0;
  top: 30%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  animation: fadeInRight 0.7s ease 0.9s forwards;
}

.hero-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.3vw;
  height: 7.3vw;
  min-width: 60px;
  min-height: 60px;
  background: #BF9F94;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.hero-sidebar-item svg {
  width: 3.6vw;
  height: 3.4vw;
  min-width: 28px;
  min-height: 26px;
}
.hero-sidebar-item:hover {
  background: #625756;
  width: 7.8vw;
}

/* ============================================================
   ANIMATIONS KEYFRAMES
   ============================================================ */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}
/* ============================================================
   Current page — toutes les classes WordPress
   ============================================================ */
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-ancestor > a,
#primary-menu > li.current-page-ancestor > a,
#primary-menu > li.current_page_item > a,
#primary-menu > li.current_page_ancestor > a {
  color: #C58E80;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #C58E80;
}
/*# sourceMappingURL=../css/header.css.map */
