/* Cronoelo — shell compartilhado (hub, central, lives, arquivo) */
:root {
  --ce-bg: #0a0b0f;
  --ce-bg-mid: #121620;
  --ce-surface: #171b24;
  --ce-surface-2: #1e2430;
  --ce-border: #2a3344;
  --ce-text: #e8edf5;
  --ce-muted: #94a3b8;
  --ce-accent: #e11d48;
  --ce-accent-dim: #be123c;
  --ce-gold: #fbbf24;
  --ce-link: #38bdf8;
  --ce-radius: 14px;
  --ce-radius-sm: 10px;
  --ce-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --ce-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ce-shell-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ce-font);
  background: var(--ce-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(225, 29, 72, 0.12), transparent),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(56, 189, 248, 0.06), transparent);
  color: var(--ce-text);
  line-height: 1.5;
}

/* Central: fundo mais neutro, menos “efeito” */
body.central-page {
  background: #0b0c0f;
  background-image: radial-gradient(ellipse 70% 45% at 50% -15%, rgba(148, 163, 184, 0.07), transparent);
}

.site-header--minimal {
  background: rgba(11, 12, 15, 0.94);
}

.site-brand--textonly .site-brand-name {
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 700;
  font-size: 1.1rem;
}

.site-brand--textonly .site-brand-tag {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
  color: var(--ce-muted);
  font-weight: 500;
}

/* ——— Barra global ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ce-border);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ce-text);
}

.site-brand img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
}

.site-brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-brand-tag {
  font-size: 0.72rem;
  color: var(--ce-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: var(--ce-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.site-nav a:hover {
  color: var(--ce-text);
  background: var(--ce-surface);
  border-color: var(--ce-border);
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--ce-accent), var(--ce-accent-dim));
  border-color: transparent;
}

.site-nav .site-nav-note {
  color: #fff;
  background: linear-gradient(135deg, var(--ce-accent), var(--ce-accent-dim));
  border-color: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

/* Barra fina em páginas operacionais (boxes, etc.) */
.site-topbar-lite {
  background: var(--ce-surface);
  border-bottom: 1px solid var(--ce-border);
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 0.82rem;
}

.site-topbar-lite a {
  color: var(--ce-link);
  font-weight: 700;
  text-decoration: none;
}

.site-topbar-lite a:hover {
  text-decoration: underline;
}

.site-topbar-lite .sep {
  color: var(--ce-border);
  user-select: none;
}

/* ——— Layout de página ——— */
.site-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--ce-border);
  color: var(--ce-muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ——— Hub / hero ——— */
.hub-hero {
  margin-bottom: 36px;
}

.hub-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hub-hero .hub-lead {
  margin: 0;
  max-width: 52ch;
  color: var(--ce-muted);
  font-size: 1.02rem;
}

.hub-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--ce-surface);
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius);
  padding: 22px 22px 20px;
  box-shadow: var(--ce-shadow);
  transition: transform 0.18s ease, border-color 0.18s;
  position: relative;
  overflow: hidden;
}

.hub-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ce-accent), var(--ce-accent-dim));
  border-radius: 4px 0 0 4px;
}

.hub-card:hover {
  transform: translateY(-3px);
  border-color: #3d4a60;
}

.hub-card-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1;
}

.hub-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.hub-card p {
  margin: 0;
  color: var(--ce-muted);
  font-size: 0.9rem;
}

.hub-card .hub-card-cta {
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ce-link);
}

/* ——— Secções ——— */
.hub-section {
  margin-bottom: 40px;
}

.hub-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hub-section-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.hub-section-head .hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ce-muted);
}

