/* Best Club Hits — folha de estilo única, sem build e sem dependências. */

:root {
  --bg: #0b0b0f;
  --bg-raised: #14141b;
  --bg-sunken: #08080c;
  --border: #262633;
  --text: #e8e8ef;
  --text-dim: #9a9aab;
  --accent: #d6ff3f;
  --accent-dim: #a8cc25;
  --danger: #ff6b6b;
  --ok: #4ade80;
  --radius: 10px;
  --wrap: 1140px;

  /* Cores do diagrama de local: usadas no SVG e na legenda fora dele. */
  --vmap-stage: #d6ff3f;
  --vmap-venue: #d6ff3f;
  --vmap-area: #4b4b63;
  --vmap-service: #2f7d8c;
  --vmap-water: #1b3a5c;
  --vmap-road: #33333f;
  --vmap-transit: #3d5a80;
  --vmap-entrance: #4ade80;
  --vmap-landmark: #b47cf0;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent);
  color: #000; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}

.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; color: var(--accent); }
.brand-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(214, 255, 63, 0.15);
}
.brand-text { font-size: 1.05rem; letter-spacing: -0.02em; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { color: var(--text-dim); font-size: 0.94rem; }
.site-nav a:hover, .site-nav a.is-active { color: var(--text); text-decoration: none; }

.nav-search { display: flex; gap: 6px; }
.nav-search input {
  background: var(--bg-sunken); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 0.88rem; width: 160px;
}
.nav-search input:focus { outline: 2px solid var(--accent-dim); outline-offset: 1px; }
.nav-search button {
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
  border-radius: 8px; padding: 7px 12px; font: inherit; font-size: 0.85rem; cursor: pointer;
}
.nav-search button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Main / hero ---------- */

main { padding: 48px 20px 72px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}

.hero {
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px; margin-bottom: 44px;
}
.hero-title { max-width: 20ch; }
.hero-title a { color: var(--text); }
.hero-title a:hover { color: var(--accent); text-decoration: none; }
.hero-excerpt { font-size: 1.15rem; color: var(--text-dim); max-width: 62ch; }
.hero-meta { color: var(--text-dim); font-size: 0.86rem; }

.button {
  display: inline-block; background: var(--accent); color: #08080c;
  font-weight: 700; padding: 11px 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; cursor: pointer;
}
.button:hover { background: #e8ff7a; text-decoration: none; }

.section-title { margin-bottom: 22px; }

/* ---------- Layout ---------- */

.layout-two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.card {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column;
}
.card:hover { border-color: #37374a; }
.card-meta { color: var(--text-dim); font-size: 0.78rem; margin-bottom: 10px; }
.card-category { color: var(--accent-dim); font-weight: 600; }
.card-title { font-size: 1.18rem; margin-bottom: 10px; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); text-decoration: none; }
.card-excerpt { color: var(--text-dim); font-size: 0.94rem; margin: 0; }
.card-tag {
  margin: 14px 0 0; font-size: 0.78rem; color: var(--text-dim);
  border-top: 1px solid var(--border); padding-top: 12px;
}
.dot { margin: 0 6px; }

/* ---------- Sidebar ---------- */

.sidebar { display: flex; flex-direction: column; gap: 24px; }

.panel {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.panel-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 14px; }
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem;
}
.panel-list li:last-child { border-bottom: 0; }
.panel-list a { color: var(--text); }
.panel-list a:hover { color: var(--accent); text-decoration: none; }
.count { color: var(--text-dim); font-size: 0.8rem; font-variant-numeric: tabular-nums; }

.ad-slot { border: 1px dashed var(--border); border-radius: var(--radius); padding: 14px; }
.ad-label {
  display: block; font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 8px;
}

/* ---------- Article ---------- */

.page-header { margin-bottom: 40px; max-width: 70ch; }
.page-intro { color: var(--text-dim); font-size: 1.05rem; }

.breadcrumb { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb span { margin: 0 8px; }

.article { max-width: 760px; margin: 0 auto; }
.article-narrow { max-width: 680px; }
.article-header { margin-bottom: 34px; }
.article-standfirst { font-size: 1.15rem; color: var(--text-dim); }
.article-meta { font-size: 0.84rem; color: var(--text-dim); }

.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 2em; padding-top: 0.2em; }
.prose h3 { margin-top: 1.6em; color: #cfcfdd; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent); color: var(--text-dim); font-style: italic;
}
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-sunken); padding: 2px 6px; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prose strong { color: #fff; }

.factbox {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px; margin: 0 0 22px;
  display: grid; gap: 12px;
}
.factbox div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
.factbox dt { color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; padding-top: 3px; }
.factbox dd { margin: 0; }

.disclaimer {
  font-size: 0.86rem; color: var(--text-dim);
  border-left: 3px solid var(--border); padding-left: 14px; margin-bottom: 32px;
}

.article-footer {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-dim);
}

