/* ============================================
   MENU DE NAVIGATION — Life Saver Plate
   Ajout seulement, ne touche pas à main.css
   ============================================ */

#site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #132957;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 5%;
}

.nav-logo img {
  height: 42px;
  display: block;
  filter: brightness(0) invert(1);
}

/* ── Menu desktop ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Cibler le ul généré par WordPress (toutes classes possibles) */
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links ul li {
  position: relative;
  list-style: none;
}

.nav-links ul a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Roboto', sans-serif;
  transition: color .2s;
  white-space: nowrap;
}

.nav-links ul a:hover,
.nav-links ul .current-menu-item > a { color: #93D500; }

/* ── Switcher de langue (Polylang) ── */
.lang-switcher {
  display: flex;
  gap: 6px;
  margin-left: 24px;
}

.lang-btn {
  background: transparent;
  border: 2px solid #93D500;
  color: #93D500;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  transition: background .2s, color .2s;
  display: inline-block;
}

.lang-btn.active,
.lang-btn:hover {
  background: #93D500;
  color: #132957;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Menu mobile ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #1F3D7B;
  padding: 12px 5% 20px;
  border-top: 2px solid #93D500;
}

.mobile-nav.open { display: flex; }

/* ul généré par WordPress dans le mobile */
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.mobile-nav ul li {
  list-style: none;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.mobile-nav ul li:last-child { border-bottom: none; }

.mobile-nav ul a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 0;
  font-family: 'Roboto', sans-serif;
  transition: color .2s;
}

.mobile-nav ul a:hover { color: #93D500; }

.mobile-nav .lang-switcher { margin-top: 16px; }

/* ── Responsive ── */
@media only screen and (max-width: 800px) {
  .hamburger { display: flex; }
  .nav-links  { display: none; }
}

/* ===== BARRE AMAZON DÉFILANTE ===== */
.amazon-banner {
  background: #132957;
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
  border-top: 3px solid #93D500;
  border-bottom: 3px solid #93D500;
}

.amazon-ticker {
  display: inline-block;
  animation: lsp-ticker 20s linear infinite;
}

.amazon-ticker span {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  padding-right: 40px;
}

.amz-logo {
  color: #FF9900;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

@keyframes lsp-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
