/* ===== Beauty service pages header + nav (Planity-like) ===== */
body.coiffeur,
body.manucure,
body.beaute-cils,
body.beaute-sourcils,
body.beaute-corps {
  background: #f6f6f6;
  color: #111;
  padding-top: 64px;
}

/* Nav - Fixed positioning for beauty service pages */
.main-menu.light {
  position: relative;
  top: -125px;
  left: -40px;
  /* right: 122px; */
  z-index: 1000;
  margin-top: 30px;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-menu.light .nav-container {
  width: min(1650px, 92vw);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.main-menu.light .brand {
  font-weight: 800;
  letter-spacing: 0.34em;
  text-decoration: none;
  color: #111;
  font-size: 18px;
}

.main-menu.light .nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-menu.light .nav-link {
  text-decoration: none;
  color: #2b2b2b;
  font-weight: 600;
  font-size: 15px;
}
.main-menu.light .nav-link:hover {
  color: #000;
}
.main-menu.light .nav-link.active {
  color: #000;
}

.main-menu.light .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hide mobile home button on desktop, show logo */
.main-menu.light .mobile-home {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.pro {
  background: #eef1f4;
  color: #111;
  border-color: #e5e7eb;
  text-decoration: none;
}
.btn.pro:hover {
  background: #e7eaee;
}

.btn.account {
  background: #cfa366;
  color: #fff;
  text-decoration: none;
}
.btn.account:hover {
  opacity: 0.92;
}

/* Hero */
.coif-hero {
  text-align: center;
  padding: 56px 16px 24px;
}
.coif-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: #222;
}

/* Search bar (white pill with subtle shadow) */
.searchbar {
  width: min(980px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9e9ec;
}

.sb-field {
  flex: 1 1 0;
  padding: 10px 14px 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78px;
}
.sb-label {
  font-size: 14px;
  color: #8a8f98;
  font-weight: 600;
  margin-bottom: 6px;
  user-select: none;
}
.sb-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  color: #111;
  width: 100%;
}
.sb-input::placeholder {
  color: #777;
}

.sb-divider {
  width: 1px;
  background: #ececf0;
  margin: 8px 0;
}

.btn.search {
  align-self: center;
  height: 48px;
  padding: 0 20px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
  border: none;
}
.btn.search:hover {
  opacity: 0.95;
}

@media (max-width: 900px) {
  .main-menu.light .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  .main-menu.light .nav-link {
    font-size: 14px;
  }
  .coif-hero {
    padding-top: 36px;
  }
  .searchbar {
    flex-direction: column;
    gap: 12px;
  }
  .sb-field {
    min-height: 64px;
    padding: 8px 10px 12px 12px;
  }
  .sb-divider {
    display: none;
  }
  .btn.search {
    width: 100%;
    height: 52px;
  }
}

/* Mobile Navigation - Hide nav links on mobile */
@media (max-width: 768px) {
  .main-menu.light .nav-links {
    display: none !important;
  }

  .main-menu.light .nav-actions {
    display: none !important;
  }

  .main-menu.light .nav-container {
    justify-content: space-between;
    padding: 0 20px;
  }

  .main-menu.light .nav-logo {
    position: absolute;
    top: -5px;
  }

  .main-menu.light .mobile-menu-toggle {
    display: flex;
    position: relative;
    top: 37px;
    background-color: black;
    left: 310px;
  }
}
/* ====== Full-cover hero (image instead of video) ====== */
.cover-hero {
  position: relative;
  min-height: 100vh; /* full screen */
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cover-hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Dark overlay for better text readability */
.cover-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.cover-hero__content {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  display: grid;
  gap: 22px;
  margin-top: 6vh; /* breathing room under sticky nav */
}

.cover-hero__title {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(34px, 6vw, 78px); /* big like the screenshot */
  letter-spacing: 0.2px;
}

.cover-hero__buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 26px;
  border-radius: 14px;
  background: #1f1f1f;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.2s ease, transform 0.04s ease, background 0.2s ease;
}
.hero-btn:hover {
  opacity: 0.95;
}
.hero-btn:active {
  transform: translateY(1px);
}

/* Scroll chevron at the bottom center */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .hero-btn {
    width: 100%;
    max-width: 320px;
  }
}
/* ====== Nos valeurs ====== */
.values {
  padding: 56px 0 96px;
  background: #f6f6f6; /* same light page tone */
  color: #111;
}
.values__container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}
.values__title {
  text-align: center;
  margin: 0 0 28px;
  font-size: clamp(28px, 4.8vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.2px;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Card */
.value-card {
  background: #f3f4f6;
  border: 1px solid #e6e7eb;
  border-radius: 28px;
  padding: 32px 26px 36px;
  text-align: center;
}
.value-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
}
.value-card p {
  margin: 0;
  color: #2e3136;
  line-height: 1.9;
}

/* Icon badge */
.value-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 4px auto 6px;
  border-radius: 14px;
  background: linear-gradient(180deg, #8b5cf6, #7c3aed);
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.35);
}

/* Responsive */
@media (max-width: 1100px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .values {
    padding: 40px 0 64px;
  }
  .values__grid {
    grid-template-columns: 1fr;
  }
}
/* make nav height explicit for vertical centering */
:root {
  --nav-h: 64px;
}

