.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--border-light); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.nav-shell { width: min(100% - 48px, 1100px); min-height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text-primary); font-size: var(--text-lg); font-weight: 600; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 11px; background: var(--primary); color: var(--text-inverse); font-size: var(--text-sm); font-weight: 700; }
.nav-links, .nav-actions { display: flex; align-items: center; }
.nav-links { gap: clamp(20px, 3vw, 38px); }
.nav-links a, .login-link { color: var(--text-secondary); font-size: var(--text-sm); text-decoration: none; transition: color .2s ease; }
.nav-links a:hover, .login-link:hover { color: var(--primary-dark); }
.nav-actions { gap: var(--space-4); }
.login-link { color: var(--text-primary); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: var(--space-2); padding: 0 var(--space-4); border: 1px solid transparent; border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #332400; box-shadow: var(--shadow-sm); }
.button-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); }
.button-small { min-height: 36px; padding-inline: 13px; border-radius: 11px; color: #332400; }
.button-secondary { border-color: var(--border); background: var(--bg-surface); color: var(--text-primary); }
.button-secondary:hover { border-color: var(--primary); background: var(--bg-subtle); }
.mobile-cta { display: none; }
.nav-cta { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.show-nav-cta .nav-cta { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (hover: hover) { .nav-links a:hover, .login-link:hover { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 5px; } }
@media (max-width: 760px) {
  .nav-shell { width: min(100% - 36px, 1100px); min-height: 62px; }
  .nav-links, .nav-actions { display: none; }
  .mobile-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
  .mobile-cta.nav-cta { display: none; }
  .show-nav-cta .mobile-cta.nav-cta { display: inline-flex; }
}

/* ===== Animation d'entrée de la navbar ===== */
@keyframes webora-header-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
.js-motion .site-header { animation: webora-header-in .7s cubic-bezier(.16,1,.3,1) both; animation-play-state: paused; }
.js-motion.is-ready .site-header { animation-play-state: running; }

/* Lien actif + indicateur */
.nav-links a { position: relative; }
.nav-links a::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 2px; border-radius: 2px; background: var(--primary); content: ""; transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.65,0,.35,1); }
.nav-links a.is-active { color: var(--text-primary); }
.nav-links a.is-active::after { transform: scaleX(1); }
@media (hover: hover) { .nav-links a.is-active:hover { text-decoration: none; } }

/* Barre de progression du scroll */
.scroll-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left center; pointer-events: none; }

/* ===== Logo Webora ===== */
.brand-mark { color: #2B1F00; }
.brand-logo { display: block; width: 68%; height: 68%; }
.brand-amp { margin: 0 1px; color: var(--primary-dark); font-family: var(--font-serif); font-weight: 400; }
.footer-bottom .brand-amp { color: #F1D27D; }

/* ===== Menu mobile (burger) ===== */
.nav-toggle, .mobile-menu { display: none; }
@media (max-width: 760px) {
  .nav-shell { gap: 12px; }
  .nav-shell > .brand { margin-right: auto; }
  .nav-toggle { position: relative; display: inline-grid; flex: none; width: 42px; height: 42px; place-content: center; gap: 5px; padding: 0; border: 1px solid #E2D6B4; border-radius: 11px; background: #FFFDF6; color: #2D230D; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s cubic-bezier(.65,0,.35,1), opacity .2s ease; }
  .nav-toggle:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 2px; }
  .menu-open .nav-toggle { border-color: var(--primary-dark); background: #FFF0B8; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 2px; padding: 10px 18px 20px; border-bottom: 1px solid var(--border-light); background: #FFFDF6; box-shadow: 0 18px 30px rgba(45,35,13,.12); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
  .mobile-menu[hidden] { display: none; }
  .menu-open .mobile-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-menu > a:not(.button) { padding: 14px 4px; border-bottom: 1px solid #EFE6CF; color: var(--text-primary); font-size: 16px; font-weight: 550; text-decoration: none; }
  .mobile-menu > a:not(.button):active { color: var(--primary-dark); }
  .mobile-menu-cta { justify-content: center; min-height: 48px; margin-top: 14px; }
}
@media (max-width: 400px) {
  .show-nav-cta .mobile-cta.nav-cta { display: none; }
}
