/* Guia Vibe – Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --primary: #2dd4bf;
  --teal: #2dd4bf;
  --primary-dark: #14b8a6;
  --accent: #818cf8;
  --accent-light: #a5b4fc;
  --cyan: #22d3ee;
  --amber: #fbbf24;
  --rose: #f43f5e;
  --emerald: #10b981;
  --bg-deep: #020617;
  --bg-base: #0f172a;
  --bg-card: #1e293b;
  --bg-elevated: #334155;

  /* ── Textos — otimizados para legibilidade em alta luminosidade ── */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;     /* era #94a3b8 — aumentado para ~80% opacidade */
  --text-muted: #94a3b8;         /* era #64748b — significativamente mais claro */

  --glass-bg: rgba(15,23,42,.72);
  --glass-border: rgba(148,163,184,.12);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.2);
  --shadow-md: 0 8px 32px rgba(0,0,0,.3);
  --shadow-glow: 0 0 40px rgba(45,212,191,.15);
  --tr: 250ms cubic-bezier(.4,0,.2,1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* ── Cards — separação visual em ambientes de alta luminosidade ── */
  --card-border: 1px solid rgba(42, 212, 190, 0.22);    /* borda teal sutil */
  --card-border-alt: 1px solid rgba(148, 163, 184, 0.2); /* borda neutra cinza */
  --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.2);
  --card-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(45, 212, 191, 0.12);
}

/* ══════════════════════════════════════════════════════════════════
   LIGHT THEME — Modo Praia ☀️
   Ativado via classe .light-theme no <body>
   ══════════════════════════════════════════════════════════════════ */
body.light-theme {
  /* Fundos */
  --bg-deep:     #e2e8f0;
  --bg-base:     #f0f4f8;
  --bg-card:     #ffffff;
  --bg-elevated: #e8edf3;

  /* Textos — alto contraste para leitura sob sol */
  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;

  /* Vidro / Glassmorphism */
  --glass-bg:     rgba(255, 255, 255, 0.82);
  --glass-border: rgba(0, 0, 0, 0.09);

  /* Sombras — mais pronunciadas para profundidade no modo claro */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.15);

  /* Cards — borda e sombra no modo claro */
  --card-border:     1px solid rgba(42, 212, 190, 0.3);
  --card-border-alt: 1px solid #d0d7de;
  --card-shadow:     0 2px 10px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(20, 184, 166, 0.15);

  /* Acento primário ligeiramente mais escuro para contraste no fundo claro */
  --primary: #0d9488;
  --primary-dark: #0f766e;
}

/* Componentes específicos que precisam de override no light mode */
body.light-theme .app-header {
  background: rgba(240, 244, 248, 0.92) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .bottom-nav {
  background: rgba(240, 244, 248, 0.96) !important;
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .city-select { color: #334155 !important; }
body.light-theme .city-select:hover { background: rgba(0, 0, 0, 0.04) !important; }
body.light-theme .city-select option { background: #f0f4f8; color: #0f172a; }
body.light-theme .lang-dropdown-trigger {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0f172a !important;
}
body.light-theme .lang-dropdown-menu {
  background: #ffffff !important;
  border-color: #d0d7de !important;
}
body.light-theme .profile-dropdown-menu {
  background: #ffffff !important;
  border-color: #d0d7de !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}
body.light-theme .profile-menu-item { color: #0f172a !important; }
body.light-theme .profile-menu-item:hover { background: rgba(0, 0, 0, 0.05) !important; color: var(--primary) !important; }
body.light-theme .profile-trigger {
  background: #ffffff !important;
  border-color: #d0d7de !important;
  color: #334155 !important;
}
body.light-theme .chat-input, body.light-theme .search-box {
  background: #ffffff !important;
  border-color: #d0d7de !important;
  color: #0f172a !important;
}
body.light-theme .search-box input { color: #0f172a !important; }
body.light-theme .search-box input::placeholder { color: #94a3b8 !important; }
body.light-theme .form-input,
body.light-theme .form-select,
body.light-theme .form-textarea {
  background: #ffffff !important;
  border-color: #d0d7de !important;
  color: #0f172a !important;
}
body.light-theme .chat-bot {
  background: #f0f4f8 !important;
  border-color: #d0d7de !important;
  color: #334155 !important;
}
body.light-theme .chip {
  background: #ffffff !important;
  border-color: #d0d7de !important;
  color: #334155 !important;
}
body.light-theme .splash-screen { background: #f0f4f8 !important; }
body.light-theme .skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f0f4f8 50%, #e2e8f0 75%) !important;
}
body.light-theme .modal-card {
  background: #ffffff !important;
  border-color: #d0d7de !important;
}
body.light-theme .modal-overlay { background: rgba(0, 0, 0, 0.5) !important; }
body.light-theme .nav-item { color: #64748b !important; }
body.light-theme .nav-item.active { color: var(--primary) !important; }
body.light-theme .logo-text {
  background: linear-gradient(135deg, var(--primary), #818cf8) !important;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botão de tema no dropdown de perfil */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background var(--tr), color var(--tr);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary);
}
body.light-theme .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--primary) !important;
}
.theme-toggle-btn .theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Divisor visual no dropdown entre itens de ação e configuração */
.profile-menu-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 4px 8px;
  border: none;
}

/* Toggle Switch — estilo iOS, usado em Configurações Gerais do Admin */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  transition: background 250ms ease;
}
.toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 250ms ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent }

/* Transição suave de cores durante a troca de tema */
/* Aplicada temporariamente via JS (ThemeManager) apenas no momento do switch */
body.theme-switching,
body.theme-switching *,
body.theme-switching *::before,
body.theme-switching *::after {
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease,
    box-shadow 300ms ease !important;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}

/* ── Splash Screen ──────────────────────────────────── */
.splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.splash-screen.fade-out { opacity: 0; visibility: hidden }
.splash-content { text-align: center }
.splash-logo-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem }
.splash-icon svg { width: 64px; height: 64px; animation: float 2s ease-in-out infinite }
.splash-logo-img {
  /* clamp(mínimo, preferido, máximo): ajusta automaticamente ao tamanho de tela */
  width: clamp(120px, 38vw, 220px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(45,212,191,0.25));
  animation: splashLogoIn .5s ease both;
}
@keyframes splashLogoIn {
  from { opacity: 0; transform: scale(.85) }
  to   { opacity: 1; transform: scale(1) }
}
.splash-title {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.splash-loader { width: 120px; height: 3px; background: var(--bg-card); border-radius: 4px; margin-top: 2rem; overflow: hidden }
.splash-bar { width: 40%; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; animation: loading 1.2s ease-in-out infinite }
@keyframes loading { 0%{transform:translateX(-100%)} 100%{transform:translateX(350%)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── App Shell ──────────────────────────────────────── */
.app-shell { display: flex; flex-direction: column; min-height: 100dvh }

/* ── Header ─────────────────────────────────────────── */
.app-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2,6,23,.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--glass-border);
  padding: calc(.65rem + env(safe-area-inset-top)) 1rem .65rem 1rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0; /* permite encolher sem vazar */
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0; /* logo nunca comprime */
}
.logo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(45,212,191,0.25));
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  letter-spacing: -0.5px;
}
.header-divider {
  width: 1px;
  height: 18px;
  background: rgba(148,163,184,.2);
  margin: 0 2px;
  flex-shrink: 0;
}
.city-selector-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.city-select {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: var(--radius);
  transition: all var(--tr);
  /* Limita largura e corta nomes longos com reticências */
  max-width: 110px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.city-select:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
}
.city-select option {
  background: var(--bg-deep);
  color: var(--text-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0; /* botões de idioma/perfil nunca comprimem */
}

/* Flag Dropdown */
.lang-dropdown {
  position: relative;
}
.lang-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  padding: 4px 6px;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--tr);
}
.lang-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}
.dropdown-chevron {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 80px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.lang-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all var(--tr);
}
.lang-menu-item:hover {
  background: rgba(45,212,191,0.12);
  color: var(--primary);
}

/* ── Profile Dropdown ───────────────────────────────── */
.profile-dropdown {
  position: relative;
}
.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 170px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.profile-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all var(--tr);
}
.profile-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary);
}

/* Desktop Responsive Layout */
@media (min-width: 768px) {
  .logo-icon {
    width: 30px;
    height: 30px;
  }
  .logo-text {
    font-size: 1.55rem;
  }
  .city-select {
    font-size: 14px;
  }
  .app-header {
    padding: .75rem 1.5rem;
  }
  .header-left {
    gap: 12px;
  }
  .header-right {
    gap: 12px;
  }
  .modal-overlay {
    align-items: center;
    padding: 1rem;
  }
  .modal-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    animation: vibeScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

/* Profile Trigger */
.profile-trigger {
  position: relative; width: 36px; height: 36px;
  border-radius: 50%; border: 2px solid var(--glass-border);
  background: var(--bg-card); color: var(--text-secondary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
}
.profile-trigger svg { width: 18px; height: 18px }
.profile-trigger-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile-trigger-initial { font-size: 0.95rem; font-weight: 800; color: var(--primary); text-transform: uppercase; line-height: 1; }
.profile-trigger:hover { border-color: var(--primary); color: var(--primary) }
.profile-badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; font-size: .55rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-deep);
}

/* ── Lang Switcher ──────────────────────────────────── */
.lang-switcher { display: flex; gap: 2px; background: var(--bg-card); border-radius: var(--radius-full); padding: 2px }
.lang-btn {
  padding: 4px 10px; border: none; border-radius: var(--radius-full);
  background: transparent; color: var(--text-muted);
  font-size: .65rem; font-weight: 700; cursor: pointer;
  transition: all var(--tr); font-family: var(--font);
}
.lang-btn.active { background: linear-gradient(135deg, var(--primary-dark), var(--accent)); color: white }

/* ── Main Content ───────────────────────────────────── */
#app-content { flex: 1; padding: 1.25rem; max-width: 520px; margin: 0 auto; width: 100%; overflow-x: hidden; }