.stamp {
  font-size: 0.75rem;
  color: var(--ce-muted);
  padding: 7px 12px;
  border: 1px solid var(--ce-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

/* ——— Grids de lives (compatível com home antiga) ——— */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.live-card {
  background: var(--ce-surface-2);
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 158px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.12);
}

.live-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.live-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.live-meta {
  color: var(--ce-muted);
  font-size: 0.82rem;
  margin-top: auto;
}

.btn-primary {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 10px;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  transition: filter 0.15s;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.empty-state {
  border: 1px dashed var(--ce-border);
  border-radius: var(--ce-radius-sm);
  padding: 28px;
  text-align: center;
  color: var(--ce-muted);
  background: rgba(255, 255, 255, 0.02);
}

/* ——— Central (resultados) — layout editorial ——— */
.central-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 22px 64px;
}

.central-intro {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.central-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.central-headline {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f1f5f9;
}

.central-dek {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 40em;
}

.central-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.central-meta-link {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(125, 211, 252, 0.35);
  transition: color 0.15s, border-color 0.15s;
}

.central-meta-link:hover {
  color: #bae6fd;
  border-bottom-color: rgba(186, 230, 253, 0.6);
}

.central-meta-sep {
  margin: 0 0.35em;
  opacity: 0.5;
}

.central-meta-hint {
  font-weight: 400;
}

.central-panel {
  min-height: 120px;
}

.central-toolbar {
  margin-bottom: 16px;
}

.central-toolbar:empty {
  display: none;
}

.central-panel:not(.central-panel--drilldown) .central-toolbar {
  display: none;
}

.btn-back {
  border: none;
  background: transparent;
  color: #94a3b8;
  border-radius: 8px;
  padding: 6px 4px 6px 0;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: color 0.15s;
}

.btn-back:hover {
  color: #e2e8f0;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.result-grid--central {
  gap: 10px;
}

.result-card {
  text-decoration: none;
  color: var(--ce-text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  padding: 18px 20px;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  display: block;
}

.result-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(148, 163, 184, 0.22);
}

.result-card:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.result-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: #f1f5f9;
}

.result-card-sub {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.central-empty {
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

/* ——— Arquivo: lista ——— */
.archive-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.archive-search {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--ce-border);
  background: var(--ce-bg);
  color: var(--ce-text);
  font-family: inherit;
  font-size: 0.9rem;
}

.archive-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius-sm);
  background: var(--ce-surface);
}

.archive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.archive-table th,
.archive-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ce-border);
}

.archive-table th {
  background: var(--ce-surface-2);
  color: var(--ce-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.archive-table tr:last-child td {
  border-bottom: none;
}

.archive-table a {
  color: var(--ce-link);
  font-weight: 700;
  text-decoration: none;
}

.archive-table a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }
}

/* =============================================================================
   Hub / marketing (visual premium — dourado sobre escuro)
   Escopo: body.hub-page apenas (não altera central minimalista)
   ========================================================================== */

body.hub-page {
  --hub-gold: #d4af37;
  --hub-gold-bright: #f4d963;
  --hub-gold-dim: #8a7020;
  --hub-black: #050506;
  background: var(--hub-black);
  background-image:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(212, 175, 55, 0.09), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(220, 90, 40, 0.06), transparent);
  color: #e8eaed;
}

body.hub-page .site-header--hub {
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.site-header-inner--hub {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 20px;
  max-width: 1180px;
}

.site-header-inner--hub .site-header-cta {
  justify-self: end;
}

.site-brand--hub {
  justify-self: start;
  color: var(--hub-gold-bright);
}

.site-brand--hub .site-brand-mark {
  display: flex;
  align-items: center;
  color: var(--hub-gold);
}

.site-brand--hub .site-brand-name {
  color: var(--hub-gold-bright);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.98rem;
  font-weight: 800;
}

.site-brand--hub .site-brand-tag {
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  margin-top: 2px;
}

.site-nav--hub {
  justify-content: center;
  gap: 4px;
}

.site-nav--hub a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 10px 14px;
}

.site-nav--hub a:hover {
  color: #fff;
  background: rgba(212, 175, 55, 0.1);
  border-color: transparent;
}

