/* =====================================================================
   Alfa Viagens · identidade
   navy = base · dourado = destaque (ícones, preços, detalhes; nunca texto corrido no claro)
   areia/branco = cartões e texto sobre navy
   Fraunces = títulos · Inter = texto e preços · Space Mono = datas, aeroportos, códigos
   ===================================================================== */
:root {
  --navy: #0A2647;
  --navy-2: #123568;
  --navy-3: #1b4580;
  --gold: #EFCF05;
  --gold-2: #F6D400;
  --sand: #F7F3E8;
  --sand-2: #ECE5D3;
  --white: #ffffff;
  --red: #d7263d;
  --green: #138a4a;
  --whats: #1fae5b;

  /* contexto padrão: sobre navy */
  --ink: var(--sand);
  --muted: rgba(247, 243, 232, .72);
  --line: rgba(247, 243, 232, .14);

  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --fs: 17px;
  --nav-h: 78px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace;
}
html.big { --fs: 20px; }

/* superfícies claras: troca o contexto de cor */
.card, .tile, .voucher, .place, .day, .info, .call, .tl-body, details.prob, .sheet, .opt, .chip, .qty, .tabs {
  --ink: var(--navy);
  --muted: #56647d;
  --line: #e2dccb;
  color: var(--ink);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: var(--fs);
  line-height: 1.5;
  color: var(--ink);
  background: #061a33;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; }
.serif { font-family: var(--serif); letter-spacing: -.01em; font-weight: 600; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }

/* ---------- moldura ---------- */
#app {
  max-width: 520px; min-height: 100dvh; margin: 0 auto; position: relative;
  background: var(--navy);
  padding-bottom: calc(var(--nav-h) + 24px + env(safe-area-inset-bottom));
}
@media (min-width: 600px) { #app { box-shadow: 0 0 80px rgba(0, 0, 0, .35); } }

/* ---------- marca ---------- */
.brand { display: flex; align-items: center; gap: 10px; color: var(--sand); text-decoration: none; }
.brand svg { width: 34px; height: auto; color: var(--gold); flex: none; }
.brand b { font-family: var(--sans); font-weight: 700; letter-spacing: .14em; font-size: .82em; line-height: 1.1; }
.brand b small { display: block; font-weight: 500; letter-spacing: .04em; font-size: .78em; color: var(--gold); }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(10, 38, 71, .94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .spacer { flex: 1; }
.btn-a {
  height: 44px; min-width: 44px; padding: 0 12px; border-radius: var(--r-sm);
  background: transparent; border: 1.5px solid rgba(247, 243, 232, .35); color: var(--sand); font-weight: 700;
}
.btn-sos {
  height: 44px; padding: 0 16px; border-radius: var(--r-sm); display: grid; place-items: center; text-decoration: none;
  background: var(--red); color: #fff; font-weight: 800; letter-spacing: .04em;
}

/* ---------- ícones ---------- */
.i { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- navegação inferior ---------- */
.nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 520px; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #071d38; border-top: 1px solid var(--line);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 62px; border-radius: 14px; text-decoration: none;
  font-size: .76em; font-weight: 600; color: rgba(247, 243, 232, .6);
}
.nav a .i { font-size: 1.6em; }
.nav a.on { color: var(--gold); }
.nav a.on::after { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 1px; }

/* ---------- página ---------- */
.page { padding: 18px 16px; display: grid; gap: 18px; }
.page-title h1 { font-family: var(--serif); font-size: 2em; color: var(--white); }
.page-title p { margin: 6px 0 0; color: var(--muted); }
.card { background: var(--sand); border-radius: var(--r-lg); padding: 18px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 8px 2px -6px; }
.section-title h2 { font-family: var(--serif); font-size: 1.3em; color: var(--white); }
.section-title small { color: var(--muted); }

/* botões */
/* luxo: botão principal marfim sobre o azul; azul sobre superfícies claras. Dourado só no filete. */
.big-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 58px; padding: 0 20px; border-radius: 14px;
  font-weight: 600; font-size: 1.02em; letter-spacing: .01em; text-decoration: none;
  background: var(--sand); color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .55);
  transition: transform .1s, background .15s;
}
.big-btn:hover { background: #fff; }
.card .big-btn:not(.ghost):not(.green), .sheet .big-btn:not(.ghost):not(.green), .tile .big-btn {
  background: var(--navy); color: var(--sand);
}
.card .big-btn:not(.ghost):not(.green):hover, .sheet .big-btn:not(.ghost):not(.green):hover { background: var(--navy-2); }
.big-btn:active { transform: scale(.98); }
.big-btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .92; }
.big-btn.ghost { box-shadow: none; }
.big-btn.green { background: var(--whats); color: #fff; box-shadow: none; }
.big-btn.dark { background: var(--navy-2); color: var(--sand); }
.big-btn[disabled], .card .big-btn[disabled], .sheet .big-btn[disabled] { background: var(--sand-2); color: #56647d; box-shadow: none; cursor: not-allowed; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: .78em; font-weight: 600; background: rgba(10, 38, 71, .08); color: var(--navy); }
.pill.green { background: #dff3e8; color: var(--green); }
.pill.gray { background: rgba(10, 38, 71, .07); color: #3d4b63; }
.pill.gold { background: var(--navy); color: var(--sand); }
.pill.gold::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pill.on-navy { background: rgba(239, 207, 5, .14); color: var(--gold); }

/* ---------- login ---------- */
.login {
  min-height: 100dvh; display: flex; flex-direction: column; color: var(--sand); padding: 28px 22px 32px;
  background: linear-gradient(180deg, rgba(10, 38, 71, .35), rgba(10, 38, 71, .96) 58%), var(--hero) center/cover, var(--navy);
}
.login .lockup { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-top: 8px; }
.login .lockup svg { width: 96px; color: var(--gold); }
.login .lockup b { letter-spacing: .22em; font-weight: 700; font-size: .95em; }
.login .lockup small { color: var(--gold); letter-spacing: .08em; font-size: .78em; }
.login h1 { font-family: var(--serif); font-size: 2.1em; margin-top: auto; }
.login p.lead { color: var(--muted); margin: 10px 0 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .92em; }
.field input {
  height: 60px; border-radius: 14px; border: 2px solid transparent; padding: 0 16px;
  font-family: var(--mono); font-size: 1.2em; letter-spacing: .12em; text-transform: uppercase;
  background: var(--sand); color: var(--navy);
}
.field input::placeholder { letter-spacing: .04em; color: #8a93a5; }
.field input:focus { outline: none; border-color: var(--gold); }
.login .hint { font-size: .88em; color: var(--muted); text-align: center; margin-top: 14px; }
.login .hint a { color: var(--gold); }
.err { background: #ffe3e6; color: #8f1020; padding: 10px 14px; border-radius: 12px; font-weight: 600; margin-bottom: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 300px; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  background: linear-gradient(180deg, rgba(10, 38, 71, 0) 15%, rgba(10, 38, 71, .9)), var(--hero) center/cover, var(--navy-2);
}
.hero .hello { font-weight: 600; color: var(--sand); }
.hero h1 { font-family: var(--serif); font-size: 2.15em; margin: 4px 0 16px; }
.countdown { display: flex; gap: 8px; }
.countdown div { border: 1.5px solid rgba(239, 207, 5, .55); background: rgba(10, 38, 71, .45); border-radius: 14px; padding: 8px 12px; text-align: center; min-width: 66px; }
.countdown div { border-color: rgba(239, 207, 5, .4); border-width: 1px; }
.countdown b { display: block; font-family: var(--mono); font-size: 1.55em; line-height: 1.1; color: var(--white); }
.countdown span { font-size: .74em; color: var(--sand); }

/* próxima ação */
.next { background: var(--sand); position: relative; }
.next::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201, 168, 0, .45); border-radius: 18px; pointer-events: none; }
.next .tag { font-size: .85em; font-weight: 600; color: var(--navy-3); display: flex; gap: 8px; align-items: center; }
.next .tag::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.next h3 { font-family: var(--serif); font-size: 1.35em; margin: 8px 0 4px; }
.next p { margin: 0 0 14px; color: var(--muted); }
.next .big-btn { background: var(--navy); color: var(--sand); }
.next .big-btn:hover { background: var(--navy-2); }

/* atalhos */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  background: var(--sand); border-radius: 20px; padding: 16px; text-align: left;
  display: flex; flex-direction: column; gap: 6px; min-height: 118px; text-decoration: none;
}
.tile .ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.4em; margin-bottom: 4px; box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .5); }
.tile b { font-size: 1em; }
.tile small { color: var(--muted); font-size: .82em; }
.tile.sos .ic { background: var(--red); color: #fff; }

/* linha do tempo */
.timeline { display: grid; gap: 8px; }
.tl-item { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: stretch; text-align: left; width: 100%; }
.tl-date { text-align: center; padding-top: 12px; font-family: var(--mono); color: var(--sand); }
.tl-date b { display: block; font-size: 1.4em; line-height: 1; font-weight: 700; }
.tl-date span { font-size: .74em; color: var(--gold); text-transform: lowercase; }
.tl-body { background: var(--sand); border-radius: 18px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.tl-body .ic { font-size: 1.35em; width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--gold); border-radius: 13px; }
.tl-body b { display: block; }
.tl-body small { color: var(--muted); }
.tl-body .chev, .voucher .chev { margin-left: auto; color: var(--muted); font-size: 1.4em; }

/* informações */
.infos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info { background: transparent; border: 1px solid rgba(239, 207, 5, .28); border-radius: 18px; padding: 14px; --ink: var(--sand); --muted: rgba(247, 243, 232, .75); color: var(--ink); }
.info .k { font-size: .8em; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.info .v { font-family: var(--mono); font-weight: 700; font-size: 1.15em; margin-top: 4px; color: var(--white); }
.info p { margin: 4px 0 0; font-size: .86em; color: var(--muted); }

/* conversor */
.conv { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.conv input { width: 100%; height: 56px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); padding: 0 12px; font-family: var(--mono); font-weight: 700; font-size: 1.15em; color: var(--navy); }
.conv input:focus { outline: none; border-color: var(--navy); }
.conv .eq { font-family: var(--mono); font-weight: 700; color: var(--muted); }

/* checklist */
.check { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.check:last-child { border-bottom: 0; }
.check .box { width: 32px; height: 32px; flex: none; border-radius: 10px; border: 2px solid #c9c1ab; display: grid; place-items: center; font-weight: 900; color: var(--navy); transition: .15s; }
.check.on .box { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.check.on span:last-child { color: var(--muted); text-decoration: line-through; }
.progress { height: 6px; background: var(--sand-2); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); border-radius: 99px; transition: width .5s; }

/* frases */
.frase { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.frase:last-child { border-bottom: 0; }
.frase b { text-align: right; }

/* ---------- vouchers ---------- */
.voucher { display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; background: var(--sand); border-radius: 20px; padding: 16px; }
.voucher .ic { font-size: 1.5em; width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 15px; background: var(--navy); color: var(--gold); }
.voucher b { display: block; font-size: 1.05em; }
.voucher small { color: var(--muted); display: block; }

/* cartão de embarque — o elemento marcante */
.pass {
  width: 100%; text-align: left; display: block; border-radius: 22px; overflow: hidden;
  background: var(--sand); color: var(--navy); position: relative;
}
.pass-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 0; font-size: .85em; color: #56647d; }
.pass-top b { color: var(--navy); font-weight: 700; }
.pass-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 8px 18px 14px; }
.pass-route .ap { font-family: var(--mono); font-size: 2.5em; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.pass-route .ap + small { display: block; font-size: .8em; color: #56647d; margin-top: 4px; }
.pass-route .to { text-align: right; }
.pass-route .mid { color: var(--navy-3); display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--mono); font-size: .72em; }
.pass-route .mid .i { font-size: 1.8em; transform: rotate(45deg); color: var(--navy); }
.pass-cut { position: relative; height: 0; border-top: 2px dashed #cfc6ae; margin: 0 14px; }
.pass-cut::before, .pass-cut::after { content: ""; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); }
.pass-cut::before { left: -26px; } .pass-cut::after { right: -26px; }
.pass-foot { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; padding: 12px 18px 16px; }
.pass-foot span { display: block; font-size: .74em; color: #56647d; }
.pass-foot b { font-family: var(--mono); font-size: 1.02em; }
.sheet .pass-cut::before, .sheet .pass-cut::after { background: var(--sand-2); }
.sheet .pass { background: var(--white); }

/* ---------- folha inferior ---------- */
.overlay { position: fixed; inset: 0; background: rgba(3, 14, 28, .6); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto;
  background: var(--sand-2); border-radius: 28px 28px 0 0; padding: 10px 18px calc(24px + env(safe-area-inset-bottom));
  animation: up .32s cubic-bezier(.2, .9, .3, 1);
}
@keyframes up { from { transform: translateY(100%); } }
.sheet .grab { width: 48px; height: 5px; border-radius: 9px; background: #c4bba3; margin: 4px auto 12px; }
.sheet .card { background: var(--white); }
.sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sheet-head .ic { font-size: 1.4em; width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 15px; background: var(--navy); color: var(--gold); }
.sheet-head h2 { font-family: var(--serif); font-size: 1.35em; }
.sheet-head .x { margin-left: auto; width: 48px; height: 48px; border-radius: 14px; background: var(--white); font-size: 1.2em; font-weight: 700; flex: none; }
.sheet-photo { border-radius: 20px; height: 190px; width: 100%; object-fit: cover; margin-bottom: 14px; background: var(--navy-2); }
.kv div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.kv div:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { text-align: right; font-weight: 600; }
.qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; }
.qr-wrap svg { width: 176px; height: 176px; }
.qr-wrap small { font-family: var(--mono); letter-spacing: .08em; }
.tip { background: var(--navy); color: var(--sand); border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; }
.tip .i { color: var(--gold); font-size: 1.25em; flex: none; margin-top: 2px; }
.stack { display: grid; gap: 10px; }

/* ---------- quiz ---------- */
.quiz-top { display: flex; align-items: center; gap: 12px; }
.quiz-top .progress { flex: 1; background: var(--navy-2); }
.quiz-top b { font-family: var(--mono); }
.quiz h2 { font-family: var(--serif); font-size: 1.75em; margin: 22px 0 6px; color: var(--white); }
.opts { display: grid; gap: 10px; margin-top: 16px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  min-height: 68px; padding: 12px 16px; border-radius: 18px; background: var(--sand);
  border: 2.5px solid transparent; font-weight: 600; font-size: 1.05em; transition: border-color .15s;
}
.opt .e { font-size: 1.6em; }
.opt.on { border-color: var(--navy); background: var(--white); }
.opt.on::after { content: "✓"; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; }

/* roteiro */
.day { background: var(--sand); border-radius: 24px; overflow: hidden; }
.day-head { padding: 16px 18px; display: flex; align-items: center; gap: 14px; background: var(--navy-2); color: var(--sand); }
.day-head .n { font-family: var(--mono); font-weight: 700; color: var(--gold); border: 1px solid rgba(239, 207, 5, .6); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1em; flex: none; }
.day-head b { font-family: var(--serif); font-size: 1.08em; font-weight: 600; }
.day-head small { display: block; color: rgba(247, 243, 232, .75); font-family: var(--mono); font-size: .78em; }
.slot { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.slot:first-of-type { border-top: 0; }
.slot img, .slot .ph { width: 88px; height: 88px; border-radius: 16px; object-fit: cover; background: var(--navy-2); }
.slot .ph { display: grid; place-items: center; color: var(--gold); font-size: 2em; }
.slot .when { font-family: var(--mono); font-size: .78em; color: var(--navy-3); }
.slot b { display: block; margin: 2px 0; }
.slot p { margin: 0; font-size: .9em; color: var(--muted); }
.slot .mini { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 12px; background: var(--navy); color: var(--sand); font-weight: 600; font-size: .86em; }
.slot .mini .preco { color: var(--gold); font-weight: 700; }

.ph-vazio { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--navy-3), var(--navy) 70%); }
.ph-vazio svg { width: 42%; max-width: 90px; color: var(--gold); opacity: .55; }

/* dicas */
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-2); border-radius: 16px; padding: 5px; }
.tabs button { min-height: 50px; border-radius: 12px; font-weight: 600; color: var(--sand); }
.tabs button.on { background: var(--sand); color: var(--navy); }
.place { background: var(--sand); border-radius: 24px; overflow: hidden; }
.place .ph { height: 190px; width: 100%; object-fit: cover; background: var(--navy-2); }
.place .bd { padding: 16px; display: grid; gap: 10px; }
.place h3 { font-family: var(--serif); font-size: 1.25em; }
.place .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.place p { margin: 0; color: var(--muted); }
.price-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy); color: var(--sand); border-radius: 16px; padding: 10px 10px 10px 16px; }
.price { font-weight: 700; font-size: 1.3em; color: var(--white); }
.price small { display: block; font-size: .6em; color: rgba(247, 243, 232, .75); font-weight: 500; }
.price-box .big-btn { width: auto; min-height: 52px; }

/* checkout */
.qty { display: flex; align-items: center; justify-content: space-between; background: var(--white); border-radius: 18px; padding: 10px 12px; }
.qty .ctrl { display: flex; align-items: center; gap: 14px; }
.qty .ctrl button { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold); font-size: 1.5em; font-weight: 700; }
.qty .ctrl b { font-family: var(--mono); font-size: 1.4em; min-width: 24px; text-align: center; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.chip { flex: none; min-width: 76px; padding: 10px 12px; border-radius: 16px; background: var(--white); border: 2.5px solid transparent; text-align: center; }
.chip b { display: block; font-family: var(--mono); font-size: 1.35em; }
.chip small { font-size: .74em; color: var(--muted); }
.chip.on { border-color: var(--navy); }
.total { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: var(--sand); border-radius: 18px; padding: 16px 18px; }
.total { box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .45); }
.total b { font-size: 1.55em; color: var(--white); }
.success { text-align: center; padding: 20px 6px; }
.success .big-emoji { font-size: 4em; display: inline-block; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(0); } }

