/* ═══════════════════════════════════════════════════════
   RIOLUX — COMPONENTS
   Pill, botões, WhatsApp float, navbar e menu mobile.
═══════════════════════════════════════════════════════ */

/* ─── PILL / KICKER ─── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gradient-gold-soft);
  border: 1px solid rgba(214,169,74,.28);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-500);
}
.pill--dark {
  background: rgba(244,217,130,.08);
  border-color: rgba(244,217,130,.18);
  color: var(--gold-300);
}
.pill svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ─── BOTÕES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: all .22s cubic-bezier(.16,1,.3,1);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .22s;
}
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--gradient-gold);
  color: var(--navy-950);
  box-shadow: 0 4px 24px rgba(214,169,74,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(214,169,74,.45);
}

.btn-ghost {
  background: rgba(255,255,255,.07);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold-500);
  border: 1.5px solid var(--gold-500);
}
.btn-outline:hover {
  background: var(--gradient-gold-soft);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ─── WHATSAPP FLUTUANTE ─── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  transition: transform .22s, box-shadow .22s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37,211,102,.55);
}
.wa-float svg { width: 30px; height: 30px; fill: white; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all .3s;
}
.navbar.scrolled {
  background: rgba(7,13,29,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 0;
}

.navbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand { display: flex; align-items: center; }

.brand-logo {
  height: 76px;       /* tamanho na primeira dobra */
  width: auto;
  display: block;
  transition: height .35s ease;
}
.navbar.scrolled .brand-logo {
  height: 48px;       /* ligeiramente menor ao rolar */
}

.brand-logo--footer {
  height: 60px;
  transition: none;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-link {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color .2s, background .2s;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.07);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ─── HAMBURGER / MENU MOBILE ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 200;           /* acima do navbar (z-index: 100) */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 22px; font-weight: 700; padding: 14px 32px; }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 201;           /* garante que o botão X fique acima de tudo */
  color: white;
  padding: 12px;
  cursor: pointer;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  line-height: 0;
  transition: background .2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,.14); }
