/* ===== GUIA VIP - STYLES ===== */

:root {
  --bg-dark: #2a1005;
  --bg-med: #3d1f0a;
  --bg-card: #4a2510;
  --gold: #f0c050;
  --gold-light: #f5deb3;
  --gold-bright: #ffd700;
  --amber: #e8a020;
  --text-main: #f5deb3;
  --text-muted: #c8a87a;
  --border: #6b3d1a;
  --shadow: rgba(0,0,0,0.5);
  --radius: 14px;
  --radius-sm: 8px;
  --bg-overlay: rgba(30, 10, 2, 0.82);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  background-image: var(--app-bg-image, none);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg-overlay, rgba(0, 0, 0, 0));
  z-index: 0;
  pointer-events: none;
}

#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ===== SCREENS ===== */
.screen { display: none; min-height: 100vh; }
#screen-city { padding-bottom: 80px; }
#screen-category { padding-bottom: 80px; }
.screen.active { display: flex; flex-direction: column; }

/* ===== TOP BAR ===== */
.top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1a0802, #2a1005);
  border-bottom: 1px solid rgba(240,192,80,0.2);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

.back-btn {
  background: rgba(240,192,80,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.back-btn:active { transform: scale(0.9); background: rgba(240,192,80,0.3); }

.top-bar-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  flex: 1;
  text-align: right;
}

/* ===== BANNER ===== */
.banner-container {
  position: relative;
  width: calc(100% - 24px);
  margin: 0 12px;
  overflow: hidden;
  background: #1a0a02;
  min-height: 180px;
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

.banner-slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.banner-slides.dragging {
  cursor: grabbing;
  transition: none;
}
.banner-slides img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.banner-slide {
  min-width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: pointer;
  background: linear-gradient(135deg, #3d1f0a, #5a2d10);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* City banner - compact but taller than footer */
#city-banner {
  min-height: 130px !important;
  border-radius: 0 0 22px 22px !important;
}
#city-banner .banner-slide {
  height: 130px;
}
#city-banner .banner-slide img {
  height: 130px;
}

.banner-slide .banner-placeholder {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  padding: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  border-radius: 0 0 22px 22px;
  width: 100%;
}

.banner-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240,192,80,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.banner-dot.active { background: var(--gold); }

/* ===== BUSCA GLOBAL ===== */
.global-search-fab {
  position: fixed;
  right: -25px;
  bottom: 130px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff2c2 0%, var(--gold-bright) 42%, var(--amber) 88%);
  border: none;
  box-shadow:
    0 6px 0 #8a5a10,
    0 10px 18px rgba(0,0,0,0.55),
    inset 0 2px 3px rgba(255,255,255,0.65),
    inset 0 -5px 7px rgba(110,55,0,0.45);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 22px;
  z-index: 90;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.global-search-fab:active {
  transform: scale(0.95);
  box-shadow:
    0 3px 0 #8a5a10,
    0 5px 10px rgba(0,0,0,0.5),
    inset 0 2px 3px rgba(255,255,255,0.55),
    inset 0 -3px 5px rgba(110,55,0,0.45);
}

.global-search-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.global-search-select { appearance: none; cursor: pointer; }
.global-search-submit-btn {
  padding: 12px;
  background: linear-gradient(135deg, var(--gold-bright), var(--amber));
  border: none;
  border-radius: 50px;
  color: var(--bg-dark);
  font-family: 'Crimson Pro', serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.global-search-submit-btn:active { transform: scale(0.98); }
.global-search-results { display: flex; flex-direction: column; gap: 6px; max-height: 45vh; overflow-y: auto; }
.global-search-hint { color: var(--text-muted); text-align: center; padding: 14px 4px; font-size: 15px; }

/* Card compacto do resultado — só nome + imagem pequena */
.gs-result-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-med));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.gs-result-card:active { background: rgba(255,255,255,0.06); }
.gs-result-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}
.gs-result-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-med);
  font-size: 16px;
}
.gs-result-name {
  flex: 1;
  min-width: 0;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-result-arrow { color: var(--text-muted); font-size: 16px; flex-shrink: 0; }

/* ===== HOME CONTENT ===== */
.home-content {
  padding: 0 0 20px;
  flex: 1;
}

/* ===== SEARCH ===== */
.search-container {
  padding: 16px 16px 8px;
}

/* Mesmo tratamento (position: sticky) usado na busca de empresas dentro da
   categoria, que já funciona bem no teclado do iPhone — aplicado aqui também
   pra corrigir o mesmo problema na busca de cidades. */
#screen-home .search-container,
#screen-city .search-container {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(42,16,5,0.98) 80%, transparent 100%);
}

/* City screen search closer to banner */
#screen-city .search-container {
  padding: 8px 16px 6px;
}

