:root {
  --laranja: #ff7a18;
  --laranja-forte: #ff5e00;
  --verde: #16a34a;
  --verde-escuro: #128a3e;
  --tinta: #243038;
  --suave: #66717a;
  --linha: #e6eaee;
  --fundo: #f4f6f8;
  --branco: #fff;
  --sombra: 0 14px 40px rgba(36, 48, 56, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tinta);
  background: var(--branco);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--tinta); color: white; padding: .5rem .8rem;
}
.skip:focus { top: .5rem; z-index: 20; }
.miolo { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.estreito { max-width: 760px; }

.topo {
  position: sticky; top: 0; z-index: 20; background: white;
  border-bottom: 1px solid var(--linha);
}
.barra {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo { text-decoration: none; font-weight: 800; font-size: 1.55rem; letter-spacing: -.04em; color: var(--laranja-forte); }
.logo span { color: var(--verde); }
.menu { display: flex; gap: .35rem; margin-left: auto; }
.menu a, .ajuda {
  text-decoration: none; color: var(--tinta); font-weight: 700; font-size: .95rem;
  padding: .45rem .85rem; border-radius: 999px;
}
.menu a.atual, .menu a:hover { background: var(--laranja); color: white; }
.ajuda { font-weight: 700; text-decoration: none; }

.faixa {
  display: flex; justify-content: center; align-items: center; gap: 1rem;
  background: var(--verde); color: white; padding: .45rem 1rem; font-size: .92rem; font-weight: 650;
}
.faixa p { margin: 0; }
.faixa button {
  border: 0; background: transparent; color: white; font-size: 1.3rem; cursor: pointer;
}

.hero {
  background: linear-gradient(180deg, #ff8a1e 0%, #ff7a18 55%, #ff922e 100%);
  color: white;
  padding: 1.6rem 0 2.4rem;
}
.hero h1 {
  margin: .2rem 0 .9rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -.04em;
  line-height: 1.1;
  max-width: 18ch;
}
.hero .lede, .hero .lede a { color: white; }
.hero .lede a { font-weight: 800; }
.selo { margin: 0; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.lede { margin: -.4rem 0 1rem; max-width: 46rem; }
.migalha { margin: 0 0 .4rem; font-size: .92rem; }
.migalha a { color: white; }

.cartao-busca {
  background: white; color: var(--tinta);
  border-radius: 18px; padding: 1rem 1rem .9rem;
  box-shadow: var(--sombra);
}
.cartao-topo { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: .7rem; }
.cartao-topo strong { letter-spacing: .04em; font-size: .92rem; }
.tipos { display: flex; gap: .35rem; flex-wrap: wrap; }
.tipos label, .aba {
  border: 1px solid #ffd0b0; background: #fff7f2; color: var(--laranja-forte);
  border-radius: 999px; padding: .28rem .7rem; font-weight: 700; font-size: .86rem; cursor: pointer;
}
.tipos input { margin-right: .25rem; }
.campos { display: grid; grid-template-columns: 1.3fr auto 1.3fr .8fr .8fr .9fr auto; gap: .55rem; align-items: end; }
.campo { display: flex; flex-direction: column; gap: .2rem; position: relative; font-size: .78rem; color: var(--suave); font-weight: 700; }
.campo input {
  border: 1px solid var(--linha); border-radius: 10px; padding: .72rem .7rem; color: var(--tinta); background: #fbfcfd;
}
.trocar, .buscar { border: 0; cursor: pointer; }
.trocar {
  width: 36px; height: 36px; border-radius: 50%; background: #fff1e8; color: var(--laranja-forte); font-weight: 800;
}
.buscar {
  background: var(--laranja-forte); color: white; font-weight: 800; border-radius: 12px;
  padding: .85rem 1rem; letter-spacing: .03em;
}
.buscar:disabled { opacity: .7; }
.sugestoes {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 5;
  list-style: none; margin: .2rem 0 0; padding: .3rem; background: white;
  border: 1px solid var(--linha); border-radius: 12px; box-shadow: var(--sombra); max-height: 240px; overflow: auto;
}
.sugestoes button {
  width: 100%; text-align: left; border: 0; background: transparent; padding: .45rem .5rem; border-radius: 8px; cursor: pointer;
}
.sugestoes button:hover, .sugestoes button:focus { background: #fff4ec; }
.pax summary { list-style: none; border: 1px solid var(--linha); border-radius: 10px; padding: .72rem .7rem; background: #fbfcfd; cursor: pointer; color: var(--tinta); }
.pax summary::-webkit-details-marker { display: none; }
.pax-painel {
  position: absolute; z-index: 6; background: white; border: 1px solid var(--linha); border-radius: 12px;
  padding: .7rem; box-shadow: var(--sombra); display: grid; gap: .4rem; min-width: 180px;
}
.pax-painel label { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--tinta); }
.pax-painel input { width: 4.2rem; }
.aviso-busca { color: #9a3412; font-weight: 700; margin: .7rem 0 0; }

.resultados { background: var(--fundo); padding: 1.4rem 0 2rem; }
.resultados-topo { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.resultados h2 { margin: 0; }
.filtros { display: flex; gap: .4rem; }
.filtro, .aba {
  border: 1px solid var(--linha); background: white; border-radius: 999px; padding: .35rem .8rem; font-weight: 800; cursor: pointer;
}
.filtro.ativo, .aba.ativa { background: var(--laranja); color: white; border-color: var(--laranja); }
.voo {
  display: grid; grid-template-columns: 1.5fr .9fr auto; gap: 1rem; align-items: center;
  background: white; border-radius: 16px; padding: 1rem; margin-top: .7rem; border: 1px solid var(--linha);
}
.voo-horas { display: flex; gap: .8rem; align-items: center; }
.voo-horas strong { font-size: 1.25rem; }
.voo-horas span, .meta { color: var(--suave); font-size: .9rem; }
.preco { text-align: right; }
.preco strong { display: block; font-size: 1.35rem; color: var(--verde-escuro); }
.preco a {
  display: inline-block; margin-top: .35rem; background: var(--laranja-forte); color: white;
  text-decoration: none; font-weight: 800; border-radius: 999px; padding: .45rem .8rem;
}
.selo-123 { display: inline-block; background: #e9f9ee; color: var(--verde-escuro); border-radius: 999px; padding: .1rem .45rem; font-size: .75rem; font-weight: 800; }
.vazio, .carregando { padding: 1rem 0; font-weight: 700; }

.ofertas, .bloco, .faixas { padding: 2rem 0; }
.ofertas { background: var(--fundo); }
.secao-topo { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1rem; }
.card-destino {
  display: flex; flex-direction: column; text-decoration: none; background: white;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--linha); min-height: 230px;
}
.card-destino[hidden] { display: none; }
.foto { display: block; width: 100%; height: 156px; object-fit: cover; background: #d7dee4; }
.foto-destino { margin: 0 0 1rem; }
.foto-destino img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; display: block; }
.foto-destino figcaption { margin-top: .4rem; color: var(--suave); font-size: .78rem; }
.card-corpo { padding: .8rem .9rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.card-corpo small { color: var(--suave); }
.card-corpo em {
  margin-top: .45rem; align-self: flex-start; font-style: normal; font-weight: 800; font-size: .78rem;
  border: 1px solid var(--tinta); border-radius: 999px; padding: .28rem .7rem;
}
.tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.tres article, .ajuda details, .lista-destinos a {
  background: white; border: 1px solid var(--linha); border-radius: 16px; padding: 1rem;
}
.ajuda details { margin-bottom: .6rem; }
.ajuda summary { cursor: pointer; font-weight: 800; }
.lista-destinos { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.lista-destinos a { text-decoration: none; display: grid; grid-template-columns: 92px 1fr; gap: .75rem; align-items: center; }
.lista-destinos img { width: 92px; height: 68px; object-fit: cover; border-radius: 10px; }
.lista-destinos span span, .lista-destinos a > span span { color: var(--suave); display: block; }
.pagina-lista h1 { margin-bottom: .3rem; }
.grade-portal, .lista-portal { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.grade-portal a, .lista-portal a {
  display: flex; flex-direction: column; gap: .35rem; background: white; border: 1px solid var(--linha);
  border-radius: 16px; padding: 1rem; text-decoration: none; color: inherit;
}
.grade-portal span, .lista-portal span { color: var(--suave); font-size: .92rem; }
.atalhos { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; font-weight: 800; }
.atalhos a { color: #0f6b34; }
.pontos { padding-left: 1.1rem; }
.pontos li { margin: .35rem 0; }
.mapa-internacional ul, .trechos { display: flex; flex-wrap: wrap; gap: .45rem .7rem; padding: 0; margin: .6rem 0 0; list-style: none; }
.mapa-internacional a, .trechos a { color: var(--tinta); font-weight: 700; }
.guia p, .estreito p { max-width: 68ch; }
.tarifas { width: 100%; border-collapse: collapse; margin: .8rem 0 1.2rem; background: white; border-radius: 12px; overflow: hidden; }
.tarifas caption { text-align: left; font-weight: 800; margin-bottom: .4rem; }
.tarifas th, .tarifas td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--linha); font-size: .92rem; }
.tarifas th { background: #f7f8fa; }
.guia a { color: #0f6b34; }

.rodape { background: #142027; color: #e7eef2; padding: 2rem 0 1.2rem; }
.rodape .miolo { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.5rem; }
.rodape a { display: block; color: #d5e2ea; text-decoration: none; margin: .25rem 0; }
.rodape h2 { font-size: 1rem; margin: 0 0 .4rem; }
.logo-rodape { display: inline-block; margin-bottom: .4rem; }
.nota { width: min(var(--max), calc(100% - 2rem)); margin: 1.2rem auto 0; color: #9eb0bc; font-size: .9rem; }

@media (max-width: 980px) {
  .campos, .grade, .tres, .voo, .rodape .miolo, .lista-destinos { grid-template-columns: 1fr 1fr; }
  .campos { grid-template-columns: 1fr 1fr; }
  .menu { display: none; }
  .voo { grid-template-columns: 1fr; }
  .preco { text-align: left; }
}
@media (max-width: 640px) {
  .grade, .tres, .lista-destinos, .rodape .miolo, .grade-portal, .lista-portal { grid-template-columns: 1fr; }
  .secao-topo, .resultados-topo, .cartao-topo { flex-direction: column; align-items: flex-start; }
  .tarifas { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
