/* ================================================================= */
/* --- BARRE DE NAVIGATION UNIFIÉE (pages sans styles inline de nav) */
/* --- Pages d'informations et espace client ; les couleurs, liens   */
/* --- et bouton devis sont complétés par nav-footer.css             */
/* ================================================================= */

/* ----------------------------------------------------------------- */
/* --- BANNIÈRE FLOTTANTE (identique aux pages principales)         */
/* ----------------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  margin: 38px 24px 0;
  height: 72px;
  background-color: transparent;
  border-radius: 50px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 14px;
  box-sizing: border-box;
}
nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav-actions {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  white-space: nowrap;
}
.nav-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.nav-brand-logo {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #faf7f2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1.5px solid rgba(212, 190, 158, 0.65);
  box-shadow: inset 0 0 0 3px #faf7f2,
    inset 0 0 0 4px rgba(212, 190, 158, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
}
.nav-brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.nav-links {
  flex: 1 1 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 50px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: none;
  transition: 0.3s;
  white-space: nowrap;
}
.nav-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nav-social:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
nav .btn-rdv {
  margin-left: 6px;
  border: none;
  background: #faf7f2;
  color: #3e2723 !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.mobile-socials,
.mobile-logo-item,
.btn-rdv-mobile {
  display: none;
}
@media (min-width: 969px) {
  .hamburger {
    display: none;
  }
}
@media (min-width: 969px) and (max-width: 1100px) {
  /* Neutralise la version mobile de styles.css (max-width: 1024px) */
  nav {
    flex-direction: row;
  }
  .nav-links {
    width: auto;
    order: 0;
    background: none;
    border-top: none;
  }
  .nav-links li {
    margin: 0;
  }
}
@media (max-width: 968px) {
  nav {
    margin: 24px 12px 0;
    height: 60px;
    padding: 0 10px;
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
  .nav-brand-logo {
    width: 88px;
    height: 88px;
  }
  .nav-actions {
    display: none;
  }
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2500;
    position: absolute;
    right: 10px !important;
    left: auto !important;
    top: 50%;
    transform: translateY(-50%);
  }
  .btn-rdv-mobile {
    display: inline-flex;
    align-items: center;
    height: 42px;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #3e2723;
    background-color: #faf7f2;
    border: none;
    padding: 0 16px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
    white-space: nowrap;
  }
  .rdv-short {
    display: none;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 108px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
    box-sizing: border-box;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    justify-content: flex-start;
    padding: 16px;
    margin: 0;
    align-items: stretch;
    gap: 4px;
    z-index: 2000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    margin: 0;
    text-align: center;
  }
  .nav-links li a,
  .nav-links li.active a {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
  }
  .mobile-logo-item {
    display: none !important;
  }
  .mobile-socials {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin-top: 10px !important;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-links .mobile-socials a {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
  }
}
@media (max-width: 400px) {
  .rdv-full {
    display: none;
  }
  .rdv-short {
    display: inline;
  }
}

/* Barre à 5 liens (espace client) : sur petits écrans d'ordinateur, on
   masque les icônes sociales et on resserre les liens pour ne pas
   passer sous le logo. */
@media (min-width: 969px) and (max-width: 1240px) {
  .site-nav--compact .nav-actions .nav-social {
    display: none;
  }
  .site-nav.site-nav--compact .nav-links a {
    padding: 0 12px;
    font-size: 0.8rem;
  }
}