/* ═══════════════════════════════════════════════════════
   LEVENTUM — COMPONENTS.CSS
   Estilos do Header (Nav) + Footer + todos os pop-ups
   vinculados. Inclua este arquivo em todos os HTMLs.
═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --blue:        #3D5AFE;
  --blue-dark:   #2D47E6;
  --blue-light:  #EEF1FF;
  --blue-mid:    #C5CEFF;
  --blue-glow:   rgba(61,90,254,.15);
  --mint:        #00C2A8;
  --mint-light:  #E6FAF8;
  --violet:      #7C4DFF;
  --amber:       #F59E0B;
  --green:       #10B981;
  --red:         #EF4444;
  --ink:         #0A0E1A;
  --ink-2:       #1D2433;
  --muted:       #5B6475;
  --sub:         #8892A4;
  --chalk:       #F7F8FA;
  --chalk-2:     #EEF1F8;
  --white:       #FFFFFF;
  --border:      rgba(10,14,26,.09);
  --border-2:    rgba(10,14,26,.05);
  --shadow-xs:   0 1px 4px rgba(10,14,26,.05);
  --shadow-sm:   0 2px 8px rgba(10,14,26,.07);
  --shadow-md:   0 8px 32px rgba(10,14,26,.10);
  --shadow-lg:   0 24px 64px rgba(10,14,26,.14);
  --shadow-xl:   0 40px 100px rgba(10,14,26,.18);
  --shadow-blue: 0 8px 28px rgba(61,90,254,.28);
  --fh: 'Sora', sans-serif;
  --fb: 'Inter', sans-serif;
  --fm: 'IBM Plex Mono', monospace;
  --r:    10px;
  --r-lg: 18px;
  --r-xl: 24px;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-in: cubic-bezier(.55,0,1,.45);
}

/* ── BASE RESETS (se ainda não declarados no HTML) ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--fb); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--fb); }
::selection { background: var(--blue); color: #fff; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--chalk-2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--sub); }

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 70px;
  background: #0B1020;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, background .3s;
}
#nav.scrolled { box-shadow: 0 1px 20px rgba(10,14,26,.07); }

.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  width: 100%; height: 100%;
  display: flex; align-items: center; gap: 32px;
}

.nav-logo {
  font-family: var(--fh); font-size: 18px; font-weight: 800;
  letter-spacing: -.05em; color: #ffffff;
  display: flex; align-items: center; gap: 2px; flex-shrink: 0;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .8; }
.nav-logo-accent { color: var(--blue); }
.nav-logo-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mint); display: inline-block;
  margin-left: 1px; margin-bottom: 10px;
  animation: dot-pulse 2.5s ease infinite;
}
@keyframes dot-pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.5; transform:scale(.7); }
}

.nav-search-wrap {
  flex: 1; max-width: 380px;
  display: flex; align-items: center; gap: 10px;
  background: var(--chalk); border: 1.5px solid transparent;
  border-radius: 40px; padding: 0 16px; height: 38px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.nav-search-wrap:focus-within {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.nav-search-wrap svg { color: var(--sub); flex-shrink: 0; }
.nav-search-wrap input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--fb); font-size: 13.5px; color: var(--ink);
}
.nav-search-wrap input::placeholder { color: var(--sub); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: auto; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 7px 13px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--chalk); }

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

.btn-ghost {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  padding: 8px 16px; border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #FFFFFF; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }

.btn-primary-nav {
  font-size: 13.5px; font-weight: 700; color: #fff;
  padding: 9px 20px; border-radius: 8px;
  background: var(--blue); border: none; cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: opacity .2s, transform .2s, box-shadow .2s;
  display: flex; align-items: center; gap: 6px;
}
.btn-primary-nav:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 12px 32px rgba(61,90,254,.35); }

/* User Avatar Nav */
.nav-user-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 14px 4px 4px; border-radius: 40px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
  position: relative;
}
.nav-user-btn:hover {
  border-color: var(--blue);
  background: rgba(61,90,254,.15);
  box-shadow: 0 0 0 3px rgba(61,90,254,.15);
}
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  box-shadow: 0 2px 8px rgba(61,90,254,.45);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 12px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.nav-user-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); }

