/* ---------- buscador (voos + hoteis), 20/10/2026 ---------- */
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 14px; max-width: 100%; overflow-x: auto; }
.seg button { border: 0; background: none; border-radius: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.seg button svg.i { width: 17px; height: 17px; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(16, 28, 56, .12); }
.sform { padding: 16px; }
.sgrid { display: grid; gap: 0 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sgrid .span2 { grid-column: span 2; }
.sgrid.f { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
.sgrid.f > .field:nth-child(n+4) { grid-column: span 3; }
.sgrid.f .swap { align-self: center; margin-top: 10px; }
.swap { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; color: var(--brand); transition: transform .2s; }
.swap:hover { transform: rotate(180deg); }
.iata { text-transform: uppercase; font-weight: 750; letter-spacing: .06em; font-size: 17px; }
.ifield { position: relative; display: flex; align-items: center; }
.ifield svg.i { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.ifield input { padding-left: 38px; }
.ifield.grow { flex: 1; min-width: 180px; }
.btn.lg { min-height: 46px; padding: 10px 22px; font-size: 15px; border-radius: 14px; }
.money { position: relative; display: flex; align-items: center; } .money span { position: absolute; left: 12px; color: var(--muted); font-weight: 650; font-size: 14px; } .money input { padding-left: 38px; font-variant-numeric: tabular-nums; font-weight: 650; }
.w-auto { width: auto; min-width: 170px; }

.srcpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 10px; }
.srcpick .lbl { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; width: 100%; }
.pick { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); transition: .15s; }
.pick small { font-weight: 600; color: var(--muted); font-size: 11.5px; }
.pick .ck { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: .15s; }
.pick .ck svg.i { width: 13px; height: 13px; stroke-width: 3; }
.pick.on { border-color: var(--c); color: var(--ink); background: color-mix(in srgb, var(--c) 9%, var(--surface)); }
.pick.on .ck { background: var(--c); border-color: var(--c); color: #fff; }

.stag { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 7px; background: var(--c); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; flex: none; }
.sstrip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 4px; scrollbar-width: thin; }
.sitem { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 9px 13px 9px 10px; text-align: left; flex: none; box-shadow: var(--shadow); transition: .15s; }
.sitem b { display: block; font-size: 13.5px; line-height: 1.2; }
.sitem small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sitem.ok small { color: var(--good); } .sitem.err small { color: var(--bad); } .sitem.empty small { color: var(--warn); }
.sitem.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.spin.sm { width: 12px; height: 12px; border-width: 2px; vertical-align: -2px; }
.rtools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 14px; }
.rtools select, .rtools input { min-height: 40px; }
.check.tog { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 12px; white-space: nowrap; font-size: 13.5px; }
.milbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--brand-soft); color: var(--ink-2); border-radius: 12px; padding: 9px 12px; margin: -2px 0 14px; }
.milbar svg.i { width: 17px; height: 17px; color: var(--brand); }
.milbar a { margin-left: auto; color: var(--brand); font-weight: 700; text-decoration: none; }
.gtitle { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; } .gtitle h2 { margin: 0; }
.hero-empty { padding: 44px 18px; } .hero-empty > svg.i { width: 44px; height: 44px; color: var(--brand); stroke-width: 1.4; padding: 10px; border-radius: 16px; background: var(--brand-soft); box-sizing: content-box; }
.hero-empty h3 { font-size: 17px; margin: 14px 0 6px; color: var(--ink); } .hero-empty p { max-width: 460px; margin: 0 auto; }
.note svg.i { width: 16px; height: 16px; vertical-align: -3px; }
.note { margin-bottom: 10px; }
.sk { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite; margin-bottom: 10px; }
.sk.l { width: 80%; height: 16px; } .sk.m { width: 55%; } .sk.s { width: 35%; }
.loadcard .hgrid { margin-top: 10px; }

