/* ═══════════════════════════════════════════════════════════════════════════
   IngressoFast — design system "Classical"
   Portado do protótipo (IngressoFast Frontend Prototype/_ds/.../styles.css)
   e estendido para cobrir todas as telas da plataforma.

   Direção: editorial, tipo de livro sobre fundo quase-branco quente.
   Cormorant Garamond nos títulos, Lora no corpo. Cor aplicada como traço —
   bordas, fios e sublinhados — nunca como preenchimento chapado.
   Este arquivo é a única folha de estilo do site. Sem build, sem framework.
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Lora:wght@400;600&display=swap');

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201f1d;
  --color-accent: #b68235;
  --color-accent-2: #ac803e;
  --color-divider: color-mix(in srgb, #201f1d 16%, transparent);

  /* Rampas tonais — geradas em OKLCH numa escala de luminosidade
     compartilhada, então o mesmo passo de cada papel tem o mesmo peso visual. */
  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff3e4;
  --color-accent-200: #ffe3bf;
  --color-accent-300: #facb8d;
  --color-accent-400: #e1ad66;
  --color-accent-500: #c28d41;
  --color-accent-600: #a06f24;
  --color-accent-700: #7d5411;
  --color-accent-800: #5a3b0a;
  --color-accent-900: #3a270d;

  /* Papéis de estado — derivados na mesma lógica de traço, não de preenchimento */
  --color-success: #4a6b3d;
  --color-success-tint: #eef2ea;
  --color-warning: #8a6320;
  --color-warning-tint: #fdf3e2;
  --color-danger: #8c3a2e;
  --color-danger-tint: #f7ebe8;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-heading-weight: 600;
  --font-body: "Lora", Georgia, serif;

  --space-1: 4.6px;
  --space-2: 9.2px;
  --space-3: 13.8px;
  --space-4: 18.4px;
  --space-6: 27.6px;
  --space-8: 36.8px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);

  --page-max: 1180px;
  --page-pad: clamp(20px, 5vw, 64px);

  /* Marca — "Pista" no tom do suporte, "GETBET" no azul da casa. O azul tem
     duas versões: clara sobre a barra escura, escura sobre o papel claro. */
  --brand-bar: color-mix(in srgb, var(--color-neutral-900) 90%, #000);
  --brand-get-on-dark: #8fc3ee;
  --brand-get-on-light: #245e9c;
}

/* ── base ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}
h1 { font-size: clamp(32px, 4.5vw, 54px); font-weight: 400; }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-700); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
small { font-size: 12px; }
strong, b { font-weight: 600; }

figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

[hidden] { display: none !important; }

/* números tabulares onde eles são figuras, não prosa */
.tnum, .kpi-value, .wallet-metric b, .stat-card b, .city-count, .date-pill,
.eyebrow, .prize-value, .wheel-code, .prize-code { font-feature-settings: 'tnum' 1; }

/* ── layout ─────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--page-pad);
}

.section { padding: clamp(30px, 5vw, 56px) 0; }
.section.tight { padding-block: clamp(20px, 3vw, 32px); }

main { display: block; min-height: 40vh; }

.hr, hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-700);
  margin-bottom: var(--space-2);
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.text-muted, .help {
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  font-size: 13px;
}

.page-title {
  padding: clamp(28px, 5vw, 52px) 0 clamp(12px, 2vw, 20px);
  border-bottom: 1px solid var(--color-divider);
}
.page-title h1 { margin: 0 0 var(--space-2); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.section-head h2 { margin: 0; }
.section-head p {
  margin: 0;
  max-width: 42ch;
  font-size: 14px;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}
.section-head .eyebrow { margin-bottom: var(--space-1); }

.toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
}
.actions.full > * { flex: 1; }

.empty, .wallet-empty, .wallet-loading, .prizes-empty, .event-single-loading .empty {
  border: 1px dashed var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  font-size: 14px;
  color: color-mix(in srgb, var(--color-text) 58%, transparent);
}

.back-link {
  display: inline-block;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  font: inherit; font-size: 13px;
  color: var(--color-accent-700);
  text-decoration: none;
  margin-bottom: var(--space-4);
}
.back-link:hover { color: var(--color-accent); }

/* ── imagens: a moldura "plate" ─────────────────────────────────────────── */

.plate, .event-cover, .event-single-banner, .city-event-cover,
.event-art, .image-slot-frame, .sector-map-frame, .prize-image {
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
  box-sizing: border-box;
  border: 6px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
  overflow: hidden;
  background: linear-gradient(150deg, var(--color-accent-200), var(--color-neutral-300));
}
.plate img, .event-cover img, .event-single-banner img, .city-event-cover img,
.event-art img, .sector-map-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.event-image-fallback, .empty-banner, .hero-banner-fallback,
.image-slot-placeholder, .prize-image-placeholder, .wallet-prize-placeholder {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  min-height: 120px;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 30px);
  color: color-mix(in srgb, var(--color-accent-900) 52%, transparent);
  background: linear-gradient(150deg, var(--color-accent-200), var(--color-neutral-300));
  text-align: center;
  padding: var(--space-3);
}

/* ── botões ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-divider);
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn svg { display: block; }
.btn:disabled, .btn[disabled], .btn.unavailable {
  opacity: 0.45; cursor: not-allowed; background: transparent;
}

.btn-primary, .cta, .solidario-main-btn, .btn-success {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: transparent;
}
.btn-primary:hover, .cta:hover, .solidario-main-btn:hover, .btn-success:hover {
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent-700);
}
.btn-primary:active, .cta:active, .btn-success:active {
  background: color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }

.btn-ghost {
  color: var(--color-accent);
  border-color: transparent;
  padding-inline: var(--space-1);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }

.btn.danger, .btn-danger {
  color: var(--color-danger);
  border-color: color-mix(in srgb, var(--color-danger) 55%, transparent);
}
.btn.danger:hover, .btn-danger:hover { background: var(--color-danger-tint); }

.btn-small, .btn.btn-small { font-size: 13px; padding: 6px 12px; }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block, .btn.full { width: 100%; margin-top: var(--space-2); }

/* ── etiquetas ──────────────────────────────────────────────────────────── */

