/**
 * RankSports — Design System
 * Tokens: HSL (shadcn-style) + camada de marca (primária / status)
 * Uso: background: hsl(var(--token));
 */

:root {
  /* —— Base (tokens) —— */
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;

  /* Cards */
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;

  /* UI */
  --primary: 142 71% 45%;
  --primary-foreground: 0 0% 100%;

  --secondary: 210 40% 96%;
  --secondary-foreground: 222 47% 11%;

  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;

  --border: 214 32% 91%;
  --input: 214 32% 91%;

  --destructive: 0 84% 60%;

  /* —— Marca / sistema (ações e superfícies de produto) —— */
  /* Hover primário ≈ #16a34a */
  --primary-hover: 142 72% 38%;
  /* Seções / footer ≈ #f8fafc */
  --surface-muted: 210 20% 98%;
  /* Input de busca ≈ #f9fafb */
  --surface-input: 210 20% 98%;
  /* Tags arena: texto #334155 */
  --tag-foreground: 217 25% 27%;

  /* Header / links (hex pedidos) */
  --header-link: #6b7280;
  --header-link-hover: #0f172a;
  --header-link-active: #22c55e;
  --header-border: #e5e7eb;

  /* Hero: mockup diagonal até verde marca */
  --hero-gradient-end: #22c55e;

  /* —— Layout —— */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --transition: 0.25s ease;
  --shadow-md: 0 4px 24px hsl(var(--foreground) / 0.06);
  --shadow-lg: 0 12px 40px hsl(var(--foreground) / 0.08);
  --shadow-nav: 0 4px 24px hsl(var(--foreground) / 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

/* Utilitários de texto (tokens) */
.ah-text-muted {
  color: hsl(var(--muted-foreground)) !important;
}

/* Bootstrap: botão primário = marca */
.btn-primary {
  --bs-btn-color: hsl(var(--primary-foreground));
  --bs-btn-bg: hsl(var(--primary));
  --bs-btn-border-color: hsl(var(--primary));
  --bs-btn-hover-color: hsl(var(--primary-foreground));
  --bs-btn-hover-bg: hsl(var(--primary-hover));
  --bs-btn-hover-border-color: hsl(var(--primary-hover));
  --bs-btn-focus-shadow-rgb: 34, 197, 94;
  --bs-btn-active-color: hsl(var(--primary-foreground));
  --bs-btn-active-bg: hsl(var(--primary-hover));
  --bs-btn-active-border-color: hsl(var(--primary-hover));
  --bs-btn-disabled-bg: hsl(var(--primary) / 0.5);
  --bs-btn-disabled-border-color: hsl(var(--primary) / 0.35);
}

/* ——— Navbar (mockup: logo · centro · perfil) ——— */
.ah-navbar--premium .ah-nav-container {
  position: relative;
  max-width: 1200px;
}

.ah-navbar {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  background: #ffffff;
  border-bottom: 1px solid var(--header-border);
  transition: box-shadow var(--transition), padding var(--transition);
}

.ah-navbar.ah-navbar--solid {
  box-shadow: var(--shadow-nav);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.ah-navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem hsl(var(--primary) / 0.25);
}

.ah-navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f172a'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-size: 1.2rem;
}

@media (max-width: 991.98px) {
  .ah-navbar {
    border-bottom: none;
  }

  .ah-navbar::after {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #15803d, #22c55e);
  }

  .ah-navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0.75rem 0 0;
    padding: 0.75rem 1rem 1rem;
    border-radius: 1.25rem;
    border: 1px solid var(--header-border);
    background: #ffffff;
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.14);
    z-index: 1070;
  }

  .ah-navbar .navbar-collapse .nav-link {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    border-radius: 0.95rem;
    transition: background-color var(--transition), color var(--transition);
  }

  .ah-navbar .navbar-collapse .nav-link:hover,
  .ah-navbar .navbar-collapse .nav-link:focus-visible {
    background: rgba(15, 23, 42, 0.05);
  }

  .ah-navbar .navbar-collapse .ah-nav-pill {
    border-radius: 10px !important;
  }
}