.related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }

/* ---------- Forms ---------- */

.form { max-width: 560px; }
.form-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-inline input[type="search"] { flex: 1 1 240px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; margin-bottom: 6px; color: var(--text-dim); }
.optional { color: #6d6d80; font-size: 0.82em; }

input[type="text"], input[type="email"], input[type="search"],
input[type="password"], input[type="url"], input[type="date"],
input[type="datetime-local"], input[type="number"], select, textarea {
  width: 100%; background: var(--bg-sunken); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 11px 13px; font: inherit; font-size: 0.96rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-dim); outline-offset: 1px; }
textarea { resize: vertical; }

.checkbox { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 0.92rem; color: var(--text-dim); }
.checkbox input { width: auto; }

.form-note { font-size: 0.84rem; color: var(--text-dim); margin-top: 16px; }

/* Honeypot: fora da tela, invisível para pessoas e leitores de tela. */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.notice { border-radius: 8px; padding: 14px 16px; margin-bottom: 24px; font-size: 0.94rem; }
.notice ul { margin: 8px 0 0; padding-left: 1.2em; }
.notice-success { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.35); color: var(--ok); }
.notice-error { background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.35); color: var(--danger); }
.notice-warning { background: rgba(214, 255, 63, 0.08); border: 1px solid rgba(214, 255, 63, 0.3); color: var(--accent); }

.auth { max-width: 420px; margin: 40px auto; }

/* ---------- Pagination / misc ---------- */

.pagination { display: flex; align-items: center; gap: 16px; margin-top: 44px; font-size: 0.9rem; }
.page {
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; color: var(--text);
}
.page:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.page.disabled { color: #55556a; border-color: #1c1c26; }
.page-status { color: var(--text-dim); }

.empty, .result-count { color: var(--text-dim); }
.error-page { max-width: 640px; margin: 60px auto; text-align: center; }
.error-page .form-inline { justify-content: center; margin: 28px 0; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-sunken);
  padding: 44px 0 56px; margin-top: 60px; font-size: 0.9rem;
}
.footer-inner { display: grid; gap: 28px; }
.footer-brand { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.footer-about p { color: var(--text-dim); margin: 0; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }
.footer-legal { color: #6d6d80; font-size: 0.82rem; margin: 0; max-width: 80ch; }

.map-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 14px;
  text-decoration: none;
  color: var(--text);
}
.map-callout:hover { border-color: var(--accent); background: var(--bg-sunken); }

.map-callout-kicker {
  grid-column: 1;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent);
}
.map-callout-title { grid-column: 1; font-weight: 600; }
.map-callout-go { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); font-size: 1.3rem; }

/* ---------- Diagrama de local (venue map) ---------- */

.vmap {
  margin: 0 0 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.vmap-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.vmap-toolbar-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-dim); margin-right: 4px;
}

.vmap-btn {
  background: var(--bg-sunken); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 5px 12px; font: inherit; font-size: 0.85rem; cursor: pointer;
}
.vmap-btn:hover { border-color: var(--accent); color: var(--accent); }

.vmap-canvas { overflow: auto; border-radius: 8px; background: var(--bg-sunken); }
.vmap-stage { width: 100%; transition: width 0.15s ease; }
.vmap-stage svg { display: block; width: 100%; height: auto; }

.vmap-bg { fill: var(--bg-sunken); }

