/* ===== IMPORTAÇÕES DE FONTES ===== */
/* Fonte Onest - Design System */
@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-Light.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-Light.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-Light.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-Light.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-Light.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-Light.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-Light.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-Medium.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-Light.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-Light.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-Light.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-Light.ttf') format('truetype');
  font-weight: 600; /* Light - mantendo leveza */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-SemiBold.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-SemiBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/static/fonts/Onest/static/Onest-SemiBold.woff2') format('woff2'),
       url('/static/fonts/Onest/static/Onest-SemiBold.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 100; /* Onest-Thin como padrão - mais fina e refinada */
  line-height: 1.6;
  color: #03045E;
  background-color: #ffffff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== PADRÃO ONEST-THIN PARA TODO O SITE ===== */
/* Todos os elementos herdam font-weight: 100 (Thin) por padrão */
p, span, div, a, li, td, th, label, input, textarea, select, button {
  font-weight: 100; /* Onest-Thin como padrão */
}

/* Títulos - usando pesos mais leves mas mantendo hierarquia */
h1 {
  font-weight: 200; /* ExtraLight para h1 */
}

h2 {
  font-weight: 200; /* ExtraLight para h2 */
}

h3 {
  font-weight: 200; /* ExtraLight para h3 */
}

h4, h5, h6 {
  font-weight: 200; /* ExtraLight para h4-h6 */
}

/* Elementos que precisam de destaque - usar pesos leves */
strong, b {
  font-weight: 300; /* Light para negrito - mais sutil */
}

/* Botões - manter um pouco mais de peso para destaque, mas ainda leve */
.btn {
  font-weight: 200; /* ExtraLight para botões */
}

.btn-primary, .btn-secondary {
  font-weight: 200; /* ExtraLight para botões principais */
}

/* ===== VARIÁVEIS CSS ===== */
:root {
  /* Marca (rebrand 2026-07): navy é a cor estrutural, laranja é AÇÃO (CTA),
     ciano é detalhe raro de movimento (a dupla barra // da logo). */
  --brand-navy: #03045E;
  --brand-cyan: #00B4D8;
  --primary: #FF6600;
  --primary-color: #FF6600; /* Alias para compatibilidade */
  --primary-dark: #E55C00;
  --primary-light: #FF8533;
  --black: #03045E; /* Navy da nova identidade — "escuro da marca" */
  --text-primary: #03045E; /* Cor principal de texto */
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #03045E; /* Navy da marca (era o grafite) */
  --gray-900: #2D2D2D;
  --dark-gray: #03045E;
  --medium-gray: #6c757d;

  --success: #15803d;
  --success-light: #dcfce7;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --warning-dark: #92400e;
  --danger: #dc2626;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius: 2px;
  --radius-lg: 4px;
  
  --transition: all 0.2s ease;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  
  /* Font sizes */
  --font-size-sm: 12px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 36px;
}

/* ===== LAYOUT PRINCIPAL ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  background: rgba(255, 255, 255, 0.7); /* branco com transparência */
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;

  backdrop-filter: blur(10px);       /* aplica o blur */
  -webkit-backdrop-filter: blur(10px); /* compatibilidade Safari */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.logo a:hover {
  transform: scale(1.02);
}

.logo-img {
  /* A arte nova inclui o acento do ô na altura — 20px deixava a wordmark
     miúda. 25px devolve presença sem estourar o navbar. */
  height: 25px;
  width: auto;
  display: block;
}

/* Estilos antigos mantidos para compatibilidade */
.logo-icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-right: var(--spacing-sm);
}

.logo-text {
  font-family: 'Onest', sans-serif;
  font-size: 1.3rem;
  font-weight: 200; /* ExtraLight - refinado mas legível em tamanho grande */
  color: #03045E; /* Texto em cinza escuro */
  letter-spacing: -0.02em; /* Ajuste fino para melhor aparência */
}

.logo-text span {
  color: var(--primary); /* Detalhes em laranja */
}

.logo a:hover {
  transform: scale(1.05);
}

/* ===== NAVEGAÇÃO ===== */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 300; /* Light - melhor legibilidade em links pequenos */
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--gray-100);
}

.nav-link.active {
  color: var(--primary);
  background-color: rgba(255, 102, 0, 0.1);
}

/* ===== BUSCA GLOBAL (cabeçalho) ===== */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 320px;
  margin: 0 16px;
}

.header-search-icon {
  position: absolute;
  left: 12px;
  color: var(--gray-500);
  font-size: 13px;
  pointer-events: none;
}

.header-search-input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--gray-50);
  transition: var(--transition);
}

.header-search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

/* ===== MENU DO USUÁRIO ===== */
.user-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-dropdown {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-700);
  font-weight: 500;
}

.user-btn:hover {
  background-color: var(--gray-100);
  color: var(--black);
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  font-size: 14px;
}

.dropdown-item:hover {
  background-color: var(--gray-100);
  color: var(--black);
}

.dropdown-item i {
  width: 16px;
  text-align: center;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover:not(:disabled) {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background: var(--gray-800);
  color: var(--white);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--black);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  padding: 24px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.card-body {
  padding: 24px;
}

.card-footer {
  padding: 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-100);
}