/* ── Bottom Nav ─────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: rgba(2,6,23,.95);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-top: 1px solid var(--glass-border);
  padding: .5rem 0 max(.5rem, env(safe-area-inset-bottom));
}
.nav-items { display: flex; justify-content: space-around; align-items: center; max-width: 520px; margin: 0 auto; list-style: none }
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: .35rem .6rem; color: var(--text-muted);
  text-decoration: none; font-size: .65rem; font-weight: 700;
  transition: color var(--tr); cursor: pointer; position: relative;
}
.nav-icon-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 36px;
  border-radius: 12px;
  transition: background var(--tr), box-shadow var(--tr);
}
.nav-icon-svg { width: 27px; height: 27px; transition: all var(--tr) }
.nav-item.active { color: var(--primary) }
.nav-item.active .nav-icon-wrap {
  background: rgba(45,212,191,.13);
  box-shadow: 0 0 14px rgba(45,212,191,.18);
}
.nav-item.active .nav-icon-svg {
  filter: drop-shadow(0 0 6px rgba(45,212,191,.5));
  transform: scale(1.12);
}
.nav-item:not(.active):hover .nav-icon-wrap {
  background: rgba(255,255,255,.05);
}

/* ── Profile Modal ──────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .2s ease;
}
.modal-overlay.hidden { display: none !important }
.modal-card {
  width: 100%; max-width: 480px;
  background: var(--bg-base);
  border-top: 1px solid var(--glass-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.5rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  animation: slideUp .3s ease;
  max-height: 85vh;
  overflow-y: auto;
}
.profile-connected-card {
  text-align: center;
}
.connected-badge-wrap {
  margin: 0 auto 1rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.2);
}
.connected-role-badge {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}
.profile-actions-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.btn-rose {
  background: linear-gradient(135deg, var(--rose), #e11d48);
  color: white; box-shadow: 0 4px 16px rgba(244,63,94,.25);
}
.btn-rose:hover { filter: brightness(1.15); transform: translateY(-1px) }
.modal-header { text-align: center; margin-bottom: 1.25rem }
.modal-header h2 { font-size: 1.2rem; font-weight: 700 }
.modal-close-btn {
  width: 100%; padding: .75rem; margin-top: 1rem;
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: transparent; color: var(--text-secondary);
  font-family: var(--font); font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: all var(--tr);
}
.modal-close-btn:hover { background: var(--bg-card) }
@keyframes slideUp { from { transform: translateY(100%) } to { transform: translateY(0) } }

.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem }
.profile-option {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1rem .5rem; border: 1px solid var(--glass-border);
  border-radius: var(--radius); background: var(--bg-card);
  cursor: pointer; transition: all var(--tr); font-family: var(--font);
}
.profile-option:hover, .profile-option.active { border-color: var(--primary); background: rgba(45,212,191,.08); transform: translateY(-2px) }
.profile-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.profile-icon svg { width: 22px; height: 22px }
.profile-icon--turista { background: linear-gradient(135deg, #0ea5e9, #06b6d4); color: white }
.profile-icon--hospede { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white }
.profile-icon--anfitriao { background: linear-gradient(135deg, #8b5cf6, var(--accent)); color: white }
.profile-icon--comerciante { background: linear-gradient(135deg, #f59e0b, #f97316); color: white }
.profile-icon--admin { background: linear-gradient(135deg, var(--rose), #ec4899); color: white }
.profile-label { font-size: .75rem; font-weight: 700; color: var(--text-primary) }
.profile-desc { font-size: .6rem; color: var(--text-muted); text-align: center }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 1.5rem; height: 200px;
}
.hero-img { width: 100%; height: 100%; object-fit: cover }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.2) 0%, rgba(2,6,23,.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem;
}
.hero-greeting { font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: .25rem }
.hero h1 { font-size: 1.5rem; font-weight: 800; line-height: 1.2; margin-bottom: .25rem }
.hero p { font-size: .8rem; color: var(--text-secondary) }

/* ── Cards ──────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(42, 212, 190, 0.45);
}
.card.card-turbo {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.65) !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.25), inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
}
.card.card-turbo:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.1) !important;
}
.card.card-destaque {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(45, 212, 191, 0.6) !important;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.2), inset 0 0 8px rgba(255, 255, 255, 0.05) !important;
}
.card.card-destaque:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 22px rgba(45, 212, 191, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.1) !important;
}
.card-img {
  width: 100%; height: 140px; object-fit: cover;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}
.card-img-placeholder {
  width: 100%; height: 140px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--text-muted);
}
.card-body { padding: 1rem }
.card-title { font-size: .9rem; font-weight: 700; color: var(--text-primary); margin-bottom: .25rem }
.card-desc {
  font-size: .78rem; color: var(--text-secondary);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  opacity: 0.9; /* legibilidade extra */
}
.card-meta { display: flex; gap: .5rem; align-items: center; margin-top: .5rem; font-size: .7rem; color: var(--text-muted); flex-wrap: wrap; opacity: 0.9; }

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--card-border-alt);
  border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--card-shadow);
}

/* City Cards with Background Image */
.city-card-item {
  position: relative; 
  aspect-ratio: 16 / 9;
  min-height: 90px;
  max-height: 120px;
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  transition: transform var(--tr), box-shadow var(--tr);
  background: var(--bg-card); border: 1px solid var(--glass-border);
}
.city-card-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary) }
.city-card-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5; filter: brightness(0.6);
  z-index: 1; transition: transform var(--tr);
}
.city-card-item:hover .city-card-bg-img { transform: scale(1.08) }
.city-card-item-content {
  position: relative; z-index: 2; padding: 0.75rem;
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.city-card-item-title {
  font-size: 0.95rem; font-weight: 800; color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8); margin-bottom: 2px;
}
.city-card-item-desc {
  font-size: .7rem; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  line-height: 1.2; font-weight: 500;
}

/* ── Badges ─────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: .65rem; font-weight: 700;
}
.badge-teal { background: rgba(45,212,191,.12); color: var(--primary) }
.badge-accent { background: rgba(129,140,248,.12); color: var(--accent) }
.badge-amber { background: rgba(251,191,36,.12); color: var(--amber) }
.badge-rose { background: rgba(244,63,94,.1); color: var(--rose) }
.badge-emerald { background: rgba(16,185,129,.12); color: var(--emerald) }
.badge-sponsored {
  background: linear-gradient(135deg, rgba(251,191,36,.15), rgba(129,140,248,.15));
  color: var(--amber);
}

/* ── Chips / Filters ────────────────────────────────── */
.chip {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1.5px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--tr);
  flex-shrink: 0;
}
.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.chip.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(45,212,191,.2);
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6rem 1.25rem; border: none; border-radius: var(--radius);
  font-family: var(--font); font-size: .82rem; font-weight: 700;
  cursor: pointer; transition: all var(--tr); text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: white; box-shadow: 0 4px 16px rgba(45,212,191,.25);
}
.btn-primary:hover { filter: brightness(1.15); transform: translateY(-1px) }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid rgba(45,212,191,.3) }
.btn-outline:hover { background: rgba(45,212,191,.08); border-color: var(--primary) }
.btn-outline.active { background: rgba(45,212,191,.15); border-color: var(--primary); color: var(--primary) }

/* ── Search ─────────────────────────────────────────── */
.search-box {
  display: flex; align-items: center; gap: .6rem;
  background: var(--bg-card); border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-full); padding: .65rem 1.15rem;
  transition: all var(--tr);
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,212,191,.1) }
.search-icon { color: var(--text-muted); flex-shrink: 0 }
.search-icon svg { width: 18px; height: 18px }
.search-box input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-family: var(--font); font-size: .85rem }
.search-box input::placeholder { color: var(--text-muted) }

/* ── Search Overlay ─────────────────────────────────── */
.search-overlay {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-base); border: 1px solid var(--glass-border);
  border-radius: var(--radius); z-index: 150; overflow: hidden;
  box-shadow: var(--shadow-md); animation: fadeIn 0.2s ease;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.search-result-item {
  display: flex; align-items: center; gap: 1rem; padding: 10px 16px;
  cursor: pointer; transition: background var(--tr);
  border-bottom: 1px solid var(--glass-border);
}
.search-result-item:last-child { border-bottom: none }
.search-result-item:hover { background: rgba(45,212,191,0.08) }
.search-result-img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--bg-card); flex-shrink: 0 }
.search-result-info { flex: 1; min-width: 0 }
.search-result-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.search-result-meta { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px }
.search-result-type { 
  font-size: 0.6rem; font-weight: 800; text-transform: uppercase; 
  padding: 1px 6px; border-radius: 4px; background: var(--bg-elevated); color: var(--text-secondary);
}
.search-empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.85rem }
.search-loading { padding: 20px; text-align: center; color: var(--primary); font-size: 0.85rem }

/* ── Sections ───────────────────────────────────────── */
.section { margin-bottom: 1.75rem }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .85rem }
.section-title { font-size: 1.05rem; font-weight: 800 }
.section-link {
  font-size: .75rem; color: var(--primary); text-decoration: none;
  font-weight: 600; display: flex; align-items: center; gap: 4px;
  transition: color var(--tr);
}
.section-link:hover { color: var(--accent) }

/* ── Horizontal Scroll ──────────────────────────────── */
.hscroll {
  display: flex; gap: .85rem; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: .25rem;
  width: 100%; max-width: 100%;
}
.hscroll::-webkit-scrollbar { display: none }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; width: 240px }

/* ── Chat Concierge ─────────────────────────────────── */
.concierge-page-container {
  position: relative;
  min-height: calc(100vh - 120px);
  border-radius: var(--radius-lg);
  padding: 1rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.4s ease-in-out;
}
.concierge-page-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.65) 60%, rgba(15, 23, 42, 0.85) 100%);
  pointer-events: none;
  z-index: 0;
}
.concierge-content-relative {
  position: relative;
  z-index: 1;
}
.chat-container {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding-bottom: 5.5rem;
}
.chat-bubble {
  max-width: 85%;
  padding: .85rem 1.15rem;
  border-radius: var(--radius-lg);
  font-size: .875rem;
  line-height: 1.55;
  white-space: pre-line;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform var(--tr);
}
.chat-bubble a {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
  transition: color var(--tr), text-shadow var(--tr);
}
.chat-bubble a:hover {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(45, 212, 191, 0.5);
}
.chat-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.chat-user a {
  color: #ffffff;
  text-decoration: underline;
}
.chat-user a:hover {
  color: #7dd3fc;
}
.chat-bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f1f5f9;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.chat-input-bar {
  position: fixed; bottom: 4.5rem; left: 0; right: 0;
  padding: .5rem 1rem; z-index: 40;
  background: rgba(2,6,23,.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
}
.chat-input-inner { display: flex; gap: .5rem; max-width: 520px; margin: 0 auto }
.chat-input {
  flex: 1; padding: .65rem 1rem;
  background: var(--bg-card); border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-full); color: var(--text-primary);
  font-family: var(--font); font-size: .85rem; outline: none;
  transition: border-color var(--tr);
}
.chat-input:focus { border-color: var(--primary) }
.chat-send {
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: white; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--tr); box-shadow: 0 4px 16px rgba(45,212,191,.3);
}
.chat-send:active { transform: scale(.9) }