.vmap-shape rect,
.vmap-shape circle {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
  transition: filter 0.15s ease, stroke 0.15s ease;
}
.vmap-shape { cursor: pointer; }
.vmap-shape.is-active rect,
.vmap-shape.is-active circle { stroke: var(--accent); stroke-width: 3.5; }

.vmap-shape--stage rect { fill: rgba(214, 255, 63, 0.22); stroke: var(--vmap-stage); }
.vmap-shape--venue rect { fill: rgba(214, 255, 63, 0.22); stroke: var(--vmap-venue); }
.vmap-shape--transit rect { fill: var(--vmap-transit); }
.vmap-shape--area rect { fill: var(--vmap-area); }
.vmap-shape--service rect { fill: var(--vmap-service); }
.vmap-shape--water rect { fill: var(--vmap-water); }
.vmap-shape--road rect { fill: var(--vmap-road); }
.vmap-shape--entrance circle { fill: var(--vmap-entrance); }
.vmap-shape--landmark circle { fill: var(--vmap-landmark); }

.vmap-label {
  fill: var(--text); font-family: var(--font); font-size: 19px;
  font-weight: 600; paint-order: stroke; stroke: rgba(8, 8, 12, 0.75); stroke-width: 4;
  pointer-events: none;
}
.vmap-shape--stage .vmap-label,
.vmap-shape--venue .vmap-label { fill: var(--vmap-stage); }

.vmap-marker {
  fill: #08080c; font-family: var(--font); font-size: 20px;
  font-weight: 700; pointer-events: none;
}

.vmap-legend {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 0.85rem; color: var(--text-dim);
}
.vmap-legend li { display: flex; align-items: center; gap: 8px; }

.vmap-swatch {
  width: 14px; height: 14px; border-radius: 4px; flex: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.vmap-swatch--stage,
.vmap-swatch--venue { background: rgba(214, 255, 63, 0.35); border-color: var(--vmap-stage); }
.vmap-swatch--transit { background: var(--vmap-transit); }
.vmap-swatch--area { background: var(--vmap-area); }
.vmap-swatch--service { background: var(--vmap-service); }
.vmap-swatch--water { background: var(--vmap-water); }
.vmap-swatch--road { background: var(--vmap-road); }
.vmap-swatch--entrance { background: var(--vmap-entrance); border-radius: 50%; }
.vmap-swatch--landmark { background: var(--vmap-landmark); border-radius: 50%; }

.vmap-marker-badge {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #08080c;
}
.vmap-marker-badge--entrance { background: var(--vmap-entrance); }
.vmap-marker-badge--landmark { background: var(--vmap-landmark); }

.vmap figcaption { margin-top: 12px; font-size: 0.82rem; color: var(--text-dim); }

.vmap-key { margin: 0 0 32px; }
.vmap-key-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vmap-key-list li {
  display: flex; gap: 14px; padding: 14px 16px;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); scroll-margin-top: 90px;
}
.vmap-key-list li.is-active,
.vmap-key-list li:focus { border-color: var(--accent); outline: none; }
.vmap-key-list .vmap-swatch,
.vmap-key-list .vmap-marker-badge { margin-top: 4px; }
.vmap-key-list h3 { margin: 0; font-size: 1rem; }
.vmap-key-list p { margin: 4px 0 0; font-size: 0.92rem; }
.vmap-key-kind {
  color: var(--text-dim); font-size: 0.74rem !important;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .layout-two-col { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .nav-toggle-label {
    display: flex; align-items: center; gap: 8px; margin-left: auto;
    border: 1px solid var(--border); border-radius: 8px; padding: 7px 14px;
    color: var(--text-dim); font-size: 0.88rem; cursor: pointer;
  }
  .nav-toggle-label span {
    width: 16px; height: 2px; background: currentColor;
    box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  }

  .site-nav { display: none; width: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 18px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--border); }
  .site-nav li a { display: block; padding: 12px 0; }
  .nav-search input { width: 100%; }

  .factbox div { grid-template-columns: 1fr; gap: 2px; }
  .factbox dd { margin-bottom: 6px; }
}