/* hoteis */
.hgrid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
.hcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, transform .2s; }
.hcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.hc-img { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); overflow: hidden; }
.hc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hc-img .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); } .hc-img .ph svg.i { width: 40px; height: 40px; stroke-width: 1.3; }
.hc-disc { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--good); color: #fff; font-weight: 800; font-size: 14px; padding: 5px 11px; border-radius: 999px; box-shadow: 0 6px 16px rgba(11, 143, 71, .35); }
.hc-srcs { position: absolute; z-index: 2; right: 10px; bottom: 10px; display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(8, 12, 24, .45); backdrop-filter: blur(6px); }
.hc-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.hc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hc-head h3 { font-size: 16px; margin: 0; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stars { display: inline-flex; gap: 1px; flex: none; margin-top: 2px; } .stars svg { width: 14px; height: 14px; fill: #f2b01e; }
.hc-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.score { background: var(--brand); color: #fff; font-weight: 800; border-radius: 8px 8px 8px 2px; padding: 2px 7px; font-size: 13px; font-variant-numeric: tabular-nums; }
.hc-addr { display: flex; gap: 6px; font-size: 12.8px; color: var(--ink-2); } .hc-addr svg.i { width: 15px; height: 15px; margin-top: 2px; color: var(--muted); }
.hc-addr span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.hc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12.5px; color: var(--ink-2); }
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); border-radius: 8px; padding: 3px 8px; font-weight: 650; } .tag svg.i { width: 14px; height: 14px; }
.hc-desc { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px dashed var(--line-2); padding-top: 10px; margin-top: auto; }
.pmain small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.pv { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pv b { font-size: clamp(20px, 5vw, 24px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pv s { color: var(--muted); font-size: 14px; }
.save { display: inline-flex; align-items: center; gap: 5px; background: var(--good-soft); color: var(--good); font-weight: 750; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.save svg.i { width: 15px; height: 15px; }
.save.neutral { background: var(--surface-2); color: var(--muted); font-weight: 650; }
.hc-offers { display: flex; flex-direction: column; gap: 6px; }
.orow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid transparent; border-radius: 12px; padding: 8px 8px 8px 10px; }
.orow.best { border-color: color-mix(in srgb, var(--good) 45%, transparent); background: color-mix(in srgb, var(--good) 7%, var(--surface)); }
.oinfo { min-width: 0; } .oinfo b { font-size: 13px; display: block; line-height: 1.2; } .oinfo small { display: block; font-size: 11.8px; color: var(--muted); line-height: 1.35; }
.oval { text-align: right; } .oval b { display: block; font-size: 14.5px; font-variant-numeric: tabular-nums; } .oval small { font-size: 11.8px; font-weight: 700; }
.good { color: var(--good); } .bad { color: var(--bad); }
.iconbtn.sm { width: 34px; height: 34px; border-radius: 10px; } .iconbtn.sm svg.i { width: 16px; height: 16px; }
.hc-match { display: flex; gap: 7px; font-size: 12px; color: var(--good); background: var(--good-soft); border-radius: 10px; padding: 7px 10px; } .hc-match svg.i { width: 15px; height: 15px; margin-top: 1px; }
.hc-match.warn { color: var(--warn); background: var(--warn-soft); }
.skelc .skel { border-radius: 0; height: auto; aspect-ratio: 16 / 9; }
.skelc .hc-body { padding: 16px; }

/* voos */
.fgrid { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 14px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; box-shadow: var(--shadow); display: grid; gap: 10px; grid-template-columns: 1fr auto; grid-template-areas: "src num" "route route" "fares fares"; min-width: 0; }
.fcard.skelc { display: block; }
.fc-src { grid-area: src; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; }
.fc-num { grid-area: num; color: var(--muted); text-align: right; align-self: center; }
.fc-route { grid-area: route; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.fc-route .t b { display: block; font-size: 21px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.fc-route .t small { color: var(--muted); font-size: 12px; } .fc-route .t.r { text-align: right; }
.fc-route .line { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; color: var(--muted); }
.fc-route .line i { width: 100%; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--brand), var(--line-2)); border-radius: 2px; position: relative; }
.fc-route .line i::after { content: ""; position: absolute; right: -2px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.fc-fares { grid-area: fares; display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { display: inline-flex; flex-direction: column; background: var(--surface-2); border-radius: 10px; padding: 5px 10px; min-width: 0; }
.fchip small { font-size: 11px; color: var(--muted); font-weight: 650; line-height: 1.2; }
.fchip b { font-size: 14px; font-variant-numeric: tabular-nums; } .fchip em { font-style: normal; font-size: 11.5px; color: var(--ink-2); }
.fchip.cash { background: color-mix(in srgb, var(--s3) 10%, var(--surface)); }

@media (min-width: 700px) {
  .sgrid.h { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sgrid.f { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) repeat(2, minmax(0, 1fr)); }
  .sgrid.f > .field:nth-child(n+4) { grid-column: auto; }
  .sgrid.f > .field:nth-child(n+6) { grid-column: span 1; }
  .srcpick .lbl { width: auto; margin-right: 4px; }
  .hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcard { grid-template-columns: 170px minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "src route fares" "num route fares"; align-items: center; }
  .fc-num { text-align: left; }
  .fc-fares { justify-content: flex-end; }
}
@media (min-width: 1100px) {
  .sgrid.h { grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); }
  .sgrid.h .span2 { grid-column: span 1; }
  .sgrid.f { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) repeat(5, minmax(0, 1fr)); }
  .hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1400px) { .hgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .top .seg { width: 100%; } .top .seg button { flex: 1; justify-content: center; }
  .rtools > .seg { width: 100%; } .rtools > .seg button { flex: 1; justify-content: center; }
  .rtools select { flex: 1; min-width: 0; }
  .btn.lg { width: 100%; }
  .sform .row.between > .small { order: 2; }
}
.check.tog { min-height: 40px; padding: 0 12px; }
.check.tog input { margin: 0; }
@media (max-width: 699px) { .rtools select { flex: 1 1 100%; } }