/* ===== GRIDS ===== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.races-grid,
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* ===== FORMULÁRIOS ===== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--black);
  font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-help {
  margin-top: 4px;
  font-size: 12px;
  color: var(--gray-600);
}

.form-error {
  margin-top: 4px;
  font-size: 12px;
  color: #dc3545;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-section {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-300);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

/* ===== UPLOAD DE ARQUIVOS ===== */
.file-upload {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  color: var(--gray-600);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.file-upload:hover .file-upload-label {
  border-color: var(--primary);
  background: rgba(255, 102, 0, 0.05);
  color: var(--primary);
}

.file-upload-icon {
  font-size: 20px;
}

.file-upload-text {
  font-weight: 500;
}

.file-upload-hint {
  font-size: 12px;
  margin-top: 4px;
  color: var(--gray-600);
}

/* ===== ALERTAS ===== */
.alert {
  padding: 16px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  border-color: #28a745;
  color: #155724;
}

.alert-error {
  background: rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  color: #721c24;
}

.alert-warning {
  background: rgba(255, 193, 7, 0.1);
  border-color: #ffc107;
  color: #856404;
}

.alert-info {
  background: rgba(23, 162, 184, 0.1);
  border-color: #17a2b8;
  color: #0c5460;
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: var(--primary);
  color: var(--white);
}

.badge-secondary {
  background: var(--gray-800);
  color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 32px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  margin-bottom: 24px;
  color: var(--white);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-img {
  /* Mesma razão do .logo-img: o acento do ô ocupa parte da altura da arte. */
  height: 38px;
  width: auto;
  display: block;
}

/* Estilos antigos mantidos para compatibilidade */
.footer-logo-icon {
  font-size: 1.5rem;
  color: var(--primary); /* Ícone em laranja */
}

.footer-logo-text {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 200; /* ExtraLight - mais refinado */
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-logo-text span {
  color: var(--primary); /* Connect em laranja no footer */
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}

.footer-bottom-content {
  text-align: center;
}

.footer-bottom-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== PÁGINAS ESPECÍFICAS ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-background.png') center center / cover no-repeat;
  opacity: 0.12;
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-title {
  font-size: 48px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 64px 0;
}

/* ===== CABEÇALHO DAS PÁGINAS ESTÁTICAS/INFORMATIVAS =====
   Fonte única para o "hero" das páginas como, fale-conosco, sobre, políticas etc.
   Alinhado à identidade atual (igual à home): base clara + fundo geométrico SVG,
   título carvão, cantos retos — substitui o antigo bloco laranja chapado. */
.static-hero {
  width: 100%;
  background: #ffffff url('../images/hero-bg.svg') center center / cover no-repeat;
  padding: 88px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}

.static-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 45%,
              rgba(255, 255, 255, 0.92) 0%,
              rgba(255, 255, 255, 0.55) 55%,
              rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.static-hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.static-hero-title {
  font-size: 48px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.static-hero-accent {
  color: var(--primary);
}

.static-hero-subtitle {
  font-size: 19px;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 400;
  max-width: 680px;
  margin: 0 auto;
}

/* Chips de promessa dentro do static-hero (reusa .hero-trust da home).
   O margin-bottom:56px do .hero-trust é da home — dentro do hero ele
   criava um vão vazio enorme (visível no mobile de /entrega/). */
.static-hero .hero-trust {
  margin-top: 24px;
  margin-bottom: 0;
}

/* Atalho de serviço dentro de um hero (mesma gramática do quadradinho
   laranja = "novo serviço" usada na home) */
.hero-kit-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 11px 18px;
  background: rgba(255, 102, 0, 0.06);
  border: 1px solid rgba(255, 102, 0, 0.4);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--gray-800);
  text-decoration: none;
  transition: var(--transition);
}
/* Dupla barra // da logo: ciano + laranja */
.hero-kit-link .hero-kit-square {
  width: 11px;
  height: 11px;
  position: relative;
  flex-shrink: 0;
}
.hero-kit-link .hero-kit-square::before,
.hero-kit-link .hero-kit-square::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: skewX(-18deg);
}
.hero-kit-link .hero-kit-square::before { left: 1px; background: var(--brand-cyan); }
.hero-kit-link .hero-kit-square::after { left: 7px; background: var(--primary); }
.hero-kit-link strong { color: var(--primary); font-weight: 600; }
.hero-kit-link i { font-size: 12px; color: var(--primary); transition: transform .2s ease; }
.hero-kit-link:hover { border-color: var(--primary); background: rgba(255, 102, 0, 0.1); }
.hero-kit-link:hover i { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .hero-kit-link, .hero-kit-link i { transition: none; }
}

/* Seguir corrida — convite FLUTUANTE, discreto, sobrevoando o rodapé da tela.
   Fora do corpo do conteúdo: uma pílula que "surge" depois de um instante,
   com o sino, uma frase curta e uma única ação. Dispensável (não insiste). */
.follow-fab {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 1000;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: min(460px, calc(100vw - 32px));
  padding: 10px 12px 10px 15px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  transition: transform .28s ease, opacity .28s ease;
}
.follow-fab.is-in { transform: translateX(-50%) translateY(0); opacity: 1; }

.follow-fab__icon { color: var(--primary); font-size: 15px; flex-shrink: 0; }
.follow-fab__text { flex: 1; min-width: 0; margin: 0; color: var(--gray-700); line-height: 1.3; }
.follow-fab__action { margin: 0; flex-shrink: 0; }
.follow-fab__btn {
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.follow-fab__btn:hover { background: var(--primary-dark); }
.follow-fab__close {
  flex-shrink: 0;
  border: 0;
  background: none;
  color: var(--gray-400);
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  transition: color .15s ease;
}
.follow-fab__close:hover { color: var(--gray-600); }

@media (max-width: 560px) {
  .follow-fab {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    transform: translateY(14px);
  }
  .follow-fab.is-in { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .follow-fab { transition: opacity .2s ease; transform: translateX(-50%); }
  .follow-fab.is-in { transform: translateX(-50%); }
  @media (max-width: 560px) {
    .follow-fab, .follow-fab.is-in { transform: none; }
  }
}

/* Mobile: hero COMPACTO (mesmo princípio da home v2 — aparece, mas curto,
   sem empurrar filtros e lista para longe) */
@media (max-width: 768px) {
  .static-hero {
    padding: 36px 20px 30px;
  }
  .static-hero-title {
    font-size: 27px;
    margin-bottom: 10px;
  }
  .static-hero-subtitle {
    font-size: 14.5px;
  }
  .static-hero .hero-trust {
    margin-top: 16px;
    gap: 8px 14px;
  }
  .hero-kit-link {
    margin-top: 16px;
    font-size: 13px;
    padding: 10px 12px;
  }
}
@media (max-width: 480px) {
  .static-hero {
    padding: 30px 16px 26px;
  }
  .static-hero-title {
    font-size: 24px;
  }
}

/* ===== FILTERS SECTION ===== */
.filters-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 0;
}

.filters-container {
  max-width: 1200px;
  margin: 0 auto;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.filters-header h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--black);
}

/* Mobile: filtros viram um CARD branco sobre fundo cinza — padrão único para
   TODAS as vitrines (/corridas/ e /entrega/). Antes vivia inline só na página
   de corridas, e a de entregas renderizava sem o card. Os !important vencem o
   responsive-patterns.css. */
@media (max-width: 768px) {
  .filters-section {
    background: #f8fafc !important;
    padding: 1.5rem 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .filters-container {
    background: var(--white) !important;
    border-radius: 2px !important;
    padding: 1.5rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e2e8f0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .filters-header h3 {
    color: var(--gray-900) !important;
  }
}
@media (max-width: 480px) {
  .filters-section {
    padding: 1rem 0 !important;
  }
  .filters-container {
    padding: 1rem !important;
    border-radius: 2px !important;
  }
}

.filters-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 2px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filters-toggle:hover {
  background: var(--primary-dark);
}

.filters-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-group label {
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  font-size: 14px;
}

.filter-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Campo de pesquisa */
.search-group {
  grid-column: 1 / -1;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-container i {
  position: absolute;
  left: 1rem;
  color: var(--gray-400);
  z-index: 1;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--gray-700);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.1);
}

/* Botões de ação dos filtros */
.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.filter-actions .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.filter-actions .btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.filter-actions .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.filter-actions .btn-outline {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-300);
}

.filter-actions .btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

/* Ocultar page-header decorativo em mobile (carteira etc.).
   O .static-hero AGORA APARECE no mobile em versão compacta (regra acima),
   seguindo o padrão aprovado do hero da home v2. */
@media (max-width: 768px) {
  .page-header {
    display: none !important;
  }
}

/* Responsividade dos filtros */
@media (max-width: 768px) {
  .filters-toggle {
    display: block;
  }
  
  .filters-content {
    display: none;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 1rem;
  }
  
  .filters-content.active {
    display: grid;
  }
  
  .filter-options {
    justify-content: center;
  }
  
  .filter-btn {
    flex: 1;
    min-width: 80px;
  }
  
  .filter-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .filter-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.filter-select {
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  font-size: 14px;
  background: var(--white);
  transition: var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

/* ===== STATS CARDS ===== */
.races-stats,
.announcements-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  position: relative;
}

.stat-icon::after {
  content: '';
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 10px;
  height: 10px;
  background: var(--primary);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

/* ===== ANNOUNCEMENT SPECIFIC STYLES ===== */
.announcement-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 2px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 14px;
}

.announcement-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px 16px 16px;
  color: var(--white);
}

.announcement-stats {
  display: flex;
  gap: 16px;
}

.announcement-stats .stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  opacity: 0.9;
}

.announcement-content {
  padding: 24px;
}

.announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.announcement-race {
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
  flex: 1;
}

.announcement-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gray-100);
  padding: 8px 12px;
  border-radius: 2px;
  margin-left: 16px;
}

.announcement-info {
  margin-bottom: 20px;
}

.announcement-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--gray-600);
  font-size: 14px;
}

.announcement-detail i {
  color: var(--primary);
  width: 16px;
}