/* ── Guide Cards ────────────────────────────────────── */
.guide-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; background: var(--bg-card);
  border: var(--card-border-alt); border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: all var(--tr); cursor: pointer;
}
.guide-card:hover { background: var(--bg-elevated); border-color: rgba(45,212,191,.35); transform: translateX(4px); box-shadow: var(--card-shadow-hover); }
.guide-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.guide-icon--wifi { background: linear-gradient(135deg, #0ea5e9, #06b6d4) }
.guide-icon--rules { background: linear-gradient(135deg, #f59e0b, #f97316) }
.guide-icon--tips { background: linear-gradient(135deg, #fbbf24, #d97706) }
.guide-icon--manuals { background: linear-gradient(135deg, #8b5cf6, var(--accent)) }
.guide-icon--host { background: linear-gradient(135deg, var(--primary-dark), var(--primary)) }
.guide-icon--location { background: linear-gradient(135deg, #10b981, #059669) }
.guide-icon--checkin { background: linear-gradient(135deg, #f43f5e, #f59e0b) }
.guide-icon--checkout { background: linear-gradient(135deg, #10b981, #0d9488) }
.guide-icon--inventory { background: linear-gradient(135deg, #3b82f6, #6366f1) }
.guide-icon--video { background: linear-gradient(135deg, #6366f1, #8b5cf6) }
.guide-label { font-weight: 700; font-size: .9rem }
.guide-desc { font-size: .75rem; color: var(--text-secondary) } /* era text-muted — mais visível */
.guide-arrow { margin-left: auto; color: var(--text-muted); font-size: 1rem }

/* ── Star Rating ──────────────────────────────────── */
.star-rating { display: flex; gap: .3rem; font-size: 2rem }
.star { color: var(--glass-border); cursor: pointer; transition: color .2s, transform .2s }
.star:hover { transform: scale(1.2) }
.star-active { color: #f59e0b }

/* ── Checkout Checklist ───────────────────────────── */
.checkout-guest-check { padding: .5rem .75rem; background: var(--bg-elevated); border-radius: var(--radius); transition: background .2s }
.checkout-guest-check:hover { background: rgba(45,212,191,.08) }
.checkout-guest-check input[type="checkbox"] { accent-color: var(--primary); width: 18px; height: 18px; cursor: pointer }
.checkout-checklist-row { animation: fadeIn .2s ease }
.btn-icon-sm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(239,68,68,.4); background: transparent; color: #ef4444; cursor: pointer; font-size: .75rem; display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0 }
.btn-icon-sm:hover { background: rgba(239,68,68,.15) }

/* ── Room Tabs (Inventory) ────────────────────────── */
.room-tabs-wrapper { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; width: 100%; max-width: 100%; }
.room-tabs-wrapper::-webkit-scrollbar { display: none }
.room-tab { padding: .4rem .8rem; border-radius: var(--radius-full); border: 1.5px solid var(--glass-border); background: transparent; color: var(--text-secondary); font-family: var(--font); font-size: .75rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .2s; flex-shrink: 0 }
.room-tab:hover { border-color: var(--primary); color: var(--primary) }
.room-tab.active { background: var(--primary); border-color: var(--primary); color: white }
.room-tab-add { border-style: dashed; color: var(--primary) }
.room-panel { animation: fadeIn .2s ease }

/* ── Lang Tabs (Multi-language Support) ───────────── */
.lang-tabs { display: flex; gap: .5rem; margin-bottom: .75rem; border-bottom: 1px solid var(--glass-border); padding-bottom: .5rem }
.lang-tab { background: transparent; border: none; color: var(--text-muted); font-family: var(--font); font-size: .8rem; font-weight: 600; cursor: pointer; padding: .2rem .5rem; border-radius: var(--radius); transition: all .2s }
.lang-tab:hover { color: var(--text-primary); background: rgba(255,255,255,.05) }
.lang-tab.active { background: var(--primary-dark); color: white }
.lang-section { animation: fadeIn .2s ease }

/* ── Room Accordion (Guest View) ──────────────────── */
.room-accordion { overflow: hidden }
.room-accordion-header { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; background: transparent; border: none; color: var(--text-primary); font-family: var(--font); font-size: .95rem; cursor: pointer }
.room-accordion-arrow { font-size: 1.2rem; color: var(--text-muted); transition: transform .3s }
.room-accordion.open .room-accordion-arrow { transform: rotate(90deg) }
.room-accordion-body { max-height: 0; overflow: hidden; transition: max-height .3s ease }
.room-accordion.open .room-accordion-body { max-height: 500px }

/* ── Inventory Table ──────────────────────────────── */
.inventory-table { border-collapse: collapse }
.inventory-table th { border-bottom: 1px solid var(--glass-border); padding: .4rem .5rem; color: var(--text-muted) }
.inventory-table td { padding: .4rem .5rem; border-bottom: 1px solid rgba(255,255,255,.05) }
.inventory-table tr:last-child td { border-bottom: none }

/* ── Guide Reorder Mode ──────────────────────────────── */
.guide-reorder-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .75rem;
}
.guide-reorder-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; border-radius: var(--radius-full);
  border: 1.5px solid rgba(45,212,191,.3);
  background: transparent; color: var(--primary);
  font-family: var(--font); font-size: .78rem; font-weight: 700;
  cursor: pointer; transition: all var(--tr);
}
.guide-reorder-btn:hover { background: rgba(45,212,191,.08); border-color: var(--primary) }
.guide-reorder-btn.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  border-color: transparent; color: white;
  box-shadow: 0 4px 14px rgba(45,212,191,.25);
}
.guide-reorder-hint {
  font-size: .7rem; color: var(--text-muted);
  animation: fadeIn .3s ease;
}

/* Card in reorder mode */
.guide-card[draggable="true"] {
  cursor: default;
  border-color: rgba(45,212,191,.18);
  user-select: none;
}
.guide-card[draggable="true"]:hover {
  transform: none;
}
.guide-card.dragging {
  opacity: .4;
  border: 2px dashed var(--primary);
  background: rgba(45,212,191,.04);
  transform: scale(.98);
}
.guide-card.drag-over {
  border: 2px solid var(--primary);
  background: rgba(45,212,191,.08);
  box-shadow: 0 0 0 3px rgba(45,212,191,.15);
  transform: translateY(-2px);
}

/* Drag handle */
.guide-drag-handle {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0;
  color: var(--text-muted); cursor: grab; font-size: 1.2rem;
  border-radius: 8px; transition: all var(--tr);
  margin-right: -.25rem;
}
.guide-drag-handle:hover { color: var(--primary); background: rgba(45,212,191,.08) }
.guide-drag-handle:active { cursor: grabbing }

/* Toast notification */
.guide-toast {
  position: fixed; bottom: 5.5rem; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: white; padding: .55rem 1.25rem;
  border-radius: var(--radius-full); font-size: .8rem; font-weight: 700;
  z-index: 300; white-space: nowrap;
  animation: toastIn .3s ease forwards;
  box-shadow: 0 4px 20px rgba(45,212,191,.35);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px) }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) }
}

/* ── Coupon ─────────────────────────────────────────── */
.coupon-card {
  background: linear-gradient(135deg, var(--bg-card), rgba(45,212,191,.06));
  border: 1.5px dashed rgba(45,212,191,.35);
  border-radius: var(--radius); padding: 1rem; position: relative; overflow: hidden;
}
.coupon-card::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.1) 0%, transparent 70%);
}
.coupon-code {
  font-family: 'Courier New', monospace; font-weight: 800;
  font-size: 1.1rem; color: var(--primary); letter-spacing: 3px;
}
.coupon-discount { font-size: .8rem; color: var(--amber); margin-top: .25rem; font-weight: 600 }

/* ── Skeleton ───────────────────────────────────────── */
@keyframes shimmer { 0% { background-position: -200% 0 } 100% { background-position: 200% 0 } }
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius);
}
.skeleton-hero { height: 200px; border-radius: var(--radius-lg) }
.skeleton-card { height: 180px }
.skeleton-text { height: 14px; margin-bottom: 8px; border-radius: 6px }

/* ── Transitions ────────────────────────────────────── */
.page-exit { opacity: 0; transform: translateY(8px); transition: all 150ms ease }
.page-enter { animation: fadeIn 350ms ease forwards }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: translateY(0) } }

/* ── States ─────────────────────────────────────────── */
.error-state, .empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted) }
.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .5 }

/* ── Admin / Host / Merchant Panels ─────────────────── */
.panel-card {
  background: var(--bg-card);
  border: var(--card-border-alt);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: all var(--tr);
}
.panel-card:hover { border-color: rgba(45,212,191,.4); box-shadow: var(--card-shadow-hover); }
.stat-value { font-size: 1.6rem; font-weight: 800; color: var(--primary) }
.stat-label { font-size: .75rem; color: var(--text-secondary); font-weight: 600 } /* era text-muted */
.panel-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: .75rem 0; border-bottom: 1px solid var(--glass-border);
}
.panel-list-item:last-child { border-bottom: none }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block }
.status-dot.active { background: var(--emerald) }
.status-dot.inactive { background: var(--text-muted) }

/* ── Utility ────────────────────────────────────────── */
.mt-1{margin-top:.5rem} .mt-2{margin-top:1rem} .mb-1{margin-bottom:.5rem} .mb-2{margin-bottom:1rem}
.flex{display:flex} .flex-column{flex-direction:column} .gap-1{gap:.5rem} .gap-2{gap:.75rem} .flex-wrap{flex-wrap:wrap} .overflow-x-auto{overflow-x:auto}
.text-sm{font-size:.8rem} .text-xs{font-size:.7rem}
.text-muted{color:var(--text-muted)} .text-secondary{color:var(--text-secondary)}
.text-primary-color{color:var(--primary)} .text-accent{color:var(--accent)}
.fw-600{font-weight:600} .fw-700{font-weight:700}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.w-full{width:100%} .hidden{display:none!important}
.list-gap > * + * { margin-top: .75rem }

/* ── Desktop UI ─────────────────────────────────────── */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
  .app-shell {
    flex-direction: row;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-left: 260px;
  }
  .app-header {
    position: absolute;
    top: 0;
    left: 260px;
    right: 0;
    width: auto;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(2,6,23,.85);
    padding: 1rem 2rem;
  }
  .header-inner {
    max-width: 100%;
  }
  #app-content {
    max-width: 900px;
    margin: 0;
    padding: 5rem 2rem 2rem 2rem;
  }
  .bottom-nav {
    top: 0;
    left: max(0px, calc(50% - 600px));
    width: 260px;
    height: 100dvh;
    border-top: none;
    border-right: 1px solid var(--glass-border);
    padding: 2rem 1rem;
    align-items: flex-start;
  }
  .nav-items {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .5rem;
    width: 100%;
  }
  .nav-item {
    flex-direction: row;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-size: .95rem;
    border-radius: var(--radius);
    justify-content: flex-start;
  }
  .nav-item:hover {
    background: var(--bg-card);
  }
  .nav-item.active::before {
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px;
  }
  .chat-input-bar {
    left: max(260px, calc(50% - 600px + 260px));
    right: max(0px, calc(50% - 600px));
    bottom: 0;
    padding: 1.5rem 2rem;
  }
  .chat-input-inner {
    max-width: 900px;
    margin: 0;
  }
  .hero {
    height: 280px;
  }
}