body.hub-page .site-nav--hub a[aria-current="page"] {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.35), rgba(138, 112, 32, 0.45));
  color: #0a0a0a;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.btn-ghost-gold {
  display: inline-block;
  text-decoration: none;
  color: var(--hub-gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.btn-ghost-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #fff;
}

/* Hero — fundo bandeira (hero-racing-bg.png). O texto “RACING” no PNG fica tapado por gradientes; para remover de vez, use uma arte sem texto. */
.hub-hero-premium {
  position: relative;
  min-height: clamp(440px, calc(100vh - 76px), 780px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 24px 72px;
  overflow: hidden;
  background-color: #060608;
  background-image: url("hero-racing-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hub-hero-premium__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Máscara forte no canto inferior-esquerdo (onde vem o texto na arte) + leitura do título */
  background:
    radial-gradient(ellipse 95% 75% at 12% 96%, rgb(6, 6, 8) 0%, rgba(6, 6, 8, 0.92) 22%, rgba(6, 6, 8, 0.45) 48%, transparent 68%),
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(5, 5, 6, 0.98) 0%, transparent 58%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.88) 0%, rgba(5, 5, 6, 0.2) 38%, transparent 62%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.2) 0%, rgba(5, 5, 6, 0.55) 55%, rgba(5, 5, 6, 0.92) 100%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(200, 80, 30, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(212, 175, 55, 0.06), transparent),
    radial-gradient(ellipse 40% 50% at 85% 40%, rgba(212, 175, 55, 0.05), transparent);
}

.hub-hero-premium__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hub-headline {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hub-headline__gold {
  color: var(--hub-gold-bright);
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

.hub-headline__dim {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  text-transform: lowercase;
  font-size: 0.92em;
}

.hub-hero-premium__lead {
  margin: 0 auto;
  max-width: 46rem;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  font-weight: 400;
}

.hub-hero-premium__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.btn-hub-solid {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #f4d963 0%, #c9a227 50%, #9a7b1a 100%);
  color: #0d0d0d;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.25);
  transition: filter 0.15s, transform 0.12s;
}

.btn-hub-solid:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-hub-solid--small {
  font-size: 0.76rem;
  padding: 10px 18px;
  box-shadow: none;
}

.btn-hub-outline {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.15s, border-color 0.15s;
}

.btn-hub-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

.hub-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 680px;
  margin: 48px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hub-stats__item {
  text-align: center;
}

.hub-stats__num {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--hub-gold-bright);
  letter-spacing: -0.02em;
}

.hub-stats__label {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hub-main {
  padding-top: 48px;
  position: relative;
}

.hub-section-label {
  text-align: center;
  margin-bottom: 28px;
}

.hub-section-label__kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hub-gold);
  margin-bottom: 10px;
}

.hub-section-label__title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

body.hub-page .hub-card--gold {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.hub-page .hub-card--gold::before {
  background: linear-gradient(180deg, var(--hub-gold-bright), var(--hub-gold-dim));
}

body.hub-page .hub-card--gold:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

body.hub-page .hub-card--gold .hub-card-cta {
  color: var(--hub-gold-bright);
}

body.hub-page .hub-section--lives .hub-section-head h2 {
  color: #f1f5f9;
}

.stamp--hub {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.06);
  color: rgba(255, 255, 255, 0.55);
}

body.hub-page .live-card--hub {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
}

body.hub-page .live-badge--hub {
  color: #fde68a;
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.1);
}

body.hub-page .live-badge--hub .dot {
  background: var(--hub-gold-bright);
  box-shadow: 0 0 12px rgba(244, 217, 99, 0.6);
}

.empty-state--hub {
  border-color: rgba(212, 175, 55, 0.15);
  background: rgba(0, 0, 0, 0.25);
}

.hub-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 32px;
  padding-bottom: 48px;
}