.announcement-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-comparison {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.original-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sale-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-value.original {
  text-decoration: line-through;
  color: var(--gray-500);
  font-size: 14px;
}

.announcement-btn {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.announcement-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* ===== AUTH PAGES ===== */
.auth-header-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.auth-header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.auth-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-title {
  font-size: 48px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-subtitle {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
}

.auth-content {
  padding: 80px 0;
  background: var(--white);
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.auth-card {
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 48px;
  width: 100%;
  max-width: 450px;
  border: 1px solid var(--gray-200);
}

.auth-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card-header h2 {
  font-size: 32px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  margin-bottom: 8px;
}

.auth-card-header p {
  color: var(--gray-600);
  font-size: 16px;
}

/* Telas de autenticação (login, cadastro, esqueci/redefinir senha) — regras
   mobile compartilhadas. Antes ficavam duplicadas em cada template. */
@media (max-width: 768px) {
  .auth-content {
    padding: 40px 0;
  }
  .auth-card-header h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  .auth-card-header p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  .form-input {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  /* Ícones continuam visíveis no mobile — o recuo que impede a sobreposição
     vive no responsive-patterns.css (com !important, que é quem manda lá). */
  .form-help {
    font-size: 0.75rem;
  }
  .auth-content .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
  .checkbox-text,
  .terms-link {
    font-size: 0.85rem;
  }
  .auth-footer p,
  .auth-link {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .auth-content {
    padding: 30px 0;
  }
  .auth-card {
    padding: 1.5rem;
  }
  .auth-card-header h2 {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
  }
  .auth-card-header p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }
  .form-input {
    font-size: 0.85rem;
    padding: 0.7rem;
  }
  .form-help {
    font-size: 0.7rem;
    margin-top: 0.2rem;
  }
  .auth-content .btn {
    font-size: 0.85rem;
    padding: 0.7rem 0.9rem;
  }
  .checkbox-text,
  .terms-link {
    font-size: 0.8rem;
  }
  .auth-footer p,
  .auth-link {
    font-size: 0.8rem;
  }
  .info-box {
    font-size: 0.8rem;
    padding: 10px;
  }
}

.auth-form {
  margin-bottom: 32px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--gray-500);
  z-index: 1;
}

.input-group .form-input {
  padding-left: 48px;
}

/* Botão mostrar/ocultar senha (injetado pelo main.js em todo password) */
.input-group.tem-toggle-senha .form-input {
  padding-right: 48px;
}

.toggle-senha {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 10px 12px;
  color: var(--gray-500);
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

.toggle-senha:hover,
.toggle-senha:focus-visible {
  color: var(--gray-700);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-600);
}

.checkbox-input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.forgot-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 32px 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.auth-divider span {
  background: var(--white);
  padding: 0 16px;
  color: var(--gray-500);
  font-size: 14px;
  position: relative;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  background: var(--white);
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.google-btn:hover {
  background: #f8f9fa;
  border-color: #dadce0;
}

.facebook-btn:hover {
  background: #f0f2f5;
  border-color: #1877f2;
  color: #1877f2;
}

.auth-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.auth-footer p {
  color: var(--gray-600);
  font-size: 14px;
}

.auth-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.auth-link:hover {
  text-decoration: underline;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.form-header {
  background: var(--gray-100);
  padding: 32px 48px;
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}

.form-header h2 {
  font-size: 28px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--black);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--gray-600);
  font-size: 16px;
}

.form {
  padding: 48px;
}

.form-section {
  margin-bottom: 48px;
}

.percurso-item {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--gray-200);
}

.btn-remove-percurso {
  padding: 8px 12px;
  min-width: auto;
  height: auto;
}

.btn-add-percurso {
  margin-top: 16px;
  width: 100%;
  max-width: 300px;
}

.form-help {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 4px;
  display: block;
}

.section-title {
  font-size: 20px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  
  .races-grid,
  .announcements-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Header mobile em 2 colunas x 2 linhas, tudo alinhado:
       coluna esquerda:  [logo]            / [nome do usuário]
       coluna direita:   [🔔 sino]         / [🔍 lupa]
     Sino e lupa alinhados à direita (um sobre o outro); logo e nome à esquerda.
     O sino é posicionado de forma absoluta porque, no DOM, ele está dentro de
     .user-menu — o absolute permite colocá-lo no topo-direito sem reestruturar
     o HTML (e sem afetar o desktop). */
  .header-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo logo"
      "user lupa";
    align-items: center;
    row-gap: 12px;
    padding: 14px 0;
    min-height: 0;
  }

  .header-content > .logo {
    grid-area: logo;
    justify-self: center;
  }

  .header-content > .user-menu {
    grid-area: user;
    justify-self: start;
  }

  .header-content > .mobile-header-actions {
    grid-area: lupa;
    justify-self: end;
  }

  /* Sino: topo-direito, na mesma coluna/alinhamento da lupa (logo abaixo dele). */
  .header-content .notifications-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
  }

  .nav-list {
    gap: 16px;
  }
  
  .nav-link {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  .races-grid,
  .announcements-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer {
    padding: 60px 0 24px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .page-title {
    font-size: 30px;
  }
  
  .form {
    padding: 24px;
  }
  
  /* Hero responsive */
  .hero {
    padding: 80px 0;
    min-height: auto;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 24px;
  }
  
  .hero-graphic {
    width: 250px;
    height: 250px;
  }
  
  .running-figure i {
    font-size: 80px;
  }
  
  /* Search responsive */
  .search-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .search-btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Quick access responsive */
  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* Featured races responsive */
  .featured-races-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Categories responsive */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* Testimonials responsive */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Features responsive */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .section-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .section-header .section-title {
    text-align: center;
  }
  
  /* CTA responsive */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-content h2 {
    font-size: 28px;
  }
  
  /* Mobile menu */
  .mobile-menu-toggle {
    display: block;
  }

  .mobile-search-toggle {
    display: flex;
    align-items: center;
  }

  .nav {
    display: none;
  }

  /* Sem esta regra, o clique no hambúrguer alternava a classe "active" mas
     nada na tela reagia — o menu mobile (links + busca) ficava inacessível. */
  .nav.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    gap: 12px;
    padding: 12px 0;
  }

  .nav.active .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .nav.active .header-search {
    max-width: none;
    margin: 0;
  }

  .user-menu {
    order: 1;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .card-body {
    padding: 16px;
  }
  
  .page-header {
    padding: 48px 0;
  }
  
  .page-content {
    padding: 24px 0;
  }
  
  /* Hero mobile */
  .hero-title {
    font-size: 32px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-graphic {
    width: 200px;
    height: 200px;
  }
  
  .running-figure i {
    font-size: 60px;
  }
  
  .floating-card {
    display: none;
  }
  
  /* Quick access mobile */
  .quick-access-grid {
    grid-template-columns: 1fr;
  }
  
  /* Categories mobile */
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  /* Popular races mobile */
  .popular-races-grid {
    grid-template-columns: 1fr;
  }
  
  .popular-race-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  
  .search-title {
    font-size: 24px;
  }
  
  /* Filters mobile */
  .filters-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .filters-toggle {
    display: block;
  }
  
  /* Stats mobile */
  .races-stats,
  .announcements-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Auth mobile */
  .auth-title {
    font-size: 32px;
  }
  
  .auth-card {
    padding: 32px 24px;
  }
  
  .social-login {
    gap: 8px;
  }
  
  .social-btn {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  /* Logo mobile */
  .logo-text {
    font-size: 1rem !important;
  }
  
  .logo-icon {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 360px) {
  /* Logo mobile pequeno */
  .logo-text span:not(.first-letter) {
    display: none !important;
  }
  
  .logo-text span::before {
    content: "C" !important;
  }
}

/* ===== UTILITÁRIOS ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ===== ANIMAÇÕES ===== */
/* ===== RACE SUBTITLE STYLING ===== */
.race-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.race-subtitle i {
    font-size: 0.75rem;
    color: var(--primary);
    width: 14px;
    text-align: center;
}

.race-subtitle .separator {
    color: var(--gray-400);
    font-weight: 400;
    margin: 0 0.25rem;
}

.race-subtitle span {
    color: var(--gray-700);
    font-weight: 300; /* Light - para elementos que precisam de destaque */
}

/* Responsivo para race-subtitle */
@media (max-width: 768px) {
    .race-subtitle {
        font-size: 0.8rem;
        gap: 0.375rem;
        margin-top: 0.375rem;
        margin-bottom: 1.25rem;
    }
    
    .race-subtitle i {
        font-size: 0.7rem;
        width: 12px;
    }
}

@media (max-width: 480px) {
    .race-subtitle {
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .race-subtitle .separator {
        margin: 0 0.125rem;
    }
}

/* ===== ANÚNCIOS GERAIS ===== */
.anuncios-gerais-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.anuncios-gerais-header {
    margin-bottom: 1rem;
}

.anuncios-gerais-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 300; /* Light - para elementos que precisam de destaque */
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.anuncios-gerais-title i {
    color: var(--primary);
    font-size: 0.9rem;
}

.anuncios-gerais-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.anuncios-gerais-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.anuncios-gerais-actions {
    flex-shrink: 0;
}

/* Responsivo para anúncios gerais */
@media (max-width: 768px) {
    .anuncios-gerais-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .anuncios-gerais-actions {
        width: 100%;
    }
    
    .anuncios-gerais-actions .btn {
        width: 100%;
    }
}

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

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* ===== ANIMAÇÕES DE SCROLL ===== */
/* Estados iniciais - elementos invisíveis */
.scroll-animate {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animação fade-in */
.scroll-fade-in {
  transform: translateY(30px);
}

.scroll-fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Animação slide-up */
.scroll-slide-up {
  transform: translateY(50px);
}

.scroll-slide-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Animação slide-left */
.scroll-slide-left {
  transform: translateX(-50px);
}

.scroll-slide-left.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Animação slide-right */
.scroll-slide-right {
  transform: translateX(50px);
}

.scroll-slide-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Animação scale-in */
.scroll-scale-in {
  transform: scale(0.9);
}

.scroll-scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

/* Animação rotate-in */
.scroll-rotate-in {
  transform: rotate(-5deg) scale(0.95);
}

.scroll-rotate-in.animate {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Animações escalonadas para elementos em grupo */
.scroll-stagger-1 { transition-delay: 0.1s; }
.scroll-stagger-2 { transition-delay: 0.2s; }
.scroll-stagger-3 { transition-delay: 0.3s; }
.scroll-stagger-4 { transition-delay: 0.4s; }
.scroll-stagger-5 { transition-delay: 0.5s; }
.scroll-stagger-6 { transition-delay: 0.6s; }
.scroll-stagger-7 { transition-delay: 0.7s; }
.scroll-stagger-8 { transition-delay: 0.8s; }

/* Animações específicas para diferentes tipos de conteúdo */
.scroll-card {
  transform: translateY(40px) scale(0.95);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-card.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-header {
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.scroll-icon {
  transform: scale(0.5) rotate(-10deg);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-icon.animate {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Animações para mobile - mais sutis */
@media (max-width: 768px) {
  .scroll-animate {
    transition: all 0.6s ease-out;
  }
  
  .scroll-fade-in,
  .scroll-slide-up {
    transform: translateY(20px);
  }
  
  .scroll-slide-left {
    transform: translateX(-30px);
  }
  
  .scroll-slide-right {
    transform: translateX(30px);
  }
  
  .scroll-card {
    transform: translateY(25px) scale(0.98);
  }
  
  .scroll-header {
    transform: translateY(20px);
  }
  
  .scroll-icon {
    transform: scale(0.8) rotate(-5deg);
  }
}

/* Desabilitar animações para usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-fade-in,
  .scroll-slide-up,
  .scroll-slide-left,
  .scroll-slide-right,
  .scroll-scale-in,
  .scroll-rotate-in,
  .scroll-card,
  .scroll-header,
  .scroll-icon {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== ESTADOS DE CARREGAMENTO ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== HERO SECTION MINIMALISTA ===== */
.hero-minimal {
  background: #ffffff url('../images/hero-bg.svg') center center / cover no-repeat;
  padding: 100px 0 80px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

/* Véu branco leve só nos flancos para garantir contraste do texto central,
   sem apagar a arte vetorial das bordas (o SVG já é sutil). */
.hero-minimal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 75% at 50% 45%,
              rgba(255, 255, 255, 0.92) 0%,
              rgba(255, 255, 255, 0.55) 55%,
              rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.hero-minimal-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-minimal-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
  color: #03045E;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-accent {
  color: var(--primary);
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.hero-minimal-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-minimal-cta {
  margin-bottom: 60px;
}

.hero-minimal-cta .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
}

/* Busca na hero — converte melhor que um botão: a intenção é "achar minha corrida" */
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  margin: 0 auto 24px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 6px 6px 6px 16px;
  box-shadow: 0 4px 20px rgba(3, 4, 94, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(255, 102, 0, 0.15);
}

.hero-search-icon {
  color: var(--gray-500);
  font-size: 16px;
  flex-shrink: 0;
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--black);
  background: transparent;
  padding: 10px 4px;
}

.hero-search-input::placeholder {
  color: var(--gray-500);
}

.hero-search-btn {
  flex-shrink: 0;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
}

/* Selos de confiança — diferencial vs. revenda informal no WhatsApp/Facebook */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 56px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

.hero-trust-item i {
  color: var(--primary);
  font-size: 14px;
}

@media (max-width: 600px) {
  .hero-search {
    flex-wrap: wrap;
    padding: 12px;
  }
  .hero-search-input { width: 100%; padding: 8px 4px; }
  .hero-search-btn { width: 100%; }
  .hero-trust { gap: 8px 16px; }
  .hero-trust-item { font-size: 13px; }
}

/* ===== TICKER DE PRÓXIMAS CORRIDAS ===== */
.races-ticker {
  display: flex;
  align-items: stretch;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.races-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px 20px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.races-ticker-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.races-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}

.races-ticker:hover .races-ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}

.ticker-item:hover { color: var(--white); }

.ticker-name { font-weight: 600; }

.ticker-date {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.ticker-badge {
  background: rgba(255, 102, 0, 0.18);
  color: var(--primary-light);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: var(--radius);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .races-ticker-track { animation: none; }
}

.hero-minimal-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid #f0f0f0;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-stat-number {
  font-size: 36px;
  font-weight: 500;
  color: #03045E;
  line-height: 1;
}

.hero-stat-label {
  font-size: 14px;
  color: #6c757d;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: #e5e5e5;
}

/* Responsividade Hero Minimalista */
@media (max-width: 768px) {
  .hero-minimal {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-minimal {
    display: none !important;
  }
}

/* ===== HERO SECTION ANTIGO (mantido para compatibilidade) ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 56px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title .highlight {
  color: var(--white);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #03045E;
}

.stat-number {
  font-size: 32px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  line-height: 1;
  margin-bottom: 4px;
  color: #03045E;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 500;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-graphic {
  position: relative;
  width: 300px;
  height: 300px;
}

.running-figure {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.running-figure i {
  font-size: 100px;
  color: var(--white);
  opacity: 0.9;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.floating-card {
  position: absolute;
  background: var(--white);
  color: var(--primary);
  padding: 12px 16px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 16px;
}

.card-1 {
  top: 20%;
  right: -20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 30%;
  left: -30px;
  animation-delay: 1s;
}

.card-3 {
  top: 60%;
  right: -40px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ===== SEARCH SECTION ===== */
.search-section {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}


.search-title {
  font-size: 32px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--black);
  margin-bottom: 32px;
}

.search-form {
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.search-fields {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field i {
  position: absolute;
  left: 16px;
  color: var(--gray-500);
  z-index: 1;
}

.search-input,
.search-select {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid var(--gray-200);
  border-radius: 2px;
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
}

.search-input:focus,
.search-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.search-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.3);
}

/* ===== QUICK ACCESS ===== */
.quick-access {
  padding: 40px 0;
  background: var(--gray-100);
}

.quick-access-header {
  text-align: center;
  margin-bottom: 40px;
}

.quick-access-header h2 {
  font-size: 28px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 8px;
}

.quick-access-header p {
  font-size: 16px;
  color: var(--gray-600);
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.quick-access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border-radius: 2px;
  text-decoration: none;
  color: var(--black);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.quick-access-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  color: var(--primary);
}

.quick-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

.quick-access-item span {
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 14px;
  text-align: center;
}

/* ===== FEATURED RACES ===== */
.featured-races {
  padding: 80px 0;
  background: var(--white);
}

.featured-races-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.featured-race-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.featured-race-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.race-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.race-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.race-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 2px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 14px;
}

.race-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px 16px 16px;
  color: var(--white);
}

.race-stats {
  display: flex;
  gap: 16px;
}

.race-stats .stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  opacity: 0.9;
}

.race-content {
  padding: 24px;
}

.race-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.race-name {
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
  flex: 1;
}

.race-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gray-100);
  padding: 8px 12px;
  border-radius: 2px;
  margin-left: 16px;
}

.date-day {
  font-size: 18px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--primary);
  line-height: 1;
}

.date-month {
  font-size: 12px;
  color: var(--gray-600);
  text-transform: uppercase;
  font-weight: 500;
}

.race-info {
  margin-bottom: 20px;
}

.race-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--gray-600);
  font-size: 14px;
}

.race-detail i {
  color: var(--primary);
  width: 16px;
}

.race-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-info {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.price-value {
  font-size: 20px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--primary);
}

.race-btn {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.race-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 64px 0;
  background: var(--gray-100);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 12px;
  }
}

.category-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  color: var(--black);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  color: var(--primary);
}

.category-icon {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--black);
  position: relative;
  transition: var(--transition);
}