.ah-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.65rem;
}

.ah-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: transparent;
}

.ah-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ah-brand-wordmark {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

@media (min-width: 992px) {
  .ah-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.ah-nav-pill {
  border-radius: 999px !important;
  padding: 0.5rem 1.15rem !important;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #475569 !important;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.ah-nav-pill:hover,
.ah-nav-pill:focus-visible {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.05);
}

.ah-nav-pill.is-active {
  background: rgba(34, 197, 94, 0.14) !important;
  color: #22c55e !important;
}

.ah-nav-link.ah-nav-mobile,
.ah-nav-entrar,
.ah-nav-entrar-desktop {
  color: var(--header-link) !important;
  font-weight: 500;
}

.ah-nav-link.ah-nav-mobile:hover,
.ah-nav-entrar:hover,
.ah-nav-entrar-desktop:hover {
  color: var(--header-link-hover) !important;
}

.ah-nav-link.is-active:not(.ah-nav-pill) {
  color: var(--header-link-active) !important;
}

.ah-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition);
}

.ah-user-chip:hover {
  background: rgba(15, 23, 42, 0.04);
}

.ah-user-chip--toolbar {
  padding: 0;
  border-radius: 50%;
}

.ah-user-chip--toolbar:hover,
.ah-user-chip--toolbar:focus-visible {
  background: rgba(15, 23, 42, 0.06);
}

.ah-user-avatar {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.22);
  color: #15803d;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.ah-user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.ah-user-chevron {
  color: #94a3b8;
  font-size: 0.75rem;
}

.ah-logo-accent {
  color: hsl(var(--primary));
  font-weight: 600;
}

/* ——— Hero (mockup: diagonal escuro → #22c55e, conteúdo centralizado) ——— */
.hero {
  position: relative;
  min-height: clamp(72vh, 86vh, 92vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0b1220 0%, #0f172a 38%, #166534 78%, var(--hero-gradient-end) 100%);
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 12% 18%, rgba(255, 255, 255, 0.06), transparent 52%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.85;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(5.5rem + 2rem) 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .hero__inner {
    padding-left: 80px;
    padding-right: 80px;
    padding-top: calc(5.5rem + 2.75rem);
    padding-bottom: 4.5rem;
    gap: 2.75rem;
  }
}

.hero__content {
  max-width: 48rem;
  text-align: center;
}

.hero__search {
  width: 100%;
  max-width: 1100px;
}

#inicio {
  scroll-margin-top: 5.5rem;
}

.hero-badge {
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #22c55e;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  letter-spacing: 0.02em;
}

.hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.95);
  flex-shrink: 0;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 3.85rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: clamp(3.5rem, 5.5vw, 4.1rem);
  }
}

.hero-highlight {
  display: inline-block;
  color: #22c55e;
  -webkit-text-fill-color: #22c55e;
}

.hero-subtitle {
  max-width: 36rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

/* Barra de busca — glass + pills (mockup) */
.ah-search-shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .ah-search-shell {
    max-width: 1120px;
  }
}

.ah-search-card--glass {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.ah-search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.ah-search-bar__icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 52px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 12px;
  color: #0f172a;
  font-size: 1.2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ah-search-bar__field {
  position: relative;
  flex: 1 1 11rem;
  min-width: 0;
}

.ah-search-bar__field--city .ah-pill-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
  z-index: 2;
  pointer-events: none;
}

.ah-select--bar {
  height: 52px;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 500;
  font-size: 0.9375rem;
  padding-left: 1rem;
  padding-right: 2.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.ah-search-bar__field--city .ah-select--bar {
  padding-left: 2.65rem;
}

.ah-search-bar__field--sport .ah-select--bar {
  padding-left: 1.15rem;
}

.ah-search-bar__field--query {
  position: relative;
  flex: 1 1 100%;
  min-width: 0;
}

.ah-query-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
  z-index: 2;
  pointer-events: none;
}