.search-input {
  width: 100%;
  padding: 12px 18px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  color: var(--text-main);
  font-family: 'Crimson Pro', serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--gold); }
.search-input::placeholder { color: var(--text-muted); }

/* ===== CITIES GRID ===== */
.cities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 6px 12px;
}

.city-card {
  background: url('city-card-bg.jpg') center/cover no-repeat;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}
.city-card:active { }
.city-card-icon { display: none !important; }
.city-card-name { display: none !important; }

/* ===== SPECIAL CARDS ===== */
.special-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 16px 16px;
}
.special-card {
  width: calc(33.333% - 7px);
  flex-shrink: 0;
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  border: 1.5px solid #f0c050;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  display: block;
}
.special-card:active { }

.emergency-card,
.advertise-card,
.review-card {
  background: linear-gradient(135deg, var(--bg-med), var(--bg-card));
  border-color: var(--gold);
}

.special-card-icon { display: none !important; }
.special-card-title { display: none !important; }
.special-card-sub { display: none !important; }
.special-card-content { display: none !important; }

.special-card-icon { font-size: 30px; margin-bottom: 6px; }

.special-card-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.special-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

/* ===== HOME FOOTER BANNER ===== */
.home-footer-banner {
  width: calc(100% - 24px);
  margin: 4px 12px 8px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.home-footer-banner.dragging { cursor: grabbing; transition: none; }
.home-footer-banner .footer-banner-slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 80px;
}
.home-footer-banner .footer-banner-slide img {
  width: 100%;
  height: 80px;
  display: block;
  object-fit: cover;
  cursor: pointer;
  border-radius: 16px;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ===== FOOTER ===== */
.app-footer {
  text-align: center;
  padding: 16px;
  color: #ffffff;
  font-size: 12px;
  border-top: 1px solid var(--border);
}
.app-footer p { margin: 0 0 6px; }
.app-footer p:last-child { margin-bottom: 0; }
.footer-privacy-link a {
  color: var(--gold-light, #f5d488);
  text-decoration: underline;
  font-size: 12px;
}

/* ===== CITY CONTENT ===== */
.city-content {
  flex: 1;
  padding-bottom: 20px;
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 8px 12px;
}

.category-card {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-med));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
}

.category-card:active { transform: scale(0.95); }

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.category-card-img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #3d1f0a, #2a1005);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.category-card-name { display: none !important; }

/* ===== CITY FOOTER BANNER ===== */
.city-footer-banner {
  margin: 8px 12px 4px;
  pointer-events: auto;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.city-footer-banner.dragging { cursor: grabbing; transition: none; }
.city-footer-banner .footer-banner-slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 100px;
}
.city-footer-banner .footer-banner-slide img {
  width: 100%;
  height: 100px;
  display: block;
  object-fit: cover;
  cursor: pointer;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ===== BOTTOM NAV BAR ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #1a0802, #2a1005);
  border-top: 1px solid rgba(240,192,80,0.2);
  padding: 4px 0 10px;
  z-index: 95;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
}
.bottom-nav.visible { display: flex; justify-content: space-around; align-items: center; }
.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 20px;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bottom-nav-btn span { font-size: 18px; }
.bottom-nav-btn:active { opacity: 0.7; }

/* ===== SUBCATEGORIES GRID ===== */
.subcategories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 14px;
}
.subcategories-grid .category-card {
  min-height: 100px;
}
.subcategories-grid .category-card-img,
.subcategories-grid .category-card-img-placeholder {
  height: 85px;
}

/* ===== CATEGORY CONTENT ===== */
.category-search-sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(42,16,5,0.98) 80%, transparent 100%);
  padding-bottom: 4px;
}

.category-content {
  flex: 1;
  padding-bottom: 20px;
}

/* ===== COMPANY MODAL ===== */
.company-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.company-modal {
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-med) 100%);
  border: 1.5px solid var(--gold);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}
@keyframes slideUp {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.company-modal-logo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 22px 22px 0 0;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.company-modal-logo-placeholder {
  width: 100%;
  height: 160px;
  background: var(--bg-med);
  border-radius: 22px 22px 0 0;
  display: block;
}

.company-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.company-modal-img-wrap {
  position: relative;
}

.company-modal-body {
  padding: 4px 20px 24px;
}

.company-modal-name {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  line-height: 1.3;
}

.company-modal-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.company-modal-hours {
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.company-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

/* Linha divisória dourada com diamante central — separa foto/informações/botões */
.modal-divider {
  position: relative;
  height: 1px;
  margin: 14px 20px;
  background: linear-gradient(90deg, transparent, rgba(240,192,80,0.6) 20%, rgba(240,192,80,0.9) 50%, rgba(240,192,80,0.6) 80%, transparent);
}
.modal-divider::after {
  content: '✦';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: var(--bg-med);
  color: var(--gold);
  font-size: 11px;
  padding: 0 8px;
  line-height: 1;
}

/* Selo Empresa Premium / Guia VIP */
.company-modal-badges {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 18px;
  border: 1px solid rgba(240,192,80,0.35);
  border-radius: 14px;
  padding: 10px 8px;
  background: rgba(240,192,80,0.04);
}
.badge-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2px 10px;
  max-width: 160px;
}
.badge-icon { font-size: 16px; color: var(--gold); }
.badge-text {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-light);
  text-align: center;
  line-height: 1.3;
}
.badge-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(240,192,80,0.3);
  margin: 2px 0;
}