.category-icon::after {
  content: '';
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 11px;
  height: 11px;
  background: var(--primary);
}

.category-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.category-card:hover .category-icon {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.category-card h3 {
  font-size: 24px;
  font-weight: 300; /* Light - mantendo leveza */
  margin-bottom: 8px;
}

.category-card p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 14px;
}

.category-count {
  color: var(--primary);
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 14px;
}

/* ===== TRUST SECTION ===== */
.trust-section {
  padding: 64px 0;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.trust-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Barra laranja no topo no hover — mesmo tratamento dos cards de categoria */
.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.trust-card:hover::before {
  transform: scaleX(1);
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.trust-icon {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--black);
  position: relative;
  transition: var(--transition);
}

.trust-icon::after {
  content: '';
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 11px;
  height: 11px;
  background: var(--primary);
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Ícone inverte no hover, igual aos cards de categoria */
.trust-card:hover .trust-icon {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.trust-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  margin-bottom: 2px;
}

.author-handle {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 80px 0;
  background: var(--gray-100);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--black);
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon i {
  font-size: 32px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== RACE CARDS ===== */
.race-card,
.announcement-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.race-card:hover,
.announcement-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.race-header,
.announcement-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--gray-200);
}

.race-name,
.announcement-race {
  font-size: 20px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  margin-bottom: 8px;
}

.race-distance,
.announcement-distance {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.race-info,
.announcement-info {
  padding: 16px 24px;
}

.race-detail,
.announcement-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray-600);
  font-size: 14px;
}

.race-detail:last-child,
.announcement-detail:last-child {
  margin-bottom: 0;
}

.race-detail i,
.announcement-detail i {
  width: 16px;
  color: var(--primary);
}

