/* ════════════════════════════════════════════════════════════════
   nav.css — Navbar fixa + Menu Mobile + Cursor Fire
   ════════════════════════════════════════════════════════════════ */

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; inset-inline: 0;
  height: var(--nav-h); z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow var(--dur), background var(--dur);
}
/* Linha de fogo na borda inferior */
.nav::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--fire), var(--ember), var(--fire), transparent);
  opacity: 0.45;
}
.nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.55); }

/* Layout interno — alinhado com .container */
.nav-inner {
  height: 100%;
  max-width: var(--mx);
  margin-inline: auto;
  padding-inline: var(--px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* ─── LOGO ────────────────────────────────────────────────────── */
.nav-logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.nav-logo-photo {
  position: relative;  /* ← obrigatório para posicionar o .verified-badge */
  width: 42px; height: 42px; flex-shrink: 0;
}
.nav-logo-photo img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--fire);
}
/* Anel pulsante de fogo ao redor da foto */
.nav-logo-photo::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--fire-glow);
  animation: ringPulse 2.5s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { opacity: 0.4; transform: scale(1);    }
  50%      { opacity: 1;   transform: scale(1.07); }
}

/* ── Selo de verificado — CORRIGIDO (posição absoluta sobre a foto) */
.verified-badge {
  position: absolute;      /* ← em relação ao .nav-logo-photo */
  bottom: -2px; right: -2px;
  width: 15px; height: 15px;
  background: #1DA1F2;     /* azul verificado Twitter */
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-mid);
  z-index: 1;
}
.verified-badge i { color: #fff; font-size: 0.42rem; }

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-name {
  font-family: var(--font-display);  /* ← usa --font-display (correto) */
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--txt);
}
.nav-logo-name .accent { color: var(--fire); }
.nav-logo-sub {
  font-size: 0.5rem; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; color: var(--txt-dim);
}

/* ─── LINKS DESKTOP ───────────────────────────────────────────── */
.nav-links { display: none; align-items: center; gap: 1.6rem; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: .04em;
  color: var(--txt-mid); position: relative; transition: color var(--dur);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--fire), var(--ember));
  transition: width var(--dur) var(--eout);
}
.nav-links a:hover { color: var(--fire); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--fire); }

/* ─── CONTROLES ───────────────────────────────────────────────── */
.nav-controls { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border-ui); color: var(--txt-mid); font-size: 0.85rem;
  transition: all var(--dur);
}
.icon-btn:hover { border-color: var(--fire); color: var(--fire); background: var(--fire-sm); }

/* Seletor de idioma */
.lang-sel { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; height: 36px;
  border: 1px solid var(--border-ui); border-radius: 8px;
  color: var(--txt-mid); font-size: 0.78rem; font-weight: 600;
  transition: all var(--dur);
}
.lang-btn:hover { border-color: var(--fire); color: var(--fire); }
.lang-flag { font-size: 1rem; line-height: 1; }
.lang-code { text-transform: uppercase; letter-spacing: .04em; }
.lang-arrow svg { width: 11px; height: 11px; stroke: currentColor; transition: transform var(--dur); }
.lang-sel.open .lang-arrow svg { transform: rotate(180deg); }

.lang-drop {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
  background: var(--bg-raised); border: 1px solid var(--border-hi);
  border-radius: 10px; padding: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur), visibility var(--dur), transform var(--dur) var(--eout);
  z-index: 200;
}
.lang-sel.open .lang-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-drop p { font-size: 0.68rem; color: var(--txt-dim); padding: 4px 10px 8px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.lang-opt {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px;
  border-radius: 6px; font-size: 0.82rem; font-weight: 500; color: var(--txt-mid);
  transition: background var(--dur), color var(--dur);
}
.lang-opt:hover { background: var(--pink-glow2); color: var(--fire); }
.lang-opt[aria-selected="true"] { color: var(--fire); background: var(--pink-glow2); font-weight: 700; }

/* Botão MENU (desktop ≥ 768px) */
.btn-menu-desktop {
  display: none; align-items: center; height: 36px; padding: 0 18px;
  background: var(--fire); border-radius: 4px; color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}
.btn-menu-desktop:hover { background: var(--fire-dark); transform: translateY(-1px); box-shadow: 0 4px 16px var(--fire-glow); }

/* Hamburguer (mobile) */
.hamburger {
  width: 36px; height: 36px; display: flex; flex-direction: column;
  justify-content: center; gap: 5px; padding: 0 8px;
  border-radius: 8px; border: 1px solid var(--border-ui);
  transition: border-color var(--dur);
}
.hamburger:hover { border-color: var(--fire); }
.hamburger span {
  display: block; width: 100%; height: 2px; background: var(--txt-mid);
  border-radius: 2px; transition: transform var(--dur), opacity var(--dur), background var(--dur);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--fire); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--fire); }

/* ─── MENU MOBILE ─────────────────────────────────────────────── */
.mob-overlay {
  position: fixed; inset: 0; background: var(--overlay);
  backdrop-filter: blur(4px); z-index: 1400;
  opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility var(--dur);
}
.mob-overlay.active { opacity: 1; visibility: visible; }

.mob-menu {
  position: fixed; top: 0; right: -100%; bottom: 0;
  width: min(85vw, 320px); overflow-y: auto; overflow-x: hidden;
  background: var(--bg-mid);
  border-left: 1px solid var(--border-hi);
  z-index: 1500; display: flex; flex-direction: column;
  transition: right .4s var(--eout);
}
.mob-menu.active { right: 0; }

