:root {
  --navy: #17223b;
  --navy-2: #2b3b5c;
  --sun: #ffa62b;
  --sun-2: #ffc56b;
  --coral: #f2643d;
  --bg: #faf6ef;
  --card: #ffffff;
  --ink: #17223b;
  --muted: #6b7280;
  --line: #ece4d6;
  --live: #e5383b;
  --ok: #14998a;
  --head-bg: rgba(255, 250, 242, .94);
  --radius: 16px;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  overflow-x: clip;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px);
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
svg:not(.leaflet-zoom-animated) { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.muted { color: var(--muted); font-size: .85rem; }

/* Faixa de anúncio (vai pro WhatsApp) */
.promo-bar {
  display: flex; gap: 8px; align-items: center; justify-content: center;
  padding: calc(6px + var(--safe-t)) 14px 6px;
  background: var(--navy); color: #fff; font-size: .76rem; text-align: center; line-height: 1.3; text-decoration: none;
}
.promo-go { background: var(--sun); color: var(--navy); border-radius: 999px; padding: 2px 9px; font-weight: 700; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Topo fixo: marca + cidade + filtros da aba */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--head-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -12px rgba(23, 34, 59, .25);
}
.topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px max(14px, calc((100% - 732px) / 2)) 8px;
}
.brand { display: flex; gap: 9px; align-items: center; min-width: 0; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 11px; flex-shrink: 0; box-shadow: 0 3px 10px -4px rgba(242, 100, 61, .6); }
.brand img { width: 36px; height: 36px; }
.brand h1 { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--navy); }
@media (min-width: 600px) { .brand img { width: 40px; height: 40px; } .brand h1 { font-size: 1.3rem; } .city-switch button { padding: 7px 14px; font-size: .82rem; } }
.brand h1 em { font-style: normal; color: var(--coral); }
.city-switch { display: flex; background: #f0e9dc; border-radius: 999px; padding: 3px; flex-shrink: 0; }
.city-switch button {
  border: 0; background: transparent; border-radius: 999px; padding: 6px 11px;
  font-size: .78rem; font-weight: 700; color: var(--muted); cursor: pointer; letter-spacing: .01em;
}
.city-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 2px 6px rgba(23, 34, 59, .25); }
.top-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.icon-btn {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--navy); padding: 0;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.on { background: var(--sun); border-color: var(--sun); color: var(--navy); }
@media (max-width: 420px) { .topbar { gap: 6px; } .brand { gap: 7px; } .brand h1 { font-size: 1rem; } .brand img { width: 32px; height: 32px; } .city-switch button { padding: 6px 8px; } .icon-btn { width: 32px; height: 32px; } .top-actions { gap: 4px; } }
@media (max-width: 330px) { .brand h1 { display: none; } }
.hello { margin: 2px 0 10px; font-family: Fraunces, Georgia, serif; font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.hello small { display: block; font-family: Inter, system-ui, sans-serif; font-size: .8rem; font-weight: 500; color: var(--muted); text-transform: capitalize; }
.filters { display: grid; gap: 8px; padding: 2px 14px 10px; }
.filters > * { max-width: 732px; width: 100%; margin-inline: auto; }
.filters .chips { margin: 0; padding-inline: 0; }
@media (max-width: 760px) { .filters .chips { margin: 0 -14px; padding-inline: 14px; width: auto; } }
.search-row { display: flex; gap: 6px; align-items: center; }
.search-row .search { flex: 1; min-width: 0; }
.search-row .search input { padding: 9px 0; min-width: 0; width: 100%; }
@media (max-width: 380px) { .tog span { padding: 8px 8px; } .search-row .search { padding: 0 9px; } }
.tog { flex-shrink: 0; cursor: pointer; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog span { display: block; border: 1px solid var(--line); background: var(--card); padding: 8px 11px; border-radius: 10px; font-size: .8rem; font-weight: 600; }
.tog input:checked + span { background: var(--ok); border-color: var(--ok); color: #fff; }
.tog input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
main { max-width: 760px; margin: 0 auto; }
.view { padding: 12px 14px 0; }

/* Busca e filtros */
.toolbar { display: grid; gap: 10px; margin-bottom: 8px; }
.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px;
}
.search svg { color: var(--muted); width: 18px; height: 18px; }
.search input { border: 0; outline: 0; background: transparent; flex: 1; padding: 11px 0; font: inherit; font-size: 16px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 -14px; padding-inline: 14px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; border: 1px solid var(--line); background: var(--card);
  padding: 6px 12px; border-radius: 999px; font-size: .82rem; cursor: pointer; white-space: nowrap;
}
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.row-opts { display: flex; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.switch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.switch input { accent-color: var(--navy); width: 16px; height: 16px; }

/* Faixa "acontecendo agora" */
.now-strip { margin: 6px 0 10px; }
.now-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; margin: 6px 0 8px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--live); position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { to { transform: scale(2.6); opacity: 0; } }
.hscroll { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px; padding: 0 14px 6px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.mini {
  scroll-snap-align: start; flex: 0 0 78%; max-width: 300px;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 12px 14px; cursor: pointer;
  display: grid; gap: 4px; text-align: left; border: 0;
}
.mini .t { font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini .m { font-size: .78rem; opacity: .85; }
.mini .live-tag { color: var(--sun-2); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mini.season { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.mini.season .live-tag { color: var(--ok); }

/* Linha do tempo */
.timeline { position: relative; }
.day-head {
  position: sticky; top: var(--head-h, 56px); z-index: 5;
  display: flex; align-items: baseline; gap: 8px;
  background: linear-gradient(var(--bg) 75%, rgba(250,246,239,0));
  padding: 14px 0 8px; margin: 0;
  font-family: Fraunces, Georgia, serif; font-size: 1.15rem; color: var(--navy);
}
.day-head small { font-family: Inter, sans-serif; font-size: .78rem; color: var(--muted); font-weight: 500; }
.tl-item { display: grid; grid-template-columns: 54px 1fr; gap: 0 10px; position: relative; }
.tl-time { text-align: right; padding-top: 14px; font-weight: 700; font-size: .9rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.tl-time small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.tl-rail { position: relative; padding: 6px 0 10px 18px; }
.tl-rail::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-rail::after {
  content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--sun);
}
.tl-item.live .tl-rail::after { background: var(--live); border-color: var(--live); box-shadow: 0 0 0 4px rgba(230,57,70,.18); }
.tl-item.past { opacity: .55; }

.card { min-width: 0; overflow-wrap: anywhere;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; cursor: pointer; display: grid; gap: 6px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:active { transform: scale(.985); }

/* Cartão com imagem ao lado, alternando esquerda/direita */
.thumb {
  position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1;
  display: grid; place-items: center; font-size: 2rem;
  background: linear-gradient(135deg, hsl(var(--h) 70% 88%), hsl(calc(var(--h) + 35) 65% 72%));
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb.poster { aspect-ratio: 2 / 3; }
.card.media { grid-template-columns: 92px 1fr; gap: 12px; align-items: start; padding: 10px; }
.card.media.flip { grid-template-columns: 1fr 92px; }
.card.media.flip .thumb { order: 2; }
.card-body { display: grid; gap: 6px; min-width: 0; }
.card-top { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.tag.warn { background: #fdeccf; color: #9a5b00; }
.tag.niver { background: #fde2e4; color: #b4234a; }
.tag.rating { background: var(--navy); color: #fff; }
.mini-thumb { width: 44px; font-size: 1.3rem; border-radius: 10px; float: left; margin-right: 10px; }
.mini:has(.mini-thumb) { display: block; }
.mini:has(.mini-thumb) > span { display: block; }

.past-toggle {
  margin-left: auto; border: 1px solid var(--line); background: var(--card); color: var(--navy);
  font-family: Inter, sans-serif; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.past-note { font-size: .84rem; color: var(--muted); margin: 0 0 8px 64px; }

/* Cinema */
.see-all { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--coral); text-decoration: none; }
.posters .poster-mini {
  flex: 0 0 104px; scroll-snap-align: start; border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
  display: grid; gap: 4px; align-content: start;
}
.poster-mini .t { font-size: .8rem; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster-mini .m { font-size: .7rem; color: var(--muted); }
.card.movie { grid-template-columns: 96px 1fr; }
.card.movie.flip { grid-template-columns: 1fr 96px; }
.cine-group { display: grid; gap: 5px; padding-top: 6px; border-top: 1px dashed var(--line); }
.cine-name { font-size: .8rem; font-weight: 700; color: var(--navy); }
.cine-name .dist { font-weight: 500; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill {
  display: inline-grid; justify-items: center; min-width: 54px; padding: 5px 8px; border-radius: 10px;
  background: #eef3f9; color: var(--navy); text-decoration: none; font-weight: 700; font-size: .84rem; font-variant-numeric: tabular-nums;
}
.pill small { font-size: .6rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.pill:hover { background: var(--navy); color: #fff; }
.pill:hover small { color: var(--sun-2); }
.cine-group.big { padding: 10px 0 4px; }
.cine-group.big .pill { min-width: 64px; padding: 8px 10px; font-size: .95rem; }
.price-note { display: flex; gap: 6px; font-size: .8rem; color: #4b5563; }
.price-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.link-sm { font-size: .82rem; font-weight: 600; color: var(--coral); text-decoration: none; }
.movie-head { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
.movie-head > div { display: grid; gap: 6px; }
.sheet-sub { margin: 4px 0 0; font-size: 1rem; color: var(--navy); }
.cards.one { grid-template-columns: 1fr !important; }
@media (hover: hover) { .card:hover { box-shadow: 0 6px 18px rgba(15,42,74,.08); } }
.card-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tag { font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #f1ece2; color: #6b5a3a; text-transform: uppercase; letter-spacing: .03em; }
.tag.live { background: var(--live); color: #fff; }
.tag.free { background: #dff3ef; color: #1f7a6f; }
.card h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.card .sum { margin: 0; color: #4b5563; font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: grid; gap: 3px; font-size: .82rem; color: var(--muted); }
.meta div { display: flex; gap: 6px; align-items: flex-start; }
.meta svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.dist { color: var(--navy); font-weight: 600; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; background: #eee; }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.more-btn { display: block; margin: 12px auto 20px; border: 1px solid var(--navy); background: transparent; color: var(--navy); border-radius: 999px; padding: 10px 20px; font-weight: 600; cursor: pointer; }

/* Agenda: tira de dias */
.month-label { font-family: Fraunces, Georgia, serif; font-size: 1.2rem; color: var(--navy); margin: 4px 0 8px; text-transform: capitalize; }
.days { display: flex; gap: 8px; overflow-x: auto; margin: 0 -14px; padding: 2px 14px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: 0 0 54px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px;
  padding: 8px 0; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer;
}
.day .dw { font-size: .68rem; text-transform: uppercase; color: var(--muted); }
.day .dn { font-size: 1.15rem; font-weight: 700; }
.day .dc { font-size: .66rem; color: var(--muted); min-height: 1em; }
.day.has .dc { color: var(--coral); font-weight: 600; }
.day.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.day.active .dw, .day.active .dc { color: rgba(255,255,255,.8); }

/* Mapa */
.view-map { padding: 0; }
.map-tabs { display: flex; gap: 6px; padding: 10px 14px; }
.seg { flex: 1; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 8px; font-size: .85rem; cursor: pointer; }
.seg.active { background: var(--navy); color: #fff; border-color: var(--navy); }
#map { position: relative; z-index: 0; isolation: isolate; height: calc(100dvh - var(--head-h, 70px) - 56px - var(--tabbar-h) - var(--safe-b)); min-height: 320px; }
.leaflet-popup-content { font-family: Inter, sans-serif; font-size: .85rem; }
.leaflet-popup-content b { display: block; margin-bottom: 2px; }
.me-dot { width: 16px; height: 16px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.25); }

/* Passeios */
.section-head h2 { font-family: Fraunces, Georgia, serif; color: var(--navy); margin: 4px 0 2px; font-size: 1.35rem; }
.section-head p { margin: 0 0 10px; color: var(--muted); font-size: .88rem; }
.cards { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }

/* Sobre */
.about-hero { display: flex; gap: 14px; align-items: center; margin: 4px 0 12px; }
.about-hero img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 6px 20px rgba(15,42,74,.25); }
.about-hero h2 { font-family: Fraunces, Georgia, serif; color: var(--navy); margin: 0; font-size: 1.4rem; }
.about-hero p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.about { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: .92rem; }
.about h3 { margin: 16px 0 8px; font-size: 1rem; }
.source-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.source-list li { display: flex; justify-content: space-between; gap: 8px; font-size: .86rem; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.source-list .st { color: var(--ok); font-weight: 600; white-space: nowrap; }
.source-list .st.err { color: var(--coral); }

/* Barra inferior estilo app */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(6, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: grid; justify-items: center; align-content: center; gap: 3px;
  text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 500;
}
.tabbar a.active { color: var(--navy); font-weight: 700; }
.tabbar a.active svg { stroke: var(--coral); stroke-width: 2.2; }
@media (min-width: 760px) {
  .tabbar { max-width: 520px; margin: 0 auto 12px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 30px rgba(15,42,74,.12); }
}

/* Bottom sheet de detalhe */
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 640px;
  max-height: 88dvh; border-radius: 22px 22px 0 0; background: var(--card); color: var(--ink);
  overflow: auto; padding-bottom: calc(18px + var(--safe-b));
}
.sheet::backdrop { background: rgba(15, 23, 42, .5); }
.sheet[open] { animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); } }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: #d6d0c4; margin: 8px auto 0; }
.sheet-close { position: absolute; right: 10px; top: 8px; border: 0; background: #f1ece2; width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; z-index: 2; }
.sheet-body { padding: 10px 18px 0; display: grid; gap: 10px; }
.sheet-body h2 { margin: 0; font-size: 1.3rem; line-height: 1.25; padding-right: 30px; }
.sheet-body .desc { margin: 0; color: #374151; font-size: .95rem; }
.sheet-img { width: 100%; max-height: 240px; object-fit: cover; display: block; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 11px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .9rem; border: 1px solid var(--navy); color: var(--navy); background: #fff; cursor: pointer; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.full { grid-column: 1 / -1; }
.btn svg { width: 18px; height: 18px; }
.also { font-size: .8rem; color: var(--muted); }

.skeleton { height: 92px; border-radius: var(--radius); background: linear-gradient(90deg, #eee8dd 25%, #f6f1e8 50%, #eee8dd 75%); background-size: 200% 100%; animation: sk 1.2s infinite; margin: 10px 0 10px 64px; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) { *, *::after { animation: none !important; transition: none !important; } }

/* Publicidade e divulgação */
.ad-banner, .ad-inline {
  display: grid; gap: 2px; text-decoration: none; border-radius: var(--radius);
  padding: 12px 14px; margin: 4px 0 10px; border: 1.5px dashed #c9b994; background: #fffaf0; color: var(--ink);
}
.ad-banner strong, .ad-inline strong { font-family: Fraunces, Georgia, serif; font-size: 1.1rem; color: var(--navy); }
.ad-banner span:last-child, .ad-inline span:last-child { font-size: .82rem; color: var(--muted); }
.ad-kicker { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: #a08a5a; font-weight: 700; }
.ad-inline { margin: 8px 0 8px 64px; }
.submit-cta {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; text-align: left;
  border: 0; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 6px; cursor: pointer;
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; font-size: .86rem; line-height: 1.3;
}
.submit-cta span:first-child { font-size: 1.5rem; }
.submit-cta span:last-child { font-size: 1.6rem; opacity: .7; }
.form label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: #374151; }
.form input, .form textarea {
  font: inherit; font-size: 16px; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.about .actions { margin: 10px 0 4px; }
.leaflet-attribution-flag { width: 12px !important; height: 8px !important; }

/* Meu roteiro */
.filters #regionChips { margin-top: 6px; }
.tag.soft { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.trip-cta { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(23,34,59,.18); }
.trip-cta > span { font-size: 1.6rem; }
.trip-cta div { flex: 1; display: grid; }
.trip-cta small { opacity: .8; font-size: .8rem; }
.trip-cta i { font-style: normal; font-size: 1.6rem; color: var(--sun); }
.back { display: inline-block; color: var(--muted); text-decoration: none; font-size: .85rem; margin-bottom: 2px; }
.trip-dates { display: flex; gap: 10px; margin: 0 0 10px; }
.trip-dates label { flex: 1; display: grid; gap: 2px; font-size: .75rem; color: var(--muted); }
.trip-dates input, .trip-add input { font: inherit; font-size: .9rem; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); min-width: 0; }
.trip-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.trip-item { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.trip-item.k-tip, .trip-item.k-move { background: transparent; border-style: dashed; }
.trip-time { width: 84px; flex: 0 0 auto; font: inherit; font-size: .85rem; border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; background: var(--bg); color: var(--ink); }
.trip-t { flex: 0 0 46px; font-weight: 700; font-size: .85rem; color: var(--coral); }
.trip-main { flex: 1; min-width: 0; display: grid; gap: 1px; font-size: .92rem; }
.trip-main a { color: var(--ink); font-weight: 600; text-decoration: none; }
.trip-main small { color: var(--muted); font-size: .78rem; }
.trip-del, .trip-plus { flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: .95rem; color: var(--muted); }
.trip-plus { color: var(--navy); font-weight: 700; }
.trip-plus.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.trip-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.trip-add { display: flex; gap: 6px; margin: 0 0 18px; }
.trip-add input[name=t] { flex: 1; }
.trip-add input[type=time] { width: 92px; }
.trip-sug { background: #fff8ec; border: 1px solid #f5e1bf; border-radius: var(--radius); padding: 4px 12px 12px; margin: 0 0 16px; }
.trip-sug h3 { font-family: Fraunces, Georgia, serif; color: var(--navy); margin: 0 0 4px; font-size: 1.1rem; }
.trip-sug > p { margin: 0 0 10px; font-size: .9rem; color: var(--ink); }
.trip-rain { font-size: .86rem; background: #eef4ff; border-radius: 10px; padding: 8px 10px; margin: 0 0 10px; }
.trip-evs { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.trip-evs li { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.trip-evs a { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; font-size: .9rem; }
.trip-evs a b { color: var(--coral); margin-right: 4px; }
.trip-evs a small { display: block; color: var(--muted); font-size: .78rem; }
.tips { margin: 6px 0 12px; padding-left: 18px; font-size: .88rem; display: grid; gap: 4px; }
.stay { margin-bottom: 8px; font-size: .88rem; }
.stay p { margin: 2px 0; }
.trip-pick { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.trip-pick-l { margin: 0 0 6px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.trip-pick .chips { flex-wrap: wrap; margin: 0; padding: 0; }

.tag.closed { background: #fde2e1; color: #b42318; }

/* seletor de cidade */
.city-switch { align-items: center; gap: 2px; min-width: 0; }
.city-btn { display: flex; align-items: center; gap: 2px; max-width: 150px; background: var(--navy) !important; color: #fff !important; box-shadow: 0 2px 6px rgba(23, 34, 59, .25); }
.city-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city-btn svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.scope-btn { white-space: nowrap; }
.city-switch .scope-btn[aria-pressed="true"] { background: var(--sun); color: var(--navy); box-shadow: none; }
.city-dlg .sheet-body { padding-bottom: 18px; }
.city-q { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; background: var(--card); color: var(--ink); }
.city-list h3 { margin: 14px 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.city-opt { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; text-align: left; border: 1px solid var(--line); background: var(--card); color: var(--navy); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; min-width: 0; }
.city-opt small { color: var(--muted); font-weight: 500; font-size: .75rem; white-space: nowrap; }
.city-opt.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.city-opt.on small { color: #dfe6f3; }
@media (max-width: 420px) { .city-btn { max-width: 110px; } .scope-btn { font-size: .7rem !important; padding: 6px 6px !important; } }
