/* ─── Burger ─── */
.fc-burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  position: fixed;
  top: 1rem;
  right: 1rem;
}

.fc-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-brown);
  transition: all 0.3s ease;
  transform-origin: center;
}

.fc-burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.fc-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.fc-burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── Overlay plein écran ─── */
.fc-mobile-overlay {
  position: fixed;
  inset: 0;
  background: #faf8f5;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow-y: auto;
  padding: 4rem 2rem 2rem;
}

.fc-mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.fc-mobile-overlay-inner {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

/* ─── Nav mobile ─── */
.fc-mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fc-mobile-nav > li {
  width: 100%;
  border-bottom: 0.5px solid #e8e0d5;
  text-align: center;
}
.fc-mobile-nav > li > a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-family);
  font-size: var(--font-size-18);
  font-weight: var(--weight-semibold);
  color: var(--color-brown);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.fc-mobile-nav > li > a:hover {
  color: var(--color-red);
}

/* ─── Mobile ─── */
@media (max-width: 991px) {
  .fc-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  .fc-header-mobile .fc-header-logo img {
    max-height: 80px; /* plus petit qu'en desktop */
  }

  .fc-header-logo--desktop {
    display: none;
  }
  .fc-header-inner {
    display: none;
  }
}

/* ─── Scroll lock ─── */
.fc-no-scroll {
  overflow: hidden;
}