/* ===== RADIO MINI PLAYER ===== */
.radio-mini-player {
  position: fixed;
  bottom: -80px;
  left: 0; right: 0;
  background: linear-gradient(135deg, #2a1005, #4a2510);
  border-top: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  z-index: 500;
  transition: bottom 0.35s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
}
.radio-mini-player.active { bottom: 0; }
/* When bottom nav is visible, push mini player above it */
.bottom-nav.visible ~ .radio-mini-player.active,
body:has(.bottom-nav.visible) .radio-mini-player.active { bottom: 55px; }
.rmp-icon { font-size: 26px; flex-shrink: 0; }
.rmp-info { flex: 1; min-width: 0; }
.rmp-name { font-family: 'Cinzel', serif; font-size: 13px; color: var(--gold); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmp-status { font-size: 11px; color: var(--text-muted); }
.rmp-btn { background: rgba(240,192,80,0.15); border: 1px solid var(--gold); color: var(--gold); width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rmp-close { border-color: var(--border); color: var(--text-muted); }

/* ===== COMPANY CARDS ===== */
.companies-list {
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-med));
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.company-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 10px;
}

.company-logo {
  width: 130px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
  border: none;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.company-logo-placeholder {
  width: 130px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--bg-med);
}

/* Logo grande no modal da empresa */
.company-modal-logo {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: rgba(0,0,0,0.15);
  border-radius: 12px 12px 0 0;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.company-info {
  flex: 1;
  min-width: 0;
}

.company-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
  line-height: 1.3;
}

.company-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-hours {
  font-size: 12px;
  color: var(--gold-light);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ===== COMPANY ACTION BUTTONS ===== */
.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px 14px;
}

.company-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 50px;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  border: none;
  flex: 1 1 150px;
  max-width: 220px;
  text-align: center;
}
.company-btn:active { transform: scale(0.95); opacity: 0.85; }