.mob-menu-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.25rem; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mob-menu-brand { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--txt); }
.mob-menu-brand .accent { color: var(--fire); }
.mob-close {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border-ui); color: var(--txt-mid); font-size: 1rem;
  transition: all var(--dur);
}
.mob-close:hover { border-color: var(--fire); color: var(--fire); }

.mob-nav { padding: 0.5rem 0; }
.mob-nav a {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 1.5rem;
  font-size: 0.9rem; font-weight: 500; color: var(--txt-mid);
  border-left: 2px solid transparent;
  transition: color var(--dur), padding-left var(--dur), background var(--dur), border-color var(--dur);
}
.mob-nav a i { width: 18px; text-align: center; font-size: 0.88rem; color: var(--txt-dim); transition: color var(--dur); }
.mob-nav a:hover { color: var(--fire); background: var(--pink-glow2); border-left-color: var(--fire); padding-left: 1.75rem; }
.mob-nav a:hover i { color: var(--fire); }
.mob-divider { height: 1px; background: var(--border); margin: 0.3rem 1.25rem; }
.mob-label { font-size: 0.58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--txt-dim); padding: 0.65rem 1.5rem 0.2rem; }

/* Grade de plataformas */
.mob-plats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem; padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}
.mob-plat {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 2px; border-radius: 10px; border: 1px solid var(--border);
  font-size: 0.5rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  color: var(--txt-dim); text-decoration: none;
  transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.mob-plat:hover { border-color: var(--fire); background: var(--pink-glow2); color: var(--fire); }
.mob-plat-icon { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.mob-plat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }

/* Rodapé do menu mobile */
.mob-menu-footer { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid var(--border); }
.mob-socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.mob-soc-btn {
  flex: 1; min-width: 48px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border-ui); font-size: 1rem; color: var(--txt-dim);
  transition: all var(--dur);
}
.mob-soc-btn:hover { color: #fff; }
.mob-soc-btn.onlyfans:hover  { background: var(--p-onlyfans);  border-color: var(--p-onlyfans); }
.mob-soc-btn.twitter:hover   { background: var(--p-twitter);   border-color: var(--p-twitter); }
.mob-soc-btn.instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: var(--p-instagram); }
.mob-soc-btn.whatsapp:hover  { background: var(--p-whatsapp);  border-color: var(--p-whatsapp); }
.mob-theme-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; background: var(--bg-card); border-radius: 10px;
  border: 1px solid var(--border); color: var(--txt-mid); font-size: 0.88rem; width: 100%;
  transition: all var(--dur);
}
.mob-theme-btn:hover { border-color: var(--fire); color: var(--fire); }
#mobThemeLbl { font-weight: 700; color: var(--fire); font-size: 0.8rem; }

/* ─── CURSOR FIRE ─────────────────────────────────────────────── */
@media (pointer: fine) { body { cursor: none; } }

#cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--fire); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 8px var(--fire), 0 0 20px var(--fire-glow);
  transition: width .1s, height .1s, transform .1s;
  opacity: 0;
}
#cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1.5px solid rgba(229,9,20,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: left .12s ease-out, top .12s ease-out, width .2s, height .2s, border-color .2s;
  opacity: 0;
}
#cursor-dot.visible, #cursor-ring.visible { opacity: 1; }
body.cursor-hover #cursor-ring { width: 48px; height: 48px; border-color: rgba(229,9,20,0.9); }

/* ── NAV TEMA CLARO (sobre sections claras como Privacy) ─── */
.nav--light {
  background: rgba(245, 239, 230, 0.92); /* cor da --bg-privacy */
  border-bottom-color: rgba(255, 107, 0, 0.15);
}

/* linha inferior vira laranja */
.nav--light::after {
  background: linear-gradient(90deg, transparent, var(--p-privacy), transparent);
  opacity: 0.5;
}

/* logo: nome fica escuro */
.nav--light .nav-logo-name {
  color: #0a0a0a;
}
.nav--light .nav-logo-name .accent {
  color: var(--p-privacy); /* laranja */
}
.nav--light .nav-logo-sub { color: rgba(10,10,10,0.45); }

/* links desktop ficam escuros */
.nav--light .nav-links a {
  color: rgba(10,10,10,0.65);
}
.nav--light .nav-links a:hover {
  color: var(--p-privacy);
}
.nav--light .nav-links a::after {
  background: var(--p-privacy);
}

/* botões de controle */
.nav--light .icon-btn {
  border-color: rgba(10,10,10,0.15);
  color: rgba(10,10,10,0.65);
}
.nav--light .icon-btn:hover {
  border-color: var(--p-privacy);
  color: var(--p-privacy);
}

.nav--light .lang-btn {
  border-color: rgba(10,10,10,0.15);
  color: rgba(10,10,10,0.65);
}
.nav--light .lang-btn:hover {
  border-color: var(--p-privacy);
  color: var(--p-privacy);
}

/* botão MENU fica laranja */
.nav--light .btn-menu-desktop {
  background: var(--p-privacy);
}

/* hamburguer fica escuro */
.nav--light .hamburger {
  border-color: rgba(10,10,10,0.15);
}
.nav--light .hamburger span {
  background: rgba(10,10,10,0.7);
}