/* HERO: center perfectly, remove duplicate bg on element */
.cover-hero {
  /* remove element background (we’ll use only ::before) */

  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* your image goes here */
.cover-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("PATH/TO/YOUR-HERO-IMAGE.jpg"); /* ← replace */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

/* remove the manual push; the flex centering takes care of it */
.cover-hero__content {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  display: grid;
  gap: 22px;
  margin-top: 0; /* was 6vh */
}

/* one shared container width helper so sections align */
.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
  padding-inline: 16px;
}

/* align the values section to the same width as the intro */
.values__container {
  width: min(1100px, 92vw); /* was 1200px */
  margin-inline: auto;
}
/* ==== Office photos strip (full-bleed, 3 columns) ==== */
.office-photos {
  background: #ffffff; /* white band like the screenshot */
  padding-block: 12px; /* small top/bottom padding */
}

.office-photos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; /* thin separators between images */

  /* Full-bleed: stretch to viewport edges even if inside a centered layout */
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.office-photos__item {
  aspect-ratio: 16 / 9; /* consistent height across images */
  overflow: hidden;
}

.office-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop like the example */
  display: block;
  transform: translateZ(0); /* avoid blurriness on some GPUs */
}

/* Responsive: 2 cols on tablets, 1 col on phones */
@media (max-width: 1100px) {
  .office-photos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .office-photos__grid {
    grid-template-columns: 1fr;
  }
}

/* Main content spacing for fixed navigation */
body.coiffeur main.container,
body.manucure main.container,
body.beaute-cils main.container,
body.beaute-sourcils main.container,
body.beaute-corps main.container {
  margin-top: 20px;
  padding-top: 20px;
}

/* Mobile navigation adjustments for fixed positioning */
@media (max-width: 768px) {
  .main-menu.light {
    position: fixed;
    top: -30px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .main-menu.light .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 60px;
  }

  .main-menu.light .nav-logo {
    position: absolute;
    top: -35px;
    z-index: 1001;
    left: -10px;
  }

  .main-menu.light .mobile-menu-toggle {
    display: flex;
    position: relative;
    top: 4px;
    left: 280px !important;
    background-color: #cfa366;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    left: 310px;
  }

  .main-menu.light .mobile-menu-toggle .hamburger-line {
    background: #333;
    height: 3px;
    width: 25px;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 3px 0;
  }

  .main-menu.light .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .main-menu.light .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .main-menu.light .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .main-menu.light .nav-links,
  .main-menu.light .nav-buttons {
    display: none;
  }

  /* Hide logo on mobile only for pages with home button class */
  .main-menu.light.home-button-page .nav-logo {
    display: none;
  }

  /* Show mobile home button on mobile for specific pages */
  .main-menu.light .mobile-home {
    /* display: inline-flex; */
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #cfa366, #b8941f);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
  }

  .main-menu.light .mobile-home:hover {
    background: linear-gradient(135deg, #b8941f, #cfa366);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 163, 102, 0.3);
  }

  /* Mobile Navigation Overlay */
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Navigation Panel */
  .mobile-nav-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #1a0b3d 0%, #2d1b69 50%, #0d0033 100%);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
  }

  .mobile-nav-panel.active {
    left: 0;
    visibility: visible;
    opacity: 1;
    background: linear-gradient(135deg, #E6CC9F 0%, #CEA367 50%, #A77F4B 100%);
  }

  /* Mobile Navigation Header Home Button */
  .mobile-nav-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav-header .mobile-btn.home {
    background: linear-gradient(135deg, #cfa366, #b8941f);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
  }

  .mobile-nav-header .mobile-btn.home:hover {
    background: linear-gradient(135deg, #b8941f, #cfa366);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 163, 102, 0.3);
  }

  .mobile-nav-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
  }

  /* Enhanced Touch Targets for Light Navigation */
  @media (max-width: 768px) {
    .main-menu.light .mobile-menu-toggle {
      min-height: 44px;
      min-width: 44px;
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .main-menu.light .mobile-nav-link {
      min-height: 48px;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .main-menu.light .mobile-nav-close {
      min-height: 44px;
      min-width: 44px;
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .main-menu.light .mobile-btn {
      min-height: 44px;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .main-menu.light .mobile-btn.home {
      min-height: 44px;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  /* Additional Mobile Responsiveness for Light Navigation */
  @media (max-width: 768px) {
    .main-menu.light .nav-container {
      padding: 0 16px;
    }

    .main-menu.light .nav-logo {
      left: 16px;
    }

    .main-menu.light .mobile-menu-toggle {
      right: 16px;
    }

    .main-menu.light .mobile-nav-panel {
      width: 90%;
      max-width: 350px;
    }

    .main-menu.light .mobile-nav-header {
      padding: 16px 20px;
    }

    .main-menu.light .mobile-nav-content {
      padding: 0;
    }

    .main-menu.light .mobile-nav-links {
      padding: 16px 20px;
    }

    .main-menu.light .mobile-nav-buttons {
      padding: 135px 20px;
    }

    .main-menu.light .mobile-nav-link {
      padding: 14px 20px;
      font-size: 1rem;
    }

    .main-menu.light .mobile-btn {
      padding: 14px 20px;
      font-size: 0.95rem;
    }
  }
}