/* ── Detail Page & Back Button ── */
.detail-header { position: relative; margin: -1.25rem -1.25rem 1.25rem -1.25rem }
.btn-back { 
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.06); color: var(--text-primary);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  cursor: pointer; transition: all var(--tr);
  position: relative;
  flex-shrink: 0;
}
.btn-back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-back svg {
  width: 20px;
  height: 20px;
}
.detail-header .btn-back {
  position: absolute; top: 1.25rem; left: 1.25rem; z-index: 10;
  background: rgba(0,0,0,.4); color: white; border: none;
}
.detail-hero-img { width: 100%; height: 260px; object-fit: cover }
.detail-hero-placeholder { width: 100%; height: 260px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-size: 4rem }
.detail-content { padding: 0 0 2rem 0 }
.detail-title { font-size: 1.75rem; font-weight: 800; line-height: 1.2; margin-bottom: .5rem }
.detail-desc { font-size: .95rem; color: var(--text-secondary); line-height: 1.6; opacity: 0.92; }

.btn-emerald { background: var(--emerald); color: white }
.btn-emerald:hover { filter: brightness(1.1) }

.fw-800 { font-weight: 800 }
.text-xl { font-size: 1.5rem }
.text-lg { font-size: 1.25rem }
.text-md { font-size: 1.1rem }
.border-t { border-top: 1px solid var(--glass-border) }
.pt-1 { padding-top: .5rem }
.items-center { align-items: center }
.justify-between { justify-content: space-between }
.flex-1 { flex: 1 }

/* ── Property Header (Tela Guia) ────────────────────────── */
.property-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(45,212,191,.08), rgba(129,140,248,.06));
  border: 1px solid rgba(45,212,191,.2);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  position: relative; overflow: hidden;
}
.property-header::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.12) 0%, transparent 70%);
  pointer-events: none;
}
.property-logo {
  width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0;
  overflow: hidden; border: 2px solid rgba(45,212,191,.25);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(45,212,191,.15), rgba(129,140,248,.15));
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.property-logo img {
  width: 100%; height: 100%; object-fit: cover;
}
.property-logo-default {
  font-size: 1.8rem; line-height: 1;
}
.property-info { flex: 1; min-width: 0 }
.property-name {
  font-size: 1.1rem; font-weight: 800;
  color: var(--text-primary); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.property-type-badge {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: .3rem; padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(45,212,191,.1); color: var(--primary);
  font-size: .68rem; font-weight: 700; letter-spacing: .3px;
}

/* ── Host Properties Panel ─────────────────────────────── */
.host-property-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .85rem;
  padding: .9rem 1rem;
  background: var(--bg-card);
  border: var(--card-border-alt);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: all var(--tr);
}
.host-property-card:hover { border-color: rgba(45,212,191,.4); box-shadow: var(--card-shadow-hover); }
.host-property-logo {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  overflow: hidden; border: 1.5px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(45,212,191,.12), rgba(129,140,248,.12));
  font-size: 1.3rem;
}
.host-property-logo img { width: 100%; height: 100%; object-fit: cover }
.plan-limit-badge {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  background: rgba(251,191,36,.08);
  border: 1.5px solid rgba(251,191,36,.3);
  color: var(--amber);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}


/* ── Admin Property Preview Modal ──────────────────────── */
.host-search-result {
  padding: .65rem .85rem; border-radius: var(--radius);
  cursor: pointer; transition: background var(--tr);
}
.host-search-result:hover { background: var(--bg-card) }
.host-search-result.selected { background: rgba(45,212,191,.08); border: 1px solid rgba(45,212,191,.25) }

/* ── Plan Badges ─────────────────────────────────────────── */
.plan-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.plan-badge--free {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.plan-badge--pro {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.15));
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

/* ── Property Actions ───────────────────────────────────── */
.host-property-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
.btn-preview-guide {
  background: rgba(45, 212, 191, 0.1);
  color: var(--primary);
  border: 1px solid rgba(45, 212, 191, 0.2);
  padding: 4px 10px; font-size: 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s;
}
.btn-preview-guide:hover {
  background: rgba(45, 212, 191, 0.2);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════
   ADVERTISER MODULE — CTA, Onboarding, Dashboard, Metrics
   ══════════════════════════════════════════════════════════════════ */

/* ── CTA Banner (Advertiser) ───────────────────────── */
.cta-advertiser {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(251,191,36,.08), rgba(45,212,191,.08));
  border: 1.5px solid rgba(251,191,36,.2);
  border-radius: var(--radius-lg); padding: 1.25rem;
  margin: 1.5rem 0; cursor: pointer;
  transition: all var(--tr);
}
.cta-advertiser:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(251,191,36,.15);
}
.cta-advertiser::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-advertiser-icon {
  font-size: 2rem; margin-bottom: .5rem;
}
.cta-advertiser-title {
  font-size: 1rem; font-weight: 800; color: var(--amber);
  margin-bottom: .3rem;
}
.cta-advertiser-text {
  font-size: .82rem; color: var(--text-secondary); line-height: 1.5;
  margin-bottom: .75rem;
}
.cta-advertiser-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.25rem; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--amber), #f59e0b);
  color: #0f172a; font-weight: 700; font-size: .8rem;
  border: none; cursor: pointer; transition: all var(--tr);
  font-family: var(--font);
}
.cta-advertiser-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 16px rgba(251,191,36,.3);
}

/* ── CTA Banner (Host / Hospedagem) ───────────────── */
.cta-host {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(45,212,191,.08), rgba(6,182,212,.08));
  border: 1.5px solid rgba(45,212,191,.2);
  border-radius: var(--radius-lg); padding: 1.25rem;
  margin: 1.5rem 0; cursor: pointer;
  transition: all var(--tr);
}
.cta-host:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45,212,191,.15);
}
.cta-host::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-host-icon {
  font-size: 2rem; margin-bottom: .5rem;
}
.cta-host-title {
  font-size: 1rem; font-weight: 800; color: var(--teal);
  margin-bottom: .3rem;
}
.cta-host-text {
  font-size: .82rem; color: var(--text-secondary); line-height: 1.5;
  margin-bottom: .75rem;
}
.cta-host-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.25rem; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--teal), #0d9488);
  color: #0f172a; font-weight: 700; font-size: .8rem;
  border: none; cursor: pointer; transition: all var(--tr);
  font-family: var(--font);
}
.cta-host-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 16px rgba(45,212,191,.3);
}

/* ── CTA Floating Button ───────────────────────────── */
.cta-floating {
  position: fixed; bottom: 5.5rem; right: 1rem; z-index: 45;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #f59e0b);
  color: #0f172a; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(251,191,36,.35);
  transition: all var(--tr); font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}
.cta-floating:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(251,191,36,.45);
}
@media (min-width: 768px) {
  .cta-floating { bottom: 2rem; right: 2rem }
}

/* ── Onboarding Form ───────────────────────────────── */
.onboarding-page { max-width: 520px; margin: 0 auto }
.onboarding-header {
  text-align: center; margin-bottom: 2rem;
}
.onboarding-header-icon {
  width: 80px; height: 80px; border-radius: 20px;
  background: linear-gradient(135deg, var(--amber), #f59e0b);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; margin: 0 auto 1rem; color: #0f172a;
  box-shadow: 0 8px 32px rgba(251,191,36,.25);
}
.onboarding-header h1 {
  font-size: 1.5rem; font-weight: 800; margin-bottom: .3rem;
}
.onboarding-header p {
  font-size: .9rem; color: var(--text-secondary);
}
.onboarding-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .35rem }
.form-label {
  font-size: .78rem; font-weight: 700; color: var(--text-secondary); /* já atualizado via :root */
}
.form-input, .form-select {
  padding: .75rem 1rem;
  background: var(--bg-card); border: 1.5px solid rgba(148,163,184,.22);
  border-radius: var(--radius); color: var(--text-primary);
  font-family: var(--font); font-size: .88rem;
  transition: all var(--tr); outline: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,212,191,.1);
}
.form-input::placeholder { color: var(--text-muted) }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-select option { background: var(--bg-base); color: var(--text-primary) }
.form-submit {
  padding: .85rem; border: none; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--amber), #f59e0b);
  color: #0f172a; font-family: var(--font); font-size: 1rem;
  font-weight: 800; cursor: pointer; transition: all var(--tr);
  margin-top: .5rem;
}
.form-submit:hover { filter: brightness(1.1); transform: translateY(-1px) }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none }
.form-success {
  text-align: center; padding: 2rem;
  background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-lg);
}
.form-success-icon { font-size: 3rem; margin-bottom: 1rem }
.form-success h2 { font-size: 1.2rem; font-weight: 800; color: var(--emerald); margin-bottom: .5rem }
.form-success p { font-size: .88rem; color: var(--text-secondary); line-height: 1.6 }

/* ── Merchant Dashboard ────────────────────────────── */
.merchant-dashboard-nav {
  display: flex; gap: .5rem; overflow-x: auto;
  margin-bottom: 1.5rem; padding-bottom: .5rem;
  scrollbar-width: none;
}
.merchant-dashboard-nav::-webkit-scrollbar { display: none }
.merchant-nav-btn {
  display: flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--glass-border);
  background: transparent; color: var(--text-secondary);
  font-family: var(--font); font-size: .78rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: all var(--tr);
  flex-shrink: 0;
}
.merchant-nav-btn:hover { border-color: var(--primary); color: var(--primary) }
.merchant-nav-btn.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  border-color: transparent; color: white;
}

@media (max-width: 480px) {
  .merchant-dashboard-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    overflow-x: visible;
  }
  .merchant-nav-btn {
    justify-content: center;
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 12px;
    white-space: normal;
    text-align: center;
  }
}

