/* ── navbar.css ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition:
    background var(--duration-base) var(--ease-default),
    border-color var(--duration-base) var(--ease-default),
    box-shadow var(--duration-base) var(--ease-default);
}
.navbar.scrolled {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(0,0,0,.07);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white-pure);
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow var(--duration-fast), border-color var(--duration-fast);
}
.navbar__logo:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
  border-color: var(--color-yellow);
}
.navbar__logo-img {
  height: 52px;
  width: 120px;
  display: block;
  object-fit: cover;
}
/* Fallback text logo (pages légales) */
.navbar__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-black);
  letter-spacing: -0.03em;
}
.navbar__logo-text span { color: var(--color-yellow-dark); }

/* Desktop links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.navbar__links a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-700);
  transition: color var(--duration-fast);
  position: relative;
}
.navbar__links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--color-yellow);
  border-radius: var(--radius-full);
  transition: width var(--duration-base) var(--ease-default);
}
.navbar__links a:not(.btn):hover { color: var(--color-black); }
.navbar__links a:not(.btn):hover::after { width: 100%; }

/* Burger button */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  height: 2px;
  background: var(--color-yellow);
  border-radius: var(--radius-full);
  transition: transform var(--duration-base) var(--ease-default),
              opacity  var(--duration-fast) var(--ease-default);
  transform-origin: center;
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