.race-footer,
.announcement-footer {
  padding: 16px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.race-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-value {
  font-size: 18px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
}

.price-value.highlight {
  color: var(--primary);
}

/* ===== ANNOUNCEMENT SPECIFIC ===== */
.announcement-pricing {
  padding: 16px 24px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.price-comparison {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.original-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sale-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.discount-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.announcement-stats {
  display: flex;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gray-500);
  font-size: 12px;
}

.stat i {
  color: var(--primary);
}

/* ===== RECENT SECTIONS ===== */
.recent-races,
.recent-announcements {
  padding: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.section-header .section-title {
  margin-bottom: 0;
  text-align: left;
}

/* ===== POPULAR RACES ===== */
.popular-races {
  padding: 80px 0;
  background: var(--white);
}

.popular-races-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.popular-race-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: 2px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.popular-race-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.race-date-range {
  flex-shrink: 0;
  text-align: center;
}

.date-text {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

.race-info {
  flex: 1;
}

.race-name {
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 4px;
  line-height: 1.3;
}

.race-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray-600);
}

.race-location i {
  font-size: 12px;
  color: var(--primary);
}

.race-stats {
  flex-shrink: 0;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 20px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

/* ===== FLUXO DE ANÚNCIO - BUYTICKET STYLE ===== */

/* Flow Steps */
.flow-steps {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0 40px 0;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
  padding: 0 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  min-width: 80px;
  flex: 1;
  max-width: 120px;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  right: -8px;
  width: 16px;
  height: 2px;
  background: var(--gray-300);
  z-index: 1;
}

.step.completed:not(:last-child)::after {
  background: var(--primary);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 14px;
  background: var(--gray-200);
  color: var(--gray-600);
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
  z-index: 2; /* fica ACIMA da linha conectora (::after), que tem z-index:1 */
}

.step.active .step-number {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.step.completed .step-number {
  background: var(--black);
  color: var(--white);
}

.step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}

.step.active .step-label {
  color: var(--primary);
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.step.completed .step-label {
  color: var(--black);
  font-weight: 500;
}

/* Ajustes para telas muito grandes - aumentar tamanho dos elementos */
@media (min-width: 1100px) {
  .steps-container {
    gap: 20px;
    max-width: 1400px;
  }
  
  .step {
    min-width: 100px;
    max-width: 140px;
  }
  
  .step:not(:last-child)::after {
    width: 20px;
    right: -10px;
  }
  
  .step-number {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  
  .step-label {
    font-size: 14px;
  }
}

/* Responsive adjustments for flow steps — versão compacta em linha única,
   evita empilhar os passos verticalmente (o que tomava ~280-300px de altura
   e escondia o conteúdo da tela em mobile). */
@media (max-width: 770px) {
  .flow-steps {
    padding: 14px 0 18px 0;
  }

  .steps-container {
    gap: 2px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .step {
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    max-width: none;
    flex: 1;
    padding: 0;
    background: transparent;
    border: none;
    gap: 4px;
  }

  .step.active {
    background: transparent;
    border: none;
  }

  .step:not(:last-child)::after {
    top: 13px;
    right: -50%;
    width: 100%;
  }

  .step-number {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .step-label {
    font-size: 10px;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
  }
}


/* Search Event Container */
.search-event-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.search-header {
  text-align: center;
  margin-bottom: 40px;
}

.search-header h2 {
  font-size: 32px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 12px;
}

.search-header p {
  font-size: 18px;
  color: var(--gray-600);
}

.search-form-container {
  background: var(--white);
  border-radius: 2px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.search-field-large {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border-radius: 2px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}

.search-field-large:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.search-field-large i {
  position: absolute;
  left: 20px;
  color: var(--gray-500);
  font-size: 18px;
  z-index: 2;
}

.search-field-large input {
  flex: 1;
  padding: 20px 20px 20px 60px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--gray-800);
  outline: none;
}

.search-field-large input::placeholder {
  color: var(--gray-500);
}

.search-field-large .search-btn {
  margin: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  cursor: pointer;
  transition: var(--transition);
}

.search-field-large .search-btn:hover {
  background: var(--primary-dark);
}

/* Search Results */
.search-results {
  margin-top: 24px;
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.results-header {
  padding: 20px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.results-header h3 {
  font-size: 18px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin: 0;
}

.results-list {
  max-height: 400px;
  overflow-y: auto;
}

/* Lista de resultados em GRID de cards (igual à vibe do card da home) */
.results-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.result-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.result-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Imagem no topo — reaproveita .race-image / .race-image-placeholder do card padrão */
.result-item .race-image { height: 160px; }

.result-distance-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.result-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-title {
  font-size: 17px;
  font-weight: 400;
  color: var(--gray-800);
  margin: 0;
  line-height: 1.3;
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-details span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
}

.result-details i {
  color: var(--primary);
  font-size: 12px;
  width: 14px;
  text-align: center;
}

.result-select-btn {
  width: 100%;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results-content i {
  font-size: 48px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.no-results-content h3 {
  font-size: 24px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 12px;
}

.no-results-content p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* Market Info */
.market-info {
  background: var(--gray-50);
  padding: 60px 0;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

.info-content h3 {
  font-size: 18px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 4px;
}

.info-content p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
}

/* Event Details */
.event-details-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.event-card {
  background: var(--white);
  border-radius: 2px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.event-header {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.event-image {
  width: 120px;
  height: 120px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 48px;
}

.event-info {
  flex: 1;
}

.event-name {
  font-size: 28px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 16px;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--gray-600);
}

.detail-item i {
  color: var(--primary);
  width: 16px;
}

.event-badges {
  display: flex;
  gap: 8px;
}

.event-badge {
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.event-badge.primary {
  background: var(--primary-light);
  color: var(--primary);
}

.event-badge.secondary {
  background: var(--gray-200);
  color: var(--gray-700);
}

.event-description,
.event-kit {
  margin-bottom: 24px;
}

.event-description h3,
.event-kit h3 {
  font-size: 18px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 8px;
}

.event-description p,
.event-kit p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

.pricing-warning {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--warning-light);
  border: 1px solid var(--warning);
  border-radius: 2px;
}

.pricing-warning i {
  color: var(--warning);
  font-size: 24px;
  flex-shrink: 0;
}

.warning-content h4 {
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--warning-dark);
  margin-bottom: 4px;
}

.warning-content p {
  font-size: 14px;
  color: var(--warning-dark);
  margin: 0;
  line-height: 1.5;
}

.action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Security Info */
.security-info {
  background: var(--gray-50);
  padding: 60px 0;
}

.security-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.security-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.security-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.security-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

.security-content h3 {
  font-size: 18px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 4px;
}

.security-content p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
}

/* Event Summary */
.event-summary {
  background: var(--gray-50);
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

.summary-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.summary-content h3 {
  font-size: 24px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 8px;
}

.summary-details {
  display: flex;
  gap: 20px;
}

.summary-details span {
  font-size: 16px;
  color: var(--gray-600);
}

/* Selection Container */
.selection-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.selection-header {
  text-align: center;
  margin-bottom: 40px;
}

.selection-header h2 {
  font-size: 32px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 12px;
}

.selection-header p {
  font-size: 18px;
  color: var(--gray-600);
}

.percurso-selection {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.percurso-card {
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.percurso-card:hover {
  box-shadow: var(--shadow-md);
}

.percurso-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: var(--gray-50);
}

.percurso-info h3 {
  font-size: 20px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 4px;
}

.percurso-details {
  font-size: 14px;
  color: var(--gray-600);
}

.preco-original {
  font-weight: 500;
}

.percurso-form {
  padding: 24px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.percurso-preview {
  background: var(--gray-50);
  border-radius: 2px;
  padding: 16px;
  margin: 16px 0;
}

.preview-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-price .preview-label,
.preview-economy .economy-label {
  font-size: 14px;
  color: var(--gray-600);
  display: block;
  margin-bottom: 4px;
}

.preview-value {
  font-size: 18px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--primary);
}

.economy-value.positive {
  color: var(--success);
}

.economy-value.negative {
  color: var(--danger);
}

.percurso-actions-form {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.selection-info {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 20px;
}

.selection-info .info-card {
  display: flex;
  gap: 16px;
}

.selection-info .info-icon {
  color: var(--primary);
  font-size: 24px;
  flex-shrink: 0;
}

.selection-info .info-content h4 {
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  margin-bottom: 4px;
}

.selection-info .info-content p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

/* Confirmation */
.confirmation-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.confirmation-header {
  text-align: center;
  margin-bottom: 40px;
}

.confirmation-header h2 {
  font-size: 32px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 12px;
}

.confirmation-header p {
  font-size: 18px;
  color: var(--gray-600);
}

.confirmation-card {
  background: var(--white);
  border-radius: 2px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.confirmation-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.event-summary h3 {
  font-size: 24px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 16px;
}

.inscription-summary h4 {
  font-size: 20px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 16px;
}

.inscription-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .label {
  font-size: 16px;
  color: var(--gray-600);
}

.detail-row .value {
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
}

.detail-row .value.highlight {
  color: var(--primary);
  font-size: 18px;
}

.detail-row .value.economy {
  color: var(--success);
  font-size: 18px;
}

.security-rules {
  background: var(--white);
  border-radius: 2px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.security-rules h3 {
  font-size: 24px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 24px;
  text-align: center;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rule-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rule-item i {
  color: var(--success);
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.rule-content h4 {
  font-size: 18px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 4px;
}

.rule-content p {
  font-size: 16px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

/* Market Notice */
.market-notice {
  background: var(--warning-light);
  border-top: 1px solid var(--warning);
  padding: 20px 0;
}

.notice-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 0 20px;
}

.notice-icon {
  color: var(--warning);
  font-size: 24px;
  flex-shrink: 0;
}

.notice-text h4 {
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--warning-dark);
  margin-bottom: 4px;
}

.notice-text p {
  font-size: 14px;
  color: var(--warning-dark);
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .search-field-large {
    flex-direction: column;
    align-items: stretch;
  }

  /* Lupa dentro do input (sem o bug de sobrepor o texto no layout em coluna) */
  .search-field-large > i {
    top: 18px;
    left: 16px;
  }

  .search-field-large input {
    padding: 16px 16px 16px 44px;
  }

  .search-field-large .search-btn {
    margin: 0;
    border-radius: 0 0 2px 2px;
    width: 100%;
  }

  .event-header {
    flex-direction: column;
    text-align: center;
  }

  .event-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }

  /* .result-item já é card em coluna (imagem no topo + corpo); sem override extra */
  .result-details {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .preview-content {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .percurso-actions-form {
    justify-content: stretch;
  }
  
  .percurso-actions-form .btn {
    flex: 1;
  }
}

/* ===== PRICE CONFIGURATION SCREEN ===== */

.price-config-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
}

.price-header {
  text-align: center;
  margin-bottom: 24px;
}

.price-header h2 {
  font-size: 32px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  margin-bottom: 16px;
}

.ticket-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ticket-category {
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 2px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 16px;
}

.ticket-date {
  color: var(--gray-600);
  font-size: 16px;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.event-date,
.event-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 16px;
}

.event-date i,
.event-location i {
  color: var(--primary);
}

.price-config-form {
  background: var(--white);
  border-radius: 2px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.quantity-section,
.price-section {
  margin-bottom: 32px;
}

.quantity-section:last-child,
.price-section:last-child {
  margin-bottom: 0;
}

.quantity-section h3,
.price-section h3 {
  font-size: 20px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  margin-bottom: 16px;
}

.price-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-600);
}

.quantity-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.quantity-input {
  width: 80px;
  height: 40px;
  border: 2px solid var(--gray-300);
  border-radius: 2px;
  text-align: center;
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
  background: var(--white);
}

.quantity-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.quantity-help {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

.price-input-container {
  position: relative;
  margin-bottom: 24px;
}

.currency-symbol {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-600);
  z-index: 2;
}

.price-input {
  width: 100%;
  height: 60px;
  border: 2px solid var(--gray-300);
  border-radius: 2px;
  padding: 0 16px 0 60px;
  font-size: 24px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
}

.price-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.price-slider-container {
  margin-bottom: 24px;
}

.slider-track {
  position: relative;
  height: 8px;
  background: var(--gray-200);
  border-radius: 2px;
  margin-bottom: 12px;
}

.slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: width 0.2s ease;
}

.price-slider {
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.price-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-500);
}

.price-info {
  background: var(--gray-50);
  border-radius: 2px;
  padding: 20px;
}

.revenue-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.revenue-label {
  font-size: 16px;
  color: var(--gray-600);
}

.revenue-value {
  font-size: 20px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--success);
}

.market-info {
  text-align: center;
}

.market-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.market-status i {
  font-size: 18px;
  color: var(--primary);
}

.market-text {
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-800);
}

.market-description {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

/* Market status colors */
.market-info.low-price .market-status i {
  color: var(--success);
}

.market-info.high-price .market-status i {
  color: var(--warning);
}

.market-info.very-high-price .market-status i {
  color: var(--danger);
}

/* Responsive */
@media (max-width: 768px) {
  .price-config-form {
    padding: 24px;
  }
  
  .price-header h2 {
    font-size: 28px;
  }
  
  .ticket-type {
    flex-direction: column;
    gap: 8px;
  }
  
  .event-details {
    gap: 12px;
  }
  
  .price-input {
    font-size: 20px;
    height: 50px;
  }
  
  .currency-symbol {
    font-size: 20px;
  }
  
  .revenue-info {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #e55a00 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 300; /* Light - mantendo leveza */
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FLASH MESSAGES ===== */
.flash-messages {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
}

.flash-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease-out;
}

.flash-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.flash-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  opacity: 0.7;
  transition: var(--transition);
}

.flash-close:hover {
  opacity: 1;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== MOBILE MENU ===== */
/* Agrupa lupa + hambúrguer lado a lado (só aparece no mobile). */
.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Busca do header no mobile — lupa sempre visível + barra expansível.
   Some no desktop (lá já existe a .header-search). */
.mobile-search-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gray-700);
  font-size: 18px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: var(--radius);
}

.mobile-search-toggle:hover {
  background-color: var(--gray-100);
  color: var(--primary);
}

.mobile-search-bar {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0 4px;
}

.mobile-search-bar.active {
  display: flex;
}

.mobile-search-bar-icon {
  color: var(--gray-500);
  font-size: 14px;
  flex-shrink: 0;
  padding-left: 4px;
}

.mobile-search-bar-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 15px;
  background: var(--gray-50);
}

.mobile-search-bar-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.mobile-search-bar .btn {
  flex-shrink: 0;
  width: auto; /* anula o .btn { width:100% } global do mobile, que espremia o input */
  padding: 10px 18px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gray-700);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background-color: var(--gray-100);
  color: var(--primary);
}

/* Autoritativo: mostra a lupa no mobile. Precisa vir DEPOIS da regra base
   `.mobile-search-toggle { display: none }` acima — senão, por ordem de fonte, o
   display:none venceria a media query anterior e o botão sumiria no mobile.
   (O hambúrguer foi removido do header.) */
@media (max-width: 768px) {
  .mobile-search-toggle {
    display: flex !important;
    align-items: center;
  }
}

/* ===== HEADER MOBILE — drawer/hambúrguer (sobrescreve o grid antigo) =========
   Mobile: UMA linha → [logo à esquerda] ........ [sino] [hambúrguer]
   (ou, deslogado, [Entrar] [Cadastrar]). Abas e conta vão para o drawer.
   Desktop (>768px) não muda. */
@media (max-width: 768px) {
  .header-content {
    display: flex !important;
    grid-template-areas: none;
    align-items: center;
    justify-content: space-between;
    row-gap: 0;
    padding: 12px 0;
    min-height: 0;
  }
  /* Respiro à esquerda da logo p/ casar com o recuo visual do hambúrguer
     (o ícone fica centralizado num botão de 42px, ~10px da borda direita). */
  .header-content > .logo { grid-area: auto; justify-self: auto; padding-left: 10px; }
  .header-content > .nav { display: none; }
  .header-content > .user-menu { display: none !important; }
  /* Sino "desktop" (absoluto, dentro do .user-menu) some no mobile — usamos o .mobile-bell */
  .header-content .notifications-wrapper { display: none !important; }
  .mobile-search-bar { display: none !important; }

  .mobile-header-actions { display: flex; align-items: center; gap: 4px; }

  .mobile-bell {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    color: var(--black); font-size: 20px; text-decoration: none;
    border-radius: var(--radius);
  }
  .mobile-bell:active { background: var(--gray-100); }
  .mobile-bell-badge {
    position: absolute; top: 5px; right: 4px;
    background: var(--primary); color: #fff;
    font-size: 10px; font-weight: 600; line-height: 1;
    min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
  }
  .mobile-menu-btn {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: none; border: none; cursor: pointer;
    color: var(--black); font-size: 22px;
    border-radius: var(--radius);
  }
  .mobile-menu-btn:active { background: var(--gray-100); }
  .mobile-auth-btn { padding: 8px 14px; font-size: 14px; width: auto; }
}
/* As ações mobile (sino/hambúrguer/auth) só existem no mobile */
@media (min-width: 769px) {
  .mobile-header-actions { display: none; }
}

/* ----- Drawer ----- */
.mobile-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1200;
}
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 84%; max-width: 320px;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1300;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--gray-200);
}
.mobile-drawer-title { font-weight: 600; color: var(--black); display: flex; align-items: center; gap: 8px; font-size: 15px; }
.mobile-drawer-title i { color: var(--primary); }
.mobile-drawer-close { background: none; border: none; font-size: 22px; color: var(--gray-600); cursor: pointer; line-height: 1; }

.mobile-drawer-search {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 20px 8px; padding: 10px 12px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius);
}
.mobile-drawer-search i { color: var(--gray-500); font-size: 14px; }
.mobile-drawer-search input { flex: 1; min-width: 0; border: none; outline: none; font-size: 15px; background: transparent; color: var(--black); }

.mobile-drawer-nav { display: flex; flex-direction: column; padding: 8px 12px 28px; }
.mobile-drawer-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 12px; color: var(--black); text-decoration: none;
  font-size: 15px; border-radius: var(--radius);
}
.mobile-drawer-nav a:active { background: var(--gray-100); }
.mobile-drawer-nav a i { width: 20px; text-align: center; color: var(--gray-600); }
.mobile-drawer-nav hr { border: none; border-top: 1px solid var(--gray-200); margin: 8px 12px; }
.mobile-drawer-logout { color: var(--danger) !important; }
.mobile-drawer-logout i { color: var(--danger) !important; }

body.drawer-open { overflow: hidden; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.pagination-info {
  color: var(--dark-gray);
  font-weight: 500;
}

/* ===== FEATURED CAROUSEL - BUYTICKET STYLE ===== */
.featured-carousel {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 64px 0;
}

.carousel-header {
  text-align: center;
  margin-bottom: 3rem;
}

.carousel-title {
  font-size: 2.5rem;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.carousel-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin: 0;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 50px; /* Espaço para as setas */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
}

.carousel-slide {
  flex: 0 0 280px;
  min-width: 280px;
}

.race-card {
  background: white;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.race-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.race-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.race-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.race-card:hover .race-image img {
  transform: scale(1.05);
}

/* Placeholder de marca para corridas sem foto — carvão + ícone do corredor (branco),
   para o card parecer intencional mesmo sem imagem enviada pelo vendedor. */
.race-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #03045E 0%, #2D2D2D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.race-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 22px);
}

.race-image-placeholder::after {
  content: '';
  width: 72px;
  height: 72px;
  background: url('../images/ICONE_WHITE.png') center / contain no-repeat;
  opacity: 0.92;
  position: relative;
}

.race-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.1);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.race-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.race-card:hover .race-overlay {
  opacity: 1;
}

.race-stats {
  display: flex;
  gap: 1rem;
}

.race-stats .stat {
  color: white;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.race-content {
  padding: 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.race-name {
  font-size: 1rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-900);
  margin: 0 0 0.375rem 0;
  line-height: 1.3;
}

.race-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 0.375rem;
}

.race-location,
.race-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-800);
  font-size: 0.8rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.race-location i,
.race-date i {
  color: var(--primary);
  width: 14px;
  font-size: 0.75rem;
}

.race-price {
  margin-bottom: 0.5rem;
}

.price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.price-value {
  font-size: 1.25rem;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--primary);
}

.race-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.race-actions .btn {
  flex: 1;
  padding: 0.625rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  text-align: center;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.race-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.race-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #CC4A00);
  transform: translateY(-1px);
}

.race-actions .btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.race-actions .btn-outline:hover {
  background: var(--primary);
  color: white;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0.9;
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: var(--primary-light);
}

/* Responsividade do Carrossel */
@media (max-width: 768px) {
  .carousel-container {
    padding: 0 40px;
  }
  
  .carousel-slide {
    flex: 0 0 240px;
    min-width: 240px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-title {
    font-size: 2rem;
  }
  
  .race-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 20px;
  }
  
  .carousel-slide {
    flex: 0 0 220px;
    min-width: 220px;
  }
  
  .carousel-btn {
    display: none;
  }
}

/* ===== POPULAR RACES SECTION ===== */
.popular-races {
  background: #f8fafc;
  padding: 64px 0;
}

.popular-races .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.popular-races .section-title {
  font-size: 2.5rem;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.popular-races-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.popular-race-item {
  background: white;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.popular-race-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.popular-race-item .race-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.popular-race-item .race-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.popular-race-item:hover .race-image img {
  transform: scale(1.05);
}

.popular-race-item .race-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.popular-race-item .race-rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.popular-race-item .rank-number {
  font-size: 0.875rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.popular-race-item .race-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.popular-race-item .race-name {
  font-size: 1.125rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--gray-900);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.popular-race-item .race-details {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.popular-race-item .race-location,
.popular-race-item .race-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-800);
  font-size: 0.8rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.popular-race-item .race-location i,
.popular-race-item .race-date i {
  color: var(--primary);
  width: 14px;
  font-size: 0.75rem;
}

.popular-race-item .race-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.popular-race-item .race-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--gray-500);
  font-size: 0.8rem;
}

.popular-race-item .race-stats .stat i {
  color: var(--primary);
  font-size: 0.75rem;
}

.popular-race-item .race-price {
  margin-bottom: 1rem;
}

.popular-race-item .price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.popular-race-item .price-value {
  font-size: 1.25rem;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--primary);
}

.popular-race-item .race-arrow {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.popular-race-item .race-arrow .btn {
  flex: 1;
  padding: 0.625rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  text-align: center;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.popular-race-item .race-arrow .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.popular-race-item .race-arrow .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #CC4A00);
  transform: translateY(-1px);
}

.popular-race-item .race-arrow .btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.popular-race-item .race-arrow .btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Responsividade das Corridas Populares */
@media (max-width: 1200px) {
  .popular-races-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .popular-races-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .popular-races .section-title {
    font-size: 2rem;
  }
  
  .popular-race-item .race-arrow {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .popular-races-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .popular-race-item .race-image {
    height: 140px;
  }
  
  .popular-race-item .race-content {
    padding: 0.875rem;
  }
  
  .popular-race-item .race-name {
    font-size: 1rem;
  }
  
  .popular-race-item .race-location,
  .popular-race-item .race-date {
    font-size: 0.8rem;
  }
  
  .popular-race-item .race-stats .stat {
    font-size: 0.75rem;
  }
  
  .popular-race-item .race-price .price-value {
    font-size: 1.125rem;
  }
}

/* ===== RACE DETAIL PAGE ===== */
.race-detail-page {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.race-hero {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.race-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.race-minimal-info {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.race-thumbnail {
  width: 120px;
  height: 120px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.race-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.race-basic-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.race-title {
  font-size: 56px;
  font-weight: 500;
  color: white;
  margin: 0 0 24px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.race-info-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.race-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 20px;
  color: white;
  opacity: 0.95;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
}

.race-location i {
  color: white;
  font-size: 1rem;
}

.race-info-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

.race-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 20px;
  color: white;
  opacity: 0.95;
  background: transparent;
  padding: 0;
  border: none;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
}

.race-date i {
  color: white;
  font-size: 1rem;
}

/* Responsividade da página de detalhes */
@media (max-width: 768px) {
  .race-hero {
    min-height: 300px;
  }
  
  .race-title {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .race-thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .race-info-group {
    flex-direction: column;
    gap: 24px;
    padding-top: 32px;
  }
  
  .race-info-divider {
    width: 60px;
    height: 1px;
  }
  
  .race-location {
    font-size: 18px;
  }
  
  .race-date {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .race-hero {
    min-height: 250px;
  }
  
  .race-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  
  .race-thumbnail {
    width: 50px;
    height: 50px;
  }
  
  .race-info-group {
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
  }
  
  .race-info-divider {
    width: 50px;
    height: 1px;
  }
  
  .race-location {
    font-size: 16px;
  }
  
  .race-date {
    font-size: 16px;
  }
  
  .race-date {
    font-size: 0.8rem;
  }
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: var(--spacing-xxl) 0;
  color: var(--dark-gray);
}

.empty-state i {
  font-size: 4rem;
  color: var(--medium-gray);
  margin-bottom: var(--spacing-lg);
}

.empty-state h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
  color: var(--black);
}

/* ===== KIT MANAGEMENT STYLES ===== */
.radio-group {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.radio-text {
  font-size: 14px;
}

.kit-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.kit-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-700);
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  transition: var(--transition);
}

.checkbox-label:hover {
  border-color: var(--primary);
  background: rgba(255, 102, 0, 0.05);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-text {
  color: var(--primary);
  font-weight: 300; /* Light - para elementos que precisam de destaque */
}

.checkbox-text {
  font-size: 14px;
  transition: var(--transition);
}

.btn-add-kit,
.btn-remove-kit {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 2px;
  transition: var(--transition);
}

.btn-add-kit {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-add-kit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-remove-kit {
  background: var(--white);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.btn-remove-kit:hover {
  background: var(--danger);
  color: var(--white);
}

/* Responsive para kits */
@media (max-width: 768px) {
  .radio-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .checkbox-group {
    flex-direction: column;
    gap: 8px;
  }
  
  .kit-item {
    padding: 16px;
  }
}

/* ===== BADGES DE STATUS DE ANÚNCIOS ===== */
.reserved-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffc107, #ff8f00);
  color: #fff;
  padding: 12px 20px;
  border-radius: 2px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  animation: pulse-reserved 2s infinite;
}

.sold-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  padding: 12px 20px;
  border-radius: 2px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

@keyframes pulse-reserved {
  0% {
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.5);
  }
  100% {
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  }
}

/* Responsividade para badges */
@media (max-width: 768px) {
  .reserved-badge,
  .sold-badge {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ===== SISTEMA DE NOTIFICAÇÕES ===== */
.notifications-wrapper {
  position: relative;
  margin-left: 20px;
}

.notifications-btn {
  background: transparent;
  border: none;
  color: var(--gray-700);
  font-size: 20px;
  cursor: pointer;
  padding: 8px 12px;
  position: relative;
  transition: var(--transition);
  border-radius: var(--radius);
}

.notifications-btn:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.notifications-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 300; /* Light - mantendo leveza */
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  animation: pulse-notification 2s infinite;
}

@keyframes pulse-notification {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 102, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
  }
}

/* Popup de Notificações - Baseado no user-dropdown-menu */
.notifications-popup {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 380px;
  max-height: 500px;
  padding: 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1000;
  overflow: hidden;
}

.notifications-wrapper:hover .notifications-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notifications-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-50);
  flex-wrap: wrap;
  gap: 12px;
}

.notifications-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
}

.mark-all-read-btn {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mark-all-read-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--black);
}

.notifications-list {
  max-height: 300px;
  overflow-y: auto;
}

.notifications-loading {
  padding: 40px 20px;
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
}

.notifications-loading i {
  margin-right: 8px;
}

.notifications-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
  background: var(--gray-50);
}

.notifications-footer a {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.notifications-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notifications-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-50);
  flex-wrap: wrap;
  gap: 12px;
}

.notifications-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 300; /* Light - mantendo leveza */
  color: var(--black);
}

.notifications-header .mark-all-read-btn {
  margin-left: auto;
}

@media (max-width: 600px) {
  .notifications-header {
    align-items: flex-start;
  }

  .notifications-header .mark-all-read-btn {
    width: 100%;
    justify-content: center;
  }
}

.mark-all-read-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 12px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 2px;
  transition: var(--transition);
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mark-all-read-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.notifications-list {
  max-height: 380px;
  overflow-y: auto;
}

.notifications-loading {
  padding: 40px 20px;
  text-align: center;
  color: var(--gray-500);
}

.notification-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notification-item:hover {
  background: var(--gray-50);
}

.notification-item.unread {
  background: #fff8f0;
  border-left: 3px solid var(--primary);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.notification-icon.success {
  background: var(--success-light);
  color: var(--success);
}

.notification-icon.info {
  background: var(--gray-100);
  color: var(--gray-700);
}

.notification-icon.warning {
  background: var(--warning-light);
  color: var(--warning-dark);
}

.notification-icon.danger {
  background: #fee2e2;
  color: var(--danger);
}

.notification-icon.primary {
  background: #fff8f0;
  color: var(--primary);
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 14px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  color: var(--black);
  margin: 0 0 4px 0;
}

.notification-message {
  font-size: 13px;
  color: var(--gray-700);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.notification-time {
  font-size: 11px;
  color: var(--gray-500);
}

.notifications-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
  background: var(--gray-50);
}

.notifications-footer a {
  color: var(--primary);
  font-size: 14px;
  font-weight: 300; /* Light - para elementos que precisam de destaque */
  text-decoration: none;
  transition: var(--transition);
}

.notifications-footer a:hover {
  color: var(--primary-dark);
}

.notifications-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--gray-500);
}