/* pontos */
.club {
  border-radius: 26px; padding: 22px; position: relative; overflow: hidden; color: var(--sand);
  background: var(--navy-2); border: 1.5px solid rgba(239, 207, 5, .4);
}
.club .watermark { position: absolute; right: -30px; top: -10px; width: 190px; color: var(--gold); opacity: .1; }
.club .lvl { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9em; }
.club .lvl i { width: 12px; height: 12px; border-radius: 50%; background: var(--lc); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.club .pts { font-family: var(--serif); font-size: 3.2em; font-weight: 500; line-height: 1; margin: 14px 0 4px; color: var(--white); }
.club .progress { background: rgba(247, 243, 232, .15); margin: 16px 0 8px; }
.mission { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mission:last-child { border-bottom: 0; }
.mission .ico { font-size: 1.5em; width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sand-2); }
.mission .t { flex: 1; font-weight: 600; }
.mission .t small { display: block; color: var(--navy-3); font-family: var(--mono); font-weight: 400; }
.mission button { min-height: 46px; padding: 0 16px; border-radius: 12px; background: var(--navy); color: var(--sand); font-weight: 600; }
.mission button.done { background: #dff3e8; color: var(--green); }
.gift { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gift:last-child { border-bottom: 0; }
.gift .ico { font-size: 1.6em; }
.gift .t { flex: 1; font-weight: 600; }
.gift .t small { display: block; color: var(--muted); font-family: var(--mono); font-weight: 400; }
.gift button { min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--navy); color: var(--sand); font-weight: 600; }
.gift button[disabled] { background: var(--sand-2); color: #6b7487; cursor: default; font-weight: 500; }
.hist { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: .92em; border-bottom: 1px dashed var(--line); }
.hist:last-child { border-bottom: 0; }
.hist b { font-family: var(--mono); }

/* sos */
.sos-head { background: var(--red); color: #fff; border-radius: 26px; padding: 22px; }
.sos-head h1 { font-family: var(--serif); font-size: 1.9em; }
.call { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; text-decoration: none; background: var(--sand); border-radius: 20px; padding: 16px; }
.call .ico { width: 54px; height: 54px; border-radius: 15px; flex: none; display: grid; place-items: center; font-size: 1.6em; background: var(--white); }
.call b { display: block; font-size: 1.05em; }
.call small { color: var(--muted); }
.call .tel { font-family: var(--mono); color: var(--navy); font-weight: 700; }
.call .go { margin-left: auto; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35em; color: #fff; flex: none; background: var(--navy); }
.c-red .go { background: var(--red); }
.c-brand .go { background: var(--whats); }
details.prob { background: var(--sand); border-radius: 18px; padding: 4px 16px; }
details.prob summary { list-style: none; min-height: 60px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
details.prob summary::-webkit-details-marker { display: none; }
details.prob summary::after { content: "+"; margin-left: auto; color: var(--navy); font-size: 1.5em; font-weight: 400; }
details.prob[open] summary::after { content: "−"; }
details.prob ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }

.checkin-alfa { display: flex; gap: 14px; align-items: flex-start; background: var(--navy); color: var(--sand); border-radius: 18px; padding: 16px; box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .45); }
.checkin-alfa .ic { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--gold); font-size: 1.3em; box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .5); }
.checkin-alfa b { display: block; color: var(--white); }
.checkin-alfa span { font-size: .92em; color: rgba(247, 243, 232, .8); }

/* ---------- mala e aeroporto ---------- */
.tile.sos { grid-column: span 2; flex-direction: row; align-items: center; min-height: 0; gap: 14px; }
.tile.sos .ic { margin: 0; }
.tile.sos small { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.escopo { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(239, 207, 5, .4); border-radius: 14px; padding: 4px; }
.escopo button { min-height: 46px; border-radius: 10px; color: var(--muted); font-weight: 600; }
.escopo button.on { background: var(--navy-2); color: var(--white); box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .5); }
.tabs.tabs3 { grid-template-columns: repeat(3, 1fr); }
.tabs.tabs3 button { font-size: .9em; padding: 0 4px; }

.minha-mala { display: flex; gap: 14px; align-items: center; border: 1px solid rgba(239, 207, 5, .35); border-radius: 18px; padding: 14px 16px; }
.minha-mala .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-size: 1.35em; flex: none; box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .5); }
.minha-mala small { display: block; color: var(--muted); font-size: .82em; }
.minha-mala b { color: var(--white); font-weight: 600; }

