/* ============ Agenda dos Lagos ============ */
:root {
  --coral: #FF6A3D; --laranja: #FF9F43; --ouro: #FFC15E; --rosa: #F2557A;
  --noite: #0E1433; --noite2: #1B2A6B; --mar: #0B6E99;
  --grad-sol: linear-gradient(135deg, #FFC15E 0%, #FF8A3D 45%, #F2557A 100%);
  --grad-noite: linear-gradient(135deg, #1B2A6B 0%, #0E1433 100%);
  --radius: 22px; --radius-sm: 14px;
  --font-d: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
:root, [data-theme="light"] {
  --bg: #FFF7EF; --bg2: #FFEFE1; --card: #FFFFFF; --card2: #FFF4EA;
  --txt: #1C1633; --txt2: #5E5672; --txt3: #938AA6; --line: rgba(28, 22, 51, .09);
  --acc: #F2552C; --acc-txt: #fff; --lagos: #1F67AE; --ag: #9A9EA5; --chip: #FFFFFF; --chip-on: #1C1633; --chip-on-txt: #fff;
  --shadow: 0 10px 30px -12px rgba(120, 50, 20, .25); --glass: rgba(255, 247, 239, .82);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0A0F2C; --bg2: #11183F; --card: #141C4A; --card2: #1A2358;
  --txt: #F3F1FF; --txt2: #B6B3D6; --txt3: #7F7CA8; --line: rgba(255, 255, 255, .08);
  --acc: #FF8A5C; --acc-txt: #1A0E2E; --lagos: #5CC8FF; --ag: #D7DAE0; --chip: #161E4D; --chip-on: #FFC15E; --chip-on-txt: #1A0E2E;
  --shadow: 0 14px 36px -14px rgba(0, 0, 0, .7); --glass: rgba(10, 15, 44, .8);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--txt); font-family: var(--font); }
body { min-height: 100dvh; padding-bottom: calc(76px + var(--safe-b)); transition: background .6s, color .6s; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -.02em; margin: 0; }
main { max-width: 760px; margin: 0 auto; }
.wrap { padding: 0 16px; }
.muted { color: var(--txt2); } .small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- topo ---- */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.topbar .logo-btn { width: 44px; height: 44px; flex: none; border-radius: 12px; padding: 2px; }
.logo-svg { width: 100%; height: 100%; overflow: visible; color: var(--ag); }
.logo-svg .lg-sol, .logo-svg .lg-lua { transform-box: fill-box; transform-origin: 30% 100%; transition: transform .8s cubic-bezier(.5, -.35, .3, 1.35), opacity .45s; }
.logo-svg .lg-lua { opacity: 0; transform: rotate(-70deg) scale(.6); }
[data-theme="dark"] .logo-svg .lg-sol { opacity: 0; transform: rotate(70deg) scale(.6); }
[data-theme="dark"] .logo-svg .lg-lua { opacity: 1; transform: none; }
.logo-btn:active .logo-svg { transform: scale(.92); }
.brand .lagos { color: var(--lagos); } .brand .ag { color: var(--ag); }
.brand { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand b { white-space: nowrap; font-family: var(--font-d); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand small { font-size: 11px; color: var(--txt3); margin-top: 3px; white-space: nowrap; }
.city-btn { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 99px; background: var(--chip); border: 1px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap; }
.city-btn svg { width: 14px; height: 14px; }

/* ---- hero ---- */
.hero { position: relative; margin: 12px 16px 4px; border-radius: 24px; overflow: hidden; min-height: 132px; padding: 18px 18px 16px; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.hero .sky { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero .photo-slot { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.hero .photo-slot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); }
.hero .slot-tag { position: absolute; right: 12px; bottom: 12px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 4px 8px; border-radius: 99px; backdrop-filter: blur(6px); border: 1px dashed rgba(255,255,255,.5); }
.hero h1 { font-size: clamp(24px, 6.6vw, 36px); font-weight: 800; line-height: 1.02; max-width: 15ch; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero p { margin: 8px 0 0; font-size: 14px; opacity: .92; display: flex; gap: 12px; flex-wrap: wrap; }
.hero p span { display: inline-flex; align-items: center; gap: 5px; }

/* ---- filtros ---- */
.filters { position: sticky; top: calc(63px + env(safe-area-inset-top, 0px)); z-index: 40; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 8px 0; margin-top: 6px; }
.chips.estilos { padding-top: 2px; padding-bottom: 2px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chips + .chips { margin-top: 8px; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; background: var(--chip); border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .15s, background .2s; position: relative; }
.chip:active { transform: scale(.95); }
.chip.on { background: var(--chip-on); color: var(--chip-on-txt); border-color: transparent; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.chip.more { padding: 9px 12px; }
.chip .badge { position: absolute; top: -4px; right: -4px; background: var(--acc); color: var(--acc-txt); font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; }
.chip input[type=date] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---- seções / trilhos ---- */
.sec { margin: 22px 0 6px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 16px; margin-bottom: 12px; gap: 12px; }
.sec-h h2 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sec-h a, .sec-h button { font-size: 14px; color: var(--acc); font-weight: 600; white-space: nowrap; }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 16px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---- cards ---- */
.flyer { position: relative; overflow: hidden; background: var(--card2); }
.flyer img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 99px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag.date { left: 10px; top: 10px; background: rgba(10, 12, 35, .62); color: #fff; }
.tag.price { right: 10px; top: 10px; background: rgba(255,255,255,.92); color: #1C1633; }
.tag.price.free { background: #2BD17E; color: #08301C; }
.tag.destaque { left: 10px; bottom: 10px; background: rgba(255, 193, 94, .95); color: #3A1D00; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.seal { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; vertical-align: middle; }
.seal.parceiro { background: linear-gradient(135deg, #2F7BEA, #7C3AED); color: #fff; }
.seal.destaque { background: rgba(255, 193, 94, .22); color: #C46A00; }
[data-theme="dark"] .seal.destaque { color: var(--ouro); }

.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card-big { margin: 0 16px 18px; display: block; animation: rise .5s both; }
.card-big .flyer { aspect-ratio: 16 / 9; }
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 21px; font-weight: 800; line-height: 1.12; }
.meta { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; color: var(--txt2); font-size: 14px; }
.meta span { display: flex; align-items: center; gap: 7px; }
.meta svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.estilo-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; margin-bottom: 8px; }
.actions { display: flex; gap: 8px; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: 14px; font-weight: 700; font-size: 14.5px; background: var(--card2); border: 1px solid var(--line); white-space: nowrap; transition: transform .15s, filter .2s; }
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--grad-sol); color: #2A0E00; border: 0; }
.btn.wa { background: #25D366; color: #052E16; border: 0; }
.btn.dark { background: var(--txt); color: var(--bg); border: 0; }
.btn.icon { width: 44px; padding: 0; flex: none; }
.btn.grow { flex: 1; }
.btn.saved { background: var(--acc); color: var(--acc-txt); border-color: transparent; }
.btn.block { width: 100%; }

.card-mini { width: 168px; flex: none; display: block; }
.card-mini .flyer { aspect-ratio: 4 / 5; border-radius: 18px; box-shadow: var(--shadow); }
.card-mini h3 { font-size: 15.5px; font-weight: 700; margin-top: 9px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-mini p { margin: 3px 0 0; color: var(--txt2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* evento da semana */
.feature { margin: 18px 16px 4px; display: block; position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); color: #fff; aspect-ratio: 16 / 11; max-height: 420px; width: calc(100% - 32px); }
.feature .flyer { position: absolute; inset: 0; }
.feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(5,6,25,.88) 100%); }
.feature .ft { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; }
.feature .kicker { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro); display: flex; align-items: center; gap: 6px; }
.feature h3 { font-size: clamp(26px, 7vw, 36px); font-weight: 800; line-height: 1.02; margin-top: 6px; }
.feature p { margin: 8px 0 0; font-size: 14px; opacity: .9; }

/* banner de anunciante */
.banner { margin: 0 16px 18px; border-radius: var(--radius); padding: 16px; display: flex; gap: 14px; align-items: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.banner .em { font-size: 34px; width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.banner b { font-family: var(--font-d); font-size: 17px; display: block; line-height: 1.15; }
.banner p { margin: 4px 0 0; font-size: 13px; opacity: .9; }
.banner .cta { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; background: #fff; color: #0B2A3A; padding: 6px 11px; border-radius: 99px; }
.banner .ad { position: absolute; top: 8px; right: 10px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.banner.house { background: var(--card); color: var(--txt); border: 1.5px dashed var(--acc); box-shadow: none; }
.banner.house .em { background: var(--card2); }
.banner.house .cta { background: var(--acc); color: var(--acc-txt); }

/* guias */
.guide-card { width: 270px; flex: none; border-radius: 22px; padding: 18px; color: #fff; position: relative; overflow: hidden; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.guide-card .ge { position: absolute; right: -6px; top: -10px; font-size: 76px; opacity: .9; transform: rotate(12deg); }
.guide-card b { font-family: var(--font-d); font-size: 22px; font-weight: 800; }
.guide-card p { margin: 4px 0 0; font-size: 13px; opacity: .92; }
.guide-card .by { margin-top: 10px; font-size: 11px; opacity: .85; letter-spacing: .03em; }

/* ---- páginas internas ---- */
.page-head { padding: 18px 16px 6px; }
.page-head h1 { font-size: 30px; font-weight: 800; line-height: 1.05; }
.page-head p { margin: 8px 0 0; color: var(--txt2); }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--txt2); padding: 12px 16px 0; font-size: 14px; }
.ev-hero { margin: 12px 16px 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.ev-hero .flyer { aspect-ratio: 1 / 1; max-height: 46vh; width: 100%; }
.ev-hero .flyer img { object-position: center 40%; }
.ev-info { padding: 14px 16px 0; }
.ev-info h1 { font-size: 30px; font-weight: 800; line-height: 1.05; }
.info-list { margin-top: 14px; display: grid; gap: 2px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.info-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--card); }
.info-row + .info-row { border-top: 1px solid var(--line); }
.info-row .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--card2); display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 19px; height: 19px; }
.info-row b { display: block; font-size: 15px; }
.info-row small { color: var(--txt2); font-size: 13px; }
.info-row .chev { margin-left: auto; opacity: .5; }
.desc { font-size: 16px; line-height: 1.55; color: var(--txt2); margin: 16px 0 0; }
.stick-actions { position: sticky; bottom: calc(80px + var(--safe-b)); z-index: 30; display: flex; gap: 8px; padding: 12px 16px; margin-top: 18px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 22px; margin-left: 10px; margin-right: 10px; border: 1px solid var(--line); }
.minimap { height: 170px; border-radius: var(--radius); overflow: hidden; margin-top: 16px; border: 1px solid var(--line); z-index: 0; position: relative; }

.venue-cover { margin: 12px 16px 0; height: 220px; border-radius: 26px; overflow: hidden; position: relative; color: #fff; box-shadow: var(--shadow); }
.venue-cover .bgp { position: absolute; inset: 0; background-size: cover; background-position: center; }
.venue-cover .in { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.venue-cover h1 { font-size: 32px; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.venue-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.6)); z-index: 0; }
.venue-cover .in { z-index: 1; }

/* listas compactas */
.row-list { display: grid; gap: 10px; padding: 0 16px; }
.row-item { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.row-item .flyer { width: 64px; height: 64px; border-radius: 13px; flex: none; }
.row-item b { display: block; font-size: 15px; line-height: 1.2; }
.row-item small { color: var(--txt2); font-size: 13px; display: block; margin-top: 3px; }
.row-item .right { margin-left: auto; text-align: right; font-size: 13px; font-weight: 700; white-space: nowrap; }

/* mapa */
.map-page { position: fixed; inset: 0; top: calc(63px + env(safe-area-inset-top, 0px)); bottom: calc(68px + var(--safe-b)); z-index: 1; }
.map-page #map { position: absolute; inset: 0; }
.map-page .chips { position: absolute; top: 10px; left: 0; right: 0; z-index: 500; }
.map-page .chip { box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.35); display: grid; place-items: center; }
.pin span { transform: rotate(45deg); font-size: 13px; }
.pin.star { outline: 3px solid var(--ouro); }
.me-dot { width: 18px; height: 18px; background: #2F7BEA; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 8px rgba(47,123,234,.25); }
.leaflet-popup-content-wrapper { border-radius: 16px !important; }
.leaflet-popup-content { margin: 12px 14px !important; font-family: var(--font); }
.pop b { font-family: var(--font-d); font-size: 16px; display: block; }
.pop a { color: #F2552C; font-weight: 700; display: inline-block; margin-top: 6px; }
.map-sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 500; }

.map-dark .leaflet-tile-pane { filter: invert(1) hue-rotate(185deg) brightness(.95) contrast(.88) saturate(.7); }
.map-dark { background: #1a1f3a !important; }

/* tabbar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; justify-content: space-around; padding: 8px 6px calc(8px + var(--safe-b)); background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-top: 1px solid var(--line); }
.tabbar a { flex: 1; max-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--txt3); padding: 4px 0; border-radius: 14px; transition: color .2s; }
.tabbar a svg { width: 23px; height: 23px; }
.tabbar a.on { color: var(--acc); }

/* bottom sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(5, 6, 25, .5); z-index: 90; animation: fade .2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; background: var(--bg); border-radius: 26px 26px 0 0; padding: 10px 18px calc(22px + var(--safe-b)); max-height: 86dvh; overflow-y: auto; animation: up .28s cubic-bezier(.2, .9, .3, 1.1); max-width: 760px; margin: 0 auto; }
.sheet .grab { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; background: var(--txt3); opacity: .4; }
.sheet h3 { font-size: 22px; margin-bottom: 4px; }
.sheet h4 { margin: 18px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--txt3); }
.sheet .chips { padding: 0; flex-wrap: wrap; overflow: visible; }
.city-opt { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; width: 100%; text-align: left; }
.city-opt small { font-weight: 600; font-size: 12px; color: var(--txt3); }
.city-opt.on { color: var(--acc); }

/* vazio */
.empty { text-align: center; padding: 40px 24px; color: var(--txt2); }
.empty .big { font-size: 46px; }
.empty h3 { color: var(--txt); margin: 8px 0 6px; font-size: 20px; }

/* divulgue / planos */
.plans { display: grid; gap: 14px; padding: 0 16px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.plan.pop { border: 2px solid var(--acc); }
.plan .pp { position: absolute; top: -11px; right: 16px; background: var(--acc); color: var(--acc-txt); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.plan h3 { font-size: 19px; }
.plan .price { font-family: var(--font-d); font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.plan .price small { font-size: 14px; font-family: var(--font); color: var(--txt2); font-weight: 500; }
.plan ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; color: var(--txt2); }
.plan li::before { content: '✓'; color: var(--acc); font-weight: 800; margin-right: 8px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 16px 14px; }
.panel h3 { font-size: 18px; margin-bottom: 6px; }
.field { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.field select, .field input { height: 46px; border-radius: 13px; border: 1px solid var(--line); background: var(--card2); color: var(--txt); padding: 0 12px; font: inherit; font-weight: 500; }
.menu-list a, .menu-list button { display: flex; align-items: center; gap: 14px; padding: 15px 16px; background: var(--card); border-bottom: 1px solid var(--line); width: 100%; text-align: left; font-weight: 600; }
.menu-list { margin: 0 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.menu-list .mi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--card2); flex: none; }
.menu-list small { display: block; color: var(--txt2); font-weight: 500; font-size: 13px; margin-top: 2px; }
.menu-list > :last-child { border-bottom: 0; }

/* relatório */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.kpi small { color: var(--txt2); font-size: 12.5px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.kpi b { display: block; font-family: var(--font-d); font-size: 32px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.kpi .bar { height: 5px; border-radius: 3px; margin-top: 8px; background: var(--card2); overflow: hidden; }
.kpi .bar i { display: block; height: 100%; border-radius: 3px; }
table.rep { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.rep th, table.rep td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; }
table.rep th:first-child, table.rep td:first-child { text-align: left; }
table.rep th { color: var(--txt3); font-weight: 600; font-size: 12px; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 70px; margin-top: 10px; }
.spark i { flex: 1; background: var(--grad-sol); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .9; }

/* story & qr */
.story-preview { display: flex; justify-content: center; padding: 6px 16px; }
.story-preview canvas { width: min(300px, 78vw); height: auto; border-radius: 22px; box-shadow: var(--shadow); }
.qr-card { background: #fff; color: #10142F; border-radius: 26px; padding: 22px; text-align: center; margin: 0 16px; box-shadow: var(--shadow); }
.qr-card .qr-img { width: 230px; height: 230px; margin: 14px auto; image-rendering: pixelated; }
.qr-card h2 { font-size: 24px; } .qr-card p { margin: 4px 0 0; color: #5E5672; font-size: 14px; }
.qr-card .qb { display: flex; align-items: center; gap: 8px; justify-content: center; font-family: var(--font-d); font-weight: 800; }
.qr-card .qb img { width: 30px; height: 30px; }

/* toast */
#toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); transform: translate(-50%, 30px); opacity: 0; background: var(--txt); color: var(--bg); padding: 11px 18px; border-radius: 99px; font-weight: 600; font-size: 14px; z-index: 200; transition: .3s; pointer-events: none; white-space: nowrap; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

.demo-flag { margin: 10px 16px 0; font-size: 12px; text-align: center; color: var(--txt3); }
.foot { text-align: center; padding: 26px 16px 10px; color: var(--txt3); font-size: 12.5px; }
.foot a { color: var(--acc); font-weight: 600; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (min-width: 760px) {
  .list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; padding: 0 12px; }
  .list-grid .card-big, .list-grid .banner { margin: 0 4px 18px; }
  .list-grid .banner { grid-column: 1 / -1; }
}

@media print {
  .topbar, .tabbar, .no-print, .back, #toast { display: none !important; }
  body { background: #fff; padding: 0; }
  .qr-card { box-shadow: none; border: 2px solid #10142F; }
}

/* ---- v2: evento compacto, estilos, instalação, transições ---- */
.ev-info h1 { font-size: 27px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 11px; min-width: 0; }
.fact small { display: block; font-size: 11px; color: var(--txt3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.fact b { display: block; font-family: var(--font-d); font-size: 16px; margin-top: 3px; line-height: 1.15; overflow-wrap: anywhere; }
.fact span { display: block; font-size: 12px; color: var(--txt2); margin-top: 2px; }
.acesso-nota { margin: 10px 0 0; font-size: 13px; color: var(--txt2); }
.minimap .map-go { position: absolute; right: 10px; bottom: 26px; z-index: 500; background: var(--grad-sol); color: #2A0E00; border: 0; height: 40px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
@media (min-width: 700px) { .ev-top { display: grid; grid-template-columns: 1fr 1fr; align-items: start; } .ev-hero .flyer { max-height: none; } }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; padding: 0 16px; }
.style-tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 10px 12px 14px; text-align: left; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden; transition: transform .15s; }
.style-tile::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c); }
.style-tile:active { transform: scale(.96); }
.style-tile span { font-size: 22px; } .style-tile b { font-size: 13.5px; line-height: 1.15; } .style-tile small { font-size: 11.5px; color: var(--txt3); }
.install-bar { position: fixed; left: 10px; right: 10px; bottom: calc(76px + var(--safe-b)); z-index: 70; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); animation: rise .35s both; max-width: 740px; margin: 0 auto; }
.install-bar img { width: 38px; height: 38px; border-radius: 10px; }
.install-bar div { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; } .install-bar b { display: block; font-size: 14px; }
.install-bar .btn { height: 38px; padding: 0 12px; font-size: 13.5px; }
.install-bar .x { width: 30px; height: 30px; display: grid; place-items: center; color: var(--txt3); font-size: 18px; }
.ios-steps { margin: 12px 0 0; padding-left: 20px; line-height: 1.9; color: var(--txt2); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
.tabbar a { position: relative; }
.tabbar a .cnt { position: absolute; top: 0; left: calc(50% + 6px); background: var(--acc); color: var(--acc-txt); font-size: 10px; font-weight: 800; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; display: grid; place-items: center; }