.notifications-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.notifications-empty p {
  margin: 0;
  font-size: 14px;
}

/* Responsivo - Mobile redireciona para página */
@media (max-width: 768px) {
  .notifications-wrapper {
    margin-left: 10px;
  }
  
  /* Ocultar popup em mobile - será redirecionado para página */
  .notifications-popup {
    display: none !important;
  }
}
/* Mobile pequeno - também redireciona para página */
@media (max-width: 480px) {
  .notifications-popup {
    display: none !important;
  }
}

/* ===== ADMIN - COMPONENTES COMPARTILHADOS ===== */
.admin-page-header {
  margin-bottom: 24px;
}

.admin-page-header h1 {
  margin: 0 0 4px 0;
  color: var(--black);
  font-size: 28px;
  font-weight: 500;
}

.admin-page-header p {
  margin: 0;
  color: var(--gray-600);
  font-size: 15px;
}

.admin-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.admin-panel-title {
  margin: 0 0 20px 0;
  color: var(--black);
  font-size: 20px;
  font-weight: 600;
}

.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}

.admin-stat-label {
  margin: 0;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-stat-value {
  margin: 8px 0 0 0;
  color: var(--black);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-stat-note {
  color: var(--gray-500);
  font-size: 12px;
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 20px;
  position: relative;
  flex-shrink: 0;
}

.admin-stat-icon::after {
  content: '';
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 9px;
  height: 9px;
  background: var(--primary);
}

.admin-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--gray-100);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: var(--transition);
}