.tag, .pill, .date-pill, .event-status, .ticket-status-line,
.city-count, .prizes-status {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
  background: var(--color-neutral-100);
  color: var(--color-neutral-800);
  white-space: nowrap;
}
.tag-accent, .pill.open, .event-status.open {
  background: var(--color-accent-100);
  color: var(--color-accent-800);
}
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline, .date-pill {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent-700);
}
.pill.closed, .event-status.closed, .tag-muted {
  background: transparent;
  border: 1px solid var(--color-divider);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.tag-success { background: var(--color-success-tint); color: var(--color-success); }
.tag-warning { background: var(--color-warning-tint); color: var(--color-warning); }
.tag-danger  { background: var(--color-danger-tint);  color: var(--color-danger); }

/* ── formulários ────────────────────────────────────────────────────────── */

.field { display: block; margin-bottom: var(--space-3); }
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.field small { display: block; margin-top: 4px; color: color-mix(in srgb, var(--color-text) 52%, transparent); }

.input,
.field input:not([type='checkbox']):not([type='radio']),
.field select,
.field textarea,
input.input, select.input, textarea.input {
  width: 100%; min-height: 36px; padding: 6px 10px;
  font: inherit; font-size: 14px;
  color: var(--color-text);
  caret-color: var(--color-accent);
  background: transparent;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}
.input:hover, .field input:hover, .field select:hover, .field textarea:hover {
  border-color: color-mix(in srgb, var(--color-text) 45%, transparent);
}
.input:focus-visible, .field input:focus-visible,
.field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--color-accent); outline-offset: 0;
}
.field input:disabled, .field select:disabled, .field textarea:disabled {
  opacity: .55; cursor: not-allowed;
  background: color-mix(in srgb, var(--color-text) 4%, transparent);
}
textarea, textarea.input, .field textarea { min-height: 90px; resize: vertical; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}
.form-grid .full, .field.full { grid-column: 1 / -1; }

.form-card, .login-box, .panel, .card,
.legal-card, .mini-card, .stat-card, .result-card, .notice {
  display: flex; flex-direction: column;
  gap: var(--space-2);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: transparent;
}
.card { padding: var(--space-3); }
.card-kicker { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent); }
.card-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 17px; line-height: 1.2; }
.card-body { margin: 0; font-size: 13px; opacity: .8; flex: 1; }
.card-meta, .meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

.radio, label.radio {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 14px;
}
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
input[type='checkbox'] { accent-color: var(--color-accent); width: 15px; height: 15px; }

.seg { display: inline-flex; overflow: hidden; border: 1px solid var(--color-divider); border-radius: var(--radius-md); }
.seg-opt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; cursor: pointer; }
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }

/* ── mensagens ──────────────────────────────────────────────────────────── */

.message {
  display: none;
  font-size: 14px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-divider);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}
.message.show { display: block; }
.message.success { border-left-color: var(--color-success); background: var(--color-success-tint); }
.message.warning, .message.notice { border-left-color: var(--color-warning); background: var(--color-warning-tint); }
.message.error, .message.danger { border-left-color: var(--color-danger); background: var(--color-danger-tint); }

.notice, .resgate-alert, .wallet-notice, .resgate-instruction,
.getbet-follow-highlight, .solidario-feature-card {
  border: 1px solid var(--color-divider);
  border-left: 3px solid var(--color-accent);
  border-radius: 0;
  padding: var(--space-4) var(--space-4);
  font-size: 14px;
  line-height: 1.55;
}
.notice h3, .resgate-alert h3, .wallet-notice h3, .solidario-feature-card h3 {
  font-size: 18px; margin: 0 0 var(--space-1);
}
.notice p:last-child, .resgate-alert p:last-child, .wallet-notice p:last-child { margin-bottom: 0; }

/* ── tabelas ────────────────────────────────────────────────────────────── */

.table-wrap { overflow-x: auto; border: 1px solid var(--color-divider); border-radius: var(--radius-md); }
table, .table { width: 100%; border-collapse: collapse; font-size: 14px; }
table th, .table th {
  text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  white-space: nowrap;
}
table td, .table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  vertical-align: middle;
}
table tbody tr:hover, .table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }
table tbody tr:last-child td { border-bottom: 0; }

/* ═══ CABEÇALHO E RODAPÉ ═══════════════════════════════════════════════ */

/* Barra escura com fio dourado: a faixa de identidade que separa o cabeçalho
   do papel claro do conteúdo. O rodapé fecha a página com a mesma faixa. */
.header, header.header {
  position: sticky; top: 0; z-index: 30;
  background: var(--brand-bar);
  border-bottom: 2px solid var(--color-accent);
}

.if-topbar, .navbar {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 13px var(--page-pad);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 30px);
  flex-wrap: wrap;
}

.if-brand, .brand {
  display: flex; align-items: baseline; gap: 9px;
  margin-right: auto;
  text-decoration: none;
  color: var(--color-bg);
}
.if-brand-mark, .brand > span:last-child {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 23px;
  letter-spacing: -0.01em;
  line-height: 1;
}
/* "GETBET" dentro da marca — azul claro na barra escura */
.if-brand-get { color: var(--brand-get-on-dark); }
.if-brand-kicker {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-300);
}
.if-brand-logo, .logo { display: none; }
.if-brand-logo.has-logo { display: block; }
.if-brand-logo.has-logo img { height: 30px; width: auto; filter: none; }

.if-nav, .navlinks {
  display: flex; align-items: center;
  gap: clamp(10px, 2vw, 26px);
  flex-wrap: wrap;
}
.if-nav a, .navlinks a, .if-action {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-bg);
  text-decoration: none;
  padding: 6px 0;
}
.if-nav a:hover, .navlinks a:hover { color: var(--color-accent-300); }
.navlinks a.active, .if-nav a[aria-current='page'] {
  color: var(--color-accent-300);
  border-bottom: 1px solid var(--color-accent);
}
.if-action.primary, .navlinks a.cta {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  color: var(--color-accent-300);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-2) calc(var(--space-3) * 1.2);
}
.if-action.primary:hover, .navlinks a.cta:hover {
  background: color-mix(in srgb, var(--color-accent) 18%, transparent);
  color: var(--color-accent-300);
}
.if-action.outline {
  color: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-bg) 40%, transparent);
  border-radius: var(--radius-md);
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
}
.if-action.outline:hover {
  border-color: var(--color-accent-300);
  color: var(--color-accent-300);
  background: transparent;
}
/* botões da barra escura (portaria e painel) seguem o mesmo contorno claro */
.header .btn {
  color: var(--color-bg);
  border-color: color-mix(in srgb, var(--color-bg) 40%, transparent);
}
.header .btn:hover {
  color: var(--color-accent-300); border-color: var(--color-accent-300);
  background: transparent;
}
.header :focus-visible { outline-color: var(--color-accent-300); }