/* User Dropdown */
.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--white); border: 1px solid rgba(10,14,26,.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(10,14,26,.18), 0 4px 16px rgba(10,14,26,.08);
  min-width: 240px; z-index: 9999; overflow: hidden;
  opacity: 0; transform: translateY(-8px) scale(.97);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.user-dropdown.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

.user-dropdown-header {
  padding: 18px 18px 14px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, rgba(61,90,254,.06) 0%, rgba(124,77,255,.04) 100%);
  position: relative;
}
.user-dropdown-header::after {
  content: ''; position: absolute; bottom: 0; left: 18px; right: 18px;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.user-dropdown-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  box-shadow: 0 4px 14px rgba(61,90,254,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 16px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.user-dropdown-name { font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.user-dropdown-email { font-size: 11.5px; color: var(--sub); }
.user-dropdown-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600; color: var(--green);
  background: rgba(16,185,129,.1); padding: 2px 8px; border-radius: 40px;
  margin-top: 4px;
}

.user-dropdown-menu { padding: 6px; }
.user-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: background .15s, color .15s;
  border: none; background: none; width: 100%; text-align: left;
}
.user-dropdown-item:hover { background: var(--chalk); color: var(--ink); }
.user-dropdown-item svg { color: var(--sub); flex-shrink: 0; }
.user-dropdown-item:hover svg { color: var(--blue); }
.user-dropdown-item--danger { color: var(--red); }
.user-dropdown-item--danger:hover { background: rgba(239,68,68,.07); color: var(--red); }
.user-dropdown-item--danger svg { color: var(--red); }
.user-dropdown-sep { height: 1px; background: var(--border); margin: 4px 6px; }

.nav-mobile-btn {
  display: none; background: none; border: none; cursor: pointer;
  color: #FFFFFF; padding: 6px;
}

/* ═══════════════════════════════════════════════════════
   MOBILE MENU — DRAWER
═══════════════════════════════════════════════════════ */
#mobile-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,14,26,.48);
  z-index: 1100;
  opacity: 0;
  transition: opacity .28s ease;
}
#mobile-menu {
  display: none; position: fixed;
  top: 0; right: 0;
  height: 100%; height: -webkit-fill-available; height: 100dvh;
  width: 88%; max-width: 360px;
  background: #fff; z-index: 1101;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
  overflow: hidden;
}
.smm-header {
  display: flex; align-items: center;
  padding: 16px 16px 14px; gap: 12px;
  border-bottom: 1px solid #f0f0f0; flex-shrink: 0; position: relative;
}
.smm-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #e8e8e8;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fb); font-size: 13px; font-weight: 700;
  color: #666; flex-shrink: 0; letter-spacing: .02em;
}
.smm-avatar--logged { background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; }
.smm-user-info { flex: 1; min-width: 0; }
.smm-user-name {
  font-family: var(--fb); font-size: 12px; font-weight: 700; color: #1a1a1a;
  letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase;
}
.smm-user-email { font-size: 11px; color: #888; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smm-close {
  position: absolute; top: 14px; right: 14px;
  width: 26px; height: 26px; border-radius: 6px;
  border: 1.5px solid #d0d0d0; background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #555; flex-shrink: 0; transition: background .15s;
}
.smm-close:active { background: #f5f5f5; }
.smm-guest-name { font-family: var(--fb); font-size: 12px; font-weight: 500; color: #1a1a1a; }
.smm-guest-action { font-size: 11.5px; color: var(--blue); margin-top: 2px; font-weight: 500; cursor: pointer; }
.smm-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.smm-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  color: #1a1a1a; text-decoration: none;
  background: none; border: none; width: 100%; text-align: left;
  cursor: pointer; font-family: var(--fb); -webkit-tap-highlight-color: transparent;
  transition: background .1s;
}
.smm-item:active { background: #f7f7f7; }
.smm-item-icon { color: var(--blue); flex-shrink: 0; display: flex; overflow: visible; }
.smm-item-label { font-size: 13.5px; font-weight: 400; color: #1a1a1a; flex: 1; }
.smm-cat-sub { display: none; padding: 0 0 6px 50px; flex-direction: column; }
.smm-cat-sub.open { display: flex; }
.smm-cat-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 0; font-size: 13px; font-weight: 400; color: #333;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
  border-bottom: 1px solid #f5f5f5;
}
.smm-cat-link:last-child { border-bottom: none; }
.smm-cat-link:active { color: var(--blue); }
.smm-divider { height: 1px; background: #f0f0f0; margin: 4px 0; }
.smm-footer {
  flex-shrink: 0; padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
  border-top: 1px solid #f0f0f0;
  display: flex; flex-direction: column; gap: 8px;
}
.smm-btn-primary {
  width: 100%; padding: 13px; background: var(--blue); color: #fff;
  border: none; border-radius: 8px;
  font-family: var(--fb); font-size: 13.5px; font-weight: 600;
  cursor: pointer; letter-spacing: .01em; transition: opacity .15s;
}
.smm-btn-primary:active { opacity: .88; }

/* ═══════════════════════════════════════════════════════
   AUTH MODALS
═══════════════════════════════════════════════════════ */
#auth-overlay {
  position: fixed; inset: 0; background: rgba(10,14,26,.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 99999; display: none; align-items: center; justify-content: center;
  padding: 20px; -webkit-tap-highlight-color: transparent;
}
#auth-overlay.open { display: flex; }
.auth-modal {
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow-xl);
  width: 100%; max-width: 420px; max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column; overflow: hidden;
  animation: lv-modal-in .22s var(--ease);
}
@keyframes lv-modal-in { from{opacity:0;transform:scale(.95) translateY(8px)} to{opacity:1;transform:scale(1) translateY(0)} }
.auth-header {
  padding: 22px 24px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.auth-logo { font-family: var(--fh); font-size: 16px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.auth-logo span { color: var(--blue); }
.auth-close {
  width: 30px; height: 30px; border-radius: 8px; background: none; border: none; cursor: pointer;
  color: var(--sub); display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.auth-close:hover { background: var(--chalk); color: var(--ink); }
.auth-body { padding: 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1; }
.auth-title { font-family: var(--fh); font-size: 22px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); margin-bottom: 4px; }
.auth-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.auth-tabs { display: flex; gap: 4px; background: var(--chalk); border-radius: 10px; padding: 3px; margin-bottom: 22px; }
.auth-tab {
  flex: 1; padding: 9px; border-radius: 8px; border: none; background: transparent;
  font-family: var(--fb); font-size: 13.5px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all .2s;
}
.auth-tab.active { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(10,14,26,.08); }
.auth-social { display: flex; gap: 8px; margin-bottom: 18px; }
.auth-social-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.auth-social-btn:hover { border-color: var(--blue); background: var(--blue-light); }
.auth-divider { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.auth-divider-line { flex: 1; height: 1px; background: var(--border); }
.auth-divider-text { font-size: 12px; color: var(--sub); white-space: nowrap; }
.form-group { margin-bottom: 16px; }
.form-group--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.form-label { font-size: 12.5px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 7px; }
.form-input {
  width: 100%; height: 42px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: var(--fb); font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder { color: var(--sub); font-size: 13px; }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.form-input.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.form-input-wrap { position: relative; }
.form-input-icon {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  cursor: pointer; color: var(--sub); display: flex; align-items: center; transition: color .2s;
}
.form-input-icon:hover { color: var(--ink); }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.form-error.show { display: block; }
.form-check { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
.form-check-input {
  width: 16px; height: 16px; border-radius: 4px;
  border: 2px solid var(--border); appearance: none; -webkit-appearance: none;
  cursor: pointer; flex-shrink: 0; margin-top: 1px; transition: all .15s;
  position: relative; accent-color: var(--blue);
}
.form-check-input:checked { background: var(--blue); border-color: var(--blue); }
.form-check-input:checked::after {
  content: ''; position: absolute; left: 3px; top: 1px;
  width: 5px; height: 8px; border: 2px solid white;
  border-top: none; border-left: none; transform: rotate(45deg);
}
.form-check-label { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.form-check-label a { color: var(--blue); font-weight: 600; }
.reg-pwd-strength-wrap { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.reg-pwd-strength-bar { flex: 1; height: 4px; background: var(--chalk-2); border-radius: 2px; overflow: hidden; }
.reg-pwd-strength-fill { height: 100%; width: 0%; border-radius: 2px; transition: width .3s, background .3s; }
.reg-pwd-strength-label { font-size: 11.5px; color: var(--sub); min-width: 60px; transition: color .3s; }
.reg-pwd-tips {
  background: linear-gradient(135deg,rgba(61,90,254,.04) 0%,rgba(61,90,254,.02) 100%);
  border: 1px solid rgba(61,90,254,.15); border-radius: 8px; padding: 12px 14px; margin-top: 10px;
}
.reg-pwd-tip {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sub);
  padding: 3px 0; border-bottom: 1px solid rgba(10,14,26,.08);
}
.reg-pwd-tip:last-child { border-bottom: none; padding-bottom: 0; }
.reg-pwd-tip.ok { color: var(--green); }
.reg-pwd-tip svg { flex-shrink: 0; }
.auth-submit {
  width: 100%; height: 46px; border-radius: 10px; border: none; background: var(--blue);
  color: #fff; font-family: var(--fh); font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: var(--shadow-blue); transition: opacity .2s, transform .2s; margin-bottom: 16px;
}
.auth-submit:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.auth-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.auth-footer-link { text-align: center; font-size: 13px; color: var(--sub); margin-top: 16px; }
.auth-footer-link a { color: var(--blue); font-weight: 600; cursor: pointer; }
.auth-footer-link a:hover { text-decoration: underline; }
.auth-success { display: none; text-align: center; padding: 20px 0; flex-direction: column; align-items: center; gap: 12px; }
.auth-success.show { display: flex; }
.auth-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg,var(--mint-light),rgba(0,194,168,.15));
  border: 1.5px solid rgba(0,194,168,.25);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,194,168,.18);
}
.auth-success-title { font-family: var(--fh); font-size: 20px; font-weight: 800; color: var(--ink); }
.auth-success-sub { font-size: 13.5px; color: var(--muted); }
.spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none;
}
.spinner.show { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth-email-notice {
  background: linear-gradient(135deg, rgba(61,90,254,.06), rgba(0,194,168,.06));
  border: 1px solid rgba(61,90,254,.15);
  border-radius: 12px; padding: 16px 18px;
  display: none; flex-direction: column; gap: 8px; margin-bottom: 20px;
}
.auth-email-notice.show { display: flex; }
.auth-email-notice-icon { font-size: 24px; }
.auth-email-notice-title { font-family: var(--fh); font-size: 15px; font-weight: 800; color: var(--ink); }
.auth-email-notice-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.auth-email-notice-resend {
  font-size: 12.5px; font-weight: 600; color: var(--blue);
  cursor: pointer; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px;
  width: fit-content;
}
.auth-email-notice-resend:hover { text-decoration: underline; }

/* ── Password strength (forgot/reset) ── */
.pwd-strength-wrap { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.pwd-strength-bar { flex: 1; height: 4px; background: var(--chalk-2); border-radius: 2px; overflow: hidden; }
.pwd-strength-fill { height: 100%; width: 0%; border-radius: 2px; transition: width .3s, background .3s; }
.pwd-strength-label { font-size: 11.5px; color: var(--sub); min-width: 60px; transition: color .3s; }
.pwd-tips {
  background: linear-gradient(135deg,rgba(61,90,254,.04),rgba(61,90,254,.02));
  border: 1px solid rgba(61,90,254,.15); border-radius: 8px; padding: 12px 14px; margin-top: 10px;
}
.pwd-tip {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sub);
  padding: 3px 0; border-bottom: 1px solid rgba(10,14,26,.08);
}
.pwd-tip:last-child { border-bottom: none; padding-bottom: 0; }
.pwd-tip.ok { color: var(--green); }

/* ═══════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════ */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink-2); color: #fff; border-radius: 40px;
  padding: 11px 22px; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(10,14,26,.25); z-index: 99999;
  opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
  white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer { background: var(--ink); color: rgba(255,255,255,.55); padding: 45px 0 36px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand-name {
  font-family: var(--fh); font-size: 19px; font-weight: 800;
  letter-spacing: -.045em; color: #fff; margin-bottom: 12px;
}
.footer-brand-name span { color: var(--blue); }
.footer-brand-desc { font-size: 13.5px; line-height: 1.7; max-width: 330px; margin-bottom: 24px; }
.footer-contact-info { display: flex; gap: 40px; margin-top: 32px; }
.footer-contact-item-title {
  font-family: var(--fh); font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.9); margin-bottom: 4px;
}
.footer-contact-item-value { font-size: 13.5px; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 12px; }
.footer-social-wrap { display: flex; flex-direction: column; gap: 8px; }
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.footer-social-btn:hover { opacity: 0.7; }
.footer-social-btn img { width: 24px; height: 24px; object-fit: contain; }
.footer-col-title {
  font-family: var(--fh); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-mobile-cols { display: contents; }
.footer-links a { font-size: 13.5px; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-copy { font-size: 12.0px; }

/* ═══════════════════════════════════════════════════════
   CITY MODAL
═══════════════════════════════════════════════════════ */
#city-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,14,26,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  z-index: 99998; display: none; align-items: center; justify-content: center;
  padding: 20px; -webkit-tap-highlight-color: transparent;
}
#city-modal-overlay.open { display: flex; }
#city-modal {
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow-xl);
  width: 100%; max-width: 440px; max-height: 90vh; max-height: 90dvh;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  animation: lv-modal-in .22s var(--ease);
}
.city-modal-header {
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.city-modal-header-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.city-modal-title { font-family: var(--fh); font-size: 15px; font-weight: 800; color: var(--ink); }
.city-modal-sub { font-size: 12px; color: var(--sub); margin-top: 1px; }
.city-modal-close {
  margin-left: auto; width: 30px; height: 30px; border-radius: 8px;
  background: none; border: none; cursor: pointer; color: var(--sub);
  display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.city-modal-close:hover { background: var(--chalk); color: var(--ink); }
.city-modal-search { padding: 16px 20px; }
.city-modal-input-wrap {
  display: flex; align-items: center; gap: 10px; background: var(--chalk);
  border: 1.5px solid transparent; border-radius: 10px; padding: 0 14px; height: 42px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.city-modal-input-wrap:focus-within { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px var(--blue-glow); }
.city-modal-input-wrap svg { color: var(--sub); flex-shrink: 0; }
.city-modal-input-wrap input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--fb); font-size: 16px; color: var(--ink);
}
.city-modal-input-wrap input::placeholder { color: var(--sub); }
.city-modal-list { max-height: 300px; overflow-y: auto; padding: 0 8px 12px; }
.city-modal-section-label {
  font-family: var(--fm); font-size: 9.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sub); padding: 4px 12px 8px; margin-top: 4px;
}
.city-opt {
  padding: 10px 12px; font-size: 13.5px; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  border-radius: 8px; transition: background .15s;
}
.city-opt:hover { background: var(--chalk); }
.city-opt-state { font-size: 11px; color: var(--sub); margin-left: auto; background: var(--chalk-2); padding: 2px 7px; border-radius: 4px; flex-shrink: 0; }
.city-opt--any { color: var(--blue); font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   DATE MODAL
═══════════════════════════════════════════════════════ */
#date-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,14,26,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  z-index: 99998; display: none; align-items: center; justify-content: center;
  padding: 20px; -webkit-tap-highlight-color: transparent;
}
#date-modal-overlay.open { display: flex; }
#date-modal {
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow-xl);
  width: 100%; max-width: 380px; max-height: 90vh; max-height: 90dvh;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  animation: lv-modal-in .22s var(--ease);
}
.date-modal-header {
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.date-modal-header-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.date-modal-title { font-family: var(--fh); font-size: 15px; font-weight: 800; color: var(--ink); }
.date-modal-sub { font-size: 12px; color: var(--sub); margin-top: 1px; }
.date-modal-close {
  margin-left: auto; width: 30px; height: 30px; border-radius: 8px;
  background: none; border: none; cursor: pointer; color: var(--sub);
  display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.date-modal-close:hover { background: var(--chalk); color: var(--ink); }
.date-modal-body { padding: 18px 20px 22px; }
.date-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.date-quick-btn {
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border); background: transparent;
  cursor: pointer; transition: all .15s; font-family: var(--fb);
}
.date-quick-btn:hover, .date-quick-btn.active { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.date-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.date-cal-nav {
  background: none; border: none; cursor: pointer; color: var(--muted);
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.date-cal-nav:hover { background: var(--chalk); color: var(--ink); }
.date-cal-title { font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--ink); }
.date-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.date-day-name {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--sub); text-align: center; padding: 4px 0 6px;
}
.date-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; color: var(--ink); border-radius: 8px;
  cursor: pointer; transition: background .12s, color .12s;
}
.date-day:hover:not(.disabled):not(.other-month) { background: var(--blue-light); color: var(--blue); }
.date-day.selected { background: var(--blue); color: #fff; font-weight: 700; }
.date-day.today { font-weight: 700; color: var(--blue); }
.date-day.other-month { color: var(--chalk-2); cursor: default; pointer-events: none; }
.date-day.disabled { opacity: .3; cursor: default; pointer-events: none; }

/* ═══════════════════════════════════════════════════════
   FORGOT PASSWORD MODAL
═══════════════════════════════════════════════════════ */
#forgot-overlay {
  position: fixed; inset: 0; z-index: 999999;
  background: rgba(10,14,26,.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
#forgot-overlay.open { display: flex; }

/* ═══════════════════════════════════════════════════════
   RESET PASSWORD MODAL
═══════════════════════════════════════════════════════ */
#reset-overlay {
  position: fixed; inset: 0; z-index: 1000000;
  background: rgba(10,14,26,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — HEADER/FOOTER
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; gap: 10px; }
  .nav-mobile-btn { padding-right: 0; }
  .nav-search-wrap { display: none; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  #nav-actions { margin-left: auto; }
  #nav-user { margin-left: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0 14px; }
  .footer-inner { padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-mobile-cols { display: grid; grid-template-columns: 0.75fr 1fr; gap: 24px; width: 100%; }
  .footer-brand-desc { max-width: 330px; text-align: left; }
  .footer-social-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 20px; order: 1; }
  .footer-social { justify-content: center; }
  .footer-bottom { display: flex; flex-direction: column; text-align: center; }
  .footer-copy { order: 2; }
}

/* Espaço para o nav fixo no topo */
.lv-page-content { padding-top: 70px; }

/* Footer oculto em páginas de evento (mostrado via JS após carregar) */
body.lv-evento-page footer { display: none; }
body.lv-evento-page footer.lv-footer-visible { display: block; }