.admin-quick-link i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.admin-quick-link:hover {
  background: var(--gray-200);
}

.admin-activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.admin-activity-row:last-child {
  border-bottom: none;
}

.admin-activity-icon {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.admin-status-badge {
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-status-success {
  background: var(--success-light);
  color: var(--success);
}

.admin-status-warning {
  background: var(--warning-light);
  color: var(--warning-dark);
}

.admin-status-danger {
  background: #fee2e2;
  color: var(--danger);
}

.admin-status-info,
.admin-status-neutral {
  background: var(--gray-100);
  color: var(--gray-700);
}

.admin-status-primary {
  background: #fff5f0;
  color: var(--primary);
}

.admin-table-icon {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.admin-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.admin-page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--primary);
  border: 1px solid var(--gray-300);
  background: var(--white);
  transition: var(--transition);
  font-weight: 500;
}

.admin-page-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.admin-page-link.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  cursor: default;
}

.admin-page-link.disabled {
  color: var(--gray-400);
  background: var(--gray-100);
  border-color: var(--gray-200);
  cursor: not-allowed;
}

.admin-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: none;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.admin-btn-sm.is-primary {
  background: var(--primary);
  color: var(--white);
}

.admin-btn-sm.is-primary:hover {
  background: var(--primary-dark);
}