.hub-footer__brand {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.hub-footer__brand strong {
  color: var(--hub-gold-bright);
  letter-spacing: 0.06em;
}

.hub-footer__meta {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.hub-footer__meta a {
  color: var(--hub-gold-bright);
  text-decoration: none;
}

.hub-footer__meta a:hover {
  text-decoration: underline;
}

.hub-footer__sep {
  margin: 0 0.4em;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .site-header-inner--hub {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-brand--hub {
    justify-self: center;
    flex-direction: column;
    align-items: center;
  }

  .site-header-inner--hub .site-header-cta {
    justify-self: center;
  }

  .site-nav--hub {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hub-stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ——— Home minimal (3 entradas + Entrar) ——— */
body.hub-page--minimal {
  min-height: 100vh;
  background-color: #060608;
  /* Fundo bandeira/pista + véus (tapam texto na arte, se existir) + leitura do conteúdo */
  background-image:
    linear-gradient(180deg, rgba(5, 5, 6, 0.68) 0%, rgba(5, 5, 6, 0.9) 100%),
    radial-gradient(ellipse 95% 75% at 12% 96%, rgb(6, 6, 8) 0%, rgba(6, 6, 8, 0.5) 38%, transparent 62%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.5) 0%, transparent 44%),
    radial-gradient(ellipse 70% 45% at 50% -15%, rgba(212, 175, 55, 0.07), transparent),
    url("hero-racing-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 900px) {
  body.hub-page--minimal {
    background-attachment: scroll;
  }
}

.site-header--minimal-home {
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(5, 5, 6, 0.5);
  backdrop-filter: blur(10px);
}

.site-header-inner--minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 22px;
}

.hub-logo-link {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.hub-logo-img {
  height: clamp(96px, 20vw, 168px);
  width: auto;
  max-width: min(420px, 92vw);
  object-fit: contain;
}

.site-header-inner--solo {
  justify-content: space-between;
  align-items: center;
}

.site-header-cta--row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-ghost-gold--link {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.btn-ghost-gold--link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.hub-logo-img--small {
  height: clamp(44px, 11vw, 72px);
  max-width: min(220px, 55vw);
}

.site-header-inner--minimal .site-nav--minimal {
  flex: 1;
  justify-content: center;
  min-width: 200px;
}

.site-header-inner--minimal .site-nav--minimal a {
  font-size: 0.78rem;
  padding: 10px 16px;
}

.hub-main--minimal {
  padding-top: 20px;
  padding-bottom: 48px;
}

.hub-minimal-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 18px 0;
}

.hub-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 148px;
  padding: 26px 18px;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.12s, background 0.15s;
}

.hub-tile:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-2px);
}

.hub-tile__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hub-gold-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-tile__hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 10px;
  font-weight: 500;
}

.hub-footer--minimal {
  padding: 28px 20px 40px;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  background: rgba(5, 5, 6, 0.45);
  backdrop-filter: blur(8px);
}

.hub-footer--minimal p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
}

.hub-footer--minimal a {
  color: var(--hub-gold-bright);
  text-decoration: none;
  font-weight: 600;
}

.hub-footer--minimal a:hover {
  text-decoration: underline;
}

.btn-ghost-gold--current {
  cursor: default;
  opacity: 0.95;
  border-color: rgba(212, 175, 55, 0.75);
  background: rgba(212, 175, 55, 0.1);
}

.hub-main--portal {
  max-width: 520px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.hub-portal-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.hub-portal-lead {
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.hub-portal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-portal-list li {
  margin-bottom: 14px;
}

.hub-portal-link {
  color: var(--hub-gold-bright);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.hub-portal-link:hover {
  border-bottom-color: rgba(212, 175, 55, 0.8);
}

.hub-portal-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.hub-portal-back {
  margin: 32px 0 0;
  font-size: 0.88rem;
}

.hub-portal-back a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.hub-portal-back a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .hub-minimal-tiles {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .site-header-inner--minimal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-header-inner--minimal .site-nav--minimal {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .site-header-inner--minimal .site-header-cta {
    order: 2;
  }
}