.if-search {
  display: flex; align-items: center; gap: 8px;
  flex: 1 1 200px; min-width: 180px; max-width: 420px;
  border: 1px solid color-mix(in srgb, var(--color-bg) 30%, transparent);
  border-radius: var(--radius-md);
  padding: 0 12px;
}
.if-search input {
  flex: 1; border: 0; background: transparent; padding: 7px 0;
  font: inherit; font-size: 14px; color: var(--color-bg);
}
.if-search input::placeholder { color: color-mix(in srgb, var(--color-bg) 50%, transparent); }
.if-search input:focus { outline: none; }
.if-search:focus-within { border-color: var(--color-accent-300); }
.if-search button { background: none; border: 0; cursor: pointer; font-size: 17px; line-height: 1; color: var(--color-accent-300); }

/* a busca da home fica no papel claro, não na barra */
.showcase-search {
  display: flex; align-items: center; gap: 8px;
  flex: 1 1 200px; min-width: 180px; max-width: 420px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: 0 12px;
}
.showcase-search input {
  flex: 1; border: 0; background: transparent; padding: 7px 0;
  font: inherit; font-size: 14px; color: var(--color-text);
}
.showcase-search input:focus { outline: none; }
.showcase-search:focus-within { border-color: var(--color-accent); }
.search-icon { background: none; border: 0; font-size: 17px; color: var(--color-accent-700); line-height: 1; }

.if-header-promo { display: block; flex: 1 1 100%; order: -1; }
.if-header-promo img { width: 100%; max-height: 78px; object-fit: cover; border-radius: var(--radius-md); }

/* rodapé — mesma faixa escura do cabeçalho, fechando a página */
.if-footer, footer.footer {
  border-top: 2px solid var(--color-accent);
  margin-top: clamp(40px, 6vw, 80px);
  background: var(--brand-bar);
  color: var(--color-bg);
}
.if-footer .if-brand-get { color: var(--brand-get-on-dark); }
.if-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(26px, 4vw, 44px);
}
.if-footer-col { display: flex; flex-direction: column; gap: 8px; }
.if-footer-col h3 {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-accent-300);
  font-family: var(--font-body); font-weight: 400;
  margin: 0 0 var(--space-1);
}
.if-footer-col a {
  font-size: 13px; text-decoration: none;
  color: color-mix(in srgb, var(--color-bg) 68%, transparent);
}
.if-footer-col a:hover { color: var(--color-accent-300); }
.if-footer-sponsor {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid color-mix(in srgb, var(--color-bg) 22%, transparent);
  border-left: 3px solid var(--color-accent);
  padding: var(--space-3);
}
.if-footer-sponsor strong { font-family: var(--font-heading); font-size: 19px; color: var(--color-bg); }
.if-footer-sponsor span, .if-footer-sponsor small {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-bg) 45%, transparent);
}
.if-footer-bottom {
  display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  border-top: 1px solid color-mix(in srgb, var(--color-bg) 18%, transparent);
  padding-block: var(--space-4);
  font-size: 12px;
  color: color-mix(in srgb, var(--color-bg) 45%, transparent);
}
.if-footer-brand {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 19px;
  color: var(--color-bg);
  margin-bottom: var(--space-2);
}
.if-footer-brand .star { font-size: 12px; letter-spacing: .14em; color: var(--color-accent-300); }

footer.footer .container {
  display: flex; justify-content: space-between; gap: var(--space-4);
  flex-wrap: wrap; padding-block: clamp(26px, 4vw, 44px);
  font-size: 13px;
}
footer.footer .container > span:first-child {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 19px;
}

.sponsor-ribbon {
  border-top: 1px solid var(--color-divider);
  overflow: hidden;
  padding-block: var(--space-3);
}
.sponsor-ribbon-track {
  display: flex; gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding-inline: var(--page-pad);
  overflow-x: auto;
  scrollbar-width: none;
}
.sponsor-ribbon-track::-webkit-scrollbar { display: none; }
.sponsor-ribbon-track a {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex: none;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  font-size: 12px;
}
.sponsor-ribbon-track img { height: 30px; width: auto; opacity: .75; }
.sponsor-ribbon-track a:hover img { opacity: 1; }

/* ═══ HOME ════════════════════════════════════════════════════════════ */

.if-rule {
  display: flex; align-items: center; gap: var(--space-4);
  padding: 22px 0 6px;
}
.if-rule span:first-child, .if-rule span:last-child {
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
}
.if-rule span:first-child { color: var(--color-accent-700); }
.if-rule span:last-child { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.if-rule i { flex: 1; height: 0; border-top: 1px solid var(--color-accent); opacity: .5; }

/* Divisor de seção com as três estrelas — o floreio de cartaz de rodeio. */
.star-rule {
  display: flex; align-items: center; gap: var(--space-4);
  margin: var(--space-4) 0;
}
.star-rule::before, .star-rule::after {
  content: ''; flex: 1; height: 0;
  border-top: 1px solid var(--color-divider);
}
.star-rule span {
  color: var(--color-accent);
  font-size: 12px; letter-spacing: .35em;
}

/* A marca sobre o papel claro (login, carteira, ingresso) usa o azul escuro. */
.brand-get { color: var(--brand-get-on-light); }

.if-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px) 0;
}
.if-hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400; line-height: 1.03;
  letter-spacing: -.015em; margin: 0;
}
.if-hero p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6; max-width: 52ch;
  margin: 22px 0 0;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}
.if-hero .actions { margin-top: 30px; }

/* Coluna da arte: a placa do evento, sua legenda e a navegação entre eventos. */
.hero-art { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; }
.hero-plate { order: 1; width: 100%; aspect-ratio: 4 / 5; }
.hero-art-caption { order: 2; }
.hero-art-nav { order: 3; }
.hero-plate .visual-carousel-stage { height: 100%; aspect-ratio: auto; min-height: 0; }

.hero-art-caption {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0; padding-left: var(--space-3);
  border-left: 2px solid var(--color-accent);
  font-size: 12px;
  color: color-mix(in srgb, var(--color-text) 58%, transparent);
}
.hero-art-caption strong {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; line-height: 1.15;
  color: var(--color-text);
}

.hero-art-nav { display: flex; align-items: center; gap: var(--space-3); }
.hero-art-nav .carousel-dots { flex: 1; margin: 0; justify-content: flex-start; }
.hero-art-nav .carousel-nav { width: 30px; height: 30px; font-size: 16px; }

.getbet-showcase { padding-top: 0; }
.showcase-topbar {
  display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center;
  margin-bottom: var(--space-6);
}
.showcase-city-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; cursor: pointer;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; color: var(--color-text);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-2) calc(var(--space-3) * 1.2);
}
.showcase-city-trigger:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }

/* carrossel de destaques — placas emolduradas, sem sombras pesadas */
.visual-carousel-shell {
  position: relative;
  display: flex; align-items: center; gap: var(--space-3);
}
.visual-carousel-stage {
  flex: 1; position: relative;
  display: grid;
  aspect-ratio: 16 / 7;
  min-height: 220px;
  overflow: hidden;
}
.hero-banner-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease;
}
.hero-banner-slide.is-active { opacity: 1; visibility: visible; }
.hero-banner-link {
  display: block; width: 100%; height: 100%;
  text-decoration: none;
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
  border: 6px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
  background: linear-gradient(150deg, var(--color-accent-200), var(--color-neutral-300));
}
.hero-banner-link img { width: 100%; height: 100%; object-fit: cover; }
/* dentro de uma moldura .plate a placa já existe — não empilhar duas */
.plate .hero-banner-link { border: 0; outline: 0; filter: none; }
.plate .visual-carousel-stage { min-height: 0; }

.carousel-nav {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: transparent; cursor: pointer;
  border: 1px solid var(--color-divider);
  border-radius: 50%;
  font-size: 20px; line-height: 1;
  color: var(--color-accent-700);
}
.carousel-nav:hover { border-color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 10%, transparent); }

.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: var(--space-3);
}
.carousel-dots button {
  width: 26px; height: 2px; padding: 0;
  border: 0; cursor: pointer;
  background: var(--color-divider);
}
.carousel-dots button.active { background: var(--color-accent); }

.carousel-caption {
  text-align: center;
  margin-top: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.carousel-caption h1 { font-size: clamp(28px, 4vw, 48px); margin: 0 0 var(--space-2); }
.caption-meta {
  display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap;
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}

/* grade de cidades */
.city-grid, .getbet-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-3);
}
.city-card {
  display: flex; flex-direction: column; gap: 6px;
  text-align: left; text-decoration: none;
  padding: var(--space-3);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  color: var(--color-text);
}
.city-card:hover { border-color: var(--color-accent); color: var(--color-text); }
.city-card strong {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; line-height: 1.1;
}
.city-card span { font-size: 12px; color: color-mix(in srgb, var(--color-text) 58%, transparent); }
.city-card small {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-accent-700); margin-top: 6px;
}
.city-card small::after { content: ' →'; }

/* índice editorial de eventos — linhas com fio, não cartões */
.event-index { display: flex; flex-direction: column; }
.event-index-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: clamp(14px, 2vw, 26px);
  align-items: center;
  width: 100%; text-align: left;
  background: none; border: 0;
  border-top: 1px solid var(--color-divider);
  padding: 20px 0; cursor: pointer;
  text-decoration: none; color: var(--color-text);
}
.event-index-row:hover { background: color-mix(in srgb, var(--color-text) 3%, transparent); }
.event-index-num {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  color: var(--color-accent); line-height: 1;
  font-feature-settings: 'tnum' 1;
}
.event-index-name {
  display: block;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: clamp(19px, 2vw, 24px); line-height: 1.15;
}
.event-index-local {
  display: block; font-size: 13px; margin-top: 5px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.event-index-right { text-align: right; white-space: nowrap; }
.event-index-date { display: block; font-size: 14px; }
.event-index-tag {
  display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-700); margin-top: 5px;
}

/* ═══ CALENDÁRIO / CIDADE ═════════════════════════════════════════════ */

.layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.sidebar { display: flex; flex-direction: column; }
.detail { min-width: 0; }

.event-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
  text-align: left;
}
.event-card:hover { border-color: var(--color-accent); }
.event-cover { width: 100%; aspect-ratio: 16 / 10; border-width: 0; outline: 0; }
.event-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.event-body h3 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 21px; line-height: 1.12; margin: 0;
}
.event-body .lead { font-size: 13px; margin: 0; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.event-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--space-2); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}

.city-hero { padding: clamp(28px, 5vw, 52px) 0 clamp(16px, 3vw, 26px); border-bottom: 1px solid var(--color-divider); }
.city-hero-content h1 { margin: 0 0 var(--space-2); }
.city-summary { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--space-3); }
.city-summary span {
  font-size: 11px; padding: 3px 10px;
  border: 1px solid var(--color-divider); border-radius: var(--radius-sm);
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.city-food-action { margin-top: var(--space-4); }

.city-layout { display: grid; gap: var(--space-6); }
.city-carousel-shell { display: flex; flex-direction: column; gap: var(--space-3); }
.city-carousel-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.city-carousel-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.city-carousel-dots button {
  width: 26px; height: 2px; padding: 0; border: 0; cursor: pointer;
  background: var(--color-divider);
}
.city-carousel-dots button.active { background: var(--color-accent); }
.city-carousel-controls { display: flex; gap: 8px; }

.city-event-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}
.city-event-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  overflow: hidden; text-decoration: none;
  color: var(--color-text);
}
.city-event-card:hover, .city-event-card.is-active { border-color: var(--color-accent); }
.city-event-cover { width: 100%; aspect-ratio: 16 / 10; border-width: 0; outline: 0; }
.city-event-card h3 { font-size: 20px; margin: 0; }

/* ═══ PÁGINA DO EVENTO ════════════════════════════════════════════════ */

.event-single-shell { padding: clamp(20px, 4vw, 40px) 0 clamp(28px, 5vw, 52px); }
.event-single-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
  margin-top: var(--space-4);
}
.event-single-media, .event-media-column { display: flex; flex-direction: column; gap: var(--space-3); }
.event-single-banner, .event-single-hero { width: 100%; aspect-ratio: 4 / 3; }
.event-single-copy h1, .event-single-content h1 { margin: 0; line-height: 1.04; }
.event-single-copy p { font-size: 16px; line-height: 1.6; margin: 18px 0 0; max-width: 52ch; color: color-mix(in srgb, var(--color-text) 80%, transparent); }

/* quadro de dados em fio — 2×2 de células separadas por hairline */
.event-single-kpis, .detail-grid, .pro-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  margin: var(--space-6) 0;
}
.event-single-kpis > *, .detail-grid > *, .pro-detail-grid > * {
  background: var(--color-bg);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.event-single-kpis span:first-child, .detail-grid span:first-child, .pro-detail-grid span:first-child,
.event-single-kpis dt, .detail-grid dt {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.event-single-kpis b, .event-single-kpis strong, .detail-grid b, .detail-grid strong,
.event-single-kpis dd, .detail-grid dd, .pro-detail-grid b {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 19px; margin: 0;
}

.event-single-actions, .event-secondary-actions, .solidario-actions {
  display: flex; gap: var(--space-3); flex-wrap: wrap;
}
.event-secondary-actions { margin-top: var(--space-3); }

.event-info-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  margin-top: clamp(30px, 5vw, 52px);
}
.event-section-card { display: flex; flex-direction: column; gap: var(--space-3); }
.event-section-card h3 { margin: 0; font-size: 25px; }

.gallery, .event-gallery-three, .image-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.gallery > *, .event-gallery-three > * { aspect-ratio: 4 / 3; }

.map-frame, .sector-map-frame, .sector-map-preview-frame, .event-map-admin {
  border: 1px solid var(--color-divider);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--color-accent) 6%, transparent) 12px 13px);
  overflow: hidden;
}
.map-frame svg, .sector-map-frame svg { width: 100%; height: 100%; }
.map-label { fill: var(--color-bg); font-family: var(--font-heading); font-size: 15px; text-anchor: middle; dominant-baseline: middle; }