.admin-btn-sm.is-danger {
  background: var(--danger);
  color: var(--white);
}

.admin-btn-sm.is-danger:hover {
  background: #b91c1c;
}

.admin-btn-sm.is-neutral {
  background: var(--gray-600);
  color: var(--white);
}

.admin-btn-sm.is-neutral:hover {
  background: var(--gray-700);
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.admin-modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

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

.admin-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}

.admin-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--gray-500);
}

.admin-modal-body {
  padding: 24px;
}

.admin-modal-body label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--black);
}

.admin-modal-body textarea,
.admin-modal-body input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  resize: vertical;
}

.admin-modal-body textarea:focus,
.admin-modal-body input[type="text"]:focus {
  border-color: var(--primary);
}

.admin-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 24px;
  border-top: 1px solid var(--gray-200);
}

.admin-modal-footer button {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.admin-modal-footer .is-cancel {
  background: var(--gray-200);
  color: var(--gray-700);
}

.admin-modal-footer .is-cancel:hover {
  background: var(--gray-300);
}

.admin-modal-footer .is-confirm {
  background: var(--primary);
  color: var(--white);
}

.admin-modal-footer .is-confirm:hover {
  background: var(--primary-dark);
}

.admin-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: end;
}

.admin-filter-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--black);
  font-size: 14px;
}

.admin-filter-form input,
.admin-filter-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 15px;
  background: var(--white);
  transition: var(--transition);
}

.admin-filter-form input:focus,
.admin-filter-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: var(--black);
  border-bottom: 2px solid var(--gray-200);
  font-size: 14px;
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

/* ===== SEÇÃO ENTREGA DE KIT (home) =====
   Banda grafite: a única seção escura entre header e footer.
   É a construção da logo aplicada em seção — traços grafite,
   um quadrado laranja. Passos numerados porque a entrega É
   uma sequência real (contratar → retirar → receber). */
.kit-band {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0;
}
/* corredor da logo como marca d'água geométrica */
.kit-band::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 440px;
  height: 440px;
  background: url('/static/images/ICONE_WHITE.png') center/contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.kit-band-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.kit-band-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}
.kit-band-flag .kit-band-square {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: var(--radius);
}
.kit-band-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 16px;
  text-wrap: balance;
}
.kit-band-title strong {
  font-weight: 600;
}
.kit-band-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin: 0 0 28px;
}
.kit-band-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 16px;
}
.kit-band-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 14px;
}
.kit-band-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.kit-band-steps li {
  display: flex;
  gap: 18px;
  position: relative;
  padding-bottom: 28px;
}
.kit-band-steps li:last-child {
  padding-bottom: 0;
}
/* linha da rota conectando os passos, como um percurso */
.kit-band-steps li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.kit-step-n {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}
.kit-band-steps h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 6px;
}
.kit-band-steps p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 42ch;
}
@media (max-width: 860px) {
  .kit-band-inner {
    grid-template-columns: 1fr;
  }
  .kit-band::after {
    width: 300px;
    height: 300px;
    right: -80px;
    bottom: -90px;
  }
  .kit-band-cta {
    width: 100%;
    justify-content: center;
  }
}