.passos { list-style: none; counter-reset: p; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.passos li::before { content: counter(p); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; }
.passos li span { color: var(--muted); font-size: .92em; }

.busca { display: flex; align-items: center; gap: 10px; background: var(--sand); color: var(--navy); border-radius: 16px; padding: 0 16px; min-height: 58px; }
.busca .i { font-size: 1.3em; color: var(--navy-3); flex: none; }
.busca input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.05em; color: var(--navy); min-height: 56px; }
.busca input:focus { outline: none; }
.busca:focus-within { box-shadow: 0 0 0 3px var(--gold); }

.legenda { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .82em; color: var(--muted); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i, .selo i { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8em; color: #fff; background: var(--c); flex: none; }
.st-pode { --c: #138a4a; --tint: #e2f4ea; }
.st-regra { --c: #b26a00; --tint: #fff0d6; }
.st-despachar { --c: #1b4580; --tint: #e3ebf7; }
.st-proibido { --c: #c21f33; --tint: #fde4e7; }

.itens { display: grid; gap: 10px; }
.item { display: flex; gap: 14px; align-items: flex-start; background: var(--sand); color: var(--navy); border-radius: 18px; padding: 14px; border-left: 5px solid var(--c); }
.item[hidden] { display: none; }
.item .emo { font-size: 2em; width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: var(--white); border-radius: 50%; }
.item b { display: block; font-size: 1.02em; }
.item p { margin: 6px 0 0; font-size: .9em; color: #4a5770; }
.selo { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 10px 3px 4px; border-radius: 99px; background: var(--tint); color: var(--c); font-size: .8em; font-weight: 700; }
.vazio { text-align: center; color: var(--muted); }
.vazio a { color: var(--gold); }

.linha-aero { list-style: none; counter-reset: a; margin: 0; padding: 0; position: relative; }
.linha-aero li { counter-increment: a; position: relative; padding: 0 0 22px 58px; min-height: 60px; }
.linha-aero li::before { content: counter(a); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; color: var(--gold); background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .55); }
.linha-aero li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 1px; background: rgba(239, 207, 5, .35); }
.linha-aero li:last-child::after { display: none; }
.linha-aero b { display: block; color: var(--white); font-family: var(--serif); font-size: 1.12em; font-weight: 600; padding-top: 8px; }
.linha-aero span { color: var(--muted); }

.direitos h3 { font-size: 1.25em; }
.direitos > p { margin: 4px 0 10px; }
.dir { padding: 10px 0; border-bottom: 1px solid var(--line); }
.dir b { display: block; }
.dir span { color: var(--muted); font-size: .93em; }
.direitos .big-btn { margin-top: 14px; }

.lista-ok { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.lista-ok li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.lista-ok li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: .8em; font-weight: 800; }
.dicas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dica { background: var(--sand); color: var(--navy); border-radius: 18px; padding: 14px; }
.dica .emo { font-size: 1.7em; }
.dica b { display: block; margin: 6px 0 4px; line-height: 1.25; }
.dica p { margin: 0; font-size: .86em; color: #4a5770; }
@media (max-width: 360px) { .dicas-grid { grid-template-columns: 1fr; } }

/* toast */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 22px); transform: translate(-50%, 20px);
  background: var(--navy-2); color: var(--sand); padding: 14px 20px; border-radius: 16px; font-weight: 600;
  border: 1px solid rgba(239, 207, 5, .55);
  opacity: 0; pointer-events: none; transition: .3s; z-index: 80; max-width: 90vw; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* confete */
.confetti { position: fixed; top: -10px; width: 9px; height: 14px; z-index: 90; pointer-events: none; animation: fall 1.8s linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .6; } }

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

/* ---------- Alfa Comigo (guia de bolso com IA) ---------- */
.guia-cta {
  display: flex; gap: 14px; align-items: center; text-decoration: none;
  background: linear-gradient(135deg, var(--sand) 0%, #fffaf0 100%);
  box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .55);
}
.guia-cta .ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: var(--gold); }
.guia-cta .ic svg { width: 26px; height: 26px; }
.guia-cta b { display: block; font-family: var(--serif); font-size: 1.15em; }
.guia-cta span { font-size: .88em; color: var(--muted); }

.fab-guia {
  position: fixed; right: max(16px, calc(50vw - 260px + 16px)); bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 99px; z-index: 30;
  background: var(--gold); color: var(--navy); font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
.fab-guia svg { width: 22px; height: 22px; }

.guia { display: flex; flex-direction: column; gap: 14px; }
.guia-top { display: flex; align-items: center; gap: 12px; }
.guia-top .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--navy-2); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .4); }
.guia-top .ic svg { width: 24px; height: 24px; }
.guia-top h1 { font-size: 1.5em; }
.guia-top small { color: var(--muted); }

.conversa { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.msg p { margin: 0 0 6px; } .msg p:last-child { margin: 0; }
.msg ul { margin: 4px 0 6px; padding-left: 20px; } .msg li { margin: 2px 0; }
.msg.ia { align-self: flex-start; background: var(--sand); color: var(--navy); border-bottom-left-radius: 6px; --muted: #56647d; }
.msg.eu { align-self: flex-end; background: var(--navy-3); color: var(--sand); border-bottom-right-radius: 6px; box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .25); }
.msg .fontes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #e2dccb; }
.msg .fontes a { font-size: .74em; padding: 3px 9px; border-radius: 99px; background: rgba(10, 38, 71, .07); color: var(--navy); text-decoration: none; }
.msg.digitando { display: flex; gap: 5px; padding: 16px; }
.msg.digitando span { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-3); animation: pulo 1s infinite ease-in-out; }
.msg.digitando span:nth-child(2) { animation-delay: .15s; } .msg.digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes pulo { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .msg.digitando span { animation: none; opacity: .6; } }

.guia .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.guia .chip { padding: 9px 13px; border-radius: 99px; background: transparent; color: var(--sand); box-shadow: inset 0 0 0 1px rgba(239, 207, 5, .45); font-size: .88em; text-align: left; }
.pergunta {
  position: sticky; bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; align-items: flex-end; padding: 8px; border-radius: 22px;
  background: var(--sand); box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(239, 207, 5, .5);
}
.pergunta textarea { flex: 1; resize: none; border: 0; outline: 0; background: none; font: inherit; color: var(--navy); padding: 8px 6px; max-height: 140px; }
.pergunta .enviar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); }
.pergunta .enviar svg { width: 22px; height: 22px; }
.limpar { align-self: center; color: var(--muted); font-size: .85em; text-decoration: underline; }
