@charset "UTF-8";

/* En-tête commun à l'accueil, à l'almanach et à la galerie. */
.hfs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 68px;
  background: #5c1526;
  color: #f7f2e9;
  border-bottom: 1px solid rgba(0,0,0,.25);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.hfs-header__inner {
  width: 100%;
  max-width: 1240px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,4rem);
  display: flex;
  align-items: center;
  gap: clamp(1rem,2.5vw,2.2rem);
}

.hfs-brand {
  --hfs-logo-size: clamp(124px,10vw,152px);
  position: relative;
  align-self: stretch;
  width: var(--hfs-logo-size);
  min-height: 68px;
  flex: none;
  color: inherit;
  text-decoration: none;
}

.hfs-brand__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1;
  padding: 9px 10px 12px;
  display: grid;
  place-items: center;
  background: #f7f2e9;
  border: 1px solid rgba(25,20,22,.15);
  box-shadow: 0 10px 22px rgba(28,8,14,.22);
}

.hfs-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }

.hfs-nav {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(.35rem,.85vw,1rem);
  font-size: .75rem;
  font-weight: 600;
}

.hfs-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: inherit;
  opacity: .88;
  text-decoration: none;
  white-space: nowrap;
}

.hfs-nav a:hover,
.hfs-nav a:focus-visible,
.hfs-nav a[aria-current="page"] { opacity: 1; border-bottom-color: #d99a2b; }

.hfs-nav .hfs-nav__gallery,
.hfs-nav .hfs-nav__private { padding: 0 .68rem; border: 1px solid rgba(247,242,233,.35); opacity: 1; }
.hfs-nav .hfs-nav__private { color: #f0c66e; }

.hfs-menu-toggle,
.hfs-mobile-nav { display: none; }

.hfs-menu-toggle {
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid rgba(247,242,233,.35);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.hfs-menu-toggle span:not(.hfs-sr-only) { display: block; height: 1px; margin: 4px 0; background: currentColor; }
.hfs-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hfs-mobile-nav {
  position: fixed;
  z-index: 999;
  inset: 68px 0 0;
  padding: 1.5rem clamp(1.25rem,4vw,4rem) 2rem;
  background: #5c1526;
  color: #f7f2e9;
  overflow-y: auto;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.hfs-mobile-nav a {
  min-height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(247,242,233,.22);
  color: inherit;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.4rem;
  text-decoration: none;
}

.hfs-mobile-nav a:hover,
.hfs-mobile-nav a:focus-visible,
.hfs-mobile-nav a[aria-current="page"],
.hfs-mobile-nav__private { color: #f0c66e; }

@media (max-width: 1180px) {
  .hfs-nav { display: none; }
  .js .hfs-menu-toggle { display: block; }
  .hfs-mobile-nav { display: block; }
  .js .hfs-mobile-nav[hidden] { display: none; }
}

@media (max-width: 560px) {
  .hfs-brand { --hfs-logo-size: clamp(80px,25vw,104px); }
}

@media (prefers-reduced-motion: reduce) {
  .hfs-mobile-nav { scroll-behavior: auto; }
}
