@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url(fonts/poppins-latin-800-normal.woff2) format("woff2"); }

:root {
  --blue: #233A97;
  --blue-deep: #1A2C73;
  --red: #D7262E;
  --orange: #E8641E;
  --ink: #1B1E3C;
  --soft: #555A75;
  --line: #E3E1DC;
  --bg: #F7F5F1;
  --card: #FFFFFF;
  --chip: #ECEAE4;
  --ok: #1F7A4D;
  --tabs-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.5;
}
#app { min-height: 100%; padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px) + 16px); }
a { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }

/* telas cheias (login) */
.full {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding: max(32px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 32px max(24px, env(safe-area-inset-left, 0px));
  background: var(--blue); color: #fff; position: relative; overflow: hidden;
}
.full::before { content: ""; position: absolute; right: -120px; top: -80px; width: 300px; height: 300px; border: 38px solid var(--red); border-radius: 50%; opacity: .95; }
.full > * { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.tag { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; padding: 2px 10px; border-radius: 4px; font-size: 15px; }
.logo { font-size: 42px; font-weight: 800; line-height: 1.02; letter-spacing: -0.5px; }
.by { display: inline-block; background: var(--blue-deep); padding: 2px 8px; font-size: 13px; font-weight: 600; margin-top: 6px; }
.full p.sub { color: #DDE3F7; font-size: 16px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { font-size: 14px; font-weight: 600; }
.input {
  width: 100%; border: 0; border-radius: 12px; padding: 15px 16px; font: inherit; font-size: 17px; color: var(--ink); background: #fff;
}
.input:focus { outline: 3px solid var(--orange); }
.code-input { letter-spacing: 10px; font-size: 26px; text-align: center; font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none;
}
.btn-red { background: var(--red); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-light { background: var(--chip); color: var(--ink); }
.btn:disabled { opacity: .6; }
.btn:focus-visible, a:focus-visible, .chip:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.msg { font-size: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.14); }
.msg.err { background: #FFE5E5; color: #8A1016; }
.link-btn { background: none; border: 0; color: #fff; text-decoration: underline; padding: 6px 0; cursor: pointer; font-size: 14px; text-align: left; }

/* cabeçalho das telas */
.top {
  background: var(--blue); color: #fff;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) max(20px, env(safe-area-inset-right, 0px)) 22px max(20px, env(safe-area-inset-left, 0px));
  position: relative; overflow: hidden;
}
.top::after { content: ""; position: absolute; right: -100px; bottom: -130px; opacity: .85; width: 200px; height: 200px; border: 24px solid var(--red); border-radius: 50%; }
.top h1 { font-size: 26px; font-weight: 800; line-height: 1.15; position: relative; z-index: 1; }
.top p { color: #DDE3F7; font-size: 14px; margin-top: 4px; position: relative; z-index: 1; max-width: 32ch; }
.top .back { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; display: inline-block; margin-bottom: 8px; position: relative; z-index: 1; }

.page { padding: 18px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin: 0 auto; }
.section-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-top: 6px; }

/* início */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  background: var(--card); border-radius: 16px; padding: 16px; min-height: 104px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line);
}
.tile b { font-size: 17px; }
.tile span { font-size: 13px; color: var(--soft); }
.tile .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--red); }
.tile:nth-child(2) .dot { background: var(--blue); }
.tile:nth-child(3) .dot { background: var(--orange); }
.tile:nth-child(4) .dot { background: var(--ink); }
.status {
  background: var(--card); border-radius: 16px; padding: 16px; border: 1px solid var(--line);
  display: flex; gap: 14px; align-items: center;
}
.status .ic { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; background: var(--ok); font-weight: 800; }
.status.wait .ic { background: var(--orange); }
.status b { display: block; font-size: 15px; }
.status small { color: var(--soft); font-size: 13px; display: block; }
.status .btn { margin-left: auto; min-height: 40px; padding: 8px 14px; font-size: 14px; }
.install { background: #FFF4EC; border: 1px solid #F6C9A9; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.install b { font-size: 15px; }
.install p { font-size: 14px; color: var(--soft); }
.promo { background: var(--red); color: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.promo b { font-size: 18px; line-height: 1.25; }
.promo p { font-size: 14px; color: #FFE1E2; }
.promo .btn { background: #fff; color: var(--red); align-self: flex-start; min-height: 44px; }

/* filtros */
.search { position: relative; }
.search input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px 13px 42px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--soft); fill: none; stroke-width: 2; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; background: var(--chip); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 38px; }
.chip.on { background: var(--blue); color: #fff; }
.count { font-size: 13px; color: var(--soft); }

/* cards de lugar */
.list { display: flex; flex-direction: column; gap: 12px; }
.place { background: var(--card); border-radius: 16px; border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); position: relative; }
.place .row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.place h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.place .meta { font-size: 13px; color: var(--soft); }
.place .price { font-size: 14px; font-weight: 600; color: var(--blue); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; background: #E8ECFA; color: var(--blue); padding: 2px 8px; border-radius: 6px; }
.fav { flex: none; width: 44px; height: 44px; margin: -8px -8px 0 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.fav svg { width: 24px; height: 24px; stroke: var(--red); stroke-width: 2; fill: none; }
.fav.on svg { fill: var(--red); }
.empty { text-align: center; color: var(--soft); padding: 32px 12px; background: var(--card); border-radius: 16px; border: 1px dashed var(--line); }

/* detalhe */
.detail { background: var(--card); border-radius: 16px; border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.detail p.txt { font-size: 15px; }
.facts { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.fact { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 14px; }
.fact span:first-child { color: var(--soft); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions .btn { flex: 1 1 140px; }
.note { font-size: 13px; color: var(--soft); }

/* mapa */
.map-wrap { position: relative; margin: 0; }
#map { height: calc(100vh - var(--tabs-h) - env(safe-area-inset-bottom, 0px) - 128px); min-height: 360px; border-radius: 16px; border: 1px solid var(--line); z-index: 0; }
.map-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.pin.r { background: var(--red); }
.pin.b { background: var(--blue); }
.pin.me { background: var(--orange); border-radius: 50%; transform: none; width: 20px; height: 20px; }
.pin-num { color: #fff; font-size: 12px; font-weight: 800; transform: rotate(45deg); display: grid; place-items: center; height: 100%; }
.leaflet-popup-content { font-family: "Poppins", system-ui, sans-serif; font-size: 14px; }
.leaflet-popup-content b { display: block; font-size: 15px; }

/* roteiro */
.period { display: flex; flex-direction: column; gap: 10px; }
.period h2 { font-size: 20px; font-weight: 800; color: var(--blue); }
.stop { display: grid; grid-template-columns: 32px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.stop .num { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.stop b { display: block; font-size: 16px; }
.stop p { font-size: 14px; color: var(--soft); }
.stop a { font-size: 13px; font-weight: 600; }

/* conta */
.account { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }

/* abas */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-top: 1px solid var(--line);
  padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
}
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--soft); font-size: 11px; font-weight: 600; padding: 4px 0; min-height: 48px; justify-content: center; }
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs a.on { color: var(--red); }

.offline-bar { position: sticky; top: 0; z-index: 900; background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: calc(env(safe-area-inset-top, 0px) + 6px) 12px 6px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 1100; max-width: 90vw; }
.spin { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: s 0.8s linear infinite; }
@keyframes s { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* antes de viajar */
.tile.wide { flex-direction: row; align-items: center; gap: 14px; min-height: 0; justify-content: flex-start; background: var(--blue); color: #fff; border-color: var(--blue); }
.tile.wide span { color: #DDE3F7; }
.tile.wide .dot { background: var(--orange); flex: none; }
.h2 { font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.rows { display: flex; flex-direction: column; }
.rowline { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rowline:last-child { border-bottom: 0; }
.rowline b { font-size: 17px; color: var(--ink); white-space: nowrap; }
.rowline small { display: block; font-size: 12px; font-weight: 600; }
.rowline small.fixa { color: var(--red); }
.rowline small.est { color: var(--blue); }
.fig { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.drop { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.drop summary { font-weight: 700; cursor: pointer; font-size: 15px; }
.drop ul { margin: 10px 0 0; padding-left: 20px; font-size: 14px; color: var(--soft); }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.plan.on { border: 2px solid var(--orange); background: #FFF8F2; }
.plan .row { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.plan b { font-size: 16px; display: block; }
.plan .badge { align-self: flex-start; background: var(--orange); color: #fff; margin-top: 4px; }
.fuso { display: flex; flex-direction: column; font-size: 14px; }
.fh, .fr { display: grid; grid-template-columns: minmax(0, 1fr) 72px 72px; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.fh { font-size: 12px; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: .04em; }
.fr b { font-size: 17px; text-align: center; color: var(--blue); }
.fh span:not(:first-child) { text-align: center; }
.chips a.chip { text-decoration: none; display: inline-flex; align-items: center; }

/* ===== nova tela inicial ===== */
.hero { position: relative; height: calc(380px + env(safe-area-inset-top, 0px)); overflow: hidden; background: var(--blue); }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 0%; display: block; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(180deg, rgba(35,58,151,0) 0%, rgba(35,58,151,.92) 70%, #233A97 100%); }
.hero-txt { position: absolute; z-index: 1; left: max(20px, env(safe-area-inset-left, 0px)); right: 20px; bottom: 44px; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.hero-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pill-off { background: rgba(255,255,255,.18); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.hero h1 { font-size: 32px; line-height: 1.08; font-weight: 800; }
.hero p { font-size: 14px; color: #DDE3F7; max-width: 210px; }
.page.home { padding-top: 0; gap: 14px; }
.hsearch { margin-top: -24px; position: relative; z-index: 2; background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(27,30,60,.12); display: flex; align-items: center; gap: 10px; padding: 4px 14px; }
.hsearch svg { width: 20px; height: 20px; stroke: var(--soft); fill: none; stroke-width: 2; flex: none; }
.hsearch input { border: 0; outline: 0; font: inherit; font-size: 15px; padding: 12px 0; width: 100%; background: transparent; color: var(--ink); }
.count-card, .count-empty { font: inherit; text-align: left; cursor: pointer; width: 100%; }
.count-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.count-num { width: 64px; height: 64px; border-radius: 14px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.count-num b { font-size: 26px; font-weight: 800; line-height: 1; }
.count-num small { font-size: 10px; font-weight: 700; color: #C9D3F5; letter-spacing: 1px; margin-top: 2px; }
.count-txt { flex: 1; display: flex; flex-direction: column; }
.count-txt b { font-size: 17px; }
.count-txt small { font-size: 13px; color: var(--soft); }
.count-card svg { width: 20px; height: 20px; fill: none; stroke: var(--soft); stroke-width: 2; flex: none; }
.count-empty { border: 1.5px dashed #C9C5BD; background: transparent; border-radius: 16px; padding: 14px 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
.count-empty b { color: var(--red); }
.sheet-bg { position: fixed; inset: 0; z-index: 2000; background: rgba(27,30,60,.45); display: flex; align-items: flex-end; }
.sheet { background: #fff; width: 100%; border-radius: 20px 20px 0 0; padding: 22px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 0 auto; }
.sheet label { font-size: 14px; font-weight: 600; }
.input-l { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding-top: 6px; }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; }
.cats span { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.sec-h.col { flex-direction: column; align-items: flex-start; gap: 2px; }
.sec-h h2 { font-size: 20px; font-weight: 800; }
.sec-h > a { font-size: 13px; font-weight: 700; text-decoration: none; }
.sec-l { display: flex; align-items: center; gap: 10px; }
.av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; flex: none; }
.dica { width: 300px; max-width: 82vw; box-sizing: border-box; background: var(--red); color: #fff; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; position: relative; overflow: hidden; }
.dica::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border: 18px solid rgba(255,255,255,.14); border-radius: 50%; }
.dica.azul { background: var(--blue); }
.dica small { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.8); }
.dica p { font-size: 16px; line-height: 1.4; font-weight: 600; }
.dica b { font-size: 13px; margin-top: auto; }
.dots { display: flex; gap: 6px; justify-content: center; }
.dots span { width: 6px; height: 6px; border-radius: 3px; background: #D5D2CB; transition: width .2s; }
.dots span.on { width: 18px; background: var(--red); }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 190px 120px; gap: 12px; }
.bento a { border-radius: 20px; text-decoration: none; color: #fff; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.bento b { font-size: 18px; font-weight: 800; display: block; }
.bento small { font-size: 12px; opacity: .85; display: block; }
.b-big { grid-row: 1 / 3; padding: 0 !important; background: var(--ink); }
.b-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,30,60,0) 40%, rgba(27,30,60,.85) 100%); }
.b-big span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; }
.b-or { background: var(--orange); }
.b-or svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; }
.b-dk { background: var(--ink); }
.pcard { width: 200px; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.pcard img, .pcard .ph { width: 200px; height: 130px; object-fit: cover; display: block; background: var(--chip); }
.pcard-b { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.pcard-b small { font-size: 11px; font-weight: 700; color: var(--blue); }
.pcard-b b { font-size: 15px; }
.pcard-b span { font-size: 13px; color: var(--soft); }
.rdias { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rdias a { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.rdias b { font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1; }
.rdias small { font-size: 12px; color: var(--soft); font-weight: 600; margin-top: 4px; }
.rdias a:first-child { background: var(--blue); border-color: var(--blue); }
.rdias a:first-child b { color: #fff; }
.rdias a:first-child small { color: #DDE3F7; }
.pill-or { background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.blist { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.blist a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #EFEDE8; text-decoration: none; color: var(--ink); }
.blist a:last-child { border-bottom: 0; }
.blist b { flex: 1; font-size: 15px; font-weight: 600; }
.bi { width: 38px; height: 38px; border-radius: 10px; background: #F1EFEA; display: grid; place-items: center; font-size: 20px; flex: none; }
.chev { color: var(--soft); font-size: 20px; }
.promo { background: var(--ink); }
.promo .btn { color: var(--ink); }
.promo p { color: #C9CCE0; }

/* fotos nos restaurantes */
.place.has-foto { padding: 0; overflow: hidden; gap: 0; }
.place.has-foto > .row, .place.has-foto > a:not(.pfoto) { padding: 0 16px; }
.place.has-foto > .row { padding-top: 14px; }
.place.has-foto > a:last-child { padding-bottom: 14px; display: block; }
.pfoto img { width: 100%; height: 160px; object-fit: cover; display: block; }
.lfoto { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; display: block; }

/* roteiros e bônus */
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; background: var(--chip); padding: 4px; border-radius: 14px; }
.seg a { text-align: center; padding: 10px 0; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); }
.seg a.on { background: var(--blue); color: #fff; }
.dayc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.dayc h2 { font-size: 20px; font-weight: 800; color: var(--blue); }
.per { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 15px; border-top: 1px solid #EFEDE8; padding-top: 10px; }
.per span { font-weight: 700; font-size: 14px; }
.prog { height: 10px; background: var(--chip); border-radius: 99px; overflow: hidden; }
.prog div { height: 100%; background: var(--orange); }
.checks { display: flex; flex-direction: column; }
.ck { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #EFEDE8; font-size: 15px; cursor: pointer; }
.ck:last-child { border-bottom: 0; }
.ck input { width: 22px; height: 22px; accent-color: var(--red); flex: none; margin: 1px 0 0; }
.ck input:checked + span { color: var(--soft); text-decoration: line-through; }
.voc { display: flex; flex-direction: column; margin-top: 10px; }
.voc div { display: flex; flex-direction: column; padding: 9px 0; border-top: 1px solid #EFEDE8; }
.voc span { font-size: 13px; color: var(--soft); }
.voc b { font-size: 16px; color: var(--blue); }
.ul { margin: 0; padding-left: 20px; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.detail.agora { border: 2px solid var(--orange); }
.count-empty { display: flex; align-items: center; gap: 12px; }
.ce-ic { font-size: 24px; flex: none; }
.ce-tx { flex: 1; display: flex; flex-direction: column; }
.ce-tx b { color: var(--ink); font-size: 15px; font-weight: 700; }
.ce-tx small { font-size: 13px; color: var(--soft); font-weight: 400; }
.ce-bt { flex: none; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.count-txt b { font-size: 15px; line-height: 1.3; }
.b-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-img::after { content: ""; position: absolute; inset: 0; }
.b-or.b-img::after { background: linear-gradient(180deg, rgba(232,100,30,.15) 0%, rgba(232,100,30,.92) 100%); }
.b-dk.b-img::after { background: linear-gradient(180deg, rgba(27,30,60,.25) 0%, rgba(27,30,60,.9) 100%); }
.b-img > svg, .b-img > span { position: relative; z-index: 1; }
.b-img > span { margin-top: auto; }
.rlist a { padding: 12px 16px; }
.rt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rt b { font-size: 15px; font-weight: 600; }
.rt small { font-size: 13px; color: var(--soft); }

/* ---------- conteúdo completo ---------- */
.cats { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
.mini-banner { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; background: #FBEFE6; border: 1px solid #F3D9C7; border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.mini-banner > span:first-child { font-size: 26px; text-align: center; }
.mini-banner b { display: block; font-size: 15px; }
.mini-banner small { display: block; font-size: 13px; color: var(--soft); }
.h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 6px; }
.box-dica, .box-perr { border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.box-dica { background: #EEF1FB; border: 1px solid #D5DCF3; }
.box-dica b { color: var(--blue); }
.box-perr { background: #FDECEC; border: 1px solid #F6CFD1; }
.box-perr b { color: var(--red); }
.box-dica .ul, .box-perr .ul { font-size: 14px; }
.tabwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tab { border-collapse: collapse; width: 100%; font-size: 13px; }
.tab th { background: var(--blue); color: #fff; text-align: left; padding: 8px 10px; font-weight: 700; }
.tab td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.lnk { display: block; font-weight: 600; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: #fff; }
.txt a, .ul a, .fact a { word-break: break-word; }
.tempo { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 3px solid #F3D9C7; display: flex; flex-direction: column; gap: 12px; }
.tempo li { position: relative; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.tempo li::before { content: ""; position: absolute; left: -21px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); }
.tempo b { color: var(--blue); font-size: 15px; }
details.cap { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
details.cap > summary { list-style: none; cursor: pointer; padding: 16px; font-size: 17px; font-weight: 800; color: var(--blue); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
details.cap > summary::-webkit-details-marker { display: none; }
details.cap > summary::after { content: "›"; font-size: 22px; color: var(--soft); transition: transform .2s; }
details.cap[open] > summary::after { transform: rotate(90deg); }
.capc { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.perx { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #EFEDE8; padding-top: 12px; }
.perx:first-child { border-top: 0; padding-top: 0; }
.perh { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--soft); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda .pin { width: 12px; height: 12px; border-width: 2px; box-shadow: none; }
.pin.p { background: var(--orange); }
.pin.d { background: #C98BB0; }

/* ---------- tablet: largura de celular, centralizado ---------- */
.so-desk, .side-logo { display: none !important; }
@media (min-width: 700px) and (max-width: 1023px) {
  html { background: #E9E6F2; }
  body { max-width: 430px; margin: 0 auto; min-height: 100vh; box-shadow: 0 20px 60px rgba(27,30,60,.18); }
  .tabs { max-width: 430px; left: 50% !important; right: auto !important; transform: translateX(-50%); width: 100%; }
}

/* ---------- computador: menu lateral e conteúdo em colunas ---------- */
@media (min-width: 1024px) {
  :root { --side: 232px; }
  body:has(#tabs:not([hidden])) { padding-left: var(--side); }
  #app { padding-bottom: 48px; }
  .tabs { top: 0; bottom: 0; right: auto; width: var(--side); display: flex; flex-direction: column; gap: 4px; padding: 28px 16px; border-top: 0; border-right: 1px solid var(--line); }
  .tabs .side-logo { display: block !important; font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1.15; padding: 0 12px 22px; }
  .tabs .side-logo small { display: block; font-size: 12px; font-weight: 600; color: var(--soft); margin-top: 4px; }
  .tabs .so-desk { display: flex !important; }
  .tabs a { flex-direction: row; justify-content: flex-start; gap: 12px; font-size: 15px; padding: 10px 12px; min-height: 0; border-radius: 12px; }
  .tabs a:hover { background: #F3F1EC; }
  .tabs a.on { background: #FDECEC; }
  .tabs svg { width: 22px; height: 22px; }
  .tabs a[data-tab="roteiro"] span { font-size: 0; }
  .tabs a[data-tab="roteiro"] span::after { content: "Roteiros"; font-size: 15px; }
  .toast { bottom: 24px; left: calc(50% + var(--side) / 2); }

  .top { padding: 36px 48px 32px max(48px, calc((100% - 1440px) / 2 + 48px)); }
  .top h1 { font-size: 34px; }
  .top p { font-size: 15px; max-width: 60ch; }
  .top::after { right: -60px; bottom: -150px; width: 280px; height: 280px; border-width: 30px; }
  .page { max-width: 1440px; padding: 28px 48px 0; gap: 20px; }

  /* início */
  .hero { height: 440px; }
  .hero img { position: absolute; right: 0; top: 0; width: 58%; height: 100%; object-position: center 20%; }
  .hero::after { top: 0; height: auto; background: linear-gradient(90deg, #233A97 0%, #233A97 42%, rgba(35,58,151,.55) 55%, rgba(35,58,151,0) 75%); }
  .hero-txt { left: max(48px, calc((100% - 1440px) / 2 + 48px)); bottom: 110px; max-width: 460px; }
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 17px; max-width: 340px; }
  .page.home { gap: 18px; }
  .cats { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .bento { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px; }
  .b-big { grid-row: auto; }
  .carousel { margin: 0; padding: 0 0 4px; }
  .dica { width: 340px; }
  .rdias { max-width: 640px; }

  /* listas em colunas */
  .list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .list .empty { grid-column: 1 / -1; }
  .pfoto img { height: 180px; }

  /* leitura: texto em coluna confortável */
  details.cap, .dayc, .detail, .lfoto, .mini-banner, .seg, .blist, .facts, .prog { max-width: 780px; }
  .lfoto { height: 380px; }
  #map { height: calc(100vh - 230px); }
}

/* ---------- Sobre a Zildinha ---------- */
.sobre { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.sb-top { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.sb-top img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid var(--orange); }
.sb-top h2 { font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1.15; }
.sb-top p { font-size: 14px; color: var(--soft); margin-top: 4px; }
.sb-num { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sb-num div { background: var(--blue); color: #fff; border-radius: 16px; padding: 14px 10px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.sb-num div:nth-child(2) { background: var(--red); }
.sb-num div:nth-child(3) { background: var(--orange); }
.sb-num b { font-size: 30px; font-weight: 800; line-height: 1; }
.sb-num span { font-size: 12px; line-height: 1.25; opacity: .92; }
.sb-linha { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.sb-linha li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; position: relative; padding-bottom: 16px; }
.sb-linha li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: #F3D9C7; }
.sb-linha .ic { width: 44px; height: 44px; border-radius: 50%; background: #FBEFE6; display: grid; place-items: center; font-size: 20px; }
.sb-linha b { font-size: 16px; display: block; padding-top: 2px; }
.sb-linha p { font-size: 14px; color: var(--soft); }
.sb-cit { margin: 0; background: #EEF1FB; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; padding: 16px 18px; }
.sb-cit p { font-size: 16px; font-style: italic; color: var(--ink); line-height: 1.5; }
.sb-cit cite { display: block; font-style: normal; font-weight: 700; color: var(--blue); font-size: 14px; margin-top: 8px; }
.sb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sb-grid div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.sb-grid .ic { font-size: 22px; }
.sb-grid b { font-size: 14px; line-height: 1.25; }
.sb-grid p { font-size: 13px; color: var(--soft); line-height: 1.4; }
.sb-fecho { font-size: 18px; font-weight: 800; color: var(--red); text-align: center; }
@media (min-width: 1024px) { .sb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sb-top { grid-template-columns: 120px 1fr; } .sb-top img { width: 120px; height: 120px; } }

.cats .ci svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1024px) { .hsearch { max-width: none; } }

/* ---------- carta da Zildinha ---------- */
.carta { background: #FFFDF8; border: 1px solid #EFE6D8; border-radius: 22px; overflow: hidden; padding: 0 22px 28px; display: flex; flex-direction: column; gap: 14px; max-width: 780px; box-shadow: 0 10px 30px rgba(27,30,60,.07); }
.ct-foto { margin: 0 -22px 8px; position: relative; height: 280px; }
.ct-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.ct-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,253,248,0) 55%, #FFFDF8 100%); }
.ct-tag { position: absolute; left: 22px; top: 18px; z-index: 1; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em; }
.ct-abre { font-size: 24px; font-weight: 800; line-height: 1.25; color: var(--blue); }
.ct-p { font-size: 16px; line-height: 1.7; color: var(--ink); }
.ct-cap { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-top: 14px; }
.ct-cap span { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 13px; letter-spacing: 0; }
.ct-cap::after { content: ""; flex: 1; height: 1px; background: #EFE6D8; }
.ct-dest { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--ink); background: #FBEFE6; border-radius: 14px; padding: 14px 16px; }
.ct-quote { margin: 8px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--orange); font-size: 19px; font-weight: 700; font-style: italic; line-height: 1.4; color: var(--blue); }
.ct-fim { font-size: 22px; font-weight: 800; color: var(--red); margin-top: 10px; }
.ct-ass { font-size: 15px; color: var(--soft); font-style: italic; }
.ct-ass b { display: block; font-size: 30px; font-style: italic; font-weight: 800; color: var(--blue); margin-top: 2px; }
.ct-hero, .ct-intro, .ct-sec, .ct-caps, .ct-close { display: flex; flex-direction: column; gap: 14px; }
.ct-close { margin-top: 8px; }
@media (min-width: 1024px) {
  .carta, .sobre { max-width: none; }
  .carta { padding: 0; gap: 0; }
  .ct-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; align-items: stretch; }
  .ct-foto { margin: 0; height: auto; min-height: 460px; }
  .ct-foto::after { background: linear-gradient(90deg, rgba(255,253,248,0) 70%, #FFFDF8 100%); }
  .ct-intro { justify-content: center; padding: 48px 56px; gap: 24px; }
  .ct-abre { font-size: 34px; }
  .ct-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid #EFE6D8; }
  .ct-sec { padding: 36px 32px 40px; }
  .ct-sec + .ct-sec { border-left: 1px solid #EFE6D8; }
  .ct-cap { margin-top: 0; }
  .ct-p { font-size: 16px; }
  .ct-quote { font-size: 21px; }
  .ct-close { margin: 0; background: var(--blue); color: #fff; padding: 48px 56px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; }
  .ct-close .ct-quote { grid-row: 1 / 3; border-color: var(--orange); color: #fff; font-size: 28px; margin: 0; }
  .ct-close .ct-fim { color: #fff; font-size: 26px; margin: 0; }
  .ct-close .ct-ass { color: #DDE3F7; }
  .ct-close .ct-ass b { color: #fff; }
  .sb-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 1024px) { .page.pg-sobre details.cap { max-width: none; } }

/* ---------- Comece aqui ---------- */
.ch-ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--red) calc(var(--p) * 1%), #F3D9C7 0); }
.ch-ring span { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; }
.ch-ring.big { width: 110px; height: 110px; }
.ch-ring.big span { width: 88px; height: 88px; font-size: 44px; }
.ch-bar { display: block; height: 8px; border-radius: 99px; background: #F3D9C7; overflow: hidden; }
.ch-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--red)); border-radius: 99px; transition: width .6s; }
.comece-home { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--red); border-radius: 18px; padding: 12px 14px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 18px rgba(215,38,46,.12); }
.ch-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ch-tx small { font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.ch-tx b { font-size: 15px; line-height: 1.25; }
.cm-grid { display: flex; flex-direction: column; gap: 16px; }
.cm-side { display: flex; flex-direction: column; gap: 14px; }
.cm-nivel { background: var(--blue); color: #fff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; overflow: hidden; }
.cm-nivel::before { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border: 22px solid var(--red); border-radius: 50%; opacity: .9; }
.cm-nivel > * { position: relative; }
.cm-nivel .ch-ring { background: conic-gradient(var(--orange) calc(var(--p) * 1%), rgba(255,255,255,.2) 0); margin-bottom: 6px; }
.cm-nivel small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.cm-nivel b { font-size: 28px; font-weight: 800; line-height: 1; }
.cm-xp { font-size: 14px; font-weight: 700; background: rgba(255,255,255,.15); padding: 3px 10px; border-radius: 99px; }
.cm-nivel .ch-bar { width: 100%; background: rgba(255,255,255,.2); margin-top: 6px; }
.cm-nivel p { font-size: 14px; color: #DDE3F7; }
.cm-nivel p b { font-size: 14px; color: #fff; }
.cm-trilha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cm-trilha li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 4px; text-align: center; display: flex; flex-direction: column; gap: 2px; opacity: .55; }
.cm-trilha li.on { opacity: 1; border-color: var(--orange); background: #FBEFE6; }
.cm-trilha span { font-size: 24px; }
.cm-trilha b { font-size: 12px; }
.cm-trilha small { font-size: 11px; color: var(--soft); }
.cm-premio { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; border: 2px dashed #E3C9B4; border-radius: 18px; padding: 14px; background: #FFFDF8; }
.cm-premio.on { border-style: solid; border-color: var(--red); background: #FDECEC; }
.cm-premio .pz { font-size: 40px; text-align: center; }
.cm-premio b { font-size: 16px; }
.cm-premio p { font-size: 13px; color: var(--soft); }
.cm-cont { font-size: 12px; font-weight: 700; color: var(--red); }
.cm-lista { display: flex; flex-direction: column; gap: 10px; }
.missao { display: grid; grid-template-columns: 30px 44px 1fr; grid-template-areas: "n i t" "n i x"; gap: 4px 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.missao:active { transform: scale(.98); }
.missao .mn { grid-area: n; width: 30px; height: 30px; border-radius: 50%; background: #F3F1EC; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--soft); }
.missao .mi { grid-area: i; width: 44px; height: 44px; border-radius: 14px; background: #FBEFE6; display: grid; place-items: center; font-size: 22px; }
.missao .mt { grid-area: t; display: flex; flex-direction: column; gap: 2px; }
.missao .mt b { font-size: 15px; line-height: 1.25; }
.missao .mt small { font-size: 13px; color: var(--soft); line-height: 1.35; }
.missao .mt em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--orange); }
.missao .mx { grid-area: x; display: flex; gap: 10px; align-items: center; font-size: 12px; }
.missao .mx i { font-style: normal; font-weight: 800; color: var(--blue); background: #EEF1FB; padding: 2px 8px; border-radius: 99px; }
.missao .mx u { text-decoration: none; font-weight: 700; color: var(--red); }
.missao .mx s { text-decoration: none; font-weight: 700; color: var(--soft); }
.missao.ok { background: #F7F9FF; border-color: #D5DCF3; }
.missao.ok .mn { background: var(--blue); color: #fff; }
.missao.ok .mt b { color: var(--blue); }
.missao.ok .mi { filter: grayscale(.2); }
.ct-li { align-self: center; font-size: 16px; padding: 14px 22px; }
.festa { position: fixed; inset: 0; z-index: 1200; background: rgba(27,30,60,.55); display: grid; place-items: center; padding: 20px; }
.festa-card { background: #fff; border-radius: 24px; padding: 26px 22px; width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; animation: pop .45s cubic-bezier(.2,1.4,.4,1); }
.festa-card .fx { font-size: 56px; line-height: 1; }
.festa-card small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.festa-card b { font-size: 20px; font-weight: 800; color: var(--blue); }
.festa-card .xp { font-size: 26px; font-weight: 800; color: var(--orange); }
.festa-card p { font-size: 13px; color: var(--soft); margin-bottom: 8px; }
.festa-card .btn { width: 100%; }
.confete { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confete i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: cai 1.6s ease-in forwards; }
@keyframes cai { to { transform: translateY(105vh) rotate(540deg); opacity: .7; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .confete { display: none; } .festa-card { animation: none; } }
@media (min-width: 1024px) {
  .cm-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
  .cm-side { position: sticky; top: 24px; }
  .cm-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .missao { padding: 18px; }
  .missao:hover { border-color: var(--red); }
  .comece-home { max-width: none; }
}

/* ---------- Minha viagem ---------- */
.pl-grid { display: flex; flex-direction: column; gap: 16px; }
.pl-side, .pl-main { display: flex; flex-direction: column; gap: 12px; }
.pl-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pl-h { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; }
.pl-ic { width: 42px; height: 42px; border-radius: 12px; background: #EEF1FB; display: grid; place-items: center; font-size: 20px; }
.pl-h b { display: block; font-size: 15px; }
.pl-h small { display: block; font-size: 13px; color: var(--ink); }
.pl-h small.vz { color: var(--soft); }
.pl-ed { border: 0; background: #F3F1EC; color: var(--blue); font: inherit; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 99px; cursor: pointer; }
.pl-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-left: 54px; }
.pl-end { font-size: 13px; color: var(--soft); flex: 1 1 100%; }
.pl-open { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; background: #FDECEC; padding: 6px 12px; border-radius: 99px; white-space: nowrap; }
.pl-cal { display: flex; flex-direction: column; gap: 12px; }
.pl-dia { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pl-dia header { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px; background: #FBEFE6; }
.pl-n { font-size: 12px; font-weight: 800; color: #fff; background: var(--orange); padding: 2px 8px; border-radius: 99px; }
.pl-dia header b { font-size: 15px; text-transform: capitalize; }
.pl-dia header small { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--soft); }
.pl-dia ul { list-style: none; margin: 0; padding: 0; }
.pl-it { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid #EFEDE8; }
.pl-hr { font-size: 13px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.pl-tt { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-tt a { color: inherit; }
.pl-tt em { font-style: normal; font-size: 12px; color: var(--red); font-weight: 700; }
.pl-it.zildinha { background: #FDECEC; }
.pl-res { font-size: 12px; font-weight: 700; color: var(--red) !important; }
.pl-del { border: 0; background: none; font-size: 20px; color: var(--soft); cursor: pointer; padding: 0 4px; }
.pl-sug { display: grid; grid-template-columns: 32px 1fr; gap: 10px; margin: 10px 14px 0; padding: 12px; border: 1.5px dashed #E8A07A; border-radius: 14px; background: #FFFDF8; }
.pl-sug > span { font-size: 22px; }
.pl-sug b { font-size: 14px; display: block; margin-bottom: 8px; }
.pl-tours { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-tours button { border: 1px solid #F3D9C7; background: #fff; font: inherit; font-size: 12px; font-weight: 600; color: var(--ink); padding: 6px 10px; border-radius: 99px; cursor: pointer; }
.pl-tours button:hover { border-color: var(--red); color: var(--red); }
.pl-add { display: block; width: calc(100% - 28px); margin: 10px 14px 14px; border: 1.5px dashed var(--line); background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--blue); padding: 10px; border-radius: 12px; cursor: pointer; }
.pl-atalhos { display: flex; flex-direction: column; gap: 8px; }
.sheet label { font-size: 13px; font-weight: 700; }
select.input-l { appearance: auto; }
@media (min-width: 1024px) {
  .pl-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: start; }
  .pl-side { position: sticky; top: 24px; }
  .pl-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; align-items: start; }
}

/* sem viúvas: títulos equilibrados e parágrafos sem palavra sozinha na última linha */
h1, h2, h3, .h2, .h3, b, .top p, .hero p, summary, blockquote, .ct-abre, .ct-dest, .ct-quote, .ct-fim { text-wrap: balance; }
p, li, small, .txt, .ct-p, .meta, .note, em, span { text-wrap: pretty; }

.tabs svg, .cats .ci svg { stroke-width: 1.8; }
.tabs svg { flex: none; }

/* cartão ilustrado quando o lugar não tem foto */
.semfoto { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; padding: 12px; }
.semfoto::before { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border: 18px solid rgba(255,255,255,.14); border-radius: 50%; }
.semfoto::after { content: ""; position: absolute; left: -30px; bottom: -50px; width: 110px; height: 110px; border: 14px solid rgba(255,255,255,.08); border-radius: 50%; }
.semfoto i { font-style: normal; font-size: 38px; line-height: 1; position: relative; }
.semfoto b { font-size: 16px; font-weight: 800; line-height: 1.2; position: relative; text-wrap: balance; }
.sf-card { width: 100%; height: 160px; }
.sf-pc { width: 200px; height: 130px; }
.sf-pc i { font-size: 30px; } .sf-pc b { font-size: 13px; }
.lfoto.semfoto { height: 220px; }
.lfoto.semfoto i { font-size: 56px; } .lfoto.semfoto b { font-size: 22px; }
@media (min-width: 1024px) { .sf-card { height: 180px; } .lfoto.semfoto { height: 380px; } }
.map-rot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.map-rot > span { font-size: 13px; font-weight: 700; color: var(--soft); margin-right: 2px; }
.rpin { width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.4); font-family: inherit; }
.rdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.pl-lab { font-size: 13px; font-weight: 700; }
.pl-tipos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pl-tipos button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 4px; font: inherit; font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.pl-tipos button span { font-size: 20px; }
.pl-tipos button.on { border-color: var(--red); background: #FDECEC; color: var(--red); }
.pl-z { display: flex; flex-direction: column; gap: 6px; background: #FDECEC; border-radius: 12px; padding: 10px; }
.sheet label small { font-weight: 500; color: var(--soft); }
.pl-ti a { color: inherit; }
.sheet { max-height: 92vh; overflow-y: auto; }

/* ---------- guia: índice em cartões com foto ---------- */
.ggrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gcard { position: relative; display: block; height: 150px; border-radius: 18px; overflow: hidden; background: var(--blue); text-decoration: none; color: #fff; }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,30,60,.05) 20%, rgba(27,30,60,.82) 100%); }
.gc-ic { position: absolute; left: 14px; top: 12px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 22px; }
.gc-tx { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.gc-tx b { font-size: 20px; font-weight: 800; line-height: 1.15; }
.gc-tx small { font-size: 13px; opacity: .9; }
.gc-big { height: 190px; }
.gc-big img { object-position: center 20%; }
@media (min-width: 640px) { .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gc-big { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .gcard { height: 220px; } .gc-big { grid-column: span 2; height: 220px; } }

/* ---------- capítulos em formato revista ---------- */
.rv-hero { position: relative; height: 300px; background: var(--blue); color: #fff; overflow: hidden; }
.rv-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,58,151,.25) 0%, rgba(27,30,60,.88) 100%); }
.rv-ht { position: absolute; left: 20px; right: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.rv-ht .back { color: #fff; opacity: .9; position: absolute; top: -190px; left: 0; font-weight: 700; text-decoration: none; font-size: 14px; }
.rv-emo { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 28px; }
.rv-ht h1 { font-size: 32px; font-weight: 800; line-height: 1.05; }
.rv-ht p { font-size: 14px; opacity: .9; }
.rv-wrap { display: flex; flex-direction: column; gap: 16px; }
.rv-sum { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.rv-sum::-webkit-scrollbar { display: none; }
.rv-sum a { flex: none; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px 6px 6px; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.rv-sum a span, .rv-h span { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.rv-body { display: flex; flex-direction: column; gap: 28px; }
.rv-sec { scroll-margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.rv-h { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; color: var(--blue); line-height: 1.15; }
.rv-h span { width: 34px; height: 34px; font-size: 15px; }
.rv-cols, .rv-main, .rv-side { display: flex; flex-direction: column; gap: 12px; }
.rv-foto { width: 100%; height: 200px; object-fit: cover; border-radius: 18px; display: block; }
.lead { font-size: 18px; line-height: 1.55; font-weight: 600; color: var(--ink); }
.h3v { font-size: 17px; font-weight: 800; color: var(--ink); padding-left: 12px; border-left: 4px solid var(--orange); margin-top: 6px; }
mark.eur { background: #FBEFE6; color: var(--red); font-weight: 800; padding: 0 4px; border-radius: 6px; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; }
.tile b { font-size: 14px; color: var(--blue); }
.vlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vlist li { position: relative; padding: 10px 12px 10px 38px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; line-height: 1.45; }
.vlist li::before { content: ""; position: absolute; left: 14px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.bx { display: grid; grid-template-columns: 40px 1fr; gap: 12px; border-radius: 18px; padding: 16px; font-size: 14px; line-height: 1.5; }
.bx-ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 20px; }
.bx b { display: block; font-size: 15px; margin-bottom: 4px; }
.bx ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.bx-dica { background: var(--blue); color: #fff; }
.bx-dica b { color: #fff; }
.bx-dica a { color: #fff; }
.bx-dica mark.eur { background: rgba(255,255,255,.18); color: #fff; }
.bx-perr { background: #FDECEC; border: 1.5px solid #F6CFD1; }
.bx-perr b { color: var(--red); }
.lnkv { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); font-size: 14px; }
.lnkv i { font-style: normal; color: var(--red); font-weight: 800; }
.lnkv:hover { border-color: var(--red); }
.rv-prox { position: relative; display: block; height: 160px; border-radius: 18px; overflow: hidden; background: var(--blue); color: #fff; text-decoration: none; }
.rv-prox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-prox small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.rv-atalhos { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 640px) {
  .tabv thead { display: none; }
  .tabv, .tabv tbody, .tabv tr, .tabv td { display: block; width: 100%; }
  .tabv tr { padding: 10px 12px; border-top: 1px solid var(--line); }
  .tabv tr:first-child { border-top: 0; }
  .tabv td { border: 0; padding: 2px 0; }
  .tabv td::before { content: attr(data-c); display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
  .tabv td:first-child { font-weight: 800; color: var(--blue); font-size: 15px; }
  .tabv td:first-child::before { display: none; }
}
@media (min-width: 1024px) {
  .rv-hero { height: 420px; }
  .rv-ht { left: max(48px, calc((100% - 1440px) / 2 + 48px)); bottom: 40px; max-width: 900px; }
  .rv-ht h1 { font-size: 54px; }
  .rv-ht .back { top: -280px; }
  .pg-rev .rv-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
  .rv-nav { position: sticky; top: 24px; }
  .rv-sum { flex-direction: column; overflow: visible; }
  .rv-sum a { white-space: normal; border-radius: 12px; padding: 8px 12px 8px 8px; }
  .rv-body { gap: 48px; }
  .rv-h { font-size: 30px; }
  .rv-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .rv-cols.so1 { grid-template-columns: minmax(0, 1fr); }
  .rv-side { position: sticky; top: 24px; }
  .rv-foto { height: 260px; }
  .lead { font-size: 20px; }
  .txt { font-size: 16px; }
  .rv-prox { height: 240px; }
  .rv-atalhos { flex-direction: row; } .rv-atalhos > * { flex: 1; }
  .pg-rev .mini-banner, .pg-rev .tabwrap { max-width: none; }
}

.tiles { align-items: start; }
#map.com-rot .pin { opacity: .3; }

/* ---------- roteiros visuais ---------- */
.rt-hero img { object-position: center 40%; }
.rt-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rt-seg a { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 10px 4px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 600; }
.rt-seg a b { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--blue); }
.rt-seg a.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.rt-seg a.on b { color: #fff; }
.rt-antes { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.rt-antes > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr auto; grid-template-areas: "i b c" "i s c"; align-items: center; column-gap: 12px; padding: 14px 16px; }
.rt-antes > summary::-webkit-details-marker { display: none; }
.rt-antes > summary span { grid-area: i; font-size: 24px; }
.rt-antes > summary b { grid-area: b; font-size: 16px; }
.rt-antes > summary small { grid-area: s; font-size: 13px; color: var(--soft); }
.rt-antes > summary::after { grid-area: c; content: "›"; font-size: 22px; color: var(--soft); transition: transform .2s; }
.rt-antes[open] > summary::after { transform: rotate(90deg); }
.rt-dias { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; scroll-margin-top: 0; }
.rt-dias::-webkit-scrollbar { display: none; }
.rt-dias a { flex: none; padding: 8px 16px; border-radius: 99px; border: 2px solid var(--c); color: var(--c); font-weight: 800; font-size: 14px; text-decoration: none; background: #fff; }
.rt-dias a.on { background: var(--c); color: #fff; }
.rt-grid { display: flex; flex-direction: column; gap: 16px; }
.rt-side { display: flex; flex-direction: column; gap: 12px; }
.rt-dh { border-radius: 18px; color: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.rt-dh small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.rt-dh b { font-size: 19px; font-weight: 800; line-height: 1.25; text-wrap: balance; }
.rt-map { height: 220px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); z-index: 0; }
.rt-res { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rt-res li { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px 4px 4px; font-size: 12px; font-weight: 600; }
.rt-res span { width: 20px; height: 20px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.rt-linha { display: flex; flex-direction: column; gap: 22px; }
.rt-per { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 26px; }
.rt-per::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: -10px; width: 2px; background: #E7DED2; }
.rt-ph { display: flex; align-items: center; gap: 12px; margin-left: -26px; }
.rt-pi { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid; display: grid; place-items: center; font-size: 20px; position: relative; z-index: 1; flex: none; }
.rt-ph h2 { font-size: 22px; font-weight: 800; color: var(--ink); }
.rt-intro { padding-left: 14px; display: flex; flex-direction: column; gap: 8px; }
.rp { margin-left: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(27,30,60,.05); }
.rp-foto { position: relative; height: 150px; }
.rp-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-n { position: absolute; left: 12px; top: 12px; min-width: 32px; height: 32px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.rp-n.solo { position: static; margin: 14px 0 0 14px; }
.rp-tx { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.rp-tx h3 { font-size: 18px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.rp-tx > p { font-size: 15px; line-height: 1.55; }
.rp-mais > summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--red); list-style: none; }
.rp-mais > summary::-webkit-details-marker { display: none; }
.rp-mais > summary::after { content: " ›"; }
.rp-mais[open] > summary::after { content: " ⌄"; }
.rp-c { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.rp-map { font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; align-self: flex-start; background: #EEF1FB; padding: 4px 10px; border-radius: 99px; }
.rt-prox { display: flex; justify-content: space-between; align-items: center; color: #fff; text-decoration: none; border-radius: 18px; padding: 18px 20px; }
.rt-prox small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rt-prox b { font-size: 22px; font-weight: 800; }
@media (min-width: 1024px) {
  .rt-seg { max-width: 560px; }
  .rt-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 32px; align-items: start; }
  .rt-side { position: sticky; top: 64px; }
  .rt-map { height: 320px; }
  .rt-per .rp { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
  .rt-per .rp-foto { height: auto; min-height: 190px; }
  .rt-per .rp > .rp-n.solo { grid-column: 1; }
  .rt-per .rp:not(:has(.rp-foto)) { grid-template-columns: 60px minmax(0, 1fr); }
  .rt-ph h2 { font-size: 26px; }
  .pg-rot .rt-antes { max-width: none; }
}
.rp-n.solo { align-self: flex-start; width: 34px; height: 34px; min-width: 0; padding: 0; font-size: 15px; }
@media (min-width: 1024px) { .rt-per .rp > .rp-n.solo { margin: 16px 0 0 14px; } }
.rt-dh b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 20px; }
.rt-dh b i { font-style: normal; opacity: .7; }
.rt-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rt-stats span { background: rgba(255,255,255,.18); border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.rt-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: thin; }
.rs { flex: none; width: 128px; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.rs img, .rs-ph { width: 128px; height: 96px; border-radius: 14px; object-fit: cover; display: block; }
.rs-ph { opacity: .18; }
.rs-n { position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.rs:not(:has(img)) .rs-n { left: 50%; top: 48px; transform: translate(-50%, -50%); width: 40px; height: 40px; font-size: 16px; }
.rs b { font-size: 13px; font-weight: 700; line-height: 1.25; }
.rp.pisca { animation: pisca 1.6s ease; }
@keyframes pisca { 0%, 60% { box-shadow: 0 0 0 4px var(--orange); } 100% { box-shadow: 0 4px 14px rgba(27,30,60,.05); } }
.rt-res { display: none; }
@media (min-width: 1024px) {
  .rt-strip { margin: 0; padding: 0 0 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .rs { width: auto; }
  .rs img, .rs-ph { width: 100%; height: 82px; }
  .rs:not(:has(img)) .rs-n { top: 41px; }
  .rt-side { max-height: calc(100vh - 80px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
}
.rt-side > * { flex-shrink: 0; }
/* tópicos dentro de cada parada */
.tp { display: flex; flex-direction: column; gap: 10px; }
.tp-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px; }
.tp-tabs::-webkit-scrollbar { display: none; }
.tp-tabs button { flex: none; display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.tp-tabs button span { font-size: 15px; }
.tp-tabs button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.tp-c { display: flex; flex-direction: column; gap: 10px; border-radius: 14px; }
.tp-c > .txt, .tp-c > .lead { font-size: 15px; font-weight: 400; line-height: 1.6; }
.tp-dica { background: #EEF1FB; padding: 12px 14px; }
.tp-ir { background: #FBEFE6; padding: 12px 14px; }
.tp-ing { background: #FDECEC; padding: 12px 14px; }
.pt-end { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.pt-end > span { font-size: 22px; }
.pt-end small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); }
.pt-end b { font-size: 15px; }
.detail .tp-tabs button { font-size: 14px; padding: 8px 14px; }
.tile { justify-content: flex-start; } .tile span { display: block; }
/* paradas sem foto: ilustração no mesmo tamanho da foto */
.rp-ill { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; padding: 16px; overflow: hidden; position: relative; }
.rp-ill::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border: 20px solid rgba(255,255,255,.14); border-radius: 50%; }
.rp-ill i { font-style: normal; font-size: 40px; position: relative; }
.rp-ill b { font-size: 17px; font-weight: 800; line-height: 1.2; position: relative; text-wrap: balance; }
.rs-ph { opacity: 1 !important; display: grid; place-items: center; position: relative; overflow: hidden; }
.rs-ph i { font-style: normal; font-size: 30px; margin-top: 14px; }
.rs:not(:has(img)) .rs-n { left: 8px; top: 8px; transform: none; width: 26px; height: 26px; font-size: 12px; }
@media (min-width: 1024px) { .rs:not(:has(img)) .rs-n { top: 8px; } }
/* escolha de caminho */
.esc { margin-left: 14px; background: #fff; border: 2px dashed #E3C9B4; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.esc-t { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.esc-b { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.esc-b button { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 12px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; line-height: 1.25; }
.esc-b button span { font-size: 22px; }
.esc-b button.on { border-color: var(--c); background: var(--c); color: #fff; }
.ramo { display: flex; flex-direction: column; gap: 12px; }
/* indicação de restaurante */
.refeicao { display: flex; flex-direction: column; gap: 10px; }
.ind { display: grid; grid-template-columns: 96px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; align-items: start; }
.ind-p { border: 2px solid var(--red); background: #FFFDF8; }
.ind-f img, .sf-ind { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; display: block; }
.sf-ind i { font-size: 26px; } .sf-ind b { font-size: 11px; }
.ind-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ind-t small { font-size: 12px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.ind-t b { font-size: 16px; color: var(--blue); }
.ind-t span { font-size: 13px; color: var(--soft); }
.ind-t em { font-style: normal; font-size: 12px; color: var(--soft); }
.ind-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ind-a a, .ind-a button { font: inherit; font-size: 12px; font-weight: 700; border: 0; border-radius: 99px; padding: 5px 10px; cursor: pointer; text-decoration: none; background: #EEF1FB; color: var(--blue); }
.ind-a button { background: #FDECEC; color: var(--red); }
.ind-out { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
.ind-lista { display: flex; flex-direction: column; gap: 8px; }
.ind-lista .ind { grid-template-columns: 64px 1fr; }
.ind-lista .ind-f img, .ind-lista .sf-ind { width: 64px; height: 64px; }
/* fora dos roteiros */
.rt-extra { display: flex; flex-direction: column; gap: 12px; }
.rt-exg { display: flex; flex-direction: column; gap: 12px; }
.rt-extra .rp { margin-left: 0; }
@media (min-width: 1024px) { .rt-extra .rp { display: grid; grid-template-columns: 260px minmax(0, 1fr); } .rt-extra .rp-foto { height: auto; min-height: 200px; } }
.ind-p .ind-t b { font-size: 19px; }
