:root {
  --brand: #3e5bb8;
  --brand-2: #4f6cc9;
  --brand-dark: #324a96;
  --accent: #e2410a;
  --accent-dark: #c23408;
  --accent-soft: #fff1e8;
  --ink: #2d3238;
  --dust: #f3f4f6;
  --paper: #ffffff;
  --muted: #8a8f98;
  --ok: #1f7a46;
  --err: #b42318;
  --line: rgba(45, 50, 56, .12);
  --shadow: 0 10px 28px rgba(45, 50, 56, .08);
  --radius: 12px;
  --font: "Barlow", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--dust);
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.inline-form { display: inline; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 28px; width: auto; max-width: 132px; object-fit: contain; display: block; }
.logo-img-footer { height: 32px; max-width: 144px; }
.logo-img-sidebar { height: 28px; width: auto; max-width: 132px; }
.logo-img-auth { height: 34px; max-width: 156px; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--brand);
  color: #fff;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.site-nav { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.site-nav > a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .92; }
.site-nav > a:hover { color: #fff; opacity: 1; }
.nav-search input {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 999px; padding: 8px 14px; width: 160px;
}
.nav-search input::placeholder { color: rgba(255,255,255,.7); }
.nav-account { position: relative; }
.nav-account-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 0; color: #fff;
  border-radius: 999px; padding: 5px 12px 5px 5px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.nav-account-btn:hover, .nav-account.is-open .nav-account-btn { background: rgba(255,255,255,.22); }
.nav-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: var(--brand);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.nav-caret { transition: transform .15s ease; }
.nav-account.is-open .nav-caret { transform: rotate(180deg); }
.nav-account-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 220px; background: #fff; color: var(--ink);
  border-radius: 12px; box-shadow: 0 16px 40px rgba(20, 24, 40, .18);
  padding: 8px; z-index: 40;
}
.nav-account.is-open .nav-account-menu { display: block; }
.nav-account-head {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px;
}
.nav-account-head strong { font-size: 14px; }
.nav-account-head span { font-size: 12px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.nav-account-menu a, .nav-account-menu button {
  display: flex; width: 100%; align-items: center;
  padding: 10px 12px; border: 0; background: none; border-radius: 8px;
  color: var(--ink); text-decoration: none; font: inherit; font-weight: 600;
  text-align: left; cursor: pointer; opacity: 1;
}
.nav-account-menu a:hover, .nav-account-menu button:hover { background: #f3f5fb; color: var(--brand); }
.nav-account-menu form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.nav-account-menu button { color: var(--err); }
.nav-account-menu button:hover { background: #fdecea; color: var(--err); }
.nav-toggle {
  display: none; background: none; border: 0; width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 11px 18px; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-danger { background: var(--err); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; }

.hero-carousel { position: relative; overflow: hidden; background: var(--brand-dark); min-height: 380px; }
.carousel-track { position: relative; min-height: 420px; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .45s ease; color: #fff; text-decoration: none;
}
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 420px; object-fit: cover; filter: brightness(.72); }
.carousel-caption { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 2; }
.carousel-caption .chip-tipo { position: static; display: inline-block; margin-bottom: 8px; }
.carousel-caption p { margin: 0 0 16px; font-size: 18px; }
.carousel-lotes { font-weight: 700; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--brand); font-size: 28px; cursor: pointer; z-index: 3;
}
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer;
}
.carousel-dots button.is-active { background: var(--accent); }

.search-bar { margin-bottom: 22px; }
.search-bar input {
  width: 100%; border: 1px solid #e4e6ea; border-radius: 10px; padding: 14px 16px; background: #fff;
}

.cal-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 22px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 12px;
}
.cal-filters label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5b6168;
  margin-bottom: 6px;
}
.cal-filters select {
  width: 100%;
  border: 1px solid #e4e6ea;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.cal-filters-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-filters .btn-ghost { color: var(--brand); border-color: #d5d8de; }
.cal-filter-active { margin: -8px 0 18px; color: #5b6168; }

.section { padding: 40px 0; }
.section h2 { font-size: 28px; margin: 0 0 18px; color: #4a4f55; font-weight: 700; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.card-event {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-event:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(45,50,56,.12); }
.card-event .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; background: #d9dde3; }
.card-event .thumb img { width: 100%; height: 100%; object-fit: cover; }
.chip-tipo, .chip-preco {
  position: absolute; bottom: 12px; color: #fff; font-weight: 700; font-size: 12px;
  padding: 5px 10px; border-radius: 4px; letter-spacing: .02em;
}
.chip-tipo { left: 12px; background: var(--brand); text-transform: lowercase; }
.chip-tipo.is-meia { background: #3da4f0; }
.chip-preco { right: 12px; background: var(--accent); text-transform: none; }
table .chip-tipo { position: static; display: inline-block; }
.card-event .body { padding: 16px 16px 14px; }
.card-event h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: #2d3238; }
.card-cat { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.card-lotes { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.card-lotes li {
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline;
  font-size: 12px; font-weight: 600; color: #6b7178;
}
.card-lotes li.is-now { color: var(--ink); }
.card-lotes li.is-now strong { color: var(--accent); }
.card-lotes li.is-old strong { text-decoration: line-through; opacity: .65; }
.card-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 13px; color: #6b7178;
}
.card-duracao { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; }

.badge {
  position: absolute; left: 12px; top: 12px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.badge.meia { background: #3da4f0; }
.muted { color: var(--muted); }

.partners { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: center; }
.partners img { height: 48px; width: auto; object-fit: contain; filter: grayscale(.2); }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; min-height: 180px; }
.gallery img:first-child { grid-row: span 2; min-height: 360px; }
.gallery.is-single { grid-template-columns: 1fr; }
.gallery.is-single img, .gallery.is-single img:first-child { min-height: 280px; max-height: 380px; grid-row: auto; }
.gallery.is-two { grid-template-columns: 1fr 1fr; }
.gallery.is-two img:first-child { grid-row: auto; min-height: 240px; }

.event-public-title { font-family: var(--display); font-size: clamp(36px, 6vw, 64px); margin: 18px 0 12px; line-height: 1; }
.event-meta { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.event-meta li { display: flex; align-items: center; gap: 8px; color: #5b6168; font-weight: 600; font-size: 15px; }
.event-meta-icon { color: var(--brand); display: inline-flex; }
.event-desc { margin: 0 0 22px; max-width: 62ch; }
.event-map-title { font-size: 18px; margin: 0 0 10px; }

.detail-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.buy-box {
  background: var(--paper); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); position: sticky; top: 92px;
  display: flex; flex-direction: column; gap: 12px;
}
.buy-box .btn { width: 100%; }
.buy-box .toast { margin: 0; }
.buy-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price { font-family: var(--display); font-size: 42px; color: var(--accent); line-height: 1; }
.lot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lot-list li {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 10px;
  background: #f6f7fb; border-radius: 10px; border-left: 3px solid transparent;
}
.lot-list li.is-now { color: var(--ink); border-left-color: var(--accent); background: var(--accent-soft); }
.lot-list li.is-old strong { text-decoration: line-through; opacity: .7; }
.lot-save { margin: 0; font-size: 13px; font-weight: 700; color: var(--ok); }
.buy-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.buy-meta li { display: flex; align-items: center; gap: 8px; color: #5b6168; font-weight: 600; font-size: 14px; }
.buy-meta svg { color: var(--brand); flex-shrink: 0; }
.buy-meal {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #f6f7fb; border-radius: 12px; padding: 12px;
}
.buy-meal-info { display: flex; align-items: center; gap: 10px; color: var(--brand); }
.buy-meal-info div { display: flex; flex-direction: column; }
.buy-meal-info strong { color: var(--ink); font-size: 14px; }
.buy-meal-info span { color: var(--muted); font-size: 12px; font-weight: 600; }
.buy-meal input { width: 72px; margin: 0; text-align: center; }
.buy-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 700; padding: 4px 2px 0;
}
.buy-total strong { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; }
.pay-methods { padding-top: 4px; border-top: 1px solid var(--line); }
.pay-methods-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pay-flags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pay-flag { display: inline-flex; line-height: 0; }
.pay-flag svg { display: block; }
.buy-pay-hint { margin: 0; }
.pay-options-label {
  display: block; font-weight: 700; margin: 18px 0 10px; color: var(--ink);
}
.pay-options { display: grid; gap: 10px; margin: 0 0 8px; }
.pay-option {
  display: flex; align-items: center; gap: 14px;
  margin: 0; font-weight: 500;
  border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 16px; cursor: pointer; background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pay-option:hover { border-color: rgba(62, 91, 184, .45); }
.pay-option:has(input:focus-visible) {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
.pay-option:has(input:checked) {
  border-color: var(--brand); background: #eef2ff;
  box-shadow: 0 0 0 3px rgba(62, 91, 184, .12);
}
.pay-option input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0;
}
.pay-option-icon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
}
.pay-option-icon.is-pix { background: #32BCAD; }
.pay-option-icon.is-card { background: var(--brand); }
.pay-option-icon.is-boleto { background: #4b5563; }
.pay-option-copy { flex: 1; min-width: 0; }
.pay-option-copy strong {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 16px; line-height: 1.2;
}
.pay-option-copy strong em {
  font-style: normal; font-size: 11px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: #0f766e; background: #ccfbf1; border-radius: 999px;
  padding: 2px 8px;
}
.pay-option-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.pay-option::after {
  content: ""; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #c5cad3; background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}
.pay-option:has(input:checked)::after {
  border-color: var(--brand); background: var(--brand);
  box-shadow: inset 0 0 0 4px #fff;
}
.map-block { margin: 8px 0 4px; }
.map-toolbar { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; align-items: center; }
.map-toolbar input { flex: 1; min-width: 180px; margin: 0; }
.map-frame { height: 280px; border: 0; width: 100%; border-radius: 16px; overflow: hidden; background: #e8edf3; }
.map-frame .leaflet-container { height: 100%; width: 100%; font-family: inherit; z-index: 1; }
.map-block [data-map-status]:empty { display: none; }

label { display: block; font-weight: 600; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.row-2, .row-3 { display: grid; gap: 12px; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
.help { font-size: 13px; color: var(--muted); }
.error { color: var(--err); font-size: 13px; margin: 4px 0 0; }
.form-card, .auth-card, .panel-card {
  background: var(--paper); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.check-flag {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 8px;
  font-weight: 700; color: var(--brand);
}
.check-flag input { width: auto; }
.pontos-card {
  margin: 16px 0 8px; padding: 16px; border-radius: 14px;
  background: #eef2ff; border: 1px solid #d5ddf6;
}
.pontos-card-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.pontos-card strong { display: block; font-size: 36px; line-height: 1.1; margin: 4px 0 8px; color: var(--brand-dark); }
.pontos-hist-title { font-size: 18px; margin: 22px 0 10px; }

.auth-body {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    linear-gradient(180deg, rgba(50,74,150,.82), rgba(62,91,184,.92)),
    var(--brand-dark);
}
.auth-logo { position: absolute; top: 24px; left: 24px; color: #fff; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-family: var(--display); font-size: 42px; margin: 0 0 8px; }

.toast { padding: 12px 16px; border-radius: 12px; margin: 16px 0; font-weight: 600; }
.toast-ok { background: #e8f6ee; color: var(--ok); }
.toast-err { background: #fdecea; color: var(--err); }
.toast-info { background: #e8eeff; color: var(--brand-dark); }

.site-footer { background: var(--brand); color: #e8edff; padding: 36px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; gap: 16px; }
.footer-grid a { display: block; text-decoration: none; opacity: .85; margin-top: 6px; }
.copy { opacity: .8; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none;
  place-items: center; z-index: 50; padding: 16px;
}
.modal.is-open { display: grid; }
.modal-box { background: #fff; border-radius: 20px; padding: 24px; width: min(420px, 100%); }
.checkin-modal-box { width: min(480px, 100%); }
.checkin-modal-box.is-ok { box-shadow: 0 0 0 3px #1f9d55; }
.checkin-modal-box.is-warn { box-shadow: 0 0 0 3px #d97706; }
.checkin-modal-box.is-err { box-shadow: 0 0 0 3px var(--err); }
.checkin-badge {
  margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; display: inline-block; padding: 6px 10px; border-radius: 999px;
  background: #e8f6ee; color: var(--ok);
}
.checkin-badge.is-ja_utilizado { background: #fff4d6; color: #b45309; }
.checkin-badge.is-nao_pago { background: #fdecea; color: var(--err); }
.checkin-pilot-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.checkin-pilot-head h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.checkin-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  font-size: 26px; font-weight: 800;
}
.checkin-dl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 8px;
}
.checkin-dl div { background: #f4f6fb; border-radius: 12px; padding: 10px 12px; }
.checkin-dl dt { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.checkin-dl dd { margin: 4px 0 0; font-weight: 700; word-break: break-word; }
tr.is-checked { background: #e8f6ee; }
.checkin-net {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
  background: #e8f6ee; color: #146c43; font-weight: 700; font-size: 14px;
}
.checkin-net.is-off { background: #fff4d6; color: #92400e; }
.checkin-net.is-pending { background: #e8eeff; color: var(--brand-dark); }
.checkin-net-actions { display: flex; gap: 8px; flex-wrap: wrap; }

table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { background: #e8eeff; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

.painel-body { display: flex; min-height: 100vh; background: var(--dust); }
.sidebar {
  width: 240px; background: var(--brand); color: #fff; padding: 20px 16px;
  display: flex; flex-direction: column; gap: 18px;
}
.sidebar nav { display: flex; flex-direction: column; gap: 6px; }
.sidebar nav a {
  text-decoration: none; padding: 10px 12px; border-radius: 10px; opacity: .9; font-weight: 600;
}
.sidebar nav a.is-active, .sidebar nav a:hover { background: rgba(255,255,255,.16); color: #fff; opacity: 1; }
.painel-main { flex: 1; min-width: 0; }
.painel-top {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.painel-top > strong { flex: 1; min-width: 0; }
.painel-top .nav-toggle span { background: var(--ink); }
.notif { position: relative; margin-left: 4px; }
.notif-btn {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: 12px;
  background: transparent; color: var(--ink); cursor: pointer;
}
.notif-btn:hover, .notif.is-open .notif-btn { background: #eef1fb; color: var(--brand); }
.notif-badge {
  position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 999px; background: var(--err); color: #fff;
  font-size: 10px; font-weight: 800; line-height: 18px; text-align: center;
}
.notif-badge.is-empty { display: none; }
.notif-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  width: min(360px, calc(100vw - 32px)); background: #fff; color: var(--ink);
  border-radius: 12px; box-shadow: 0 16px 40px rgba(20, 24, 40, .18);
  padding: 8px; z-index: 30;
}
.notif.is-open .notif-menu { display: block; }
.notif-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px;
}
.notif-head a { font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: none; }
.notif-empty { margin: 0; padding: 16px 10px; color: var(--muted); font-size: 14px; }
.notif-item {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px;
  border-radius: 10px; text-decoration: none; color: inherit;
}
.notif-item:hover { background: #f3f5fb; }
.notif-item.is-new { background: #eef3ff; }
.notif-item strong { font-size: 14px; }
.notif-item span {
  font-size: 13px; color: var(--muted); display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notif-item time, .notif-card time { font-size: 12px; color: var(--muted); }
.notif-page { display: grid; gap: 10px; }
.notif-card {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; border-radius: 12px; padding: 16px 18px;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  border-left: 4px solid transparent;
}
.notif-card:hover { box-shadow: 0 12px 32px rgba(45, 50, 56, .12); }
.notif-card.is-new { border-left-color: var(--brand); background: #f7f9ff; }
.notif-card p { margin: 0; color: #4b5563; }
.painel-content { padding: 20px; }
.btn-add { border-radius: 999px; padding: 10px 18px; }
.admin-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 380px));
  gap: 22px;
}
.admin-event-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.admin-event-card .thumb { position: relative; display: block; aspect-ratio: 16/10; background: #d9dde3; }
.admin-event-card .thumb img, .thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback { display: grid; place-items: center; color: #fff; background: var(--brand-dark); font-weight: 700; }
.chip-row {
  position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; z-index: 1;
}
.chip-status, .chip-kind {
  color: #fff; font-weight: 700; font-size: 11px; padding: 4px 8px; border-radius: 4px;
}
.chip-status { background: #22c55e; }
.chip-status.is-off { background: #94a3b8; }
.chip-kind { background: var(--brand); }
.chip-kind.is-meia { background: #eab308; color: #1f2937; }
.admin-event-card .chip-preco { text-transform: none; z-index: 1; }
.admin-event-card .body { padding: 14px 16px 16px; }
.admin-event-card h3 { margin: 0 0 12px; font-size: 18px; }
.admin-event-card h3 a { text-decoration: none; }
.admin-card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.icon-actions { display: flex; gap: 10px; color: var(--brand); }
.icon-actions a { display: inline-flex; color: var(--brand); }
.icon-actions a:hover { color: var(--brand-dark); }
.card-when { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 13px; font-weight: 600; }
.pagination { display: flex; justify-content: flex-end; gap: 8px; margin-top: 28px; }
.pagination a {
  min-width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; background: #fff; color: #6b7280; font-weight: 700;
}
.pagination a.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination a.is-disabled { opacity: .4; pointer-events: none; }
.event-page { display: flex; flex-direction: column; gap: 16px; }
.event-hero .event-title { margin: 8px 0 6px; font-size: 32px; line-height: 1.15; }
.event-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
}
.tag-brand { background: var(--brand); color: #fff; }
.tag-meia { background: #3da4f0; color: #fff; }
.tag-ok { background: #e8f6ee; color: var(--ok); }
.tag-muted { background: #eef0f3; color: #5b6168; }
.action-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.action-bar form { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat-line { font-size: 28px; font-weight: 800; color: var(--brand); margin: 4px 0; }
.stock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.stock-list li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.panel-card h3 { margin: 0 0 12px; font-size: 16px; }

.finance { display: flex; flex-direction: column; gap: 16px; }
.fin-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.fin-head h2 { margin: 0 0 6px; font-size: 28px; }
.fin-fresh { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.fin-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.fin-filters a {
  min-height: 36px; padding: 8px 14px; border: 1px solid #e5e7eb; border-radius: 999px;
  text-decoration: none; background: #fff; color: #6b7280; font-weight: 700; font-size: 13px;
}
.fin-filters a.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.fin-kpis {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(120px, 1fr));
  gap: 12px;
}
.fin-kpi {
  background: var(--paper); border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px;
}
.fin-kpi-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fin-kpi-value { font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.fin-kpi.is-hero { background: var(--brand); color: #fff; }
.fin-kpi.is-hero .fin-kpi-label, .fin-kpi.is-hero .help { color: rgba(255,255,255,.82); }
.fin-kpi.is-hero .fin-kpi-value { color: #fff; font-size: 30px; font-family: var(--display); }
.fin-kpi.is-warn .fin-kpi-value { color: #b45309; }
.fin-compose {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  box-shadow: var(--shadow);
}
.fin-compose-head { margin-bottom: 14px; }
.fin-compose-head h3 { margin: 0 0 2px; font-size: 16px; }
.fin-compose-head .help { margin: 0; }
.fin-compose-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}
.fin-compose-item {
  flex: 1 1 140px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f6f7fb;
  border: 1px solid #eef0f5;
}
.fin-compose-item span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.fin-compose-item strong {
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  word-break: break-word;
}
.fin-compose-item.is-trail {
  background: #eef2ff;
  border-color: #d9e0f7;
}
.fin-compose-item.is-trail strong { color: var(--brand-dark); }
.fin-compose-item.is-total {
  background: #e8f6ee;
  border-color: #cdebd8;
  flex: 1.15 1 160px;
}
.fin-compose-item.is-total strong { color: var(--ok); font-size: 22px; }
.fin-compose-op {
  flex: 0 0 auto;
  align-self: center;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef0f3;
  color: #5b6168;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.fin-compose-op.is-eq {
  background: var(--brand);
  color: #fff;
}
.fin-insights { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fin-insights li { background: var(--paper); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; }
.fin-insights .is-ok { border-left: 4px solid var(--ok); }
.fin-insights .is-warn { border-left: 4px solid #d97706; }
.fin-insights .is-info { border-left: 4px solid var(--brand); }
.fin-charts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.fin-chart-box { position: relative; height: 280px; }
.fin-chart-box.is-donut { height: 240px; }
.fin-table .num, .fin-table tfoot th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fin-table .fin-net { font-weight: 800; color: var(--ok); }
.fin-table tfoot th { background: #f3f5fb; }
.fin-table td .tag { margin-left: 6px; vertical-align: middle; }

.reports { display: flex; flex-direction: column; gap: 16px; }
.report-filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
  background: var(--paper); padding: 16px 18px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.report-filters label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.report-filters select {
  min-width: 180px; height: 40px; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 0 12px; font: inherit; color: var(--ink); background: #fff;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.report-card {
  background: var(--paper); border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.report-card h3 { margin: 0; font-size: 17px; }
.report-card p { margin: 0; color: #5b6168; font-size: 14px; flex: 1; }
.report-actions { display: flex; gap: 8px; margin-top: 8px; }
.report-map { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: #4b5563; }
.report-map strong { color: var(--ink); }

.dash { display: flex; flex-direction: column; gap: 16px; }
.dash-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.dash-head h2 { margin: 0 0 4px; font-size: 28px; }
.dash-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.dash-next {
  background: var(--brand); color: #fff; border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  display: grid; gap: 16px;
}
.dash-next h3 { margin: 6px 0 8px; font-size: 26px; }
.dash-next p { margin: 0; opacity: .92; }
.dash-countdown { font-family: var(--display); font-size: 32px; letter-spacing: .02em; }
.dash-next .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.dash-next-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dash-next-stats div { background: rgba(255,255,255,.12); border-radius: 12px; padding: 12px; }
.dash-next-stats b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.dash-next-stats span { font-size: 12px; opacity: .85; font-weight: 600; }
.dash-progress { height: 8px; background: rgba(255,255,255,.2); border-radius: 999px; overflow: hidden; }
.dash-progress span { display: block; height: 100%; background: #fff; border-radius: 999px; }
.dash-next .help { color: rgba(255,255,255,.8); margin: 0; }
.dash-kpis { display: grid; grid-template-columns: 1.3fr repeat(5, minmax(120px, 1fr)); gap: 12px; }
.dash-kpis a.fin-kpi { text-decoration: none; color: inherit; }
.dash-kpis a.fin-kpi:hover { transform: translateY(-1px); }
.dash-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.dash-event-list, .dash-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dash-event-list li, .dash-alerts li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dash-event-list a { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.dash-event-list span, .dash-event-nums { color: var(--muted); font-size: 13px; font-weight: 600; }
.dash-event-nums { display: flex; gap: 10px; white-space: nowrap; }
.dash-alerts a { text-decoration: none; font-weight: 600; font-size: 14px; }
.dash-alerts .is-warn { border-left: 4px solid #d97706; padding-left: 10px; }
.dash-alerts .is-info { border-left: 4px solid var(--brand); padding-left: 10px; }
.dash-alerts .is-ok { border-left: 4px solid var(--ok); padding-left: 10px; }
.dash-table-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.dash-table-head h3 { margin: 0; }
.dash-table-head a { font-weight: 700; color: var(--brand); text-decoration: none; }

.contact-hero { text-align: center; margin-bottom: 32px; }
.contact-hero h1 { font-family: var(--display); font-size: clamp(42px, 7vw, 64px); margin: 0 0 8px; line-height: 1; }
.contact-hero p { margin: 0; color: var(--muted); font-size: 17px; }

.sobre-lead { max-width: 68ch; margin: 0 auto 40px; text-align: center; color: #4b5563; }
.sobre-lead p { margin: 0; font-size: 17px; }
.sobre-block { margin: 0 0 40px; }
.sobre-kicker {
  margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand);
}
.sobre-block h2 { margin-bottom: 18px; }
.sobre-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.sobre-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sobre-feat {
  background: var(--paper); border-radius: var(--radius); padding: 18px 18px 16px;
  border: 1px solid var(--line);
}
.sobre-feat-ico { display: inline-flex; color: var(--brand); margin-bottom: 10px; }
.sobre-feat h3 { margin: 0 0 6px; font-size: 16px; }
.sobre-feat p { margin: 0; font-size: 14px; color: #5b6168; }
.sobre-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 40px; }
.sobre-cta {
  background: var(--paper); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line);
}
.sobre-cta.is-org { border-color: var(--brand); }
.sobre-cta h3 { margin: 0 0 8px; font-size: 22px; }
.sobre-cta p { margin: 0 0 12px; color: #5b6168; }
.sobre-cta ul { margin: 0 0 18px; padding-left: 18px; color: #4b5563; }
.sobre-cta .btn { width: auto; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.contact-info, .contact-form-card {
  background: var(--paper); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.contact-info { border-left: 4px solid var(--brand); }
.contact-info h2 { font-size: 20px; margin: 0 0 16px; color: var(--ink); }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-list a { text-decoration: none; color: var(--brand); }
.contact-list a:hover { text-decoration: underline; }
.contact-ico { color: var(--brand); display: inline-flex; flex-shrink: 0; }
.contact-wa-mini { display: inline-flex; color: #25D366; margin-left: auto; }
.contact-social { display: flex; gap: 10px; }
.contact-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #eef0f4; color: #5b6168; text-decoration: none;
}
.contact-social a.is-wa:hover { background: #25D366; color: #fff; }
.contact-social a.is-fb:hover { background: #1877F2; color: #fff; }
.contact-social a.is-ig:hover { background: #E4405F; color: #fff; }
.contact-form .btn { margin-top: 10px; min-width: 168px; }
.contact-map { margin-top: 28px; }
.contact-map-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.contact-map-head h2 { margin: 0; font-size: 20px; }
.contact-map .map-frame { height: 380px; }
.upload-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.upload-row input[type=file] { width: auto; }
.table-wrap { overflow-x: auto; }
.dt-box { margin: 0 0 8px; }
.dt-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}
.dt-info { font-size: 13px; font-weight: 600; color: var(--muted); }
.dt-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5b6168;
}
.dt-search input {
  width: min(280px, 70vw);
  margin: 0;
  padding: 9px 12px;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.dt-empty { margin: 8px 0 0; }
tr[hidden] { display: none !important; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--paper); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--display); font-size: 36px; color: var(--brand); }

.thumb-row { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb-row figure { width: 140px; position: relative; }
.thumb-row img { height: 90px; width: 140px; object-fit: cover; border-radius: 10px; }

.qr-box { background: #fff; padding: 16px; border-radius: 16px; display: grid; place-items: center; min-height: 212px; }
.qr-box canvas { display: none !important; }
.qr-box img { width: 180px; height: 180px; }
#reader { width: min(420px, 100%); }

.fee-box { background: #e8eeff; border-radius: 12px; padding: 12px; margin: 8px 0 16px; }

@media (max-width: 1100px) {
  .fin-kpis { grid-template-columns: repeat(3, 1fr); }
  .fin-kpi.is-hero { grid-column: 1 / -1; }
  .fin-charts { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(3, 1fr); }
  .dash-kpis .fin-kpi.is-hero { grid-column: 1 / -1; }
  .dash-cols, .dash-next-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .detail-grid, .gallery, .contact-grid { grid-template-columns: 1fr; }
  .gallery img:first-child { min-height: 220px; grid-row: auto; }
  .buy-box { position: static; }
  .row-3 { grid-template-columns: 1fr 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; transform: translateX(-110%); transition: .2s; z-index: 40; }
  .sidebar.is-open { transform: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: var(--brand-dark); padding: 16px; flex-direction: column; align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .nav-search input { width: 100%; }
  .nav-account-btn { width: 100%; justify-content: flex-start; }
  .nav-account-menu { position: static; min-width: 0; margin-top: 8px; box-shadow: none; }
  .carousel-slide img, .carousel-track { min-height: 280px; height: 280px; }
  .hero-carousel { min-height: 280px; }
  .dash-cols, .dash-next-stats { grid-template-columns: 1fr; }
  .sobre-grid, .sobre-grid-3, .sobre-split { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .row-2, .row-3 { grid-template-columns: 1fr; }
  table { display: block; overflow-x: auto; }
  .fin-compose-flow { flex-direction: column; }
  .fin-compose-item { flex: 1 1 auto; }
  .fin-compose-op {
    width: 24px; height: 24px; font-size: 14px;
    transform: rotate(90deg);
  }
  .fin-kpis { grid-template-columns: 1fr 1fr; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .contact-form .btn { width: 100%; }
  .cal-filters { grid-template-columns: 1fr; }
  .cal-filters .btn { width: 100%; }
  .checkin-dl { grid-template-columns: 1fr; }
  .painel-top-user { display: none; }
  .sobre-grid, .sobre-grid-3, .sobre-split { grid-template-columns: 1fr; }
}
