:root {
  --navbar-scroll-offset: 156px;
}

html {
  scroll-padding-top: var(--navbar-scroll-offset);
}

#domaine,
#accueil {
  scroll-margin-top: var(--navbar-scroll-offset);
}

body {
  text-align: justify;
}

.navbar,
.menu,
.menu a,
.brand,
.discover,
.back-link,
h1,
h2,
h3,
.page-hero-titles h1,
.event-title,
.legal-page h1,
.legal-page h2 {
  text-align: left;
}

.navbar {
  box-sizing: border-box;
  position: fixed;
  width: 100%;
  max-width: 100%;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  border-radius: 0;
  padding-left: clamp(28px, 5vw, 72px);
  padding-right: clamp(28px, 5vw, 72px);
  background: rgba(251, 243, 231, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 28px rgba(43, 27, 17, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  isolation: isolate;
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  pointer-events: none;
}

.menu-contact-link {
  display: none;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  text-align: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(86, 53, 31, 0.18);
  border-radius: 14px;
  background: rgba(251, 243, 231, 0.75);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(243, 223, 193, 0.95);
  border-color: rgba(86, 53, 31, 0.3);
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #56351f;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.is-menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar.is-menu-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar.is-menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

.lang-switcher {
  position: relative;
  flex-shrink: 0;
  z-index: 52;
}

.lang-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(86, 53, 31, 0.22);
  border-radius: 999px;
  background: rgba(251, 243, 231, 0.88);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #56351f;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lang-switcher-toggle:hover {
  background: rgba(243, 223, 193, 0.95);
  border-color: rgba(86, 53, 31, 0.35);
  box-shadow: 0 6px 18px rgba(43, 27, 17, 0.08);
}

.lang-switcher-flag {
  font-size: 18px;
  line-height: 1;
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(251, 243, 231, 0.98);
  border: 1px solid rgba(86, 53, 31, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(43, 27, 17, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.lang-switcher.is-open .lang-switcher-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #2b1b11;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-switcher-option:hover,
.lang-switcher-option.is-active {
  background: rgba(86, 53, 31, 0.1);
  color: #56351f;
}

@media (min-width: 769px) {
  .lang-switcher {
    order: 4;
    margin-left: 12px;
  }

  .contact-btn {
    order: 5;
  }

  .menu {
    order: 3;
  }
}

@media (max-width: 1280px) {
  .navbar {
    padding-left: 40px;
    padding-right: 40px;
    gap: 24px;
  }

  .menu {
    gap: 22px;
    font-size: 15px;
  }

  .contact-btn {
    padding: 16px 26px;
    font-size: 15px;
  }

  .brand {
    min-width: auto;
  }
}

.info-item,
.divider-band {
  text-align: justify;
}

.divider-band-with-logo span {
  text-align: center;
}

.site-footer {
  margin-top: 48px;
  padding: 40px 28px 36px;
  background: rgba(86, 53, 31, 0.08);
  border-top: 1px solid rgba(86, 53, 31, 0.14);
}

.site-footer-inner {
  width: min(980px, calc(100vw - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.site-footer-nav a {
  color: #56351f;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.site-footer-nav a:hover {
  color: #2b1b11;
  border-color: #56351f;
}

.site-footer-copy,
.site-footer-credit {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #745239;
  text-align: center;
}

.site-footer-credit a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.site-footer-credit strong {
  color: #56351f;
  font-weight: 600;
}

.site-footer-credit a:hover strong,
.site-footer-credit a:focus-visible strong {
  color: #2b1b11;
}

.site-footer-credit a:hover,
.site-footer-credit a:focus-visible {
  border-bottom-color: #56351f;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 28px 40px;
  background: rgba(243, 223, 193, 0.92);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(43, 27, 17, 0.1);
}

.legal-page h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 5vw, 52px);
  color: #56351f;
  margin-bottom: 24px;
  text-align: center;
}

.legal-page h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 28px);
  color: #56351f;
  margin: 32px 0 14px;
}

.legal-page p,
.legal-page li {
  font-size: 17px;
  line-height: 1.7;
  color: #745239;
}

.legal-page ul {
  margin: 10px 0 0 20px;
}

.legal-page a {
  color: #56351f;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