.event-date-selector { display: flex; flex-direction: column; gap: var(--space-2); }
.event-date-list { display: flex; gap: 8px; flex-wrap: wrap; }
.event-date-option {
  background: transparent; cursor: pointer;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: 7px 12px;
  font: inherit; font-size: 13px;
  color: var(--color-text);
}
.event-date-option:hover { border-color: var(--color-accent); }
.event-date-option.active, .event-date-option[aria-pressed='true'] {
  color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent);
  border-color: var(--color-accent);
}

.event-topline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-right: auto; }
.event-topline span:last-child { color: color-mix(in srgb, var(--color-text) 60%, transparent); }

.process-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); }
.check-line { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: var(--space-2); }
.check-line::before { content: '—'; color: var(--color-accent); flex: none; }
.clean-list { list-style: none; margin: 0; padding: 0; }
.clean-list li {
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-divider);
  font-size: 14px;
}

/* ═══ AUTENTICAÇÃO ════════════════════════════════════════════════════ */

.auth-minimal, .confirmation-minimal { padding: clamp(28px, 5vw, 56px) 0; }
.auth-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 24px; margin-bottom: 6px; text-align: center;
}
.auth-register-card, .login-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  border: 0; padding: 0;
}
.login-box { max-width: 460px; margin: 0 auto; grid-template-columns: 1fr; }
.login-box .form-card { text-align: left; }
.auth-switch, .success-actions {
  text-align: center; font-size: 13px; margin: var(--space-4) 0 0;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.auth-switch a, .auth-switch button {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--color-accent); font: inherit;
}
/* blocos revelados por JS (classList.add('show')) */
.login-promos, .bonus-tutorial, .wallet-wheel-banner { display: none; }
.login-promos.show, .bonus-tutorial.show, .wallet-wheel-banner.show { display: block; }

.login-promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.login-promos { margin-top: var(--space-6); }
.login-promo { border: 1px solid var(--color-divider); border-left: 3px solid var(--color-accent); padding: var(--space-3); }
.auth-image-panel, .side-media-pack { display: flex; flex-direction: column; gap: var(--space-3); }

.success-screen, .success-card {
  max-width: 640px; margin: 0 auto;
  padding: clamp(48px, 9vw, 110px) 0;
  text-align: center;
  border: 0;
}
.success-seal {
  width: 76px; height: 76px;
  border: 1px solid var(--color-accent); border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto var(--space-6);
  font-size: 30px; color: var(--color-accent);
}
.success-screen h1, .success-card h1 { margin: 0 0 var(--space-3); }
.success-screen p, .success-card p {
  max-width: 44ch; margin: 0 auto var(--space-6);
  color: color-mix(in srgb, var(--color-text) 75%, transparent);
}
.success-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ═══ CARTEIRA ════════════════════════════════════════════════════════ */

.wallet-page { padding-bottom: clamp(30px, 5vw, 56px); }