.btn-phone    { background: linear-gradient(135deg, #1a4a1a, #2d7a2d); color: #aaffaa; }
.btn-whatsapp { background: linear-gradient(135deg, #0a3d0a, #128c7e); color: #aaffd4; }
.btn-instagram{ background: linear-gradient(135deg, #4a0a2a, #962d4d); color: #ffaad4; }
.btn-maps     { background: linear-gradient(135deg, #0a2a4a, #1565c0); color: #aad4ff; }
.btn-cardapio { background: linear-gradient(135deg, #3d2a0a, #7a5510); color: #ffd4aa; }
.btn-cardapio-full {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 12px 16px;
  background: linear-gradient(135deg, #1a0a30, #2d1060);
  color: #ffffff;
  border: 1.5px solid rgba(180,130,255,0.3);
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-align: center;
  display: block;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}
.btn-agenda   { background: linear-gradient(135deg, #2a0a3d, #5d1a7a); color: #d4aaff; }
.btn-email    { background: linear-gradient(135deg, #1a2a3d, #2d4a7a); color: #aaccff; }
.btn-tiktok   { background: linear-gradient(135deg, #1a0a2a, #3d0f5a); color: #e0aaff; }
.btn-youtube  { background: linear-gradient(135deg, #cc0000, #990000); color: #fff; }
.btn-facebook { background: linear-gradient(135deg, #1877f2, #0a5dc2); color: #fff; }
.btn-kwai     { background: linear-gradient(135deg, #ff6c00, #cc5500); color: #fff; }
.btn-telegram { background: linear-gradient(135deg, #0088cc, #006699); color: #fff; }
.btn-threads  { background: linear-gradient(135deg, #101010, #2a2a2a); color: #fff; }
.btn-twitter  { background: linear-gradient(135deg, #000000, #1a1a1a); color: #fff; }
.btn-download { background: linear-gradient(135deg, #1a5a1a, #2d8a2d); color: #fff; }
.btn-site     { background: linear-gradient(135deg, #0a2a1a, #1a5a3a); color: #aaffcc; }

/* ===== RADIO LINK CARDS ===== */
.radio-card {
  background: linear-gradient(135deg, #3d1f0a, #6b3d1a);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  cursor: pointer;
}
.radio-card:active { }
.radio-card.playing { border-color: var(--gold); background: linear-gradient(135deg, #5a2d10, #8b4513); }
.radio-icon { font-size: 32px; flex-shrink: 0; }
.radio-info { flex: 1; min-width: 0; }
.radio-name { font-family: 'Cinzel', serif; font-size: 15px; color: var(--gold); font-weight: 700; }
.radio-desc { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.radio-play-btn { font-size: 22px; color: var(--gold); flex-shrink: 0; }

/* ===== ACCORDION COMPANY ===== */
.company-card-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  user-select: none;
}
.company-card-summary:active { }
.co-arrow {
  color: var(--text-muted);
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.company-details {
  border-top: 1px solid rgba(107,61,26,0.4);
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MODALS ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }

.modal-content {
  background: linear-gradient(135deg, #3d1f0a, #2a1005);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  width: 100%;
  max-width: 450px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 50px rgba(0,0,0,0.7);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 18px;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

/* ===== EMERGENCY LIST ===== */
.emergency-list { padding: 12px; }
.emergency-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  text-decoration: none;
  border: 1px solid rgba(107,61,26,0.5);
  transition: background 0.2s;
}
.emergency-item:active { background: rgba(255,255,255,0.1); }
.em-icon { font-size: 22px; }
.em-name { flex: 1; color: var(--text-main); font-size: 15px; }
.em-num { font-family: 'Cinzel', serif; font-size: 20px; color: var(--gold); font-weight: 700; }

/* ===== ADMIN PANEL ===== */
/* ===== ADMIN PANEL REDESIGN ===== */
.admin-panel {
  position: fixed;
  inset: 0;
  background: #12060100;
  background: linear-gradient(160deg, #1a0800 0%, #120500 100%);
  z-index: 300;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.admin-panel.hidden { display: none; }

/* Header */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, #3d1f0a, #5a2d10);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.admin-header h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.admin-close-btn {
  background: rgba(240,192,80,0.15);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 9px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  transition: background 0.2s;
}
.admin-close-btn:active { background: rgba(240,192,80,0.3); }

/* Body */
.admin-body { flex: 1; padding: 0; }

/* Tabs — bottom nav style */
.admin-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: #1f0c03;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 62px;
  z-index: 9;
}
.admin-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  padding: 12px 4px 10px;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 9px;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.2px;
}
.admin-tab .tab-icon { font-size: 20px; }
.admin-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(240,192,80,0.08);
}

.admin-tab-content { display: none; padding: 20px 16px; }
.admin-tab-content.active { display: block; }

/* Section titles */
.admin-tab-content h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(240,192,80,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-tab-content h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 8px;
}

/* Forms */
.admin-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(107,61,26,0.6);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.admin-form label {
  color: var(--gold-light);
  font-size: 12px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Inputs */
.admin-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text-main);
  font-family: 'Crimson Pro', serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.admin-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.09); }
.admin-input option { background: #2a1005; }
textarea.admin-input { resize: vertical; min-height: 90px; line-height: 1.5; }

/* File input */
.admin-file-input {
  color: var(--text-muted);
  font-size: 13px;
  padding: 10px 0;
}
.admin-upload-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 12px;
}

.img-preview {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-top: 4px;
}

/* Buttons */
.admin-btn {
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
  letter-spacing: 0.3px;
}
.admin-btn:active { transform: scale(0.97); }
.admin-btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #1a0a02;
  box-shadow: 0 4px 15px rgba(240,192,80,0.3);
}
.admin-btn.primary:active { box-shadow: none; }
.admin-btn.secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text-main);
  border: 1.5px solid var(--border);
}
.admin-btn.danger {
  background: linear-gradient(135deg, #7a1010, #b01c1c);
  color: #fff;
  box-shadow: 0 4px 15px rgba(176,28,28,0.3);
}

/* Filter bar */
.admin-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.admin-filter .admin-input { width: 100%; }

/* List */
.admin-list { display: flex; flex-direction: column; gap: 10px; }

.admin-list-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(107,61,26,0.5);
  border-radius: 12px;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
}
.admin-list-item:active { background: rgba(255,255,255,0.07); }

.admin-list-item-name {
  flex: 1;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.4;
}

.admin-item-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: flex-end;
}

/* Action buttons — bigger touch targets */
.admin-mini-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(107,61,26,0.6);
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-mini-btn:active { transform: scale(0.92); background: rgba(255,255,255,0.14); }
.admin-mini-btn.del {
  color: #ff6b6b;
  border-color: rgba(122,16,16,0.7);
  background: rgba(122,16,16,0.1);
}
.admin-mini-btn.edit {
  color: var(--gold);
  border-color: rgba(107,74,16,0.7);
  background: rgba(107,74,16,0.1);
}

.drag-handle {
  color: var(--text-muted);
  cursor: grab;
  font-size: 18px;
  padding: 0 4px;
  user-select: none;
}

/* ===== REVIEW BTNS ===== */
.review-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 12px;
  transition: transform 0.15s;
}
.review-store-btn:active { transform: scale(0.97); }
.android-btn { background: linear-gradient(135deg, #1a4a1a, #2d7a2d); color: #aaffaa; border: 1px solid #44cc44; }
.ios-btn { background: linear-gradient(135deg, #1a1a3d, #2d2d6b); color: #aaaaff; border: 1px solid #4444cc; }
.instagram-btn { background: linear-gradient(135deg, #833ab4, #fd1d1d, #f77737); color: #fff; border: 1px solid #fd1d1d; }

/* ===== HIDDEN ===== */
.hidden { display: none !important; }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 16px;
}
.empty-state span { font-size: 48px; display: block; margin-bottom: 12px; }

/* ===== COLOR EDITOR ===== */
.color-section-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  padding: 6px 0 2px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(107,61,26,0.3);
}

.color-row label {
  color: var(--text-main);
  font-size: 14px;
  font-family: 'Crimson Pro', serif;
  flex: 1;
}

.color-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.color-input-wrap input[type="color"] {
  width: 40px;
  height: 32px;
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 2px;
  background: none;
  cursor: pointer;
}

.color-input-wrap span {
  font-family: monospace;
  font-size: 12px;
  color: var(--text-muted);
  min-width: 58px;
}

.hex-input {
  font-family: monospace;
  font-size: 13px;
  color: var(--text-main);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 7px;
  width: 82px;
  outline: none;
  text-transform: uppercase;
}
.hex-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

.radio-disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
  padding: 12px 16px 20px;
  line-height: 1.5;
  font-style: italic;
}
body.radio-playing .screen { padding-bottom: 70px; }
body.radio-playing #screen-city,
body.radio-playing #screen-category { padding-bottom: 130px; }

/* ===== CITY BADGE ===== */
.city-badge {
  position: fixed;
  bottom: 70px;
  right: 16px;
  background: rgba(240,192,80,0.92);
  border: 1px solid rgba(42,16,5,0.3);
  color: #2a1005;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 50px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
  pointer-events: none;
}
.city-badge.visible { display: flex; }

/* ===== PULSE TAP ANIMATION ===== */
@keyframes pulseTap {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.88); }
  60%  { transform: scale(1.06); }
  80%  { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.tapping {
  animation: pulseTap 0.4s ease forwards !important;
  transition: none !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ===== MASCOT ===== */
.mascot-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* ===== ADMIN LOGIN ===== */
#admin-login { z-index: 400; }
#admin-login .modal-content { max-width: 360px; }
#admin-login .admin-form { padding: 20px; margin: 0; border: none; background: transparent; }

/* ===== ADMIN COMPANY FILTER BUTTONS ===== */
.admin-filter-btn {
  padding:6px 12px;
  border-radius:50px;
  border:1px solid var(--border);
  background:rgba(61,31,10,0.5);
  color:var(--text-muted);
  font-family:'Cinzel',serif;
  font-size:10px;
  cursor:pointer;
  transition:all 0.2s;
}
.admin-filter-btn.active {
  background:var(--gold);
  color:#1a0802;
  border-color:var(--gold);
  font-weight:700;
}


/* ===== SEARCH BUTTON ===== */
.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(240,192,80,0.15);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.search-btn:active { background: rgba(240,192,80,0.3); }


/* ============================================================
   GUIA VIP — EFEITOS 3D PREMIUM
   Apenas visual: sem alteração de cores, layout ou funcionalidade
   ============================================================ */

/* ── VARIÁVEIS 3D ─────────────────────────────────────────── */
:root {
  --gold-shine:   #fff8d0;
  --gold-mid:     #f0c050;
  --gold-deep:    #a07010;
  --gold-shadow:  rgba(180,120,0,0.35);
  --shadow-3d:    rgba(0,0,0,0.55);
  --inset-light:  rgba(255,240,180,0.18);
  --inset-dark:   rgba(0,0,0,0.45);
}

/* ── TOP BAR 3D ───────────────────────────────────────────── */
.top-bar {
  background: linear-gradient(180deg,
    #3d2008 0%,
    #2a1005 40%,
    #1a0802 100%
  ) !important;
  border-bottom: none !important;
  box-shadow:
    0 4px 0 #0a0400,
    0 6px 18px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,220,100,0.15) !important;
}

.top-bar-title {
  text-shadow:
    0 1px 0 #fff8a0,
    0 -1px 0 #805000,
    0 2px 8px rgba(0,0,0,0.6);
}

/* ── BACK BUTTON 3D ───────────────────────────────────────── */
.back-btn {
  background: linear-gradient(180deg,
    rgba(255,220,80,0.25) 0%,
    rgba(180,100,10,0.15) 100%
  ) !important;
  box-shadow:
    0 2px 0 rgba(0,0,0,0.5),
    0 1px 0 rgba(255,220,100,0.2) inset,
    0 -1px 0 rgba(0,0,0,0.3) inset !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.back-btn:active {
  box-shadow:
    0 1px 0 rgba(0,0,0,0.5),
    inset 0 2px 4px rgba(0,0,0,0.4) !important;
  transform: translateY(1px) scale(0.97) !important;
}

/* ── CITY CARDS 3D ────────────────────────────────────────── */
.city-card {
  border: none !important;
  box-shadow:
    0 6px 0 #0a0400,
    0 8px 20px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,220,100,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.4) !important;
  transform: translateY(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  outline: 1.5px solid rgba(240,192,80,0.5);
  outline-offset: -1px;
}
.city-card:active {
  transform: translateY(4px) !important;
  box-shadow:
    0 2px 0 #0a0400,
    0 4px 10px rgba(0,0,0,0.5),
    inset 0 2px 6px rgba(0,0,0,0.4) !important;
}

/* ── CATEGORY CARDS 3D ────────────────────────────────────── */
.category-card {
  border: none !important;
  box-shadow:
    0 5px 0 #0a0400,
    0 7px 16px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,220,100,0.15) !important;
  transform: translateY(0);
  transition: transform 0.15s, box-shadow 0.15s !important;
  outline: 1px solid rgba(107,61,26,0.8);
  outline-offset: -1px;
}
.category-card:active {
  transform: translateY(4px) scale(0.98) !important;
  box-shadow:
    0 1px 0 #0a0400,
    0 3px 8px rgba(0,0,0,0.5),
    inset 0 2px 5px rgba(0,0,0,0.35) !important;
}

/* ── SPECIAL CARDS 3D (emergência, anunciar, avaliar) ─────── */
.special-card {
  box-shadow:
    0 5px 0 #0a0400,
    0 7px 18px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,220,100,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.3) !important;
  transform: translateY(0);
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.special-card:active {
  transform: translateY(3px) !important;
  box-shadow:
    0 2px 0 #0a0400,
    0 4px 8px rgba(0,0,0,0.5),
    inset 0 2px 5px rgba(0,0,0,0.35) !important;
}

/* ── COMPANY CARDS 3D ─────────────────────────────────────── */
.company-card {
  background: linear-gradient(160deg,
    #5a2e12 0%,
    #3d1f0a 50%,
    #2a1005 100%
  ) !important;
  border: none !important;
  box-shadow:
    0 5px 0 #0a0300,
    0 8px 22px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,210,80,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.3) !important;
  outline: 1px solid rgba(107,61,26,0.7);
  outline-offset: -1px;
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.company-card:active {
  transform: translateY(3px) !important;
  box-shadow:
    0 2px 0 #0a0300,
    0 4px 10px rgba(0,0,0,0.5),
    inset 0 2px 6px rgba(0,0,0,0.35) !important;
}

/* ── COMPANY MODAL 3D ─────────────────────────────────────── */
.company-modal {
  background: linear-gradient(160deg,
    #3d1f0a 0%,
    #2a1005 60%,
    #1a0802 100%
  ) !important;
  border: none !important;
  box-shadow:
    0 12px 50px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,210,80,0.2),
    0 0 0 1.5px rgba(240,192,80,0.5) !important;
}

.company-modal-name {
  text-shadow:
    0 1px 0 #fff8a0,
    0 -1px 0 #805000,
    0 2px 6px rgba(0,0,0,0.5);
}

/* ── BOTTOM NAV BAR 3D ────────────────────────────────────── */
.bottom-nav {
  background: linear-gradient(180deg,
    #2a1005 0%,
    #1a0802 100%
  ) !important;
  border-top: none !important;
  box-shadow:
    0 -4px 0 #0a0300,
    0 -6px 24px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,210,80,0.15) !important;
}

/* ── COMPANY ACTION BUTTONS — DOURADO 3D ──────────────────── */
.company-btn,
.company-modal-actions .company-btn {
  background: linear-gradient(180deg,
    #ffe580 0%,
    #f0c050 35%,
    #c89020 65%,
    #a07018 100%
  ) !important;
  color: #1a0802 !important;
  border: none !important;
  box-shadow:
    0 3px 0 #6b4a00,
    0 5px 12px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,200,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.2) !important;
  text-shadow: 0 1px 0 rgba(255,255,150,0.5);
  font-weight: 700 !important;
  transition: transform 0.12s, box-shadow 0.12s !important;
}
.company-btn:active {
  transform: translateY(2px) scale(0.97) !important;
  box-shadow:
    0 1px 0 #6b4a00,
    0 2px 6px rgba(0,0,0,0.4),
    inset 0 2px 4px rgba(0,0,0,0.2) !important;
}

/* Exceção: botão de cardápio full-width mantém visual próprio em 3D */
.btn-cardapio-full {
  background: linear-gradient(180deg,
    #2a1a50 0%,
    #1a0a30 60%,
    #120820 100%
  ) !important;
  color: #d4aaff !important;
  box-shadow:
    0 3px 0 #080415,
    0 5px 14px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(180,130,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.3) !important;
  text-shadow: none !important;
  border: 1.5px solid rgba(180,130,255,0.3) !important;
}

/* ── RADIO CARDS 3D ───────────────────────────────────────── */
.radio-card {
  box-shadow:
    0 4px 0 #0a0300,
    0 6px 16px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,210,80,0.12) !important;
  border: none !important;
  outline: 1px solid rgba(107,61,26,0.7);
  outline-offset: -1px;
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.radio-card:active {
  transform: translateY(3px) !important;
  box-shadow:
    0 1px 0 #0a0300,
    0 3px 8px rgba(0,0,0,0.45),
    inset 0 2px 5px rgba(0,0,0,0.3) !important;
}
.radio-card.playing {
  box-shadow:
    0 4px 0 #6b4a00,
    0 6px 20px rgba(180,120,0,0.35),
    inset 0 1px 0 rgba(255,220,80,0.3) !important;
  outline-color: rgba(240,192,80,0.7);
}

/* ── MODAL CONTENT 3D (emergency, review, admin login) ────── */
.modal-content {
  box-shadow:
    0 10px 0 #0a0300,
    0 16px 50px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,210,80,0.15),
    0 0 0 1.5px rgba(240,192,80,0.4) !important;
  border: none !important;
}

/* ── BANNER CONTAINERS 3D ─────────────────────────────────── */
.banner-container {
  box-shadow:
    0 6px 0 #0a0300,
    0 8px 24px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,220,100,0.1) !important;
}

.city-footer-banner img,
.home-footer-banner img {
  box-shadow:
    0 5px 0 #0a0300,
    0 8px 20px rgba(0,0,0,0.55) !important;
}

/* ── SEARCH INPUT 3D ──────────────────────────────────────── */
.search-input {
  background: linear-gradient(180deg,
    rgba(0,0,0,0.3) 0%,
    rgba(255,255,255,0.06) 100%
  ) !important;
  box-shadow:
    inset 0 2px 5px rgba(0,0,0,0.5),
    inset 0 -1px 0 rgba(255,210,80,0.1),
    0 1px 0 rgba(255,255,255,0.05) !important;
}
.search-input:focus {
  box-shadow:
    inset 0 2px 5px rgba(0,0,0,0.4),
    0 0 0 1.5px var(--gold),
    0 0 12px rgba(240,192,80,0.2) !important;
}

/* ── ADMIN BUTTON 3D (primary) ────────────────────────────── */
.admin-btn.primary {
  box-shadow:
    0 4px 0 #6b4a00,
    0 6px 18px rgba(180,120,0,0.35),
    inset 0 1px 0 rgba(255,255,180,0.5),
    inset 0 -1px 0 rgba(0,0,0,0.2) !important;
  text-shadow: 0 1px 0 rgba(255,255,150,0.4);
}
.admin-btn.primary:active {
  transform: translateY(2px) !important;
  box-shadow:
    0 2px 0 #6b4a00,
    0 3px 8px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(0,0,0,0.15) !important;
}


/* ============================================================
   GUIA VIP — ANIMAÇÕES DE ENTRADA (fade + slide suave)
   Aplicadas nos cards de cidade, categoria, empresa e rádio
   Zero impacto em performance — usa GPU via transform/opacity
   ============================================================ */

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

/* Cidade */
.city-card {
  animation: cardFadeIn 0.35s ease both;
}
.cities-grid .city-card:nth-child(1)  { animation-delay: 0.03s; }
.cities-grid .city-card:nth-child(2)  { animation-delay: 0.08s; }
.cities-grid .city-card:nth-child(3)  { animation-delay: 0.13s; }
.cities-grid .city-card:nth-child(4)  { animation-delay: 0.18s; }
.cities-grid .city-card:nth-child(5)  { animation-delay: 0.22s; }
.cities-grid .city-card:nth-child(6)  { animation-delay: 0.26s; }
.cities-grid .city-card:nth-child(7)  { animation-delay: 0.30s; }
.cities-grid .city-card:nth-child(8)  { animation-delay: 0.33s; }
.cities-grid .city-card:nth-child(9)  { animation-delay: 0.36s; }
.cities-grid .city-card:nth-child(10) { animation-delay: 0.38s; }

/* Categoria */
.category-card {
  animation: cardFadeIn 0.32s ease both;
}
.categories-grid .category-card:nth-child(1)  { animation-delay: 0.02s; }
.categories-grid .category-card:nth-child(2)  { animation-delay: 0.06s; }
.categories-grid .category-card:nth-child(3)  { animation-delay: 0.10s; }
.categories-grid .category-card:nth-child(4)  { animation-delay: 0.14s; }
.categories-grid .category-card:nth-child(5)  { animation-delay: 0.17s; }
.categories-grid .category-card:nth-child(6)  { animation-delay: 0.20s; }
.categories-grid .category-card:nth-child(7)  { animation-delay: 0.23s; }
.categories-grid .category-card:nth-child(8)  { animation-delay: 0.26s; }
.categories-grid .category-card:nth-child(9)  { animation-delay: 0.28s; }
.categories-grid .category-card:nth-child(10) { animation-delay: 0.30s; }
.categories-grid .category-card:nth-child(11) { animation-delay: 0.32s; }
.categories-grid .category-card:nth-child(12) { animation-delay: 0.34s; }
.categories-grid .category-card:nth-child(n+13) { animation-delay: 0.36s; }

/* Empresa */
.company-card {
  animation: cardFadeIn 0.30s ease both;
}
.companies-list .company-card:nth-child(1)  { animation-delay: 0.02s; }
.companies-list .company-card:nth-child(2)  { animation-delay: 0.06s; }
.companies-list .company-card:nth-child(3)  { animation-delay: 0.10s; }
.companies-list .company-card:nth-child(4)  { animation-delay: 0.14s; }
.companies-list .company-card:nth-child(5)  { animation-delay: 0.17s; }
.companies-list .company-card:nth-child(6)  { animation-delay: 0.20s; }
.companies-list .company-card:nth-child(7)  { animation-delay: 0.22s; }
.companies-list .company-card:nth-child(8)  { animation-delay: 0.24s; }
.companies-list .company-card:nth-child(n+9) { animation-delay: 0.26s; }

/* Rádio */
.radio-card {
  animation: cardFadeIn 0.30s ease both;
}
.radio-list .radio-card:nth-child(1)  { animation-delay: 0.02s; }
.radio-list .radio-card:nth-child(2)  { animation-delay: 0.06s; }
.radio-list .radio-card:nth-child(3)  { animation-delay: 0.10s; }
.radio-list .radio-card:nth-child(4)  { animation-delay: 0.14s; }
.radio-list .radio-card:nth-child(5)  { animation-delay: 0.17s; }
.radio-list .radio-card:nth-child(6)  { animation-delay: 0.20s; }
.radio-list .radio-card:nth-child(n+7) { animation-delay: 0.22s; }

/* Modal da empresa — entrada suave de baixo */
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.company-modal {
  animation: modalSlideUp 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Desativa animação para usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .city-card, .category-card, .company-card, .radio-card, .company-modal {
    animation: none !important;
  }
}

/* ============================================================
   GUIA VIP — CONTROLE DE ANIMAÇÃO (evita re-animação)
   Quando a classe .animated é adicionada ao container,
   os cards filhos não animam mais
   ============================================================ */
.cities-grid.animated .city-card:not(.tapping),
.categories-grid.animated .category-card:not(.tapping),
.companies-list.animated .company-card:not(.tapping),
.radio-list.animated .radio-card:not(.tapping) {
  animation: none !important;
}

/* ============================================================
   GUIA VIP — ANIMAÇÃO TELA INICIAL DESATIVADA
   Removida pois causava "apagão" nos cards de cidades
   ============================================================ */

/* Pontinhos dos banners desativados — tampavam logos */
.banner-dots { display: none !important; }

/* ============================================================
   GUIA VIP — OTIMIZAÇÃO DE IMAGENS
   Primeiros cards visíveis carregam com prioridade alta
   Placeholder suave enquanto imagem não carrega
   ============================================================ */

/* Placeholder animado enquanto imagem carrega */
.category-card-img,
.company-logo {
  background: linear-gradient(90deg, #3d1f0a 25%, #5a2e12 50%, #3d1f0a 75%);
  background-size: 200% 100%;
  animation: imgShimmer 1.5s ease infinite;
}

/* Para quando a imagem carrega — remove o shimmer */
.category-card-img[src],
.company-logo[src] {
  background: none;
  animation: none;
}

@keyframes imgShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Primeiros 4 cards de categoria — prioridade de carregamento */
.categories-grid .category-card:nth-child(-n+4) img {
  content-visibility: auto;
}

/* Dimensões mínimas para evitar layout shift apenas em categorias */
.category-card-img {
  min-width: 60px;
  min-height: 60px;
}

/* Desativa o menu de toque-e-segure (baixar / abrir em nova guia) nos ícones
   de categoria — o clique continua funcionando pois é tratado pelo card pai */
.category-card-img {
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}