/* ── Metric Cards ──────────────────────────────────── */
.metrics-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .75rem; margin-bottom: 1.5rem;
}
.metric-card {
  background: var(--bg-card);
  border: var(--card-border-alt);
  border-radius: var(--radius); padding: 1rem;
  text-align: center; transition: all var(--tr);
  position: relative; overflow: hidden;
  box-shadow: var(--card-shadow);
}
.metric-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: .7;
}
.metric-card:hover { border-color: rgba(45,212,191,.4); transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.metric-card--impressions::before { background: linear-gradient(90deg, #0ea5e9, #06b6d4) }
.metric-card--clicks::before { background: linear-gradient(90deg, var(--primary), var(--emerald)) }
.metric-card--coupons::before { background: linear-gradient(90deg, var(--amber), #f59e0b) }
.metric-card--ctr::before { background: linear-gradient(90deg, var(--accent), #8b5cf6) }
.metric-value {
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  font-size: .72rem; color: var(--text-secondary); font-weight: 600; /* era text-muted */
  margin-top: .25rem; text-transform: uppercase; letter-spacing: .5px;
}

/* Period Filters */
.period-filters {
  display: flex; gap: .5rem; margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* ── Ad Cards (Management) ─────────────────────────── */
.ad-manage-card {
  background: var(--bg-card);
  border: var(--card-border-alt);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--tr); margin-bottom: .75rem;
}
.ad-manage-card:hover { border-color: rgba(45,212,191,.4); box-shadow: var(--card-shadow-hover); }
.ad-manage-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1rem; border-bottom: 1px solid var(--glass-border);
}
.ad-manage-title { font-size: .9rem; font-weight: 700; flex: 1; min-width: 0 }
.ad-manage-body { padding: 1rem }
.ad-manage-footer {
  display: flex; gap: .5rem; padding: .75rem 1rem;
  border-top: 1px solid var(--glass-border);
}
.ad-manage-footer .btn { font-size: .75rem; padding: .4rem .85rem }

/* ── Status Badges ─────────────────────────────────── */
.status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: .65rem; font-weight: 700; letter-spacing: .3px;
}
.status-badge--draft { background: rgba(148,163,184,.12); color: var(--text-muted) }
.status-badge--awaiting_payment { background: rgba(251,191,36,.12); color: var(--amber) }
.status-badge--in_review { background: rgba(129,140,248,.12); color: var(--accent) }
.status-badge--active { background: rgba(16,185,129,.12); color: var(--emerald) }
.status-badge--paused { background: rgba(244,63,94,.1); color: var(--rose) }
.status-badge--expired { background: rgba(100,116,139,.12); color: var(--text-muted) }
.status-badge--disabled { background: rgba(244,63,94,.15); color: var(--rose); border: 1px solid rgba(244,63,94,.3); }

/* ── Plan Cards ────────────────────────────────────── */
.plans-grid {
  display: grid; grid-template-columns: 1fr;
  gap: .85rem; margin: 1.5rem 0;
}
@media (min-width: 480px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr) }
}
.plan-card {
  background: var(--bg-card); border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  text-align: center; transition: all var(--tr);
  position: relative; overflow: hidden;
}
.plan-card:hover { border-color: var(--primary); transform: translateY(-3px) }
.plan-card.featured {
  border-color: var(--amber);
  background: linear-gradient(135deg, var(--bg-card), rgba(251,191,36,.05));
}
.plan-card.featured::after {
  content: '⭐'; position: absolute; top: .75rem; right: .75rem; font-size: 1.2rem;
}
.plan-card-name {
  font-size: 1.1rem; font-weight: 800; margin-bottom: .5rem;
}
.plan-card-price {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plan-card-price span { font-size: .85rem; font-weight: 600 }
.plan-card-period {
  font-size: .75rem; color: var(--text-muted); margin-bottom: 1rem;
}
.plan-card-features {
  list-style: none; padding: 0; margin: 0 0 1rem;
  text-align: left;
}
.plan-card-features li {
  font-size: .8rem; color: var(--text-secondary); padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.plan-card-features li::before { content: '✓ '; color: var(--primary); font-weight: 700 }

/* ── Merchant Business Form ────────────────────────── */
.business-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr }
}
.form-section-title {
  font-size: .9rem; font-weight: 800; color: var(--text-primary);
  margin-top: .5rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--glass-border);
}
.form-textarea {
  padding: .75rem 1rem;
  background: var(--bg-card); border: 1.5px solid var(--glass-border);
  border-radius: var(--radius); color: var(--text-primary);
  font-family: var(--font); font-size: .88rem;
  resize: vertical; min-height: 100px;
  transition: all var(--tr); outline: none;
}
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,212,191,.1);
}

/* ── AI Translation Button ─────────────────────────── */
.btn-ai {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(129,140,248,.12), rgba(45,212,191,.12));
  border: 1.5px solid rgba(129,140,248,.25);
  color: var(--accent-light); font-size: .78rem; font-weight: 700;
  cursor: pointer; transition: all var(--tr);
  font-family: var(--font);
}
.btn-ai:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(129,140,248,.2), rgba(45,212,191,.2));
}
.btn-ai:disabled { opacity: .5; cursor: not-allowed }
.btn-ai.loading::after {
  content: ''; width: 14px; height: 14px;
  border: 2px solid rgba(129,140,248,.3);
  border-top-color: var(--accent);
  border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ── Payment Section ───────────────────────────────── */
.payment-methods {
  display: flex; gap: .75rem; margin: 1rem 0;
}
.payment-method-btn {
  flex: 1; padding: 1rem; border-radius: var(--radius);
  border: 1.5px solid var(--glass-border);
  background: var(--bg-card); cursor: pointer;
  text-align: center; transition: all var(--tr);
  font-family: var(--font);
}
.payment-method-btn:hover { border-color: var(--primary) }
.payment-method-btn.selected {
  border-color: var(--primary);
  background: rgba(45,212,191,.08);
}
.payment-method-icon { font-size: 2rem; margin-bottom: .3rem }
.payment-method-label { font-size: .82rem; font-weight: 700; color: var(--text-primary) }
.pix-qr-container {
  text-align: center; padding: 1.5rem;
  background: white; border-radius: var(--radius);
  margin: 1rem 0;
}
.pix-qr-container img { max-width: 200px; margin: 0 auto }
.pix-copy-code {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem; background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); margin-top: 1rem;
}
.pix-copy-code input {
  flex: 1; background: none; border: none;
  color: var(--text-primary); font-family: monospace;
  font-size: .8rem; outline: none;
}
.pix-copy-btn {
  padding: .4rem .8rem; border-radius: var(--radius);
  background: var(--primary); color: #0f172a;
  border: none; font-weight: 700; font-size: .75rem;
  cursor: pointer; transition: all var(--tr);
  font-family: var(--font);
}

/* ── Chart Container (Simple CSS) ──────────────────── */
.chart-bar-container {
  display: flex; align-items: flex-end; gap: 4px;
  height: 120px; padding: .5rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.chart-bar {
  flex: 1; min-width: 20px;
  background: linear-gradient(180deg, var(--primary), rgba(45,212,191,.3));
  border-radius: 4px 4px 0 0;
  transition: height .5s ease;
  position: relative;
}
.chart-bar:hover { background: linear-gradient(180deg, var(--accent), rgba(129,140,248,.3)) }
.chart-bar-label {
  position: absolute; bottom: -20px; left: 50%;
  transform: translateX(-50%); font-size: .6rem;
  color: var(--text-muted); white-space: nowrap;
}

/* ── Form elements (Merchant modal + Admin CRUD) ── */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: .875rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,212,191,.15);
}
.form-textarea { resize: vertical; min-height: 72px; }
.form-label { display: block; font-size: .75rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.form-group { margin-bottom: .75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── Create Ad Modal ── */
#create-ad-modal .modal-card { max-width: 520px; }
#create-ad-modal .modal-body { padding: 0 24px 16px; }
#create-ad-modal input[type="file"] {
  padding: 8px;
  background: rgba(15,23,42,.4);
  border: 1px dashed rgba(148,163,184,.2);
  border-radius: 10px;
  cursor: pointer;
}
#create-ad-modal input[type="file"]:hover { border-color: var(--primary); }

/* ── Welcome Screen (Guest Identification) ── */
.welcome-screen-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-height: 100dvh;
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 1.25rem;
  box-sizing: border-box;
}

.welcome-glass-card {
  width: 100%;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 80px rgba(45, 212, 191, 0.06);
  padding: 2.25rem 2rem;
  transition: transform var(--tr), border-color var(--tr);
}

.welcome-glass-card:hover {
  border-color: rgba(45, 212, 191, 0.25);
  transform: translateY(-2px);
}

.welcome-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.05);
}

.welcome-property-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
}

.welcome-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--primary);
  border: 1px solid rgba(45, 212, 191, 0.18);
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.welcome-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.welcome-subtitle {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.welcome-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.welcome-input {
  width: 100%;
  padding: 11px 15px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.875rem;
  outline: none;
  transition: all var(--tr);
}

.welcome-input:focus {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.welcome-input::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

.welcome-submit-btn {
  margin-top: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.25);
  cursor: pointer;
  transition: all var(--tr);
}

.welcome-submit-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 28px rgba(45, 212, 191, 0.35);
  transform: translateY(-1px);
}

.welcome-submit-btn:active {
  transform: translateY(0);
}

/* Custom Animation */
.animate-fade-in {
  animation: welcomeFadeIn 0.50s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes welcomeFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════════
   MERCHANT JOURNEY — Jornada do Anunciante (Gates + Upsells)
   ══════════════════════════════════════════════════════════════════ */

/* ── GATE 1: First Setup (sem negócio cadastrado) ──── */
.merchant-first-setup {
  max-width: 560px;
  margin: 0 auto;
}

/* Progress Steps */
.merchant-first-setup__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.75rem;
  padding: 0 1rem;
}
.first-setup-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  flex-shrink: 0;
}
.first-setup-step__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all .3s;
}
.first-setup-step__label {
  font-size: .65rem; font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}
.first-setup-step--done .first-setup-step__icon {
  background: rgba(16,185,129,.12);
  border-color: var(--emerald);
  color: var(--emerald);
}
.first-setup-step--done .first-setup-step__label { color: var(--emerald); }
.first-setup-step--active .first-setup-step__icon {
  background: rgba(45,212,191,.12);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45,212,191,.15);
  animation: pulse-ring 2s ease-in-out infinite;
}
.first-setup-step--active .first-setup-step__label { color: var(--primary); }
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45,212,191,.15); }
  50% { box-shadow: 0 0 0 8px rgba(45,212,191,.08); }
}
.first-setup-step__connector {
  flex: 1; height: 2px;
  background: var(--glass-border);
  margin: 0 4px; margin-bottom: 22px;
  min-width: 20px;
}
.first-setup-step__connector--done {
  background: linear-gradient(90deg, var(--emerald), var(--primary));
}

/* Hero Card */
.first-setup-hero {
  text-align: center;
  padding: 1.75rem 1.5rem;
  border: 1.5px solid rgba(45,212,191,.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(45,212,191,.04), rgba(129,140,248,.03));
}
.first-setup-hero__icon {
  font-size: 3rem; margin-bottom: .75rem;
}
.first-setup-hero__title {
  font-size: 1.3rem; font-weight: 800;
  margin-bottom: .5rem; line-height: 1.3;
}
.first-setup-hero__subtitle {
  font-size: .88rem; line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Plan comparison cards */
.first-setup-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.25rem;
  text-align: left;
}
@media (max-width: 400px) {
  .first-setup-plans { grid-template-columns: 1fr; }
}
.first-setup-plan {
  background: var(--bg-card);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1rem;
  position: relative;
}
.first-setup-plan--paid {
  border-color: rgba(251,191,36,.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(251,191,36,.04));
}
.first-setup-plan__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: .62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px;
  background: rgba(148,163,184,.12);
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.first-setup-plan__badge--premium {
  background: linear-gradient(135deg, rgba(251,191,36,.2), rgba(245,158,11,.2));
  color: var(--amber);
}
.first-setup-plan__icon { font-size: 1.5rem; margin-bottom: .3rem; }
.first-setup-plan__name {
  font-size: .85rem; font-weight: 800; margin-bottom: .5rem;
}
.first-setup-plan__features {
  list-style: none; padding: 0; margin: 0 0 .75rem;
}
.first-setup-plan__features li {
  font-size: .73rem; color: var(--text-secondary);
  padding: .22rem 0; line-height: 1.4;
}
.first-setup-plan__price {
  font-size: 1.05rem; font-weight: 800;
  color: var(--text-primary);
  margin-top: .25rem;
}