.wallet-overview { padding: clamp(24px, 4vw, 44px) 0 var(--space-4); }
.wallet-overview-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--space-6); flex-wrap: wrap;
}
.wallet-overview-main h1 { margin: 0; }
.wallet-overview-main p {
  font-size: 15px; margin: 10px 0 0; max-width: 48ch;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.wallet-user-card {
  display: flex; align-items: flex-start; gap: var(--space-3);
  border: 1px solid var(--color-divider);
  border-left: 3px solid var(--color-accent);
  padding: 16px 18px; min-width: 230px;
}
.wallet-user-info { display: flex; flex-direction: column; gap: 3px; }
.wallet-user-info b { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 18px; }
.wallet-user-info span { font-size: 12px; color: color-mix(in srgb, var(--color-text) 58%, transparent); }
.wallet-user-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.wallet-user-badges span {
  font-size: 11px; padding: 3px 10px; border-radius: var(--radius-sm);
  background: var(--color-accent-100); color: var(--color-accent-800);
}
.wallet-edit-btn { margin-left: auto; }

/* ── roleta ──────────────────────────────────────────────────────────────
   Ilha deliberadamente fora do sistema: enquanto o resto da plataforma é
   fio e traço sobre papel, aqui é parque de diversões — fundo escuro,
   cores saturadas e botões preenchidos. O contraste é o ponto.
   ──────────────────────────────────────────────────────────────────── */

.wallet-wheel {
  --w1: #e8402a;  /* vermelho  */
  --w2: #f5a524;  /* âmbar     */
  --w3: #17a67a;  /* verde     */
  --w4: #2f7fd4;  /* azul      */
  --w5: #9b4dca;  /* roxo      */
  --w6: #ec4899;  /* magenta   */
  --w-ink: #fdf6ec;
  --w-bg: #17110d;

  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6); align-items: center;
  padding: clamp(22px, 3.5vw, 34px);
  margin: var(--space-6) 0;
  border: 0;
  border-radius: var(--radius-lg);
  color: var(--w-ink);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--w1) 42%, transparent), transparent 55%),
    radial-gradient(circle at 88% 100%, color-mix(in srgb, var(--w4) 40%, transparent), transparent 55%),
    radial-gradient(circle at 60% 20%, color-mix(in srgb, var(--w2) 26%, transparent), transparent 45%),
    var(--w-bg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* fita de bandeirinhas no topo, tipo arraial */
.wallet-wheel::before {
  content: '';
  position: absolute; inset-inline: 0; top: 0; height: 5px;
  background: linear-gradient(90deg,
    var(--w1) 0 16.66%, var(--w2) 16.66% 33.33%, var(--w3) 33.33% 50%,
    var(--w4) 50% 66.66%, var(--w5) 66.66% 83.33%, var(--w6) 83.33% 100%);
}

.wallet-wheel .eyebrow { color: var(--w2); }
.wallet-wheel-copy h2 {
  margin: 12px 0 8px;
  color: var(--w-ink);
  font-size: clamp(28px, 3.4vw, 40px);
}
.wallet-wheel-banner img { width: 100%; border-radius: var(--radius-md); margin-bottom: var(--space-3); }
.wallet-wheel-status {
  font-size: 14px;
  color: color-mix(in srgb, var(--w-ink) 78%, transparent);
  margin-bottom: var(--space-4);
}
.wallet-wheel-status strong { color: var(--w2); font-size: 17px; }

/* botões da roleta: preenchidos, ao contrário de todo o resto do site */
.wallet-wheel .btn {
  border: 0; color: #fff;
  background: var(--w1);
  box-shadow: 0 2px 0 color-mix(in srgb, #000 35%, transparent);
}
.wallet-wheel .btn:hover { background: color-mix(in srgb, var(--w1) 82%, #fff); color: #fff; }
.wallet-wheel .btn:active { transform: translateY(2px); box-shadow: none; }
.wallet-wheel .btn:not(.btn-primary) {
  background: transparent;
  color: var(--w-ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--w-ink) 45%, transparent);
}
.wallet-wheel .btn:not(.btn-primary):hover {
  background: color-mix(in srgb, var(--w-ink) 14%, transparent);
  color: var(--w-ink);
}
.wallet-wheel .btn:disabled { opacity: .4; }
.wallet-wheel :focus-visible { outline-color: var(--w2); }

.wallet-wheel-stage { position: relative; display: grid; place-items: center; }
.wallet-wheel-pointer {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; z-index: 3;
  border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 18px solid var(--w2);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}
.wallet-wheel-viewport {
  width: 100%; max-width: 340px; overflow: hidden;
  border: 3px solid var(--w2);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, .3);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .35), 0 8px 22px rgba(0, 0, 0, .45);
}
.wallet-wheel-track {
  display: flex;
  transform: translateX(var(--wheel-x, 0));
  transition: transform 4s cubic-bezier(.17, .67, .16, 1);
}
.wallet-wheel-track.no-transition { transition: none; }

.wallet-prize {
  flex: none; width: 33.333%;
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 8px; text-align: center;
  border-right: 1px solid rgba(0, 0, 0, .35);
  background: var(--seg, var(--w1));
  color: #fff;
  opacity: .78;
  transition: opacity .2s ease;
}
/* cada prêmio recebe sua cor pelo índice que o JS já grava no data-prize */
.wallet-prize[data-prize='0'] { --seg: var(--w1); }
.wallet-prize[data-prize='1'] { --seg: var(--w2); }
.wallet-prize[data-prize='2'] { --seg: var(--w3); }
.wallet-prize[data-prize='3'] { --seg: var(--w4); }
.wallet-prize[data-prize='4'] { --seg: var(--w5); }
.wallet-prize[data-prize='5'] { --seg: var(--w6); }
.wallet-prize[data-prize='6'] { --seg: var(--w3); }
.wallet-prize[data-prize='7'] { --seg: var(--w4); }
.wallet-prize[data-prize='8'] { --seg: var(--w5); }
.wallet-prize[data-prize='9'] { --seg: var(--w6); }

.wallet-prize.selected {
  opacity: 1;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 22px rgba(255, 255, 255, .35);
}
.wallet-prize img { max-width: 62%; max-height: 46%; object-fit: contain; }
.wallet-prize > span {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 16px; line-height: 1.1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.wallet-prize > small {
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.wallet-prize-placeholder {
  min-height: 0; height: auto; padding: 4px 8px;
  font-size: 13px; background: none;
  color: #fff;
}

/* o prêmio ganho: o mesmo tom festivo do bloco da roleta */
.wheel-modal-card {
  color: var(--w-ink, #fdf6ec);
  border: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(232, 64, 42, .5), transparent 58%),
    radial-gradient(circle at 85% 100%, rgba(47, 127, 212, .45), transparent 58%),
    #17110d;
}
.wheel-modal-card .eyebrow { color: #f5a524; }
.wheel-modal-card h2, .wheel-modal-card p { color: inherit; }
.wheel-modal-card .wheel-code {
  border-color: #f5a524; color: #f5a524;
  background: rgba(0, 0, 0, .3);
}
.wheel-modal-card .btn {
  border: 0; color: #fff; background: #e8402a;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}
.wheel-modal-card .btn:hover { background: #f05a45; color: #fff; }
.wheel-modal-card .btn:not(.btn-primary) {
  background: transparent; color: #fdf6ec;
  box-shadow: inset 0 0 0 1px rgba(253, 246, 236, .45);
}
.wheel-prize-image { max-width: 180px; max-height: 140px; object-fit: contain; margin: 0 auto; }

.bonus-tutorial {
  width: min(360px, 100%);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  max-height: 88vh; overflow-y: auto;
}
.bonus-tutorial-step img, .prize-tutorial img, .tutorial-step img { width: 100%; cursor: zoom-in; }
.bonus-tutorial-step figcaption { text-align: center; }

/* barra de métricas e filtros */
.wallet-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-4); flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.wallet-metrics { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.wallet-metric { display: flex; align-items: baseline; gap: 7px; }
.wallet-metric b, .wallet-metric strong {
  font-family: var(--font-heading); font-size: 28px; color: var(--color-accent);
  font-weight: var(--font-heading-weight); line-height: 1;
}
.wallet-metric span {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.wallet-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-filter {
  background: transparent; cursor: pointer;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 13px; color: var(--color-text);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: 6px 14px;
}
.wallet-filter:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.wallet-filter.active {
  color: var(--color-accent); border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 8%, transparent);
}

/* lista de ingressos — fio no topo, QR à direita, tipo canhoto de bilhete */
.wallet-list { display: flex; flex-direction: column; }
.wallet-ticket, .wallet-list > article {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: clamp(16px, 3vw, 32px);
  border-top: 1px solid var(--color-divider);
  padding: 24px 0;
  align-items: center;
}
.wallet-ticket-main { min-width: 0; }
.wallet-ticket-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.wallet-ticket-head h3 { font-size: 24px; margin: 0; }
.wallet-ticket-details, .wallet-ticket-location { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.wallet-ticket-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-qr {
  border-left: 1px dashed var(--color-divider);
  padding-left: clamp(16px, 3vw, 28px);
  display: grid; place-items: center; text-align: center; gap: 8px;
}
.wallet-qr img, .qr-img {
  width: 118px; height: 118px;
  background: #fff; padding: 6px;
  border: 1px solid var(--color-divider);
}
.wallet-qr small { font-size: 11px; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.wallet-qr-lock, .locked-qr, .lock-icon {
  width: 70px; height: 70px; border-radius: 50%;
  border: 1px solid var(--color-divider);
  display: grid; place-items: center;
  color: color-mix(in srgb, var(--color-text) 45%, transparent);
  font-size: 24px;
}

/* ═══ INGRESSO ════════════════════════════════════════════════════════ */

.ticket-view {
  max-width: 900px; margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) var(--page-pad);
}
.ticket-stub {
  border: 1px solid var(--color-divider);
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ticket-stub-body { padding: clamp(24px, 4vw, 40px); border-right: 1px dashed var(--color-divider); }
.ticket-stub-body h1 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.06; margin: 0 0 6px; }
.ticket-stub-body > p:first-of-type { font-size: 14px; color: color-mix(in srgb, var(--color-text) 65%, transparent); margin: 0 0 var(--space-6); }
.ticket-stub-qr {
  padding: clamp(24px, 4vw, 40px);
  display: grid; place-items: center; text-align: center; gap: var(--space-3);
}
.qr-panel img, .ticket-stub-qr img {
  width: 220px; height: 220px; max-width: 100%;
  background: #fff; padding: 12px;
  border: 1px solid var(--color-divider);
}
.ticket-step {
  border: 1px solid var(--color-divider);
  border-left: 3px solid var(--color-accent);
  padding: 18px 20px;
}
.ticket-step h6 { color: var(--color-accent-700); margin: 0 0 6px; }
.ticket-step p { font-size: 14px; line-height: 1.55; margin: 0 0 6px; }
.ticket-step p:last-child { margin-bottom: 0; }
.ticket-status-line { margin-bottom: var(--space-3); }
.ticket-stub-lock {
  width: 120px; height: 120px; border-radius: 50%;
  border: 1px solid var(--color-divider);
  display: grid; place-items: center;
  color: color-mix(in srgb, var(--color-text) 40%, transparent);
  font-size: 40px;
}
.ticket-stub-lock.ready { border-color: var(--color-accent); color: var(--color-accent); }

/* ═══ PRÊMIOS / TUTORIAIS ═════════════════════════════════════════════ */

.prizes-page, .food-page { padding: clamp(24px, 4vw, 44px) 0; }
.prizes-heading, .food-heading, .legal-hero {
  padding-bottom: clamp(16px, 3vw, 26px);
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: clamp(20px, 4vw, 34px);
}
.prizes-heading h1, .food-heading h1, .legal-hero h1 { margin: 0 0 var(--space-2); }
.prizes-heading p, .food-heading p, .legal-hero p {
  max-width: 56ch; margin: 0;
  color: color-mix(in srgb, var(--color-text) 75%, transparent);
}
.prizes-content { padding-bottom: clamp(24px, 4vw, 44px); }
.prizes-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); flex-wrap: wrap; }
.prize-tutorial-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.prize-tutorial { margin-top: clamp(28px, 5vw, 48px); }
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}
.prize-item {
  display: flex; flex-direction: column; gap: var(--space-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.prize-image { width: 100%; aspect-ratio: 16 / 10; border-width: 4px; }
.prize-value, .wheel-code, .prize-code {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; color: var(--color-accent);
}
.prize-code, .wheel-code {
  display: inline-block;
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  letter-spacing: .08em; font-size: 14px;
  color: var(--color-accent-700);
}
.prize-code-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.prize-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

.tutorial-step, .bonus-tutorial-step, .prize-tutorial {
  border: 1px solid var(--color-divider);
  padding: var(--space-3);
}
.bonus-tutorial-grid, .prize-tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}
.tutorial-lightbox, .bonus-tutorial-lightbox {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 55%, transparent);
}
.tutorial-lightbox img, .bonus-tutorial-lightbox img { max-width: min(900px, 92vw); max-height: 86vh; object-fit: contain; }
.tutorial-lightbox button, .bonus-tutorial-lightbox > button {
  position: absolute; top: 20px; right: 24px;
  background: none; border: 0; cursor: pointer;
  font-size: 32px; color: var(--color-bg); line-height: 1;
}

/* ═══ ENTREGA DE ALIMENTOS / CAMAROTE / LEGAL ═════════════════════════ */

.food-page, .legal-page { padding: clamp(24px, 4vw, 44px) 0; }
.food-heading, .legal-hero { margin-bottom: var(--space-6); }
.food-dropoff-grid, .food-points, .legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}
.food-dropoff-card, .food-point, .legal-card {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
/* Coluna editorial: medida confortável, corpo justificado, fios entre seções. */
.legal-content {
  max-width: 68ch;
  margin-inline: auto;
}
.legal-content article + article {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
  margin-top: var(--space-6);
}
.legal-content p, .legal-content li {
  text-align: justify;
  hyphens: auto;
  line-height: 1.7;
}
.legal-content h2 { font-size: 25px; margin: 0 0 var(--space-3); }
.legal-content h3 { font-size: 20px; margin: var(--space-6) 0 var(--space-2); }
.legal-content ul { padding-left: 1.2em; margin: 0 0 var(--space-3); }
.legal-content li { margin-bottom: var(--space-2); }
.legal-hero-wrap {
  padding-top: clamp(28px, 5vw, 52px);
  padding-bottom: clamp(16px, 3vw, 26px);
  border-bottom: 1px solid var(--color-divider);
}
.legal-hero-wrap h1 { margin: 0 0 var(--space-2); }
.legal-hero-wrap p { max-width: 56ch; margin: 0; color: color-mix(in srgb, var(--color-text) 75%, transparent); }

.premium-banner, .solidario-feature-card {
  border: 1px solid var(--color-divider);
  border-left: 3px solid var(--color-accent);
  padding: clamp(20px, 3vw, 30px);
  margin: var(--space-6) 0;
}

/* ═══ VALIDAÇÃO (portaria) ════════════════════════════════════════════ */

.validation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.scanner-panel, .qr-panel {
  border: 1px solid var(--color-divider);
  padding: clamp(20px, 3vw, 28px);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.scanner-frame {
  position: relative; aspect-ratio: 1;
  border: 1px solid var(--color-accent);
  overflow: hidden;
  background: color-mix(in srgb, var(--color-text) 4%, transparent);
}
.scanner-frame video, .scanner-frame canvas { width: 100%; height: 100%; object-fit: cover; }
.scan-line {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--color-accent);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 6% } 50% { top: 94% } }
.validation-result:empty { display: none; }
.validation-result {
  border: 1px solid var(--color-divider);
  border-left: 3px solid var(--color-accent);
  padding: var(--space-4);
  margin-top: var(--space-4);
  font-size: 14px;
}
.result-card { border-left: 3px solid var(--color-accent); }
.result-card.success { border-left-color: var(--color-success); background: var(--color-success-tint); }
.result-card.danger, .result-card.error { border-left-color: var(--color-danger); background: var(--color-danger-tint); }

/* ═══ PAINEL ADMIN ════════════════════════════════════════════════════ */

.admin-shell {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: 100vh;
}
.admin-menu {
  border-right: 1px solid var(--color-divider);
  padding: var(--space-6) var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-1);
  position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto;
}
.admin-tabs { display: flex; flex-direction: column; margin-top: var(--space-3); }
.admin-menu .brand, .admin-menu > h1 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; margin-bottom: var(--space-4);
}
.admin-menu button, .admin-menu a, .tab-btn {
  display: block; width: 100%; text-align: left;
  background: none; cursor: pointer;
  border: 0; border-bottom: 1px solid transparent;
  padding: var(--space-2) 0;
  font: inherit; font-size: 14px;
  color: var(--color-text); text-decoration: none;
}
.admin-menu button:hover, .tab-btn:hover { color: var(--color-accent); }
.admin-menu button.active, .tab-btn.active {
  color: var(--color-accent-700);
  border-bottom-color: var(--color-accent);
}
.admin-main { padding: var(--space-6) clamp(20px, 3vw, 40px); min-width: 0; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: if-fade .35s ease; }

.dashboard-grid, .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  margin-bottom: var(--space-6);
}
.stat-card, .dashboard-grid > * {
  background: var(--color-bg);
  border: 0; border-radius: 0;
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-1);
}
/* O valor vem antes do rótulo no markup; a ordem visual é invertida por flex. */
.stat-card { flex-direction: column-reverse; justify-content: flex-end; }
.stat-card span {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.stat-card b, .stat-card strong, .dashboard-grid b {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 30px; color: var(--color-accent); line-height: 1;
  font-feature-settings: 'tnum' 1;
}

/* Barras do dashboard: rótulo | trilho | número. */
.bar-list { display: flex; flex-direction: column; }
.bar-row {
  display: grid; grid-template-columns: minmax(80px, auto) 1fr auto;
  gap: var(--space-3); align-items: center;
  border-top: 1px solid var(--color-divider);
  padding: var(--space-2) 0; font-size: 13px;
}
.bar-row:first-child { border-top: 0; }
.bar-row > span:first-child { color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.bar-row > div {
  height: 6px; min-width: 40px;
  background: color-mix(in srgb, var(--color-text) 8%, transparent);
}
.bar-row > div > i { display: block; height: 100%; background: var(--color-accent); }
.bar-row > strong {
  font-family: var(--font-heading); font-size: 17px;
  color: var(--color-accent-700); font-feature-settings: 'tnum' 1;
}

.builder, .builder-tools, .image-manager-grid, .image-slot-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}
.builder-item, .image-showcase-panel, .image-slot-frame, .sponsor-details {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.image-slot-frame { padding: 0; aspect-ratio: 16 / 10; }
.image-slot-empty, .wheel-stock-image-empty {
  display: grid; place-items: center;
  border: 1px dashed var(--color-divider);
  aspect-ratio: 16 / 10;
  font-size: 12px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.image-slot-meta, .image-link-status, .slot-head {
  font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.image-link-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wheel-stock-image { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--color-divider); }
.wheel-stock-art-fields { display: grid; gap: 8px; }

/* ═══ MODAIS ══════════════════════════════════════════════════════════ */

.dialog-backdrop, .center-feedback-modal, .profile-modal, .wheel-modal {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 55%, transparent);
}
.center-feedback-backdrop { position: absolute; inset: 0; }
.dialog, .center-feedback-card, .profile-modal-card, .wheel-modal-card {
  position: relative; z-index: 1;
  width: min(460px, 100%);
  max-height: 88vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
}
.wheel-modal-card, .center-feedback-card { text-align: center; align-items: center; }
.wheel-modal-shell {
  display: flex; align-items: flex-start; justify-content: center;
  gap: var(--space-4); flex-wrap: wrap;
  max-width: 100%;
}
.dialog-title, .center-feedback-card h2, .profile-modal-card h2, .wheel-modal-card h2 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; margin: 0;
}
.dialog-body, .center-feedback-card p, .profile-modal-lead { font-size: 14px; opacity: .85; margin: 0; }
.dialog-actions, .center-feedback-actions, .profile-form-actions, .prize-actions {
  display: flex; justify-content: flex-end; gap: var(--space-2);
  margin-top: var(--space-2); flex-wrap: wrap;
}
.center-feedback-actions, .wheel-modal-card .actions { justify-content: center; }
.center-feedback-close, .profile-modal-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: 0; cursor: pointer;
  font-size: 24px; line-height: 1;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.center-feedback-close:hover, .profile-modal-close:hover { color: var(--color-accent); }
.center-feedback-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--color-accent);
  display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 24px;
  color: var(--color-accent);
}
.center-feedback-card.success .center-feedback-icon { border-color: var(--color-success); color: var(--color-success); }
.center-feedback-card.error .center-feedback-icon { border-color: var(--color-danger); color: var(--color-danger); }
.profile-form { display: flex; flex-direction: column; gap: 0; width: 100%; text-align: left; }
body.modal-open { overflow: hidden; }

