/* Fontes hospedadas no próprio site (licença SIL OFL, ver /fontes) */
@font-face { font-family: 'Marcellus'; src: url('/fontes/marcellus.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fontes/manrope.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  /* Paleta Hick's: amêndoa predominante, marinho, azul, laranja e tangerina */
  --amendoa: #F0E6DF;
  --amendoa-escura: #E4D5CA;
  --nevoa: #F0E6DF;
  --papel: #FFFBF8;
  --tinta: #1A1D4E;
  --tinta-2: #5A5560;
  --petroleo: #2329AC;
  --petroleo-escuro: #1A1F86;
  --azul: #3760F5;
  --agua: #E4E9FD;
  --linha: #DCCBBE;
  --maracuja: #FF9F29;
  --laranja: #FF6624;
  --maracuja-claro: #FFE8CC;
  --erro: #B3261E;
  --ok: #1D6B3A;
  --r-campo: 10px;
  --r-bloco: 16px;
  --titulo: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --texto: 'Manrope', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nevoa); color: var(--tinta); font: 400 1.0625rem/1.5 var(--texto); }
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(1.75rem, 6vw, 2.4rem); margin-bottom: .5rem; }
h1:focus { outline: none; }
small { font-size: .85em; color: var(--tinta-2); font-weight: 400; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }

/* ---------- topo ---------- */
.topo, .topo-painel { display: flex; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 2rem); }
.marca { font-family: var(--titulo); font-weight: 400; font-size: 1.45rem; color: var(--tinta); text-decoration: none; letter-spacing: .01em; }
.marca span { font-weight: 500; color: var(--tinta-2); }

/* ---------- formulário ---------- */
#app { max-width: 40rem; margin: 0 auto; padding: 0 1rem 7rem; }
.intro { color: var(--tinta-2); margin: 0 0 1.5rem; max-width: 34em; }
.sub-h { font-size: 1.3rem; margin: 2.25rem 0 .5rem; }

/* rota de progresso: cada etapa é uma parada */
.rota { --avanco: 0%; position: relative; margin: .5rem 0 .4rem; padding: 0 6px; }
.rota ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; }
.rota ol::before, .rota ol::after { content: ''; position: absolute; left: 6px; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 2px; }
.rota ol::before { right: 6px; background: repeating-linear-gradient(90deg, var(--linha) 0 6px, transparent 6px 11px); }
.rota ol::after { width: calc((100% - 12px) * var(--avanco) / 100%); background: var(--petroleo); transition: width .35s ease; }
.rota li { position: relative; z-index: 1; }
.rota .ponto { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--nevoa); border: 2px solid var(--linha); transition: transform .25s, background .25s; }
.rota li.feito .ponto { background: var(--petroleo); border-color: var(--petroleo); }
.rota li.atual .ponto { background: var(--laranja); border-color: var(--petroleo); transform: scale(1.5); }
.progresso { margin: 0 0 1.75rem; font-size: .9rem; color: var(--tinta-2); }

.grupo { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
legend, .rotulo { display: block; font-weight: 700; margin-bottom: .6rem; padding: 0; }
.campo { display: block; }
.campo > span:first-child { display: block; font-weight: 700; margin-bottom: .35rem; }
input[type=text], input[type=search], input[type=tel], input[type=date], input[type=month], input[type=number], select, textarea {
  width: 100%; font: inherit; color: inherit; background: var(--papel);
  border: 1.5px solid var(--linha); border-radius: var(--r-campo); padding: .75rem .85rem; min-height: 3rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--azul); outline: none; box-shadow: 0 0 0 3px rgba(55, 96, 245, .2); }