/* ── GATE 2: Listagem Upsell ──────────────────────── */
.listagem-upsell {
  max-width: 520px;
  margin: 0 auto;
}

.listagem-upsell__current {
  padding: 1.25rem;
  border: 1.5px solid var(--glass-border) !important;
  border-radius: var(--radius-lg);
  margin-bottom: .75rem;
}
.listagem-upsell__current-label {
  font-size: .7rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: .5rem;
}
.listagem-upsell__biz-name {
  font-size: 1.2rem; font-weight: 800; margin-bottom: .4rem;
}
.listagem-upsell__plan-badge {
  display: inline-block;
  padding: 3px 10px; border-radius: var(--radius-full);
  background: rgba(148,163,184,.1);
  color: var(--text-muted); font-size: .68rem; font-weight: 700;
  margin-bottom: .85rem;
}
.listagem-upsell__limit-list {
  display: flex; flex-direction: column; gap: .4rem;
}
.listagem-upsell__limit-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--text-secondary);
}
.listagem-upsell__limit-icon { font-size: .9rem; flex-shrink: 0; }

/* Arrow / Separator */
.listagem-upsell__arrow {
  display: flex; flex-direction: column;
  align-items: center; gap: .2rem;
  margin: .5rem 0;
}
.listagem-upsell__arrow-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #f97316);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(251,191,36,.3);
  animation: bounce-small 2s ease-in-out infinite;
}
@keyframes bounce-small {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.listagem-upsell__arrow-text {
  font-size: .65rem; font-weight: 800;
  color: var(--amber); text-transform: uppercase; letter-spacing: .5px;
}

/* Upgrade card */
.listagem-upsell__upgrade {
  padding: 1.25rem;
  border: 1.5px solid rgba(251,191,36,.25) !important;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-card), rgba(251,191,36,.04)) !important;
  margin-bottom: .75rem;
}
.listagem-upsell__upgrade-label {
  font-size: .7rem; font-weight: 700;
  color: var(--amber); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: .75rem;
}
.listagem-upsell__upgrade-price {
  margin-bottom: .85rem;
}
.listagem-upsell__price-value {
  font-size: 2rem; font-weight: 900;
  color: var(--amber);
}
.listagem-upsell__price-suffix {
  font-size: .85rem; color: var(--text-muted); font-weight: 500;
  margin-left: 2px;
}
.listagem-upsell__benefit-list {
  display: flex; flex-direction: column; gap: .45rem;
}
.listagem-upsell__benefit-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; color: var(--text-secondary);
}
.listagem-upsell__benefit-icon { font-size: 1rem; flex-shrink: 0; }

/* ── GATE 3: First Ad Hero (1º anúncio grátis) ─────── */
.first-ad-hero {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(16,185,129,.06), rgba(45,212,191,.06));
  border: 1.5px solid rgba(16,185,129,.2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.first-ad-hero::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.15) 0%, transparent 70%);
  pointer-events: none;
}
.first-ad-hero__badge {
  display: inline-block;
  padding: 4px 14px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(45,212,191,.2));
  color: var(--emerald);
  font-size: .68rem; font-weight: 800; letter-spacing: .6px;
  text-transform: uppercase; margin-bottom: 1rem;
  border: 1px solid rgba(16,185,129,.25);
}
.first-ad-hero__icon { font-size: 3rem; margin-bottom: .75rem; }
.first-ad-hero__title {
  font-size: 1.4rem; font-weight: 900;
  margin-bottom: .5rem; line-height: 1.2;
  background: linear-gradient(135deg, var(--emerald), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.first-ad-hero__subtitle {
  font-size: .88rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 1.5rem;
}

/* Benefits list */
.first-ad-benefits {
  display: flex; flex-direction: column;
  gap: .75rem; margin-bottom: 1.5rem;
  text-align: left;
}
.first-ad-benefit {
  display: flex; align-items: flex-start; gap: .75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: .75rem;
}
.first-ad-benefit__icon {
  font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem;
}
.first-ad-benefit__title {
  font-size: .85rem; font-weight: 700; margin-bottom: .1rem;
}
.first-ad-benefit__desc {
  font-size: .75rem; line-height: 1.4;
}
.first-ad-hero__cta {
  font-size: 1rem; padding: .9rem 1.5rem;
  background: linear-gradient(135deg, var(--emerald), var(--primary)) !important;
  box-shadow: 0 8px 24px rgba(16,185,129,.3);
  transition: all .3s !important;
}
.first-ad-hero__cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 32px rgba(16,185,129,.4);
  transform: translateY(-2px);
}

/* ── Second Ad Upsell Banner ───────────────────────── */
.second-ad-upsell {
  padding: 1.1rem 1.25rem;
  border: 1.5px solid rgba(251,191,36,.2) !important;
  border-radius: var(--radius-lg) !important;
  background: linear-gradient(135deg, var(--bg-card), rgba(251,191,36,.04)) !important;
  position: relative; overflow: hidden;
}
.second-ad-upsell::before {
  content: '';
  position: absolute; top: -25px; right: -25px;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.12) 0%, transparent 70%);
  pointer-events: none;
}
.second-ad-upsell__header {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: .85rem;
}
.second-ad-upsell__icon { font-size: 1.4rem; flex-shrink: 0; }
.second-ad-upsell__title {
  font-size: .9rem; font-weight: 800;
  color: var(--text-primary); margin-bottom: .15rem;
}
.second-ad-upsell__subtitle { font-size: .78rem; }

/* Pricing row */
.second-ad-upsell__pricing {
  display: flex;
  align-items: center; justify-content: center;
  gap: .75rem; margin-bottom: .75rem;
  flex-wrap: wrap;
}
.second-ad-upsell__price-item {
  display: flex; flex-direction: column;
  align-items: center; gap: .2rem;
  padding: .6rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  min-width: 90px;
}
.second-ad-upsell__price-item--featured {
  border-color: rgba(251,191,36,.3);
  background: rgba(251,191,36,.06);
}
.second-ad-upsell__price {
  font-size: 1.3rem; font-weight: 900;
  color: var(--text-primary);
}
.second-ad-upsell__price small {
  font-size: .55rem; font-weight: 600;
  color: var(--text-muted); margin-left: 1px;
}
.second-ad-upsell__price--featured {
  color: var(--amber);
}
.second-ad-upsell__price-label {
  font-size: .68rem; font-weight: 700;
  color: var(--text-muted);
}
.second-ad-upsell__divider {
  font-size: .7rem; color: var(--text-muted);
  font-weight: 600; text-transform: uppercase;
}
/* -- Paid Plan Cards (Modal 2o+ anuncio) ------------------- */
.paid-plan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (max-width: 480px) {
  .paid-plan-cards { grid-template-columns: 1fr; }
}
.paid-plan-card {
  background: var(--bg-card);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  cursor: pointer;
  transition: all .25s;
  position: relative;
}
.paid-plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,212,191,.12);
}
.paid-plan-card--featured {
  border-color: rgba(251,191,36,.35);
  background: linear-gradient(135deg, var(--bg-card), rgba(251,191,36,.05));
}
.paid-plan-card--featured:hover {
  border-color: var(--amber);
  box-shadow: 0 8px 24px rgba(251,191,36,.2);
}
.paid-plan-card__featured-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(251,191,36,.2), rgba(245,158,11,.2));
  color: var(--amber);
  font-size: .6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px;
  margin-bottom: .6rem;
}
.paid-plan-card__top {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: .6rem;
}
.paid-plan-card__icon { font-size: 1.4rem; flex-shrink: 0; }
.paid-plan-card__name {
  font-size: .88rem; font-weight: 800;
  color: var(--text-primary); margin-bottom: .15rem;
}
.paid-plan-card__desc { font-size: .73rem; line-height: 1.4; }
.paid-plan-card__price {
  display: flex; align-items: baseline; gap: 1px;
  margin-bottom: .75rem;
}
.paid-plan-card__value {
  font-size: 1.5rem; font-weight: 900;
  color: var(--text-primary);
}
.paid-plan-card__period {
  font-size: .75rem; color: var(--text-muted); font-weight: 500;
}
.paid-plan-card__features {
  list-style: none; padding: 0; margin: 0;
}
.paid-plan-card__features li {
  font-size: .73rem; color: var(--text-secondary);
  padding: .2rem 0; line-height: 1.4;
}

/* ── Premium Push Notification Banner ──────────────── */
.push-banner-overlay {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.25rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.push-banner-overlay.hidden { display: none !important }
.push-banner-card {
  width: 100%; max-width: 480px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; gap: 0.85rem;
}
.push-banner-header {
  display: flex; align-items: center; gap: 0.75rem;
}
.push-banner-icon {
  font-size: 1.75rem;
  animation: float 2s ease-in-out infinite;
}
.push-banner-card h3 {
  font-size: 1.25rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.push-banner-text {
  font-size: 0.85rem; color: var(--text-secondary);
  line-height: 1.5;
}
.push-banner-actions {
  display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .push-banner-overlay {
    align-items: center;
  }
}

/* ── Premium City Explore Card ──────────────────────── */
.city-explore-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(129, 140, 248, 0.08));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.explore-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.5);
  z-index: 1;
  transition: transform var(--tr);
}

.city-explore-card:hover .explore-bg-img {
  transform: scale(1.08);
}

.city-explore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(45, 212, 191, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.city-explore-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 10px 25px rgba(45, 212, 191, 0.08), 0 4px 15px rgba(0, 0, 0, 0.25);
}

.explore-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.explore-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.15);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: transform var(--tr), background var(--tr);
}

.city-explore-card:hover .explore-icon-wrapper {
  transform: scale(1.05) rotate(-5deg);
  background: rgba(45, 212, 191, 0.15);
  border-color: rgba(45, 212, 191, 0.3);
}

.explore-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.explore-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.explore-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.explore-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  transition: transform var(--tr), color var(--tr);
}

.explore-arrow svg {
  width: 20px;
  height: 20px;
}

.city-explore-card:hover .explore-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

