/* NEKTAR — Global nav sticky + Floating Réserver
   (extrait de l'ancien index.html pour single-page) */

#global-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9998;
  background: var(--nektar-nuit);
  border-bottom: 1px solid var(--nektar-or);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 320ms cubic-bezier(0.2,0.7,0.2,1),
              transform 320ms cubic-bezier(0.2,0.7,0.2,1);
  pointer-events: none;
}
#global-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#gnav-logo img { height: 26px; width: auto; display: block; }

.gnav-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.gnav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}
.gnav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 220ms ease;
}
.gnav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--nektar-or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(0.2,0.7,0.2,1);
}
.gnav-links a:hover { color: #fff; }
.gnav-links a:hover::after { transform: scaleX(1); }

#gnav-resa {
  background: none;
  border: 1px solid var(--nektar-or);
  color: var(--nektar-or);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease;
}
#gnav-resa:hover { background: var(--nektar-or); color: var(--nektar-nuit); }

.gnav-lang { display: flex; align-items: center; gap: 6px; }
.gnav-lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: color 200ms ease;
}
.gnav-lang-btn.is-on { color: var(--nektar-or); }
.gnav-lang-btn:hover { color: rgba(255,255,255,0.9); }
.gnav-lang-sep { color: rgba(255,255,255,0.2); font-size: 10px; }

#gnav-burger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
#gnav-burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--nektar-or);
  transition: transform 240ms ease, opacity 240ms ease;
}
#gnav-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#gnav-burger.is-open span:nth-child(2) { opacity: 0; }
#gnav-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

#gnav-drawer {
  position: fixed;
  top: 55px; left: 0; right: 0;
  background: var(--nektar-nuit);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  padding: 24px clamp(20px, 6vw, 40px) 32px;
  transform: translateY(-110%);
  transition: transform 320ms cubic-bezier(0.2,0.7,0.2,1);
}
#gnav-drawer.is-open { transform: translateY(0); }
#gnav-drawer a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: color 200ms ease;
}
#gnav-drawer a:last-child { border-bottom: none; }
#gnav-drawer a:hover { color: var(--nektar-or); }
.gnav-drawer-resa { color: var(--nektar-or) !important; }

#gnav-backdrop {
  position: fixed; inset: 0; z-index: 9996;
  background: rgba(13,27,62,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms ease;
}
#gnav-backdrop.is-open { opacity: 1; pointer-events: auto; }

.gnav-desktop { display: flex; }
.gnav-mobile  { display: none !important; }

@media (max-width: 700px) {
  .gnav-desktop { display: none !important; }
  .gnav-mobile  { display: flex !important; }
  #gnav-logo img { height: 20px; }
}

/* ============================================================
   FLOATING RÉSERVER
   ============================================================ */
#global-resa {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px) + 16px);
  right: 20px;
  z-index: 9999;
  background: var(--nektar-nuit);
  color: var(--nektar-or);
  border: 1px solid var(--nektar-or);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 260ms cubic-bezier(0.2,0.7,0.2,1),
              transform 260ms cubic-bezier(0.2,0.7,0.2,1),
              color 260ms cubic-bezier(0.2,0.7,0.2,1);
}
#global-resa.is-visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
#global-resa:hover { color: #fff; }

@media (max-width: 700px) {
  #global-resa {
    font-size: 9px;
    padding: 10px 16px;
    letter-spacing: 0.22em;
    bottom: max(16px, env(safe-area-inset-bottom, 0px) + 12px);
  }
}

/* ============================================================
   FLOATING LIVRAISON — Deliveroo + Uber Eats (bottom-left)
   Collapsed  = pill avec les 2 logos.
   Expanded   = 2 pills distinctes qui apparaissent au-dessus.
   ============================================================ */
#global-delivery {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px) + 16px);
  left: 20px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 260ms cubic-bezier(0.2,0.7,0.2,1),
              transform 260ms cubic-bezier(0.2,0.7,0.2,1);
}
#global-delivery.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- Trigger : 2 logos ronds légèrement superposés, sans fond --- */
.gd-trigger {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.gd-trigger:hover { transform: translateY(-2px); }
.gd-trigger {
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1),
              opacity 200ms ease;
}
#global-delivery.is-open .gd-trigger {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.gd-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  background-size: 108%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 18px rgba(13, 27, 62, 0.28);
  position: relative;
}
.gd-logo--deliveroo { background-image: url("../assets/deliveroo-logo.webp"); z-index: 2; }
.gd-logo--ubereats  { background-image: url("../assets/ubereats-logo.webp");  z-index: 1; margin-left: -16px; }

/* --- Panel : les 2 ronds empilés verticalement, à la même position que le trigger --- */
.gd-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 240ms cubic-bezier(0.2,0.7,0.2,1),
              transform 240ms cubic-bezier(0.2,0.7,0.2,1);
}
#global-delivery.is-open .gd-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gd-choice {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  background-size: 108%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 18px rgba(13, 27, 62, 0.28);
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.2,0.7,0.2,1),
              box-shadow 220ms ease;
}
.gd-choice--deliveroo { background-image: url("../assets/deliveroo-logo.webp"); }
.gd-choice--ubereats  { background-image: url("../assets/ubereats-logo.webp"); }
.gd-choice:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(13, 27, 62, 0.35);
}

@media (max-width: 700px) {
  #global-delivery {
    left: 16px;
    bottom: max(16px, env(safe-area-inset-bottom, 0px) + 12px);
  }
  .gd-logo { width: 46px; height: 46px; }
  .gd-logo--ubereats { margin-left: -14px; }
  .gd-choice { width: 46px; height: 46px; }
  .gd-panel { gap: 10px; bottom: calc(100% + 10px); }
}

/* ============================================================
   Site reset
   ============================================================ */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--nektar-creme);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