textarea { resize: vertical; }
.moeda { display: flex; align-items: stretch; }
.moeda i { font-style: normal; display: grid; place-items: center; padding: 0 .8rem; background: var(--agua); border: 1.5px solid var(--linha); border-right: 0; border-radius: var(--r-campo) 0 0 var(--r-campo); font-weight: 700; color: var(--petroleo); }
.moeda input { border-radius: 0 var(--r-campo) var(--r-campo) 0; }
.lado { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
@media (max-width: 22rem) { .lado { grid-template-columns: 1fr; } }

.opcoes { display: grid; gap: .55rem; }
.opcoes.grade { grid-template-columns: 1fr 1fr; }
.opcoes.grade .largo { grid-column: 1 / -1; }
.opcao { position: relative; display: block; cursor: pointer; }
.opcao input, .chip input, .segmento input, .interruptor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcao > span { display: flex; align-items: center; gap: .7rem; min-height: 3.25rem; padding: .7rem .95rem; background: var(--papel); border: 1.5px solid var(--linha); border-radius: var(--r-campo); }
.opcao > span::before { content: ''; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid var(--linha); background: var(--papel); }
.opcao input:checked + span { border-color: var(--petroleo); background: var(--agua); font-weight: 700; }
.opcao input:checked + span::before { border-color: var(--petroleo); background: radial-gradient(circle, var(--petroleo) 0 45%, var(--papel) 50%); }
.opcao input:focus-visible + span, .chip input:focus-visible + span, .segmento input:focus-visible + span, .interruptor input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip { cursor: pointer; position: relative; }
.chip span { display: inline-block; padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid var(--linha); background: var(--papel); }
.chip input:checked + span { background: var(--petroleo); border-color: var(--petroleo); color: #fff; }
.chip input:checked + span::before { content: '✓ '; }

.interruptor { position: relative; display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; min-height: 2.75rem; }
.interruptor span::before { content: ''; flex: none; display: inline-block; vertical-align: middle; width: 1.3rem; height: 1.3rem; margin-right: .65rem; border: 2px solid var(--linha); border-radius: 6px; background: var(--papel) center / 70% no-repeat; }
.interruptor input:checked + span::before { background-color: var(--petroleo); border-color: var(--petroleo); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Indispensável x preferência: o amarelo marca o que não pode ficar de fora */
.prio { margin-top: -.6rem; padding: .85rem; border-radius: var(--r-campo); background: var(--papel); border: 1.5px dashed var(--linha); }
.prio .rotulo { font-weight: 400; color: var(--tinta-2); margin-bottom: .5rem; }
.segmento { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.segmento label { position: relative; cursor: pointer; }
.segmento span { display: grid; place-items: center; text-align: center; min-height: 2.75rem; padding: .4rem; border-radius: 8px; border: 1.5px solid var(--linha); font-weight: 700; font-size: .95rem; }
.segmento input[value=indispensavel]:checked + span { background: var(--maracuja); border-color: var(--maracuja); color: var(--tinta); }
.segmento input[value=preferencia]:checked + span { background: var(--agua); border-color: var(--petroleo); color: var(--petroleo); }

.contador { display: inline-flex; align-items: center; border: 1.5px solid var(--linha); border-radius: var(--r-campo); background: var(--papel); }
.contador button { width: 3rem; height: 3rem; border: 0; background: none; font: 700 1.4rem/1 var(--texto); color: var(--petroleo); cursor: pointer; border-radius: var(--r-campo); }
.contador output { min-width: 2rem; text-align: center; font-weight: 700; font-size: 1.15rem; }
.idades { margin-bottom: .5rem; }

.passeio { background: var(--papel); border: 1.5px solid var(--linha); border-radius: var(--r-bloco); padding: 1rem; margin-bottom: .75rem; }
.passeio .marcas { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .5rem; }
.passeio .remover { margin-top: .25rem; }
#add-passeio { margin-bottom: 1rem; }

.nota { color: var(--tinta-2); font-size: .95rem; margin: -.6rem 0 1.4rem; }
.grupo-nota { margin-top: -.4rem; }
.msg { margin: .4rem 0 0; color: var(--erro); font-weight: 700; font-size: .95rem; }
.msg:empty { display: none; }
.com-erro input, .com-erro select, .com-erro .opcao > span, .com-erro .segmento span { border-color: var(--erro); }

.btn { font: 700 1.05rem/1.2 var(--texto); border-radius: 999px; padding: .85rem 1.4rem; min-height: 3.1rem; cursor: pointer; border: 1.5px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primario { background: var(--petroleo); color: #fff; }
.btn-primario:hover { background: var(--petroleo-escuro); }
.btn-primario:disabled { opacity: .7; cursor: progress; }
.btn-sec { background: var(--papel); color: var(--petroleo); border-color: var(--petroleo); }
.link-btn { background: none; border: 0; padding: .4rem 0; font: 700 1rem var(--texto); color: var(--petroleo); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.navegacao { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; padding: .8rem max(1rem, calc((100vw - 40rem) / 2 + 1rem)) calc(.8rem + env(safe-area-inset-bottom)); background: rgba(240, 230, 223, .95); backdrop-filter: blur(6px); border-top: 1px solid var(--linha); }
.navegacao #voltar { margin-right: auto; }
.navegacao #avancar { flex: 1 1 12rem; max-width: 20rem; }

/* revisão */
.resumo .bloco { background: var(--papel); border-radius: var(--r-bloco); padding: 1rem 1.1rem; margin-bottom: .75rem; border: 1.5px solid var(--linha); }
.bloco-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .4rem; }
.bloco h2 { font-size: 1.1rem; }
dl { margin: 0; display: grid; grid-template-columns: minmax(7rem, 38%) 1fr; gap: .35rem 1rem; }
dt { color: var(--tinta-2); }
dd { margin: 0; overflow-wrap: anywhere; }
.bloco-ind { background: var(--maracuja-claro); border-color: var(--maracuja); }
.bloco-ind ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.aviso-envio { background: var(--agua); border-radius: var(--r-campo); padding: .9rem 1rem; margin: 1rem 0; }
.aviso-erro { background: #FBE9E7; color: var(--erro); border-radius: var(--r-campo); padding: .9rem 1rem; font-weight: 700; }

/* confirmação: o carimbo de passaporte com a referência */
.confirmacao { text-align: center; padding: 3rem 0 2rem; outline: none; }
.carimbo { width: 11rem; height: 11rem; margin: 0 auto 2rem; border-radius: 50%; border: 4px double var(--petroleo); display: grid; place-items: center; transform: rotate(-8deg); color: var(--petroleo); font: 700 1.6rem var(--titulo); animation: carimbar .45s cubic-bezier(.2, 1.6, .4, 1) both; background: radial-gradient(circle, var(--maracuja-claro) 0 58%, transparent 59%); }
.confirmacao p { max-width: 28em; margin: .75rem auto 2rem; color: var(--tinta-2); }
@keyframes carimbar { from { transform: rotate(-8deg) scale(1.6); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .carimbo { animation: none; } .rota ol::after, .rota .ponto { transition: none; } }

/* ---------- painel ---------- */
.painel { font-size: 1rem; }
.topo-painel { background: var(--papel); border-bottom: 1px solid var(--linha); }
.topo-painel .topo-sub { color: var(--tinta-2); margin-right: auto; }
.topo-painel form { margin: 0; }
.painel-main { max-width: 72rem; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2rem) 4rem; }
.painel h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.painel h2 { font-size: 1.05rem; margin-bottom: .6rem; }
.login { max-width: 24rem; margin: 3rem auto; background: var(--papel); padding: 1.75rem; border-radius: var(--r-bloco); border: 1px solid var(--linha); }
.login .campo { margin-bottom: 1rem; }
.login .btn { width: 100%; }

.abas { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.25rem; }
.aba { padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--linha); background: var(--papel); color: var(--tinta); text-decoration: none; font-weight: 700; }
.aba span { color: var(--tinta-2); font-weight: 400; margin-left: .2rem; }
.aba.ativa { background: var(--petroleo); border-color: var(--petroleo); color: #fff; }
.aba.ativa span { color: #D3D6FF; }
.lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); }
.linha { display: grid; grid-template-columns: 6rem 1fr auto; grid-template-areas: "ref nome status" "ref dest data" "ref info info"; gap: .15rem 1rem; padding: .9rem .5rem; border-bottom: 1px solid var(--linha); color: inherit; text-decoration: none; }
.linha:hover { background: var(--papel); }
.l-ref { grid-area: ref; font: 400 1.1rem var(--titulo); color: var(--petroleo); }
.l-nome { grid-area: nome; font-weight: 700; }
.l-dest { grid-area: dest; } .l-dest em { font-style: normal; background: var(--maracuja-claro); padding: 0 .3rem; border-radius: 4px; }
.l-info { grid-area: info; color: var(--tinta-2); font-size: .93rem; }
.l-data { grid-area: data; color: var(--tinta-2); font-size: .9rem; text-align: right; }
.status { grid-area: status; justify-self: end; font-size: .85rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.s-nova { background: var(--maracuja); color: var(--tinta); }
.s-em_cotacao { background: var(--agua); color: var(--petroleo); }
.s-proposta_enviada { background: #E3EFE6; color: var(--ok); }
@media (max-width: 36rem) { .linha { grid-template-columns: 1fr auto; grid-template-areas: "ref status" "nome nome" "dest dest" "info info" "data data"; } .l-data { text-align: left; } }
.vazio { background: var(--papel); padding: 2rem; border-radius: var(--r-bloco); text-align: center; color: var(--tinta-2); }

.voltar { display: inline-block; margin-bottom: 1rem; color: var(--petroleo); font-weight: 700; }
.det-topo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.det-nome { display: block; font-size: .6em; color: var(--tinta-2); font-weight: 500; margin-top: .2rem; }
.det-meta { color: var(--tinta-2); margin: .4rem 0 0; }
.det-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.btn-whats { background: #1F7A45; color: #fff; }
.btn-whats:hover { background: #17723E; }
.form-status { display: flex; align-items: center; gap: .5rem; margin: 0; }
.form-status label { font-weight: 700; }
.form-status select { width: auto; min-height: 3.1rem; }
.ok { color: var(--ok); font-weight: 700; margin: 0; width: 100%; }

.destaques { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.destaques > div { border-radius: var(--r-bloco); padding: 1.1rem 1.25rem; background: var(--papel); border: 1.5px solid var(--linha); }
.d-orc { background: var(--petroleo) !important; border-color: var(--petroleo) !important; color: #fff; }
.d-orc h2 { color: #D3D6FF; }
.d-orc .valor { font: 400 2.3rem/1.1 var(--titulo); margin: 0; }
.d-orc .sub { color: #D3D6FF; }
.d-ind { background: var(--maracuja-claro) !important; border: 2px solid var(--maracuja) !important; }
.d-ind ul { margin: 0; padding-left: 1.2rem; font-weight: 700; font-size: 1.08rem; }
.d-ind li + li { margin-top: .2rem; }
.d-dest .pede { display: inline-block; background: var(--maracuja); padding: .3rem .7rem; border-radius: 8px; font-weight: 700; margin: 0; }
.d-dest .valor-m { font: 400 1.6rem var(--titulo); margin: 0; }
.sub { margin: .6rem 0 0; font-size: .93rem; color: var(--tinta-2); }
.tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.tres > div { background: var(--papel); border-radius: var(--r-bloco); padding: 1.1rem 1.25rem; border: 1px solid var(--linha); }
.tres ul { margin: 0; padding-left: 1.2rem; }
.tres li + li { margin-top: .25rem; }
.tag-ind { background: var(--maracuja); font-size: .8rem; font-weight: 700; padding: .05rem .45rem; border-radius: 4px; white-space: nowrap; }
.nada { color: var(--tinta-2); margin: 0; }
.tres .nota { margin: .6rem 0 0; }
.todas h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.todas { columns: 2 22rem; column-gap: 1rem; }
.todas h2 { column-span: all; }
.secao { break-inside: avoid; background: var(--papel); border-radius: var(--r-bloco); padding: 1rem 1.25rem; margin-bottom: 1rem; border: 1px solid var(--linha); }
.secao h3 { font-size: 1rem; margin-bottom: .6rem; color: var(--petroleo); }
@media (max-width: 56rem) { .destaques, .tres { grid-template-columns: 1fr; } }

/* =========================================================
   PÁGINA INICIAL (estilo agência: busca na abertura)
   ========================================================= */
.cliente .topo { max-width: 72rem; margin: 0 auto; }
.hero { background: var(--amendoa); color: var(--tinta); padding: clamp(1.25rem, 4vw, 3rem) max(4vw, 1rem) clamp(1.5rem, 4vw, 3rem); }
.cliente:has(#inicio:not([hidden])) .topo { max-width: none; background: var(--amendoa); margin: 0; padding-inline: max(4vw, 1rem, calc((100% - 72rem) / 2)); }
.hero-dentro { max-width: 72rem; margin: 0 auto; }
.hero-h { font-size: clamp(1.9rem, 6.5vw, 3.1rem); line-height: 1.05; max-width: 16ch; text-wrap: balance; margin: 0 0 .6rem; }
.hero-p { max-width: 40ch; color: var(--tinta-2); margin: 0 0 1.25rem; font-size: 1.05rem; }

/* arco origem -> destino */
.arco { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: .75rem; max-width: 34rem; margin: 0 0 1.25rem; color: var(--azul); }
.arco > svg:first-of-type { width: 100%; height: 46px; margin-bottom: 1.4rem; }
.arco .aviao { position: absolute; left: 50%; top: -2px; width: 26px; height: 26px; transform: translateX(-50%) rotate(90deg); color: var(--laranja); transition: transform .6s ease; }
.arco.pronto .aviao { transform: translateX(-50%) rotate(90deg) scale(1.15); }
.arco-ponta { display: flex; flex-direction: column; min-width: 4.2rem; }
.arco-ponta.fim { align-items: flex-end; text-align: right; }
.arco-ponta b { font: 700 clamp(1.8rem, 7vw, 2.6rem)/1 var(--titulo); color: var(--petroleo); letter-spacing: .02em; }
.arco-ponta span { font-size: .9rem; color: var(--tinta-2); max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* caixa de busca */
.busca { background: var(--papel); color: var(--tinta); border-radius: 18px; padding: .6rem; display: grid; gap: .5rem; grid-template-columns: minmax(0, 1fr); box-shadow: 0 22px 44px -24px rgba(35, 41, 172, .45); border: 1px solid var(--linha); }
.b-campo { margin: 0; }
.b-campo .msg { padding: 0 .5rem .2rem; }
.b-datas { display: grid; gap: .1rem; }
.b-par { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
.b-troca { justify-self: start; font-size: .92rem; padding: .3rem .5rem; }
.b-ir { width: 100%; }
.seletor, .caixa { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; min-height: 4rem; padding: .55rem .85rem; border: 1.5px solid var(--linha); border-radius: 12px; background: var(--papel); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.seletor:hover, .caixa:hover { border-color: var(--petroleo); }
.s-rot { font-size: .82rem; color: var(--tinta-2); font-weight: 700; }
.s-val { font-weight: 700; font-size: 1.08rem; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-val.s-vazio { color: #7b8b8e; font-weight: 400; }
.s-sub { font-size: .88rem; color: var(--tinta-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-sub:empty { display: none; }
.caixa input { border: 0; padding: 0; min-height: 0; height: 1.6rem; font-weight: 700; font-size: 1.05rem; background: transparent; box-shadow: none !important; width: 100%; }
.caixa:focus-within { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(55, 96, 245, .2); }
.com-erro .seletor, .com-erro .caixa { border-color: var(--erro); }
.etapa .seletor { min-height: 3.6rem; }
.btn-destaque { background: var(--laranja); color: #fff; font-size: 1.15rem; }
.btn-destaque:hover { background: #E8551A; }

@media (min-width: 40rem) {
  .busca { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: .75rem; }
  .b-datas, .b-ir { grid-column: 1 / -1; }
  .b-datas { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .b-viaj { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .busca { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.7fr) minmax(0, 1fr) auto; align-items: start; }
  .b-datas, .b-viaj, .b-ir { grid-column: auto; }
  .b-datas { grid-template-columns: minmax(0, 1fr); }
  .b-ir { min-height: 4rem; padding-inline: 1.5rem; }
}

/* faixas abaixo da busca */
.faixa { max-width: calc(72rem + 2 * max(4vw, 1rem)); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) max(4vw, 1rem) 0; }
.faixa h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: .4rem; }
.faixa-p { color: var(--tinta-2); margin: 0 0 1.25rem; max-width: 52ch; }
.destinos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: .6rem; }
@media (min-width: 40rem) { .destinos { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; } }
.dest button { width: 100%; height: 100%; min-height: 8.5rem; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .15rem; padding: 1rem 1.1rem; border-radius: 16px; border: 0; cursor: pointer; font: inherit; color: var(--tinta); }
.d-nome { font: 400 clamp(1.15rem, 4.4vw, 1.4rem)/1.1 var(--titulo); }
.d-reg { font-size: .9rem; opacity: .8; }
.d-txt { margin-top: .4rem; font-size: .92rem; line-height: 1.35; }
@media (max-width: 40rem) { .dest button { padding: .85rem .9rem; } .d-acao { font-size: .92rem; } }
.d-acao { margin-top: auto; padding-top: .7rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dest-mar button { background: #DCE4FE; }
.dest-areia button { background: #FFE3C2; }
.dest-serra button { background: #FFFBF8; border: 1px solid var(--linha) !important; }
.dest-mata button { background: #E4EADF; }
.dest-noite button { background: var(--petroleo); color: #fff; }
.dest button:hover .d-acao { color: var(--petroleo); }
.dest-noite button:hover .d-acao { color: var(--maracuja); }
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; counter-reset: p; }
.passos li { counter-increment: p; background: var(--papel); border-radius: 16px; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--linha); display: flex; flex-direction: column; gap: .3rem; }
.passos li::before { content: counter(p); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--maracuja); font: 700 1rem var(--titulo); margin-bottom: .3rem; }
.passos b { font-size: 1.08rem; }
.passos span { color: var(--tinta-2); }
.rodape { max-width: calc(72rem + 2 * max(4vw, 1rem)); margin: 3rem auto 0; padding: 1.5rem max(4vw, 1rem) 2.5rem; color: var(--tinta-2); border-top: 1px solid var(--linha); font-size: .92rem; }

/* folha de escolha: tela cheia no celular, janela no computador */
.folha { position: fixed; inset: 0; z-index: 50; }
.folha-fundo { position: absolute; inset: 0; background: rgba(26, 29, 78, .5); }
.folha-caixa { position: absolute; inset: 0; background: var(--papel); display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 40rem) {
  .folha-caixa { inset: auto; left: 50%; top: 8vh; transform: translateX(-50%); width: min(34rem, 92vw); max-height: 84vh; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); }
}
body.com-folha { overflow: hidden; }
.folha-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem .5rem 1.1rem; }
.folha-topo h2 { font-size: 1.25rem; }
.fechar { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: var(--nevoa); font-size: 1.1rem; cursor: pointer; color: var(--tinta); }
.folha-busca { padding: 0 1rem .5rem; }
.folha-busca input { font-size: 1.05rem; }
.folha-sec { margin: .4rem 1.1rem .3rem; font-size: .88rem; color: var(--tinta-2); font-weight: 700; }
#folha-lugares { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.folha-lista { list-style: none; margin: 0; padding: 0 .5rem 1rem; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.op { display: flex; align-items: center; gap: .8rem; padding: .7rem .6rem; border-radius: 10px; cursor: pointer; min-height: 3.4rem; }
.op:hover, .op[aria-selected=true] { background: var(--agua); }
.op-ic { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--nevoa); display: grid; place-items: center; color: var(--petroleo); }
.op-ic svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.op-dest .op-ic { color: #B76E00; background: #FFF3C9; }
.op-esp .op-ic { background: var(--maracuja); color: var(--tinta); }
.op-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.op-txt small { color: var(--tinta-2); font-size: .88rem; }
.op-cod { font: 700 .85rem var(--texto); letter-spacing: .04em; color: var(--petroleo); background: var(--nevoa); border-radius: 6px; padding: .15rem .45rem; }
.folha-viajantes { padding: .5rem 1.1rem 1.2rem; overflow-y: auto; }
.viaj-linha { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--linha); }
.viaj-linha span { display: flex; flex-direction: column; }
.folha-viajantes .idades { margin-top: 1rem; }
.folha-ok { width: 100%; margin-top: .5rem; }

.folha-busca input[type=search] { -webkit-appearance: none; appearance: none; }
.b-par:has(input[type=month]) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.caixa input[type=month], .caixa input[type=date] { font-size: 1rem; }
@media (min-width: 64rem) {
  .hero-dentro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; }
  .hero-h { grid-column: 1; grid-row: 1; }
  .hero-p { grid-column: 1; grid-row: 2; }
  .arco { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 100%; max-width: none; margin-bottom: 0; }
  .arco > svg:first-of-type { height: 90px; }
  .busca { grid-column: 1 / -1; margin-top: 1.5rem; }
}

/* Regiões do hotel */
.nota-reg { margin: -.2rem 0 .7rem; color: var(--tinta-2); font-size: .95rem; }
.opcao-reg > span { align-items: flex-start; }
.opcao-reg > span::before { margin-top: .2rem; }
.reg-txt { display: flex !important; flex-direction: column; gap: .1rem; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.reg-txt::before { display: none !important; }
.reg-txt b { font-weight: 700; }
.reg-txt small { color: var(--tinta-2); font-weight: 400; font-size: .9rem; }
.selo-rec { align-self: flex-start; font-style: normal; font-size: .78rem; font-weight: 700; background: var(--laranja); color: #fff; border-radius: 999px; padding: .1rem .55rem; margin: .15rem 0; }
.opcao-reg.rec > span { border-color: #FFC9AE; }
.opcao input:checked + span .reg-txt { font-weight: 400; }

/* =========================================================
   QUESTIONÁRIO EM TELAS (estilo jogo)
   ========================================================= */
.placar { --p: 0%; padding: .6rem 0 .2rem; }
.trilha { position: relative; height: 10px; border-radius: 999px; background: var(--amendoa-escura); margin: 14px 18px 0 6px; }
.trilha-feita { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--laranja), var(--maracuja)); transition: width .55s cubic-bezier(.3, 1.4, .5, 1); }
.trilha-aviao { position: absolute; top: 50%; left: var(--p); width: 30px; height: 30px; color: var(--petroleo); transform: translate(-50%, -50%) rotate(90deg); transition: left .55s cubic-bezier(.3, 1.4, .5, 1); filter: drop-shadow(0 2px 2px rgba(35, 41, 172, .25)); }
.trilha-fim { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--papel); border: 2px solid var(--linha); display: grid; place-items: center; font-size: .75rem; color: var(--tinta-2); }
.progresso { margin: .7rem 0 1.2rem; }
.pergunta { font-size: clamp(1.7rem, 7vw, 2.3rem); line-height: 1.1; margin: 0 0 1.1rem; text-wrap: balance; }
.pergunta:focus { outline: none; }
.tela .intro { margin-top: -.5rem; }
.opcoes.duas { grid-template-columns: 1fr 1fr; }
.opcoes.duas .opcao > span { justify-content: center; text-align: center; }
.opcoes.duas .opcao > span::before { display: none; }
.seletor.grande { min-height: 5rem; border-width: 2px; }
.seletor.grande .s-val { font-size: 1.3rem; }
.atalho { display: block; width: 100%; margin-top: .9rem; padding: .95rem 1rem; border-radius: var(--r-campo); border: 2px dashed var(--maracuja); background: var(--maracuja-claro); font: 700 1rem var(--texto); color: var(--tinta); cursor: pointer; text-align: left; }
.atalho::before { content: '★ '; color: var(--laranja); }
.tela .viaj-linha { flex-wrap: wrap; }
.tela .viaj-linha .msg { width: 100%; }
.btn-final { background: var(--laranja); color: #fff; }
.btn-final:hover { background: #E8551A; }

/* entrada das telas */
.tela.entra { animation: telaEntra .42s cubic-bezier(.2, .9, .25, 1.15) both; }
.tela.entra-volta { animation: telaVolta .38s cubic-bezier(.2, .9, .25, 1) both; }
@keyframes telaEntra { from { opacity: 0; transform: translateX(56px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes telaVolta { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: none; } }
.tela.entra .opcao, .tela.entra .chip, .tela.entra .seletor { animation: itemEntra .45s cubic-bezier(.2, .9, .25, 1.2) both; }
.tela.entra .opcao:nth-child(2), .tela.entra .chip:nth-child(2) { animation-delay: .05s; }
.tela.entra .opcao:nth-child(3), .tela.entra .chip:nth-child(3) { animation-delay: .1s; }
.tela.entra .opcao:nth-child(4), .tela.entra .chip:nth-child(4) { animation-delay: .15s; }
.tela.entra .opcao:nth-child(5), .tela.entra .chip:nth-child(5) { animation-delay: .2s; }
.tela.entra .opcao:nth-child(n+6), .tela.entra .chip:nth-child(n+6) { animation-delay: .25s; }
@keyframes itemEntra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* resposta escolhida: pulinho */
.opcao input:checked + span, .chip input:checked + span, .segmento input:checked + span { animation: pulinho .32s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pulinho { 0% { transform: scale(1); } 45% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* faltou responder: balança */
.tela.balanca { animation: balanca .4s ease; }
@keyframes balanca { 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

/* faíscas de comemoração */
.faisca { position: fixed; z-index: 80; width: 9px; height: 9px; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); animation: faisca .65s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes faisca { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .tela.entra, .tela.entra-volta, .tela.entra .opcao, .tela.entra .chip, .tela.entra .seletor, .tela.balanca,
  .opcao input:checked + span, .chip input:checked + span, .segmento input:checked + span { animation: none; }
  .trilha-feita, .trilha-aviao { transition: none; }
}
html, body { overflow-x: clip; }
#form { overflow-x: clip; padding-inline: 2px; margin-inline: -2px; }

.opcao-reg > span { padding: .6rem .9rem; min-height: 0; }
.reg-nome { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; }
.reg-nome .selo-rec { margin: 0; }
.reg-txt small { font-size: .86rem; line-height: 1.3; }
.ver-mais { background: none; border: 0; padding: .55rem 0; font: 700 1rem var(--texto); color: var(--petroleo); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.outras-regioes { display: grid; gap: .55rem; }

/* Passeios sugeridos (Cativa) */
.sugeridos { margin: 0 0 1rem; }
.sugeridos-titulo { margin: 0 0 .6rem; color: var(--tinta); font-weight: 600; }
.sug-lista { display: grid; gap: .5rem; }
.sug { display: grid; grid-template-columns: 1.6rem 1fr; column-gap: .6rem; align-items: center; text-align: left; width: 100%;
  background: var(--papel); border: 1.5px solid var(--linha); border-radius: var(--r-bloco); padding: .7rem .9rem; cursor: pointer;
  font: inherit; color: var(--tinta); transition: border-color .15s, background-color .15s, transform .15s; }
.sug::before { content: '+'; grid-row: span 2; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  border: 1.5px solid var(--petroleo); color: var(--petroleo); font-weight: 700; line-height: 1; }
.sug b { font-weight: 700; }
.sug span { font-size: .9rem; color: #4a4d6e; }
@media (hover: hover) { .sug:hover { border-color: var(--petroleo); } }
.sug:active { transform: scale(.98); }
.sug:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.sug.on { border-color: var(--petroleo); background: #fff; box-shadow: inset 0 0 0 1px var(--petroleo); }
.sug.on::before { content: '✓'; background: var(--petroleo); color: #fff; }
@media (prefers-reduced-motion: reduce) { .sug { transition: none; } .sug:active { transform: none; } }

/* Tipo de voo: direto x conexão, com prós e contras */
.opcoes.voos { gap: .5rem; }
.opcao-voo > span { display: grid; grid-template-columns: 1.15rem 1fr; column-gap: .7rem; row-gap: .25rem; align-items: center; padding: .7rem .95rem; }
.voo-topo { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; }
.voo-nome { font-weight: 700; font-size: 1.05rem; }
.voo-preco { font-style: normal; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .1rem .55rem; white-space: nowrap; }
.preco-mais { background: #FFE3D3; color: #A63A06; }
.preco-menos { background: #DDE4FF; color: var(--petroleo); }
.pros-contras { grid-column: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; font-size: .9rem; font-weight: 400; color: #3b3e62; }
.pros-contras li { position: relative; padding-left: 1.2rem; line-height: 1.3; }
.pros-contras li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.pros-contras .pro::before { content: '✓'; color: #1F7A4D; }
.pros-contras .contra::before { content: '✕'; color: #B4441A; }
.opcao input:checked + span .pros-contras { font-weight: 400; }
.seletor-mini { min-height: 0; padding-top: .55rem; padding-bottom: .55rem; }


/* =========================================================
   Camada "concierge": luxuoso e clean
   Amêndoa de fundo, marinho-tinta como cor de ação, laranja
   só em detalhes. Bordas finas, sombras quase invisíveis.
   ========================================================= */
body { font-size: 1rem; letter-spacing: .005em; }
.topo { padding: .9rem clamp(1.1rem, 4vw, 2rem) .7rem; border-bottom: 1px solid rgba(26, 29, 78, .1); }
.marca span, .cliente .marca span { font-family: var(--texto); font-weight: 500; font-size: .78rem; letter-spacing: .14em; color: var(--tinta-2); margin-left: .15rem; vertical-align: .18em; }

.btn { font-weight: 600; letter-spacing: .01em; }
.btn-primario, .btn-destaque, .btn-final { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.btn-primario:hover, .btn-destaque:hover, .btn-final:hover { background: #10133A; }
.btn-sec { background: transparent; color: var(--tinta); border-color: rgba(26, 29, 78, .35); }

/* página inicial: tudo da busca cabe na primeira tela do celular */
.hero { padding: 1.1rem max(4vw, 1.1rem) 1.5rem; }
.hero-h { font-size: clamp(1.75rem, 7.4vw, 3.2rem); line-height: 1.08; max-width: 20ch; margin: 0 0 .45rem; text-wrap: balance; }
.hero-p { font-size: .95rem; line-height: 1.45; margin: 0 0 1rem; max-width: 36ch; }
.busca { border-radius: 16px; padding: .5rem; gap: .4rem; box-shadow: 0 18px 40px -30px rgba(26, 29, 78, .55); border: 1px solid rgba(26, 29, 78, .08); }
.seletor, .caixa { min-height: 3.35rem; padding: .4rem .8rem; border: 1px solid var(--linha); border-radius: 10px; }
.s-rot { font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.s-val { font-size: 1rem; font-weight: 600; }
.s-val.s-vazio { color: #8A8790; }
.s-sub { font-size: .78rem; }
.busca .seletor { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; align-content: center; column-gap: .45rem; }
.busca .s-rot { flex-basis: 100%; }
.busca .s-val { max-width: 100%; flex: 0 1 auto; min-width: 0; }
.busca .s-sub { flex: 1 1 0; min-width: 0; }
.caixa input { font-weight: 600; height: 1.45rem; }
.caixa input[type=month], .caixa input[type=date] { font-size: .98rem; }
.b-troca { font-size: .84rem; padding: .15rem .3rem; color: var(--tinta); text-decoration-color: rgba(26, 29, 78, .35); }
.b-ir { min-height: 3.2rem; font-size: 1.02rem; margin-top: .1rem; }

/* parte de baixo da página inicial */
.faixa h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.passos li { background: transparent; border: 0; border-top: 1px solid var(--linha); border-radius: 0; padding: 1rem 0 .4rem; }
.passos li::before { background: transparent; border: 1px solid var(--tinta); font: 400 1.05rem var(--titulo); color: var(--tinta); }
.rodape { font-size: .85rem; letter-spacing: .02em; }

/* questionário */
.pergunta { font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.1; }
.opcao > span, .seletor, .passeio, .sug { border-width: 1px; }
.opcao input:checked + span { background: var(--papel); border-color: var(--tinta); box-shadow: inset 0 0 0 1px var(--tinta); font-weight: 600; }
.opcao input:checked + span::before { border-color: var(--tinta); background: radial-gradient(circle, var(--tinta) 0 45%, var(--papel) 50%); }
legend, .rotulo, .campo > span:first-child { font-weight: 600; }

@media (min-width: 900px) {
  .hero { padding-top: 3rem; padding-bottom: 3rem; }
  .hero-h { max-width: 18ch; }
}
.busca .msg { font-size: .8rem; padding: .15rem .4rem 0; }
.d-orc { background: var(--tinta) !important; border-color: var(--tinta) !important; }

/* ---------- Questionário como conversa com o concierge ---------- */
.linha-prog { --p: 0%; position: relative; height: 2px; margin: .2rem 0 1.1rem; background: rgba(26, 29, 78, .12); border-radius: 2px; overflow: hidden; }
.linha-prog i { position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--tinta); transition: width .8s cubic-bezier(.22, .61, .36, 1); }
.tela { position: relative; }
.conversa { display: grid; gap: .7rem; margin-bottom: .55rem; }
.fala-cliente { justify-self: end; max-width: 82%; margin: 0; padding: .5rem .85rem; background: var(--tinta); color: var(--papel); border-radius: 16px 16px 4px 16px; font-size: .9rem; line-height: 1.35; }
.fala-concierge { display: flex; align-items: center; gap: .55rem; font-size: .8rem; color: var(--tinta-2); letter-spacing: .02em; }
.selo-h { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--tinta); font: 400 .95rem/1 var(--titulo); color: var(--tinta); }
.quem { font-weight: 600; color: var(--tinta); }
.passo { margin-left: auto; font-variant-numeric: tabular-nums; }
.digitando { display: block; position: relative; height: 0; }
.digitando i { display: none; }
.pergunta { margin-top: 0; }

/* entrada: a resposta do cliente sobe, o concierge "digita" e a pergunta aparece com calma */
.tela.entra, .tela.entra-volta { animation: none; }
.tela.entra .opcao, .tela.entra .chip, .tela.entra .seletor { animation: none; }
.tela.entra .fala-cliente { animation: bolhaSobe .45s cubic-bezier(.22, .61, .36, 1) both; }
.tela.entra .fala-concierge { animation: suave .5s .15s ease both; }
.tela.entra .digitando i { display: inline-block; position: relative; top: .9rem; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--tinta); opacity: 0;
  animation: ponto .9s ease-in-out both; }
.tela.entra .digitando i:nth-child(2) { animation-delay: .12s; }
.tela.entra .digitando i:nth-child(3) { animation-delay: .24s; }
.tela.entra .pergunta { animation: suaveSobe .6s .85s cubic-bezier(.22, .61, .36, 1) both; }
.tela.entra > :not(.conversa):not(.digitando):not(.pergunta) { animation: suaveSobe .6s 1.05s cubic-bezier(.22, .61, .36, 1) both; }
.tela.entra-volta > * { animation: suave .35s ease both; }
@keyframes bolhaSobe { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes suave { from { opacity: 0; } to { opacity: 1; } }
@keyframes suaveSobe { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ponto { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: .55; } 35% { transform: translateY(-3px); opacity: .9; } 50% { transform: translateY(0); } 80% { opacity: .55; } 100% { opacity: 0; } }

/* escolha: sem pulos nem faíscas, só uma transição discreta */
.opcao input:checked + span, .chip input:checked + span, .segmento input:checked + span { animation: none; }
.opcao > span, .chip span, .segmento span, .sug { transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.tela.balanca { animation: balancaLeve .35s ease; }
@keyframes balancaLeve { 30% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }

@media (prefers-reduced-motion: reduce) {
  .linha-prog i { transition: none; }
  .tela.entra .fala-cliente, .tela.entra .fala-concierge, .tela.entra .pergunta, .tela.entra > *, .tela.entra-volta > *, .tela.balanca { animation: none; }
  .tela.entra .digitando i { display: none; }
}
.tela .prio:not([hidden]) { animation: suaveSobe .35s cubic-bezier(.22, .61, .36, 1) both; }
@media (prefers-reduced-motion: reduce) { .tela .prio:not([hidden]) { animation: none; } }

/* opções em grade: cartões do mesmo tamanho, texto centralizado numa linha */
.opcoes.grade { grid-auto-rows: 1fr; }
.opcoes.grade .opcao, .opcoes.duas .opcao { display: flex; }
.opcoes.grade .opcao > span, .opcoes.duas .opcao > span { flex: 1; justify-content: center; text-align: center; min-height: 3.6rem; padding: .6rem .7rem; line-height: 1.2; }
.opcoes.grade .opcao > span::before { display: none; }

/* rodapé: "Como funciona" recolhido, estilo FAQ */
.rodape { margin-top: .5rem; padding-top: 1rem; }
.faq { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; cursor: pointer; font-size: .92rem; font-weight: 600; color: var(--tinta); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: .5rem; height: .5rem; border-right: 1.5px solid var(--tinta); border-bottom: 1.5px solid var(--tinta); transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.faq[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.faq .passos { display: grid; gap: .9rem; grid-template-columns: 1fr; padding: .2rem 0 1.1rem; }
.faq .passos li { display: block; border: 0; padding: 0 0 0 2rem; position: relative; font-size: .88rem; line-height: 1.45; }
.faq .passos li::before { position: absolute; left: 0; top: .05rem; width: 1.4rem; height: 1.4rem; margin: 0; font-size: .8rem; }
.faq .passos b { display: block; font-size: .92rem; font-weight: 600; }
.faq[open] .passos { animation: suave .3s ease both; }
.empresa { margin: 1rem 0 0; font-size: .78rem; letter-spacing: .04em; color: var(--tinta-2); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } .faq[open] .passos { animation: none; } }
.faq .passos b { color: var(--tinta); }

/* logo da Hick's */
.marca { display: inline-flex; align-items: center; gap: .5rem; }
.marca-h { height: 1.55rem; width: auto; display: block; }
.selo-h { overflow: hidden; }
.selo-h img { width: .9rem; height: auto; display: block; }
.assinatura { display: block; height: 1.15rem; width: auto; margin: 1.25rem 0 0; }
.carimbo { width: auto; height: auto; margin: 0 auto 1.75rem; border: 0; border-radius: 0; background: none; transform: none; display: flex; flex-direction: column; align-items: center; gap: .9rem; animation: suaveSobe .7s cubic-bezier(.22, .61, .36, 1) both; }
.carimbo img { height: 7.5rem; width: auto; }
.carimbo span { font: 400 1.05rem var(--titulo); letter-spacing: .12em; color: var(--tinta); border-top: 1px solid var(--linha); padding-top: .7rem; }
.marca-assinatura { height: 1.3rem; width: auto; display: block; }
@media (min-width: 900px) { .marca-assinatura { height: 1.5rem; } }
.b-linha { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; }
.b-noites { font-size: .84rem; font-weight: 600; color: var(--tinta); white-space: nowrap; padding-right: .3rem; }
.b-noites:empty { display: none; }
.noites-calc.nota { font-weight: 600; color: var(--tinta); }
.opcoes.grade .opcao > span { flex-direction: column; gap: .15rem; }
.dica { display: block; font-size: .74rem; line-height: 1.25; color: var(--tinta-2); font-weight: 400; }
.opcao input:checked + span .dica { font-weight: 400; color: var(--tinta-2); }

/* ---------- Entrada: "aqui fala o comandante" ---------- */
body.embarcando { overflow: hidden; }
.embarque { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 2rem 1.5rem;
  background: radial-gradient(120% 75% at 50% 32%, #262B70 0%, #1A1D4E 52%, #111336 100%); color: var(--amendoa);
  transition: transform 1.1s cubic-bezier(.7, 0, .2, 1), opacity .9s ease; }
.embarque.sai { transform: translateY(-100%); }
.emb-centro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; max-width: 22rem; }
.emb-h { width: 4.4rem; height: auto; opacity: 0; animation: embH 1.6s .15s cubic-bezier(.22, .61, .36, 1) forwards; }
.emb-linha { width: 7rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 230, 223, .8), transparent); transform: scaleX(0); animation: embLinha 1.2s .9s cubic-bezier(.22, .61, .36, 1) forwards; }
.emb-tag { margin: 0; font: 400 1.05rem var(--titulo); letter-spacing: .32em; text-indent: .32em; opacity: 0; animation: embTag 1.6s 1.1s cubic-bezier(.22, .61, .36, 1) forwards; }
.emb-pista { display: flex; gap: .9rem; margin-top: .6rem; opacity: 0; animation: suave .8s 1.6s ease forwards; }
.emb-pista i { width: 4px; height: 4px; border-radius: 50%; background: rgba(240, 230, 223, .25); }
.embarque.decolando .emb-pista i { animation: luzPista 1.4s ease-in-out infinite; }
.embarque.decolando .emb-pista i:nth-child(2) { animation-delay: .12s; }
.embarque.decolando .emb-pista i:nth-child(3) { animation-delay: .24s; }
.embarque.decolando .emb-pista i:nth-child(4) { animation-delay: .36s; }
.embarque.decolando .emb-pista i:nth-child(5) { animation-delay: .48s; }
.embarque.decolando .emb-pista i:nth-child(6) { animation-delay: .6s; }
.embarque.decolando .emb-pista i:nth-child(7) { animation-delay: .72s; }
.embarque.decolando .emb-pista i:nth-child(8) { animation-delay: .84s; }
.embarque.decolando .emb-pista i:nth-child(9) { animation-delay: .96s; }
.emb-legenda { margin: 0; min-height: 4.2em; font-size: .95rem; line-height: 1.45; color: rgba(240, 230, 223, .88); max-width: 26ch; opacity: 0; transition: opacity .8s ease; }
.embarque.falando .emb-legenda { opacity: 1; }
.emb-acoes { display: flex; flex-direction: column; align-items: center; gap: .6rem; opacity: 0; transform: translateY(6px); transition: opacity .7s ease, transform .7s ease; }
.embarque.pronto .emb-acoes { opacity: 1; transform: none; }
.embarque.decolando .emb-acoes { opacity: 0; pointer-events: none; }
.emb-btn { min-width: 12rem; min-height: 3.1rem; padding: .8rem 1.6rem; border: 1px solid var(--amendoa); border-radius: 999px; background: var(--amendoa); color: var(--tinta);
  font: 600 1rem var(--texto); letter-spacing: .08em; cursor: pointer; transition: background-color .25s, color .25s; }
.emb-btn:disabled { background: transparent; color: rgba(240, 230, 223, .7); border-color: rgba(240, 230, 223, .3); cursor: default; letter-spacing: .02em; }
.emb-btn:not(:disabled):hover { background: #fff; }
.emb-pular { background: none; border: 0; color: rgba(240, 230, 223, .7); font: 500 .85rem var(--texto); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 2.5rem; padding: 0 .5rem; }
.embarque :focus-visible { outline: 2px solid var(--amendoa); outline-offset: 3px; }
@keyframes embH { from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes embLinha { to { transform: scaleX(1); } }
@keyframes embTag { from { opacity: 0; letter-spacing: .7em; } to { opacity: 1; letter-spacing: .32em; } }
@keyframes luzPista { 0%, 100% { background: rgba(240, 230, 223, .25); box-shadow: none; } 30% { background: #FFE9C9; box-shadow: 0 0 10px 2px rgba(255, 159, 41, .55); } }
@media (prefers-reduced-motion: reduce) {
  .embarque { transition: opacity .3s ease; }
  .embarque.sai { transform: none; opacity: 0; }
  .emb-h, .emb-linha, .emb-tag, .emb-pista { animation: none; opacity: 1; transform: none; }
  .embarque.decolando .emb-pista i { animation: none; background: #FFE9C9; }
}
.emb-legenda { min-height: 0; display: inline-flex; align-items: center; gap: .6rem; letter-spacing: .06em; font-size: .88rem; }
.emb-ondas { display: inline-flex; align-items: center; gap: 3px; height: 1rem; }
.emb-ondas i { width: 2px; height: 30%; border-radius: 1px; background: var(--amendoa); }
.embarque.falando .emb-ondas i { animation: onda 1s ease-in-out infinite; }
.embarque.falando .emb-ondas i:nth-child(2) { animation-delay: .15s; }
.embarque.falando .emb-ondas i:nth-child(3) { animation-delay: .3s; }
.embarque.falando .emb-ondas i:nth-child(4) { animation-delay: .45s; }
.embarque.falando .emb-ondas i:nth-child(5) { animation-delay: .6s; }
@keyframes onda { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .embarque.falando .emb-ondas i { animation: none; height: 60%; } }
.emb-legenda { max-width: none; white-space: nowrap; justify-content: center; }

/* Viagem x Cruzeiro */
.modos { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .2rem; background: var(--amendoa); border-radius: 999px; }
.modo { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.35rem; border: 0; border-radius: 999px; background: transparent; color: var(--tinta-2); font: 600 .92rem var(--texto); letter-spacing: .02em; cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.modo[aria-checked="true"] { background: var(--papel); color: var(--tinta); box-shadow: 0 1px 6px -2px rgba(26, 29, 78, .25); }
.modo-ic { width: 1.05rem; height: 1.05rem; flex: none; }
.modo[data-modo-btn="viagem"] .modo-ic { transform: rotate(45deg); }
.modo:focus-visible { outline: 3px solid var(--azul); outline-offset: 1px; }
@media (min-width: 640px) { .modos { grid-column: 1 / -1; max-width: 20rem; } }
.tag-cruzeiro { display: none; align-items: center; gap: .3rem; padding: .15rem .55rem; border: 1px solid rgba(26, 29, 78, .25); border-radius: 999px; color: var(--tinta); font-weight: 600; font-size: .75rem; }
.tag-cruzeiro svg { width: .95rem; height: .95rem; }
.modo-cruzeiro .tag-cruzeiro { display: inline-flex; }
.modo-cruzeiro .sug { padding: .5rem .85rem; }
.modo-cruzeiro .sug-lista { gap: .4rem; }
.modo-cruzeiro .sug-lista { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.modo-cruzeiro .sug { grid-template-columns: 1.3rem 1fr; column-gap: .5rem; padding: .55rem .65rem; }
.modo-cruzeiro .sug::before { width: 1.3rem; height: 1.3rem; font-size: .8rem; }
.modo-cruzeiro .sug span { font-size: .82rem; line-height: 1.25; }
.modo-cruzeiro .sug span { display: block; }
.modo-cruzeiro .sug span::first-letter { text-transform: uppercase; }
.modo.apita .modo-ic { animation: apita .9s ease-in-out; }
@keyframes apita { 0%, 100% { transform: none; } 20% { transform: translateY(-2px) rotate(-6deg); } 45% { transform: translateY(0) rotate(5deg); } 70% { transform: translateY(-1px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .modo.apita .modo-ic { animation: none; } }

/* =========================================================
   Painel de atendimento (profissional)
   ========================================================= */
.painel { background: #F6F0EB; }
.topo-painel { gap: .9rem; flex-wrap: wrap; }
.topo-painel .marca-assinatura { height: 1.15rem; }
.topo-painel .topo-sub { font-size: .85rem; letter-spacing: .02em; }
.topo-quem { font-size: .88rem; color: var(--tinta-2); }
.topo-quem b { color: var(--tinta); }
.painel-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.saudacao { margin: 0; color: var(--tinta-2); }

.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin: 1.1rem 0 1rem; }
.kpi { display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; color: var(--tinta); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.kpi b { font: 400 1.9rem/1 var(--titulo); }
.kpi span { font-size: .82rem; color: var(--tinta-2); font-weight: 600; }
.kpi:hover { border-color: var(--tinta); }
.kpi.ativo { border-color: var(--tinta); box-shadow: inset 0 0 0 1px var(--tinta); }
.kpi.alerta b { color: #B4441A; }
.kpi.aviso b { color: var(--petroleo); }
@media (max-width: 52rem) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.filtros { display: grid; grid-template-columns: minmax(14rem, 2fr) repeat(4, minmax(8rem, 1fr)) auto; gap: .6rem; align-items: end; padding: .8rem; background: var(--papel); border: 1px solid var(--linha); border-radius: 12px; }
.filtros label { display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; font-weight: 600; color: var(--tinta-2); }
.filtros input, .filtros select { min-height: 2.6rem; padding: .45rem .7rem; font-size: .95rem; border-width: 1px; }
.f-acoes { display: flex; align-items: center; gap: .6rem; }
.f-acoes .btn { min-height: 2.6rem; padding: .5rem 1.1rem; }
@media (max-width: 64rem) { .filtros { grid-template-columns: 1fr 1fr; } .f-busca { grid-column: 1 / -1; } .f-acoes { grid-column: 1 / -1; } }
.contagem { margin: .8rem 0 .4rem; font-size: .85rem; color: var(--tinta-2); }

.linha { grid-template-areas: "ref nome status" "ref dest data" "ref info quem"; }
.l-quem { grid-area: quem; display: flex; gap: .35rem; justify-content: flex-end; flex-wrap: wrap; }
.quem-chip { font-size: .78rem; font-weight: 600; padding: .1rem .55rem; border-radius: 999px; background: #E9EAF6; color: var(--tinta); }
.quem-chip.vazio { background: transparent; border: 1px dashed var(--linha); color: var(--tinta-2); }
.retorno { font-size: .78rem; font-weight: 600; padding: .1rem .55rem; border-radius: 999px; background: #EFE7E0; color: var(--tinta); margin: 0; }
.retorno.r-hoje { background: #FFE8CC; color: #8A4B00; }
.retorno.r-atrasado { background: #FBDCD6; color: #A42D1B; }
.tipo { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .05rem .45rem; border-radius: 4px; margin-right: .4rem; vertical-align: .1em; }
.t-viagem { background: #E9EAF6; color: var(--tinta); }
.t-cruzeiro { background: #DCEBF2; color: #12506B; }
@media (max-width: 36rem) { .linha { grid-template-areas: "ref status" "nome nome" "dest dest" "info info" "quem quem" "data data"; } .l-quem { justify-content: flex-start; } }

.det-acoes .btn { min-height: 2.75rem; }
.atendimento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; margin-bottom: 1rem; }
.form-atend, .mensagens, .historico { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--r-bloco); padding: 1.1rem 1.25rem; }
.form-atend { display: grid; gap: .75rem; align-content: start; }
.form-atend label { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; font-weight: 600; color: var(--tinta-2); }
.form-atend select, .form-atend input { min-height: 2.75rem; border-width: 1px; }
.form-atend .btn { justify-self: start; }
.mensagens ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.msg { display: block; padding: .7rem .85rem; border: 1px solid var(--linha); border-radius: 10px; color: var(--tinta); text-decoration: none; background: #fff; }
.msg b { display: block; font-size: .92rem; }
.msg span { display: block; font-size: .85rem; color: var(--tinta-2); margin-top: .15rem; }
.msg:hover { border-color: #1F7A45; }
.historico { margin: 0 0 2rem; }
.form-nota { display: grid; gap: .6rem; margin-bottom: 1rem; }
.form-nota textarea { border-width: 1px; font-size: .95rem; }
.form-nota .btn { justify-self: start; }
.linha-tempo { list-style: none; margin: 0; padding: 0 0 0 1rem; border-left: 2px solid var(--linha); display: grid; gap: .9rem; }
.linha-tempo li { position: relative; }
.linha-tempo li::before { content: ''; position: absolute; left: calc(-1rem - 6px); top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--papel); border: 2px solid var(--tinta-2); }
.linha-tempo .h-nota::before { background: var(--tinta); border-color: var(--tinta); }
.linha-tempo p { margin: .1rem 0; white-space: pre-wrap; }
.linha-tempo small { color: var(--tinta-2); }
.h-tipo { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--tinta-2); }
@media (max-width: 56rem) { .atendimento { grid-template-columns: 1fr; } }
.painel .ok { background: #E3F1E8; color: #1D6B3A; padding: .6rem .9rem; border-radius: 10px; font-weight: 600; }
.login select { width: 100%; }
/* números e referências em Manrope: na Marcellus o zero parece a letra O */
.kpi b { font: 700 1.6rem/1 var(--texto); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.l-ref { font: 700 1rem var(--texto); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.det-topo h1 { font-family: var(--texto); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.det-topo .det-nome { font-family: var(--titulo); font-weight: 400; font-size: .7em; }
.d-orc .valor { font-family: var(--texto); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 30rem) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .kpi { padding: .55rem .6rem; }
  .kpi b { font-size: 1.3rem; }
  .kpi span { font-size: .7rem; line-height: 1.2; }
  .topo-painel .topo-sub { display: none; }
}