/* ── PWA Install Modal ───────────────────────────────── */
/* Overlay especial: centraliza o card (diferente do bottom-sheet padrão) */
.pwa-install-overlay {
  align-items: center;
  z-index: 300; /* acima de tudo */
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.pwa-install-card {
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(45,212,191,.18) !important;
  background: linear-gradient(160deg,
    rgba(15,23,42,.97) 0%,
    rgba(30,41,59,.97) 100%
  ) !important;
  box-shadow:
    0 0 0 1px rgba(45,212,191,.08),
    0 24px 64px rgba(0,0,0,.6),
    0 0 80px rgba(45,212,191,.06) !important;
  max-width: 380px !important;
  width: calc(100% - 2rem) !important;
  padding: 1.75rem 1.5rem !important;
  padding-bottom: calc(1.75rem + env(safe-area-inset-bottom)) !important;
  animation: pwaSlideIn .35s cubic-bezier(.34,1.56,.64,1) both !important;
}

@keyframes pwaSlideIn {
  from { opacity: 0; transform: scale(.85) translateY(20px) }
  to   { opacity: 1; transform: scale(1) translateY(0) }
}

@keyframes pwaSlideOut {
  from { opacity: 1; transform: scale(1) translateY(0) }
  to   { opacity: 0; transform: scale(.9) translateY(16px) }
}

/* Header do modal (logo + título) */
.pwa-install-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pwa-install-icon-wrap {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45,212,191,.15), rgba(129,140,248,.15));
  border: 1px solid rgba(45,212,191,.2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.pwa-install-logo {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.pwa-install-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  line-height: 1.25 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

.pwa-install-subtitle {
  font-size: .78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: .2rem;
}

/* Chips de benefícios (Android) */
.pwa-install-benefits {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.pwa-benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.15);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
}

/* Botão principal de instalação */
.pwa-install-btn-main {
  margin-bottom: .625rem;
  font-size: .9rem !important;
  padding: .8rem 1.25rem !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 6px 20px rgba(45,212,191,.3) !important;
  transition: all var(--tr) !important;
}

.pwa-install-btn-main:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(45,212,191,.4) !important;
}

/* Botão ghost "Agora não" */
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--tr);
  padding: .6rem 1.25rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost:hover { color: var(--text-secondary) }

.pwa-install-btn-later {
  font-size: .78rem !important;
}

/* ── Passos iOS ── */
.pwa-ios-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pwa-ios-divider::before,
.pwa-ios-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.pwa-ios-steps {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: 1rem;
}

.pwa-ios-step {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: background var(--tr);
}

.pwa-ios-step:hover { background: rgba(45,212,191,.05) }

.pwa-ios-number {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: white;
  font-size: .8rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(45,212,191,.25);
}

.pwa-ios-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pwa-ios-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Dica de flecha para o Safari (iOS) */
.pwa-ios-arrow-hint {
  text-align: center;
  font-size: .72rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  animation: bounce 1.5s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(4px) }
}

/* Responsivo: em telas grandes centraliza melhor */
@media (min-width: 480px) {
  .pwa-install-card {
    max-width: 400px !important;
    padding: 2rem !important;
  }
}


/* ═══════════════════════════════════════════════════
   🌴 Tourist Auth Manager — Cadastro / Login / Perfil
   ═══════════════════════════════════════════════════ */

/* Card do formulário do turista */
.tourist-form-card {
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(45,212,191,.3) transparent;
}

/* Tela de escolha: Anônimo vs Conta */
.tourist-choice-card {
  max-width: 380px;
  width: 90%;
}

.tourist-choice-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tourist-choice-icon {
  font-size: 3rem;
  margin-bottom: .5rem;
  filter: drop-shadow(0 0 16px rgba(45,212,191,.4));
}

.tourist-choice-title {
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tourist-choice-options {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1rem;
}

.tourist-choice-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: all .2s ease;
  color: var(--text-primary);
}

.tourist-choice-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(45,212,191,.3);
  transform: translateX(2px);
}

.tourist-choice-btn--featured {
  border-color: rgba(45,212,191,.25);
  background: rgba(45,212,191,.06);
}

.tourist-choice-btn--featured:hover {
  background: rgba(45,212,191,.12);
  border-color: rgba(45,212,191,.5);
  box-shadow: 0 0 20px rgba(45,212,191,.15);
}

.tourist-choice-btn-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.tourist-choice-btn-label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tourist-choice-btn-desc {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.tourist-choice-arrow {
  margin-left: auto;
  font-size: 1.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Labels e inputs do formulário */
.tourist-form-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: .35rem;
}

.tourist-form-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: .6rem .85rem;
  color: var(--text-primary);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}

.tourist-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,212,191,.12);
}

/* Seção de foto */
.tourist-photo-section {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.tourist-photo-preview-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px dashed rgba(45,212,191,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

.tourist-photo-placeholder {
  font-size: 1.8rem;
}

.tourist-photo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tourist-selfie-btn-group {
  display: flex;
  gap: .5rem;
  justify-content: center;
}

.tourist-selfie-btn-group .btn {
  flex: 1;
}

.tourist-selfie-wrap {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Row da checkbox LGPD */
.tourist-lgpd-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .75rem;
  background: rgba(45,212,191,.04);
  border: 1px solid rgba(45,212,191,.12);
  border-radius: var(--radius);
}

/* Avatar do turista logado */
.tourist-avatar-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,212,191,.1);
  overflow: hidden;
  box-shadow: 0 0 24px rgba(45,212,191,.25);
}

.tourist-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsivo */
@media (min-width: 480px) {
  .tourist-form-card,
  .tourist-choice-card {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ══════════════════════════════════════════════════
   ✨ Vibe Chips — Preferências no Edit Profile
   ══════════════════════════════════════════════════ */
.vibe-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  color: var(--text-secondary);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
  user-select: none;
}

.vibe-chip:hover {
  border-color: rgba(45,212,191,.35);
  background: rgba(45,212,191,.07);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.vibe-chip--active {
  background: rgba(45,212,191,.15);
  border-color: rgba(45,212,191,.55);
  color: var(--teal, #2dd4bf);
  box-shadow: 0 0 12px rgba(45,212,191,.15);
}

.vibe-chip--active .ep-vibe-label {
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   🔔 Notificação Push — Status no Edit Profile
   ══════════════════════════════════════════════════ */
.tourist-notif-status {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .85rem;
  border-radius: var(--radius);
  font-size: .82rem;
  border: 1px solid var(--glass-border);
}

.tourist-notif-active {
  background: rgba(16,185,129,.08);
  border-color: rgba(16,185,129,.25);
}

.tourist-notif-inactive {
  background: rgba(255,255,255,.03);
}

.tourist-notif-blocked {
  background: rgba(244,63,94,.06);
  border-color: rgba(244,63,94,.2);
}

.tourist-notif-unsupported {
  background: rgba(255,255,255,.03);
}

/* Premium Navigation Arrows for Desktop Carousels */
.scroll-arrows-wrapper {
  position: relative;
  width: 100%;
}
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-size: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.scroll-arrow:hover {
  background: var(--teal) !important;
  color: #0f172a !important;
  border-color: var(--teal) !important;
  transform: translateY(-50%) scale(1.12) !important;
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.4) !important;
}
.scroll-arrow:active {
  transform: translateY(-50%) scale(0.95) !important;
}
.scroll-arrow--left {
  left: 8px;
}
.scroll-arrow--right {
  right: 8px;
}

/* ── Widgets de Clima e Maré na Hero ── */
.weather-tide-widgets-city {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}
.widget-city {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 10px;
  border-radius: var(--radius);
}
.widget-city-icon {
  font-size: 1.15rem;
}
.widget-city-info {
  display: flex;
  flex-direction: column;
}
.widget-city-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}
.widget-city-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Expander de História ── */
.history-container-city {
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.history-container-city.collapsed {
  max-height: 0px;
  opacity: 0;
  margin-bottom: 0px;
}
.history-container-city.expanded {
  max-height: 1000px;
  opacity: 1;
  margin-bottom: 8px;
}
.btn-read-more-city {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  transition: color var(--tr);
  text-decoration: underline;
  margin-top: 4px;
}
.btn-read-more-city:hover {
  color: #14b8a6;
}

/* ── Grid de Experiências 2x2 ── */
.grid-experiencias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.experience-card-item {
  position: relative;
  height: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: none;
  transition: transform var(--tr);
  background-size: cover;
  background-position: center;
  text-decoration: none;
  background-color: var(--bg-card);
  transform: translateZ(0); /* Garante clipping perfeito do border-radius no iOS/WebKit */
  -webkit-transform: translateZ(0);
}
.experience-card-item:hover {
  transform: translateY(-2px) translateZ(0);
  -webkit-transform: translateY(-2px) translateZ(0);
}
.experience-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
  border-radius: inherit; /* Herda o arredondamento perfeito do pai, evitando vazamentos de borda */
  border: 1px solid var(--glass-border); /* Borda movida para o topo, garantindo continuidade */
  transition: border-color var(--tr);
  pointer-events: none;
}
.experience-card-item:hover .experience-card-overlay {
  border-color: var(--primary);
}
.experience-card-content {
  position: relative;
  z-index: 2;
  padding: 8px 10px;
  width: 100%;
}
.experience-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}
.experience-card-subtitle {
  font-size: 0.6rem;
  color: var(--primary);
  font-weight: 500;
}
.experience-card-bg {
  position: absolute;
  inset: 1px; /* Deslocado 1px para dentro do contêiner, eliminando qualquer chance de vazamento de pixel nos cantos */
  background-size: cover;
  background-position: center;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  transition: transform var(--tr);
}
.experience-card-item:hover .experience-card-bg {
  transform: scale(1.05); /* Efeito de zoom premium e fluido no hover */
}



/* ══════════════════════════════════════════════════
   🍃 Vibe Sustentável - Card & Dicas Ecológicas
   ══════════════════════════════════════════════════ */
.eco-card {
  margin: 0.5rem 0 1.2rem 0;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(20, 30, 55, 0.55)), url('/assets/eco-bg.png');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(45, 212, 191, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(45, 212, 191, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.eco-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 8px 30px rgba(45, 212, 191, 0.18), 0 0 15px rgba(45, 212, 191, 0.05);
}

.eco-card:active {
  transform: translateY(0);
}

.eco-card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.eco-card-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.2);
  animation: floatEcoIcon 3s ease-in-out infinite alternate;
}

@keyframes floatEcoIcon {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-3px) scale(1.05); }
}

.eco-card-text {
  flex: 1;
}

.eco-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--teal, #2dd4bf);
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.eco-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Modal de dicas ecológicas */
.eco-modal-card {
  border: 1px solid rgba(45, 212, 191, 0.3) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(45, 212, 191, 0.15) !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
}

.eco-tips-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1rem 0 1.5rem 0;
  padding-right: 4px;
}

.eco-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.eco-tip-item:hover {
  background: rgba(45, 212, 191, 0.03);
  border-color: rgba(45, 212, 191, 0.18);
  transform: translateX(2px);
}

.eco-tip-icon {
  font-size: 1.25rem;
  line-height: 1;
  padding-top: 2px;
}

.eco-tip-content {
  flex: 1;
}

.eco-tip-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.eco-tip-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}


/* Ajustes responsivos para o modal de dicas ecológicas */
#eco-tips-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1100;
}

