/* ── NAV CENTRÉ : burger gauche | logo centre | lang+cta droite ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 48px;
  transition: background .4s, padding .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(74,40,16,.97);
  padding: 12px 48px;
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
  backdrop-filter: blur(8px);
}

/* Gauche : burger */
.nav-left { display: flex; align-items: center; }
.burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 400;
}
.burger span {
  display: block; width: 24px; height: 1.5px; background: white;
  transition: transform .35s ease, opacity .25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Centre : logo */
.nav-logo { justify-self: center; }
.nav-logo img { height: 52px; width: auto; transition: height .3s; display: block; }
.nav.scrolled .nav-logo img { height: 40px; }

/* Droite : lang + cta */
.nav-right { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }
.lang-selector { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.75); cursor: pointer; background: none; border: none;
}
.lang-current::after { content: '▾'; font-size: 9px; color: rgba(255,255,255,.5); }
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(74,40,16,.98); border: 1px solid rgba(225,207,187,.15);
  min-width: 140px; display: none; z-index: 500;
  backdrop-filter: blur(8px);
}
.lang-selector.open .lang-dropdown { display: block; }
.lang-dropdown a {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 11px; font-weight: 300; letter-spacing: .1em;
  color: rgba(225,207,187,.7); text-decoration: none;
  padding: 11px 16px; transition: background .2s, color .2s;
  border-bottom: 1px solid rgba(225,207,187,.08);
}
.lang-dropdown a:last-child { border-bottom: none; }
.lang-dropdown a:hover { background: rgba(255,117,31,.12); color: var(--creme); }
.lang-dropdown a.active { color: var(--orange); }
.lang-flag { font-size: 14px; }

.nav-cta {
  font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brun); background: var(--creme);
  padding: 10px 24px; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--orange); color: white; }

/* ── MEGA MENU ── */
.mega-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 420px; max-width: 100vw;
  background: var(--brun-dark); z-index: 250;
  transform: translateX(-100%); transition: transform .45s cubic-bezier(.77,0,.175,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mega-menu.open { transform: translateX(0); }
.mega-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 240;
  opacity: 0; pointer-events: none; transition: opacity .45s;
}
.mega-overlay.open { opacity: 1; pointer-events: all; }

.mega-top {
  padding: 28px 48px 24px;
  border-bottom: 1px solid rgba(225,207,187,.1);
  display: flex; align-items: center; justify-content: space-between;
}
.mega-logo img { height: 44px;  }
.mega-close {
  background: none; border: none; cursor: pointer;
  color: rgba(225,207,187,.6); font-size: 28px; line-height: 1; transition: color .2s;
}
.mega-close:hover { color: var(--orange); }

.mega-body { flex: 1; padding: 32px 48px 48px; }
.mega-section { margin-bottom: 36px; }
.mega-section-label {
  font-family: var(--sans); font-size: 8.5px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px; display: block;
}
.mega-links { display: flex; flex-direction: column; gap: 2px; }
.mega-link {
  display: flex; align-items: baseline; justify-content: space-between;
  text-decoration: none; padding: 11px 0;
  border-bottom: 1px solid rgba(225,207,187,.07);
  transition: padding .2s;
}
.mega-link:last-child { border-bottom: none; }
.mega-link:hover { padding-left: 8px; }
.mega-link-name {
  font-family: var(--serif); font-size: 22px; font-weight: 300; color: var(--creme-light);
  line-height: 1.2; transition: color .2s;
}
.mega-link:hover .mega-link-name { color: var(--orange); }
.mega-link-sub {
  font-family: var(--serif); font-size: 12px; font-style: italic; color: rgba(225,207,187,.35);
}

.mega-link-sm {
  display: block; text-decoration: none; padding: 9px 0;
  border-bottom: 1px solid rgba(225,207,187,.06);
  font-family: var(--sans); font-size: 12px; font-weight: 300; letter-spacing: .08em;
  color: rgba(225,207,187,.55); transition: color .2s, padding .2s;
}
.mega-link-sm:hover { color: var(--creme); padding-left: 6px; }

.mega-footer {
  padding: 24px 48px; border-top: 1px solid rgba(225,207,187,.1);
  display: flex; flex-direction: column; gap: 10px;
}
.mega-footer p {
  font-family: var(--serif); font-size: 13px; font-style: italic;
  color: rgba(225,207,187,.35);
}
.mega-footer a {
  font-family: var(--sans); font-size: 11px; color: rgba(225,207,187,.4);
  text-decoration: none; letter-spacing: .08em;
}
.mega-footer a:hover { color: var(--orange); }