/* ═══ ANIMAÇÃO E RESPONSIVO ═══════════════════════════════════════════ */

@keyframes if-fade { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-menu {
    position: static; max-height: none;
    border-right: 0; border-bottom: 1px solid var(--color-divider);
    flex-direction: row; flex-wrap: wrap; gap: var(--space-3);
    padding: var(--space-3) var(--page-pad);
  }
  .admin-menu button, .admin-menu a { width: auto; }
  .admin-tabs { flex-direction: row; flex-wrap: wrap; gap: var(--space-4); margin-top: 0; }
  .admin-menu .eyebrow, .admin-menu .help { display: none; }
}

@media (max-width: 760px) {
  :root { --page-pad: 20px; }
  body { font-size: 15px; }

  .if-topbar, .navbar { gap: var(--space-3); padding-block: 11px; }
  .if-brand-kicker { display: none; }
  .if-nav, .navlinks { gap: var(--space-3); width: 100%; justify-content: flex-start; }
  .if-search { order: 3; flex-basis: 100%; max-width: none; }

  .wallet-ticket, .wallet-list > article { grid-template-columns: 1fr; }
  .wallet-qr {
    border-left: 0; padding-left: 0;
    border-top: 1px dashed var(--color-divider);
    padding-top: var(--space-4);
  }
  .wallet-overview-row { align-items: stretch; }
  .wallet-user-card { width: 100%; }

  .ticket-stub-body { border-right: 0; border-bottom: 1px dashed var(--color-divider); }

  .event-index-row { grid-template-columns: 40px 1fr; }
  .event-index-right { grid-column: 2; text-align: left; margin-top: 6px; }

  .visual-carousel-stage { aspect-ratio: 4 / 3; }
  .carousel-nav { position: absolute; z-index: 2; background: color-mix(in srgb, var(--color-bg) 88%, transparent); }
  .carousel-nav.prev { left: 8px; }
  .carousel-nav.next { right: 8px; }

  .section-head { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(28px, 8vw, 38px); }
}