.eco-modal-card {
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 16px 16px 0 0;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (min-width: 768px) {
  #eco-tips-modal {
    align-items: center;
  }
  .eco-modal-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(45, 212, 191, 0.35);
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

/* ── Pop-up Como Funciona (Vibe Modal) ──────────────── */
.vibe-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-end; /* Mobile default: bottom sheet */
  justify-content: center;
  padding: 0;
}

.vibe-modal-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px 20px 0 0; /* Bottom sheet radius */
  width: 100%;
  max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  overflow: hidden;
  animation: vibeSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes vibeSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.vibe-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: space-between;
}

.vibe-modal-title-text {
  font-size: 1.25rem; font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.vibe-modal-close-btn {
  background: transparent; border: none;
  color: var(--text-secondary); font-size: 1.75rem;
  cursor: pointer; line-height: 1; transition: color var(--tr);
}
.vibe-modal-close-btn:hover { color: var(--rose) }

.vibe-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.vibe-modal-section {
  margin-bottom: 1.75rem;
}
.vibe-modal-section:last-child {
  margin-bottom: 0;
}

.vibe-modal-section-title {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  color: var(--teal); letter-spacing: 1px;
  margin-bottom: 1rem; border-left: 3px solid var(--teal);
  padding-left: 0.5rem;
}

/* Vantagens */
.vibe-benefits-list {
  display: flex; flex-direction: column; gap: 1rem;
}

.vibe-benefit-item {
  display: flex; gap: 1rem;
}

.vibe-benefit-icon-wrap {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.vibe-benefit-icon {
  font-size: 1.25rem;
}

.vibe-benefit-info {
  flex: 1;
}

.vibe-benefit-title {
  font-size: 0.92rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.vibe-benefit-desc {
  font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4;
}

/* Linha do Tempo Passo a Passo */
.vibe-steps-timeline {
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
}

.vibe-steps-timeline::before {
  content: ''; position: absolute; left: 19px; top: 10px; bottom: 10px;
  width: 2px; background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.vibe-step-item {
  display: flex; gap: 1rem; position: relative; z-index: 2;
}

.vibe-step-number-wrap {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all var(--tr);
}

.vibe-step-number {
  font-size: 0.9rem; font-weight: 800; color: var(--teal);
}

.vibe-step-item:hover .vibe-step-number-wrap {
  border-color: var(--teal);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

.vibe-step-info {
  flex: 1; padding-top: 0.4rem;
}

.vibe-step-title {
  font-size: 0.92rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.vibe-step-desc {
  font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4;
}

.vibe-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex; justify-content: flex-end; gap: 0.75rem;
  background: rgba(2, 6, 23, 0.2);
}

.vibe-modal-cta-btn {
  background: linear-gradient(135deg, var(--teal), #0d9488) !important;
  color: #0f172a !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(45, 212, 191, 0.25);
  border: none;
  cursor: pointer;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font);
  transition: all var(--tr);
}
.vibe-modal-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4);
  filter: brightness(1.1);
}

/* Modificação no layout dos botões dos cards */
.cta-host-btn-how {
  padding: .5rem 1.25rem; border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-primary); font-weight: 600; font-size: .8rem;
  border: 1.5px solid rgba(45, 212, 191, 0.5); cursor: pointer; transition: all var(--tr);
  font-family: var(--font);
}
.cta-host-btn-how:hover {
  background: rgba(45, 212, 191, 0.08);
  border-color: var(--teal);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.2);
}

.cta-advertiser-btn-how {
  padding: .5rem 1.25rem; border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-primary); font-weight: 600; font-size: .8rem;
  border: 1.5px solid rgba(251, 191, 36, 0.5); cursor: pointer; transition: all var(--tr);
  font-family: var(--font);
}
.cta-advertiser-btn-how:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}

/* Desktop styles override for the pop-up */
@media (min-width: 768px) {
  .vibe-modal-overlay {
    align-items: center;
    padding: 1rem;
  }
  .vibe-modal-card {
    border-radius: var(--radius-lg);
    max-width: 520px;
    animation: vibeScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes vibeScaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
}

/* ── Tooltips Informativos e Popovers ──────────── */
.vibe-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  vertical-align: middle;
  transition: all var(--tr);
}
.vibe-info-icon:hover {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.15);
  border-color: var(--teal);
}

.vibe-tooltip-balloon {
  position: absolute;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 10px rgba(45, 212, 191, 0.15);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.4;
  max-width: 250px;
  z-index: 10000;
  animation: vibeTooltipFadeIn 0.2s ease-out;
}
.vibe-tooltip-balloon::after {
  content: "";
  position: absolute;
  border-width: 6px;
  border-style: solid;
}

/* Posicionamento do triângulo do tooltip */
.vibe-tooltip-balloon.top::after {
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
}
.vibe-tooltip-balloon.bottom::after {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-color: transparent transparent rgba(15, 23, 42, 0.95) transparent;
}

@keyframes vibeTooltipFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Elementos de Coordenadas e Mapa ──────────── */
.vibe-coord-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vibe-toggle-sign-btn {
  padding: 0 10px;
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 8px);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
}
.vibe-toggle-sign-btn:hover {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.08);
  border-color: var(--teal);
}

.vibe-coord-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ── Modal de Mapa (Leaflet Picker) ──────────── */
.vibe-map-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(2, 6, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.vibe-map-modal-card {
  width: 100%;
  max-width: 600px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: vibeScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.vibe-map-modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vibe-map-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}
.vibe-map-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.vibe-map-modal-close:hover {
  color: var(--text-primary);
}
.vibe-map-modal-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vibe-map-container {
  height: 320px;
  width: 100%;
  border-radius: var(--radius-md);
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1;
}
.vibe-map-coords-indicator {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vibe-map-modal-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Custom Time Picker Modal */
.time-picker-modal-card {
  max-width: 320px;
  width: 90%;
  background: linear-gradient(135deg, rgba(30,41,59,0.95), rgba(15,23,42,0.98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: modalFadeIn 0.3s ease-out;
}

.time-picker-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.time-picker-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.time-picker-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--teal);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.time-picker-btn:hover {
  background: rgba(45,212,191,0.15);
  transform: scale(1.1);
}

.time-picker-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  min-width: 60px;
  text-align: center;
  font-family: monospace;
}

.time-picker-separator {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
}

.time-picker-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.time-picker-preset-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-picker-preset-btn:hover {
  background: rgba(45,212,191,0.1);
  color: var(--teal);
  border-color: rgba(45,212,191,0.3);
}

.input-warning-red {
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.45) !important;
}

/* ── Detalhes do Anúncio (Ad Details Modal) ── */
.ad-details-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-end; /* Mobile: bottom sheet */
  justify-content: center;
  padding: 0;
}

.ad-details-modal-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px 20px 0 0; /* Bottom sheet radius */
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  overflow-y: auto;
  padding: 1.5rem;
  animation: vibeSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ad-details-modal-header {
  margin-bottom: 1rem;
}

.ad-details-modal-merchant-info {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.ad-details-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Carrossel de Imagens */
.ad-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.ad-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.ad-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.ad-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* Setas do Carrossel */
.ad-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.ad-carousel-arrow:hover {
  background: rgba(45, 212, 191, 0.8);
  color: #0f172a;
  border-color: var(--teal);
}

.ad-carousel-arrow--prev {
  left: 8px;
}

.ad-carousel-arrow--next {
  right: 8px;
}

/* Dots */
.ad-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.ad-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ad-carousel-dot.active {
  background: var(--teal);
  transform: scale(1.2);
}

/* Preço, Descrição e Ações */
.ad-details-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.ad-details-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ad-details-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Estilo para Desktop */
@media (min-width: 768px) {
  .ad-details-modal-overlay {
    align-items: center;
    padding: 1rem;
  }

  .ad-details-modal-card {
    border-radius: var(--radius-lg);
    animation: vibeScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

/* Carrossel de Detalhes do Estabelecimento */
.place-detail-carousel-container {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.place-detail-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  height: 100%;
}

.place-detail-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.place-detail-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.place-detail-carousel-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Setas do Carrossel do Lugar */
.place-detail-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 9;
}

.place-detail-carousel-arrow:hover {
  background: rgba(45, 212, 191, 0.8);
  color: #0f172a;
  border-color: var(--teal);
}

.place-detail-carousel-arrow--prev {
  left: 12px;
}

.place-detail-carousel-arrow--next {
  right: 12px;
}

/* Dots */
.place-detail-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 9;
}

.place-detail-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.place-detail-carousel-dot.active {
  background: var(--teal);
  transform: scale(1.2);
}

/* Concierge Virtual Background Image Overlay */
.chat-messages-wrapper {
  position: relative;
}

.chat-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   LGPD Cookie Banner & Privacy Modal
   ========================================================================== */
.lgpd-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lgpd-cookie-banner.show {
  transform: translateY(0);
}

.lgpd-cookie-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media(min-width: 768px) {
  .lgpd-cookie-banner-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.lgpd-cookie-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.lgpd-cookie-text a {
  color: var(--teal);
  text-decoration: underline;
  font-weight: 600;
}

.lgpd-cookie-text a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Métricas Avançadas - Gráficos SVG & Audiência
   ========================================================================== */
.metric-trend {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 0.5rem;
}

.metric-trend--up {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
}

.metric-trend--down {
  background: rgba(244, 63, 94, 0.15);
  color: var(--rose);
}

.svg-chart-container {
  width: 100%;
  height: 180px;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: visible;
}

.svg-chart-grid line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}

.svg-chart-axis text {
  fill: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
}

.svg-chart-line {
  stroke: var(--teal);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-chart-area {
  fill: url(#teal-gradient);
  opacity: 0.12;
}

.svg-chart-line-clicks {
  stroke: var(--amber);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-chart-area-clicks {
  fill: url(#amber-gradient);
  opacity: 0.08;
}

.svg-chart-point {
  fill: var(--teal);
  stroke: #0f172a;
  stroke-width: 1.5;
  transition: all 0.2s ease;
  cursor: pointer;
}

.svg-chart-point:hover {
  r: 6;
  fill: var(--text-primary);
}

.svg-chart-point-click {
  fill: var(--amber);
  stroke: #0f172a;
  stroke-width: 1.5;
  transition: all 0.2s ease;
  cursor: pointer;
}

.svg-chart-point-click:hover {
  r: 5.5;
  fill: var(--text-primary);
}

/* Card de Audiência */
.metric-audience-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  margin: 0.5rem 0;
}

.metric-audience-fill-tourist {
  height: 100%;
  background: var(--teal);
  transition: width 0.5s ease;
}

.metric-audience-fill-guest {
  height: 100%;
  background: var(--amber);
  transition: width 0.5s ease;
}

/* Tabelas de detalhamento */
.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-top: 0.5rem;
}

.breakdown-table th {
  padding: 8px 10px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.breakdown-table td {
  padding: 8px 10px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
  color: var(--text-primary);
}
