:root {
  --brand-primary: #003399;
  --brand-primary-dark: #002266;
  --brand-primary-light: #1a4db3;
  --brand-accent: #4d7fd9;
  --surface: #ffffff;
  --surface-muted: #f4f7fc;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 51, 153, 0.12);
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background: var(--surface-muted);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  margin-bottom: 0;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-navbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem 0;
}

.site-navbar .navbar-brand {
  align-items: center;
  color: var(--text-primary);
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 0.75rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-navbar .navbar-brand:hover {
  color: var(--brand-primary);
}

.site-navbar .brand-logo {
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.site-navbar .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-navbar .brand-subtitle {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
}

.site-nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav-link:hover,
.site-nav-link.active {
  color: var(--brand-primary);
}

.site-nav-menu {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.site-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0.5rem;
}

.site-nav-toggle span {
  background: var(--text-primary);
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 22px;
}

/* Main */
.page-shell {
  max-width: 1120px;
  padding-bottom: 4rem;
  padding-top: 2rem;
}

/* Hero */
.championship-hero {
  background: linear-gradient(145deg, var(--brand-primary) 0%, var(--brand-primary-dark) 55%, #001a4d 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: #fff;
  overflow: visible;
  padding: 3rem 2.5rem;
  position: relative;
}

.championship-hero::before {
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  border-radius: inherit;
  content: "";
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.championship-hero > .row {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.9rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 1rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 32rem;
}

.hero-club {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.club-logo {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  height: 88px;
  object-fit: contain;
  padding: 0.5rem;
  width: 88px;
}

.hero-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

/* Poll card */
.poll-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: visible;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.poll-card-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
}

.poll-card-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.poll-card-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.form-label {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.12);
}

.btn-vote {
  background: var(--brand-primary);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  transition: background 0.15s ease, transform 0.1s ease;
  width: 100%;
}

.btn-vote:hover {
  background: var(--brand-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-vote:active {
  transform: translateY(0);
}

.alert-success-custom {
  align-items: flex-start;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  color: #065f46;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
}

.vote-success-hint {
  margin-top: 1rem;
}

.alert-success-custom .alert-icon {
  background: #10b981;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  height: 28px;
  line-height: 28px;
  text-align: center;
  width: 28px;
}

/* Steps */
.steps-section {
  margin-top: 3rem;
}

.section-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
}

.step-number {
  align-items: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 36px;
}

.step-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Results */
.results-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  padding: 2.5rem;
}

.results-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.results-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0;
}

.results-header .subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

.total-votes-pill {
  align-items: center;
  background: var(--brand-primary);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  font-weight: 600;
  min-width: 120px;
  padding: 0.75rem 1.25rem;
  text-align: center;
}

.total-votes-pill .count {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.total-votes-pill .label {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.2rem;
  opacity: 0.9;
}

.empty-results {
  color: var(--text-secondary);
  padding: 2rem 0;
  text-align: center;
}

.empty-results-icon {
  color: var(--border);
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.vote-result {
  padding: 1rem 0;
}

.vote-result + .vote-result {
  border-top: 1px solid var(--border);
}

.vote-result.is-leader .vote-result-name {
  color: var(--brand-primary);
}

.vote-result-row {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.vote-result-name {
  align-items: center;
  display: flex;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
}

.leader-badge {
  background: #fef3c7;
  border-radius: 6px;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
}

.vote-result-stats {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.vote-result-stats strong {
  color: var(--text-primary);
}

.progress {
  background: #e8eef7;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: 999px;
  transition: width 0.6s ease;
}

.vote-result.is-leader .progress-bar {
  background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-primary));
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 4rem;
  padding: 1.5rem 0;
}

.site-footer a {
  color: var(--brand-primary);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Combo de times na enquete */
.team-combo {
  position: relative;
}

.team-combo-trigger {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.team-combo-trigger:hover {
  border-color: var(--brand-accent);
}

.team-combo-trigger:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.12);
  outline: none;
}

.team-combo-trigger[aria-expanded="true"] {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.12);
}

.team-combo-value {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 0.75rem;
  min-width: 0;
}

.team-combo-value.is-placeholder .team-combo-value-name {
  color: var(--text-secondary);
  font-weight: 500;
}

.team-combo-value-logo {
  border-radius: 8px;
  flex-shrink: 0;
  height: 36px;
  object-fit: contain;
  width: 36px;
}

.team-combo-value-name {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-combo-chevron {
  border-bottom: 2px solid var(--text-secondary);
  border-right: 2px solid var(--text-secondary);
  flex-shrink: 0;
  height: 8px;
  margin-top: -2px;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  width: 8px;
}

.team-combo-trigger[aria-expanded="true"] .team-combo-chevron {
  margin-top: 2px;
  transform: rotate(-135deg);
}

.team-combo-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  list-style: none;
  margin: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.35rem;
  position: fixed;
  width: auto;
  z-index: 1050;
}

.team-combo-list[hidden] {
  display: none;
}

.team-combo-option {
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  transition: background 0.1s ease;
}

.team-combo-option:hover {
  background: var(--surface-muted);
}

.team-combo-option.selected {
  background: #e8f0ff;
}

.team-combo-option img {
  border-radius: 8px;
  flex-shrink: 0;
  height: 32px;
  object-fit: contain;
  width: 32px;
}

.team-combo-option span {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.teams-showcase-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.teams-showcase-item {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.teams-showcase-item img {
  height: 64px;
  object-fit: contain;
  width: 64px;
}

.teams-showcase-item span {
  font-size: 0.9rem;
  font-weight: 600;
}

.vote-result-logo {
  border-radius: 8px;
  height: 32px;
  object-fit: contain;
  width: 32px;
}

/* Site do campeonato — Home */
.site-hero {
  background: linear-gradient(145deg, var(--brand-primary) 0%, var(--brand-primary-dark) 55%, #001a4d 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: #fff;
  margin-bottom: 2rem;
  overflow: hidden;
  padding: 4rem 2.5rem;
  position: relative;
  text-align: center;
}

/* Hero fullscreen — página inicial */
.site-hero-full {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  overflow: hidden;
  padding: 5.5rem 0 1.75rem;
  position: relative;
}

.site-hero-bg {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.site-hero-bg,
.site-hero-pattern {
  background: linear-gradient(155deg, #001a4d 0%, var(--brand-primary-dark) 35%, var(--brand-primary) 70%, #0a2463 100%);
}

.site-hero-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 80%, rgba(77, 127, 217, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  inset: 0;
  position: absolute;
}

.site-hero-glow {
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(77, 127, 217, 0.35) 0%, transparent 70%);
  inset: 0;
  position: absolute;
}

.site-hero-watermark {
  bottom: -0.05em;
  color: rgba(255, 255, 255, 0.04);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: 4%;
  user-select: none;
}

.site-hero-inner {
  position: relative;
  z-index: 2;
}

.site-hero-copy {
  max-width: 680px;
  text-align: left;
}

.site-hero-full .site-hero-title {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  gap: 0.35em;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.hero-title-main {
  display: inline;
}

.hero-title-year {
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.site-hero-full .site-hero-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  margin-bottom: 1.35rem;
  max-width: 480px;
}

.site-hero-full .site-hero-actions {
  justify-content: flex-start;
}

.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-hero {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
}

.site-hero-stats {
  margin-top: 1.25rem;
  padding-bottom: 0;
  position: relative;
  z-index: 3;
}

.stats-bar-hero {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
  padding: 1rem 1.25rem;
}

.stats-bar-hero .stat-value {
  font-size: 1.5rem;
}

.stats-bar-hero .stat-label {
  font-size: 0.75rem;
}

.hero-scroll-hint {
  display: none;
}

/* Header transparente na home */
body.page-home .site-header-pro {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.page-home .site-header-pro .navbar-brand,
body.page-home .site-header-pro .navbar-brand .brand-text > span:first-child {
  color: #fff;
}

body.page-home .site-header-pro .brand-subtitle,
body.page-home .site-header-pro .site-nav-link {
  color: rgba(255, 255, 255, 0.82);
}

body.page-home .site-header-pro .site-nav-link:hover {
  color: #fff;
}

body.page-home .site-header-pro .site-nav-toggle span {
  background: #fff;
}

body.page-home .site-header-pro.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

body.page-home .site-header-pro.is-scrolled .navbar-brand,
body.page-home .site-header-pro.is-scrolled .navbar-brand .brand-text > span:first-child {
  color: var(--text-primary);
}

body.page-home .site-header-pro.is-scrolled .brand-subtitle,
body.page-home .site-header-pro.is-scrolled .site-nav-link {
  color: var(--text-secondary);
}

body.page-home .site-header-pro.is-scrolled .site-nav-link:hover {
  color: var(--brand-primary);
}

body.page-home .site-header-pro.is-scrolled .site-nav-toggle span {
  background: var(--text-primary);
}

body.page-home .page-shell-home {
  padding-top: 0;
}

.page-shell-home .home-dashboard {
  padding-top: 1.75rem;
}

.site-hero::before {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.site-hero-content {
  margin: 0 auto;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.site-hero-logo {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  height: 100px;
  margin-bottom: 1.5rem;
  object-fit: contain;
  padding: 0.65rem;
  width: 100px;
}

.site-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}

.site-hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.stats-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2.5rem;
  padding: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  color: var(--brand-primary);
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat-value-sm {
  font-size: 1.1rem;
}

.stat-label {
  color: var(--text-secondary);
  display: block;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.home-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 3rem;
}

.home-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  display: block;
  padding: 1.75rem;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.home-card:hover {
  box-shadow: var(--shadow-md);
  color: inherit;
  transform: translateY(-2px);
}

.home-card-highlight {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 1px rgba(0, 51, 153, 0.1);
}

.home-card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.home-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.home-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.home-card-link {
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.home-section {
  margin-bottom: 3rem;
}

.section-header-row {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-link {
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

.results-section-compact {
  margin-top: 0;
}

/* Páginas internas */
.page-banner {
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.page-banner-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.page-banner-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
  max-width: 36rem;
}

.poll-card-standalone {
  position: sticky;
  top: 88px;
}

.empty-state-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.teams-page-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.team-card-large {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.team-card-large:hover {
  box-shadow: var(--shadow-md);
}

.team-card-link {
  color: inherit;
  text-decoration: none;
}

.team-card-link:hover {
  border-color: #c9dcff;
  transform: translateY(-2px);
}

.team-card-link-hint {
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.team-back-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
}

.team-back-link:hover {
  color: var(--brand-primary);
}

.team-detail-header-standalone {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.team-card-large-logo {
  height: 80px;
  object-fit: contain;
  width: 80px;
}

.team-card-large-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.teams-page-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.team-detail-header {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.team-detail-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.team-detail-count {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.team-roster {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-roster-item {
  align-items: center;
  background: var(--surface-muted);
  border-radius: 12px;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
}

.team-roster-photo {
  border-radius: 50%;
  flex-shrink: 0;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.team-roster-photo-empty {
  align-items: center;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: center;
}

.team-roster-meta {
  color: var(--text-secondary);
  display: block;
  font-size: 0.8rem;
}

.cta-banner {
  align-items: center;
  background: linear-gradient(135deg, #e8f0ff, #f4f7fc);
  border: 1px solid #c9dcff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.75rem 2rem;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 2.5rem;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.about-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-club {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-club img {
  height: 64px;
  object-fit: contain;
  width: 64px;
}

.about-list {
  color: var(--text-secondary);
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-list li {
  border-top: 1px solid var(--border);
  padding: 0.65rem 0;
}

.about-list li:first-child {
  border-top: none;
  padding-top: 0;
}

/* Footer expandido */
.footer-grid {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.footer-logo {
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.footer-brand strong {
  display: block;
  font-size: 0.95rem;
}

.footer-brand span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.25rem;
}

.footer-bottom a {
  color: var(--brand-primary);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .site-nav-toggle {
    display: flex;
  }

  .site-nav-menu {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 0.5rem 1rem 1rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav-menu.is-open {
    display: flex;
  }

  .site-nav-link {
    padding: 0.65rem 0;
  }

  .site-header {
    position: sticky;
  }

  .site-navbar {
    flex-wrap: wrap;
    position: relative;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .poll-card-standalone {
    position: static;
  }

  .page-shell {
    padding-top: 1rem;
  }

  .championship-hero {
    border-radius: var(--radius-lg);
    padding: 2rem 1.25rem;
  }

  .hero-club {
    flex-direction: column;
    text-align: center;
  }

  .club-logo {
    height: 72px;
    width: 72px;
  }

  .poll-card,
  .results-section {
    padding: 1.5rem;
  }

  .vote-result-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .home-dashboard {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-matchup-score {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-hero-full {
    padding: 5rem 0 1.25rem;
  }

  .site-hero-copy {
    text-align: center;
  }

  .site-hero-full .site-hero-actions {
    justify-content: center;
  }

  .site-hero-full .site-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .site-hero-watermark {
    bottom: auto;
    font-size: clamp(4rem, 32vw, 7rem);
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
  }

  body.page-home .site-nav-menu .site-nav-link {
    color: var(--text-secondary);
  }

  body.page-home .site-nav-menu .site-nav-link:hover {
    color: var(--brand-primary);
  }
}

/* Portal do campeonato — profissional */
.site-header-pro {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

.site-nav-cta {
  background: var(--brand-primary);
  border-radius: 8px;
  color: #fff !important;
  padding: 0.45rem 0.9rem !important;
}

.site-nav-cta:hover {
  background: var(--brand-primary-dark);
  color: #fff !important;
}

.page-shell-pro {
  max-width: 1200px;
}

.page-banner-compact {
  margin-bottom: 1.75rem;
}

.stats-bar {
  grid-template-columns: repeat(4, 1fr);
}

.home-dashboard {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 280px;
}

.home-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.home-panel-side {
  margin-bottom: 1rem;
}

.quick-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  overflow: hidden;
}

.quick-nav-icon {
  align-items: center;
  color: var(--brand-primary);
  display: inline-flex;
  flex-shrink: 0;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.quick-nav-icon svg {
  height: 100%;
  width: 100%;
}

.quick-nav-item {
  align-items: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  font-weight: 600;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.quick-nav-item:last-child {
  border-bottom: none;
}

.quick-nav-item:hover {
  background: var(--surface-muted);
  color: var(--brand-primary);
}

.quick-nav-highlight {
  background: #e8f0ff;
  color: var(--brand-primary);
}

.poll-leader {
  align-items: center;
  background: var(--surface-muted);
  border-radius: 12px;
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.85rem;
}

.poll-leader img {
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.poll-leader span {
  color: var(--text-secondary);
  display: block;
  font-size: 0.85rem;
}

.championship-table-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.championship-table {
  background: var(--surface);
  font-size: 0.9rem;
  margin: 0;
  width: 100%;
}

.championship-table thead th {
  background: #f8fafc;
  border-bottom: 2px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.championship-table tbody td {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1rem;
  vertical-align: middle;
}

.championship-table tbody tr:last-child td {
  border-bottom: none;
}

.championship-table tbody tr:hover {
  background: #fafbfc;
}

.championship-table .top-row {
  background: #f0f6ff;
}

.championship-table .pos-col {
  color: var(--text-secondary);
  font-weight: 700;
  width: 40px;
}

.championship-table .pts-col {
  color: var(--brand-primary);
}

.table-team {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  font-weight: 600;
}

.table-team img {
  height: 28px;
  object-fit: contain;
  width: 28px;
}

.championship-table-compact tbody td,
.championship-table-compact thead th {
  padding: 0.65rem 0.75rem;
}

.standings-groups {
  display: grid;
  gap: 1.5rem;
}

.standings-groups-home {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.standings-group-card {
  background: #fff;
  border: 1px solid var(--border-subtle, #e8ecf2);
  border-radius: 12px;
  padding: 1rem 1rem 0.25rem;
}

.standings-group-title {
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.stat-pill {
  background: #e8f0ff;
  border-radius: 6px;
  color: var(--brand-primary);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
}

.games-section {
  margin-bottom: 2.5rem;
}

.games-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.games-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
}

.game-card-upcoming {
  border-left: 4px solid var(--brand-accent);
}

.game-card-finished {
  border-left: 4px solid #10b981;
}

.game-meta {
  color: var(--text-secondary);
  display: flex;
  font-size: 0.8rem;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.game-round {
  color: var(--brand-primary);
  font-weight: 600;
}

.game-matchup {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.game-matchup-score {
  justify-content: space-between;
}

.game-team {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 0.5rem;
  min-width: 120px;
}

.game-team img {
  height: 32px;
  object-fit: contain;
  width: 32px;
}

.game-team span {
  font-size: 0.9rem;
  font-weight: 600;
}

.game-team.winner span {
  color: var(--brand-primary);
}

.game-vs {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
}

.game-score {
  align-items: center;
  display: flex;
  font-size: 1.5rem;
  font-weight: 800;
  gap: 0.35rem;
}

.game-score-sep {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.game-location {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin: 0.65rem 0 0;
}

.stats-page-section {
  margin-bottom: 2.5rem;
}

.stats-page-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer-pro {
  background: #0a1628;
  border-top: none;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
}

.site-footer-pro .footer-brand strong {
  color: #fff;
}

.site-footer-pro .footer-brand span,
.site-footer-pro .footer-links a {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer-pro .footer-links a:hover {
  color: #fff;
}

.site-footer-pro .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
}

.site-footer-pro .footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}