.ah-input-query {
  height: 52px;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 500;
  font-size: 0.9375rem;
  padding-left: 2.75rem;
  padding-right: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ah-input-query::placeholder {
  color: #94a3b8;
}

.ah-input-query:focus {
  border-color: rgba(34, 197, 94, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.ah-select--bar:focus {
  border-color: rgba(34, 197, 94, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.ah-btn-search-bar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border-radius: 999px !important;
  font-weight: 700;
  font-size: 0.9375rem;
  background: #22c55e !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.ah-btn-search-bar:hover,
.ah-btn-search-bar:focus-visible {
  background: #16a34a !important;
  color: #ffffff !important;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45);
}

.ah-btn-search-bar:active {
  transform: scale(0.98);
}

/* Utilitário legado para outros formulários */
.ah-search-card:not(.ah-search-card--glass) {
  background: #ffffff;
  color: hsl(var(--card-foreground));
  border: 1px solid var(--header-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.ah-input-wrap {
  position: relative;
}

.ah-select {
  height: 56px;
  border: 1px solid hsl(var(--input));
  border-radius: 12px;
  background: hsl(var(--surface-input)) !important;
  color: hsl(var(--foreground)) !important;
  font-weight: 500;
  padding-left: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ah-select:focus {
  border-color: hsl(var(--primary) / 0.45);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.16);
}

.ah-btn-search {
  height: 56px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.ah-btn-search:hover,
.ah-btn-search:focus-visible {
  transform: scale(1.02);
  box-shadow: 0 8px 28px hsl(var(--primary) / 0.35);
}

.ah-btn-search:active {
  transform: scale(0.98);
}

/* ——— Sections ——— */
.ah-section {
  background: hsl(var(--background));
}

.ah-section--alt {
  background: hsl(var(--surface-muted));
}

.ah-border-soft {
  border-color: hsl(var(--border)) !important;
}

.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.ah-section-title {
  font-size: clamp(1.875rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

/* ——— Arena cards ——— */
.ah-arena-card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius-lg) !important;
  border: 1px solid hsl(var(--border)) !important;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ah-arena-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--primary) / 0.35) !important;
}

.ah-arena-card .card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.ah-arena-img-wrap {
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.ah-arena-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  border-radius: inherit;
}

.ah-arena-card:hover .ah-arena-img {
  transform: scale(1.04);
}

.ah-status-dot {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.ah-arena-name {
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}

.arena-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #64748b;
  margin-bottom: 1rem;
}

.arena-location .icon-map-pin {
  color: #64748b;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.ah-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #166534;
  background: #ecfdf5;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
}

.ah-link-action {
  color: hsl(var(--primary)) !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition), gap var(--transition);
}

.ah-link-action:hover,
.ah-link-action:focus-visible {
  color: hsl(var(--primary-hover)) !important;
  gap: 0.5rem;
}

.ah-link-action i {
  transition: transform var(--transition);
}

.ah-link-action:hover i,
.ah-link-action:focus-visible i {
  transform: translateX(4px);
}

/* ——— Footer ——— */
.ah-footer {
  --ah-footer-bg: #0b1121;
  --ah-footer-muted: #9ca3af;
  --ah-footer-rule: rgba(255, 255, 255, 0.12);
  background: var(--ah-footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.ah-footer-inner {
  padding-top: 3rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 992px) {
  .ah-footer-inner {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }
}

.ah-footer-main > [class*="col-"] {
  min-width: 0;
}

.ah-footer-brand {
  color: inherit;
}

.ah-footer .ah-brand-wordmark {
  color: #f8fafc;
}

.ah-footer-brand:hover .ah-brand-wordmark,
.ah-footer-brand:focus-visible .ah-brand-wordmark {
  color: #ffffff;
}

.ah-footer-tagline {
  color: var(--ah-footer-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 22rem;
}

.ah-footer-heading {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: #f8fafc;
}

.ah-footer-link {
  color: var(--ah-footer-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.ah-footer-link:hover,
.ah-footer-link:focus-visible {
  color: #e5e7eb;
}

.ah-footer-link--contact {
  word-break: break-word;
}

.ah-footer-icon {
  color: #22c55e;
  flex-shrink: 0;
}

.ah-footer-rule {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--ah-footer-rule);
  opacity: 1;
}

@media (min-width: 992px) {
  .ah-footer-rule {
    margin: 2.5rem 0;
  }
}

.ah-footer-copy {
  font-size: 0.8125rem;
  color: var(--ah-footer-muted);
}

/* ——— Página Planos (pricing) ——— */
.ah-plans-page {
  padding-top: calc(5.5rem + 2rem);
  padding-bottom: 2rem;
  background: hsl(var(--background));
}

@media (min-width: 992px) {
  .ah-plans-page {
    padding-top: calc(5.5rem + 2.75rem);
  }
}

.ah-plans-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}

.ah-plans-kicker i {
  font-size: 1rem;
}

.ah-plans-title {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  color: hsl(var(--foreground));
  line-height: 1.2;
}

.ah-pricing-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  background: hsl(var(--card));
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
}

.ah-pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.ah-pricing-card--featured {
  border: 2px solid #22c55e;
  padding-top: 2.25rem;
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.14);
}

.ah-pricing-popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #22c55e;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  line-height: 1;
}

.ah-pricing-name {
  font-size: 1.35rem;
  color: hsl(var(--foreground));
}

.ah-pricing-desc {
  line-height: 1.5;
}

.ah-pricing-amount {
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: hsl(var(--foreground));
  line-height: 1.15;
}

.ah-pricing-amount--free {
  font-size: 2.25rem;
}

.ah-pricing-period {
  font-size: 1.1rem;
  vertical-align: baseline;
}

.ah-pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ah-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  line-height: 1.45;
}

.ah-pricing-features .bi-check-circle-fill {
  color: #22c55e;
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.ah-btn-pricing-basic {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0f172a;
  --bs-btn-border-color: #0f172a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1e293b;
  --bs-btn-hover-border-color: #1e293b;
  --bs-btn-focus-shadow-rgb: 15, 23, 42;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1e293b;
  --bs-btn-active-border-color: #1e293b;
}

.ah-btn-pricing-plus {
  --bs-btn-bg: #22c55e;
  --bs-btn-border-color: #22c55e;
  --bs-btn-hover-bg: hsl(var(--primary-hover));
  --bs-btn-hover-border-color: hsl(var(--primary-hover));
}

.letter-spacing {
  letter-spacing: 0.08em;
}

/* ——— Animações ——— */
.ah-fade-in {
  animation: ahFadeIn 0.85s ease forwards;
}

@keyframes ahFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ah-slide-up {
  opacity: 0;
  transform: translateY(24px);
  animation: ahSlideUp 0.7s ease forwards;
}

@keyframes ahSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ah-delay-1 {
  animation-delay: 0.1s;
}
.ah-delay-2 {
  animation-delay: 0.2s;
}
.ah-delay-3 {
  animation-delay: 0.3s;
}
.ah-delay-4 {
  animation-delay: 0.4s;
}

.ah-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ah-reveal.ah-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.ah-reveal-delay-1 {
  transition-delay: 0.05s;
}
.ah-reveal-delay-2 {
  transition-delay: 0.12s;
}
.ah-reveal-delay-3 {
  transition-delay: 0.2s;
}

/* ——— Painel administrativo ——— */
.ah-admin-container {
  max-width: 1100px;
}

.ah-admin-page {
  flex: 1;
  padding-top: 5.5rem;
  padding-bottom: 2rem;
  background: hsl(var(--surface-muted));
  min-height: 60vh;
}

.ah-admin-stat .card-body {
  padding: 1.25rem 1.35rem;
}

.ah-admin-stat-icon {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.35rem;
}

.ah-admin-stat-icon--green {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.ah-admin-stat-icon--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #1d4ed8;
}

.ah-admin-stat-icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: #6d28d9;
}

.ah-admin-pills {
  scrollbar-width: thin;
}

.ah-admin-pills .nav-link {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.ah-admin-pills .nav-link:hover {
  color: #0f172a;
  background: #fff;
  border-color: hsl(var(--border));
}

.ah-admin-pills .nav-link.active {
  color: #0f172a !important;
  background: #fff !important;
  border-color: hsl(var(--border)) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.ah-admin-pills .nav-link i {
  opacity: 0.85;
}

.ah-admin-pills .nav-link.active i {
  color: #1d4ed8;
  opacity: 1;
}

.ah-admin-panel-card {
  background: #fff;
}

.ah-admin-search {
  border-color: hsl(var(--border)) !important;
  background: #fff;
}

.ah-admin-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.ah-admin-badge-active {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #15803d !important;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.35em 0.75em;
}

.ah-admin-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ah-admin-mod-row {
  border-color: hsl(var(--border)) !important;
}

.ah-admin-plan-price {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #166534 !important;
  font-weight: 600;
  font-size: 0.75rem;
}

.ah-admin-table thead th {
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(var(--border));
}

.ah-admin-table tbody tr {
  border-bottom: 1px solid hsl(var(--border) / 0.65);
}

.ah-admin-table tbody tr:last-child {
  border-bottom: none;
}

.ah-admin-table tbody td {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.ah-admin-sub-card {
  border-color: hsl(var(--border)) !important;
}

.ah-user-dropdown .dropdown-item.active,
.ah-user-dropdown .dropdown-item[aria-current="page"] {
  color: hsl(var(--primary));
  font-weight: 600;
  background: rgba(34, 197, 94, 0.08);
}

/* ——— Mobile ——— */
@media (max-width: 991.98px) {
  .ah-search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .ah-search-bar__field {
    flex: 1 1 auto !important;
    width: 100%;
    max-width: none;
  }

  .ah-btn-search-bar {
    width: 100%;
    border-radius: 12px !important;
  }

  .ah-search-card--glass {
    padding: 14px 12px;
  }

  .ah-plans-page .row.g-4 {
    --bs-gutter-y: 1.25rem;
  }

  .ah-pricing-card {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
}

@media (max-width: 767.98px) {
  main .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero__inner {
    padding-left: max(1.125rem, env(safe-area-inset-left));
    padding-right: max(1.125rem, env(safe-area-inset-right));
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8.5vw, 2.15rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero__content {
    text-align: center;
    margin-inline: auto;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .ah-toolbar-action {
    flex: 1 1 100%;
    min-width: 100%;
  }

  main .ah-section .row.g-4 {
    justify-content: center;
  }

  .ah-arenas .ah-section-title {
    font-size: 1.65rem;
  }

  .ah-arena-card {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .ah-arena-img-wrap {
    height: 200px;
  }

  .ah-arena-card .card-body {
    padding: 1.2rem 1.25rem 1.35rem;
  }

  .ah-tag {
    font-size: 0.8125rem;
    padding: 0.45rem 0.95rem;
  }

  .ah-tags {
    gap: 0.5rem !important;
  }

  .ah-footer-inner {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .ah-footer-main {
    row-gap: 1.75rem !important;
  }

  .ah-footer-heading {
    font-size: 1rem;
  }

  .ah-footer-link {
    font-size: 1rem;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
  }

  .ah-footer-tagline {
    font-size: 1rem;
    max-width: none;
  }

  .ah-footer-copy {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

@media (max-width: 575.98px) {
  .ah-search-toolbar {
    flex-direction: column;
  }

  .ah-toolbar-grow {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
