:root {
  --orange: #FF6B00;
  --orange-soft: #FFF1E6;
  --orange-text: #8A3B00;
  --navy: #0B2545;
  --navy-2: #13325A;
  --text: #14182B;
  --muted: #545B70;
  --line: #D5DBE8;
  --line-soft: #EEF0F5;
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --link: #2962FF;
  --link-dark: #193B99;
  --blue-soft: #DCE6FF;
  --green: #1C7A43;
  --green-soft: #E3F6EA;
  --red: #C62828;
  --red-soft: #FDECEC;
  --radius: 20px;
  --shadow: 0 12px 32px rgba(11, 37, 69, 0.14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--link); }
a:hover { color: var(--link-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; overflow-wrap: anywhere; }
p { margin: 0; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Cabeçalho */
.top { background: var(--navy); color: #fff; }
.top.light { background: #fff; color: var(--text); border-bottom: 1px solid var(--line-soft); }
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 20px; font-weight: 800; }
.brand:hover { color: inherit; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a { color: inherit; text-decoration: none; opacity: 0.92; }
.nav a:hover { opacity: 1; color: inherit; text-decoration: underline; }
.nav a[aria-current="page"] { color: #FFB27A; font-weight: 700; opacity: 1; }
.top.light .nav a[aria-current="page"] { color: var(--orange-text); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.top-actions .link { color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: inherit; font-size: 20px; cursor: pointer; }
.top.light .menu-btn { border-color: var(--line); }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; z-index: 30; flex-direction: column; gap: 0; background: var(--navy); padding: 8px 16px 16px; }
  .top.light .nav { background: #fff; border-bottom: 1px solid var(--line-soft); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .top { position: relative; }
  .top-actions .hide-sm { display: none; }
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: none; background: var(--orange); color: var(--navy); font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { color: var(--navy); filter: brightness(1.05); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); font-weight: 700; }
.btn.ghost-light { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff; font-weight: 700; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.on-dark .chip { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.on-dark .chip[aria-pressed="true"], .on-dark .chip[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }

/* Caixa de pesquisa */
.search { background: #fff; border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 14px; color: var(--text); box-shadow: var(--shadow); }
.search-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); flex: 1 1 180px; min-width: 0; }
.field.wide { flex: 1.4 1 220px; }
.field input, .field select, .input { height: 52px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--text); background: #fff; width: 100%; }
.field input:focus, .field select:focus, .input:focus { border-color: var(--link); outline: none; box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.18); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.swap { width: 44px; height: 44px; margin-bottom: 4px; flex: 0 0 44px; border-radius: 22px; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; }
.search-extra { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; }
.search-extra label { display: flex; align-items: center; gap: 8px; }
.search-extra input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy); }
.search-error { background: var(--red-soft); color: #8C1D1D; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.search .btn { height: 52px; }
@media (max-width: 700px) { .swap { display: none; } .search .btn { width: 100%; } }

/* Sugestões de aeroportos */
.suggest { position: absolute; top: 100%; left: 0; z-index: 40; margin-top: 6px; width: max(100%, 340px); max-width: calc(100vw - 32px); background: #fff; border-radius: 16px; box-shadow: var(--shadow); list-style: none; padding: 6px 0; max-height: 360px; overflow-y: auto; font-weight: 400; color: var(--text); }
.suggest li { padding: 10px 14px; display: flex; gap: 12px; align-items: center; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: #EEF3FF; }
.suggest .ico { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; background: #F2F4F9; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.suggest .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 15px; }
.suggest .txt small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .code { font-size: 12px; font-weight: 700; background: #F2F4F9; padding: 3px 8px; border-radius: 8px; }
.suggest .empty { color: var(--muted); font-size: 14px; cursor: default; }
.suggest .empty:hover { background: none; }

/* Popover de passageiros */
.pop { position: absolute; top: 100%; right: 0; z-index: 40; margin-top: 6px; width: 320px; max-width: calc(100vw - 32px); background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 14px; color: var(--text); font-weight: 400; }
.counter { display: flex; align-items: center; gap: 10px; }
.counter .lbl { flex: 1; display: flex; flex-direction: column; font-size: 15px; font-weight: 700; }
.counter .lbl small { font-size: 12px; font-weight: 400; color: var(--muted); }
.counter button { width: 36px; height: 36px; border-radius: 18px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-size: 18px; font-weight: 700; cursor: pointer; }
.counter button:disabled { border-color: #E3E6EE; color: #B8BECC; cursor: default; }
.counter output { width: 24px; text-align: center; font-weight: 800; }
.pop .note { font-size: 13px; color: var(--orange-text); background: var(--orange-soft); padding: 8px 12px; border-radius: 10px; }

/* Secções */
.section { padding: 56px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.section-head h2 { font-size: 30px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.8px; color: var(--orange-text); text-transform: uppercase; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
a.card:hover { color: var(--text); box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 4 / 3; background: #DCE6FF center / cover no-repeat; position: relative; }
.card .badge { position: absolute; top: 12px; left: 12px; background: var(--orange); color: var(--navy); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 10px; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .meta { font-size: 13px; color: var(--muted); }
.card h3 { font-size: 18px; font-weight: 800; }
.card .price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card .price strong { font-size: 20px; font-weight: 800; }
.card .price small { font-size: 13px; color: var(--muted); }
.box { background: #fff; border-radius: var(--radius); padding: 24px; }
.note-blue { background: var(--blue-soft); color: var(--link-dark); border-radius: 16px; padding: 14px 18px; font-size: 14px; line-height: 1.5; }
.note-orange { background: var(--orange-soft); color: var(--orange-text); border-radius: 16px; padding: 14px 18px; font-size: 14px; line-height: 1.5; }

/* Esqueleto de carregamento */
@keyframes zpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.skel { background: #E6EAF2; border-radius: 10px; animation: zpulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* Estado vazio / erro */
.state { background: #fff; border-radius: var(--radius); padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.state .big { font-size: 40px; }
.state h2 { font-size: 22px; font-weight: 800; }
.state p { color: var(--muted); max-width: 460px; }

/* Rodapé */
.foot { background: var(--navy); color: rgba(255,255,255,0.8); padding: 48px 0 28px; margin-top: 40px; font-size: 14px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h3 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot a { color: rgba(255,255,255,0.85); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .brand { color: #fff; margin-bottom: 10px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; }

/* Resultados de voos */
.results { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 24px 0 56px; }
.filters { flex: 1 1 260px; max-width: 320px; background: #fff; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.filters fieldset { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.filters legend { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.filters label { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 32px; }
.filters label span.r { margin-left: auto; color: var(--muted); font-size: 13px; }
.filters input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--navy); flex: 0 0 20px; }
.filters input[type="range"] { width: 100%; accent-color: var(--navy); }
.list { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 900px) { .filters { max-width: none; } }
.sortbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.tabs { display: flex; background: #fff; border-radius: 16px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.tabs button { border: none; background: transparent; border-radius: 12px; padding: 10px 16px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; font-size: 14px; font-weight: 700; }
.tabs button small { font-size: 12px; font-weight: 500; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tabs button[aria-selected="true"] small { color: rgba(255,255,255,0.75); }
.flight { background: #fff; border-radius: var(--radius); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.flight .legs { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.leg { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.leg .logo { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-soft); padding: 6px; background: #fff; object-fit: contain; }
.leg .row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.leg .t { display: flex; flex-direction: column; min-width: 64px; }
.leg .t strong { font-size: 20px; font-weight: 800; }
.leg .t small { font-size: 13px; color: var(--muted); }
.leg .mid { flex: 1; min-width: 80px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--muted); }
.leg .mid .line { width: 100%; height: 2px; background: var(--line); position: relative; }
.leg .mid .direct { color: var(--green); font-weight: 700; }
.leg .mid .stops { color: var(--orange-text); font-weight: 700; }
.leg .carrier { font-size: 13px; color: var(--muted); margin-top: 2px; }
.flight .buy { flex: 1 1 180px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.flight .buy strong { font-size: 24px; font-weight: 800; }
.flight .buy small { font-size: 12px; color: var(--muted); }
.flight .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 10px; background: #F2F4F9; color: var(--text); }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.orange { background: var(--orange-soft); color: var(--orange-text); }
@media (max-width: 600px) { .flight .buy { align-items: stretch; text-align: left; } .flight .buy .btn { width: 100%; } }

.summary-head { background: var(--navy); color: #fff; }
.summary-head .wrap { padding-top: 6px; padding-bottom: 22px; }
.summary-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.summary-line strong { font-size: 22px; font-weight: 800; }
.summary-line span { color: rgba(255,255,255,0.78); }

/* Detalhe do voo */
.detail { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 24px 0 56px; }
.detail main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.detail aside { flex: 1 1 300px; position: sticky; top: 16px; }
.seg { display: grid; grid-template-columns: 70px 20px 1fr; gap: 0 12px; }
.seg .time { font-weight: 800; font-size: 17px; }
.seg .dot { width: 12px; height: 12px; border-radius: 6px; border: 2px solid var(--navy); background: #fff; margin: 6px auto 0; }
.seg .bar { width: 2px; background: var(--line); margin: 0 auto; min-height: 44px; }
.seg .info { padding-bottom: 14px; }
.seg .info small { color: var(--muted); font-size: 13px; }
.layover { margin: 4px 0 14px 82px; font-size: 13px; font-weight: 700; color: var(--orange-text); background: var(--orange-soft); padding: 6px 12px; border-radius: 10px; display: inline-block; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 6px 0; }
.kv span:first-child { color: var(--muted); }
.cond { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.cond .ok { color: var(--green); font-weight: 800; }
.cond .no { color: var(--red); font-weight: 800; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--orange-soft); color: var(--orange-text); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 28px 0 64px; position: relative; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.hero-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 560px; }
.hero-search { flex: 1 1 100%; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.35); color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; line-height: 1.2; }
.store small { font-size: 11px; font-weight: 500; opacity: 0.8; }
.store:hover { color: #fff; background: rgba(255,255,255,0.06); }
.paybar { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: center; padding: 18px 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.paybar strong { color: var(--text); }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step .n { width: 40px; height: 40px; border-radius: 20px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step h3 { font-size: 19px; font-weight: 800; }
.step p { color: var(--muted); }

.band { background: var(--orange); color: var(--navy); border-radius: 28px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band h2 { font-size: 30px; font-weight: 800; max-width: 560px; }
.band p { font-size: 16px; margin-top: 8px; }
.band .btn { background: var(--navy); color: #fff; }

.faq details { background: #fff; border-radius: 16px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

.page-hero { background: var(--navy); color: #fff; padding: 40px 0 48px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; max-width: 760px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 640px; margin-top: 14px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; overflow-wrap: anywhere; }
.prose ul { padding-left: 20px; }
.prose strong { color: var(--text); }

/* Conta no cabeçalho */
.account-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; }
.account-link:hover { color: inherit; }
.avatar { width: 38px; height: 38px; border-radius: 19px; background: var(--orange); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex: 0 0 38px; }
.top.light .avatar { background: var(--navy); color: #fff; }

/* Formulários */
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lbl { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); min-width: 0; }
.lbl .input, .lbl select { height: 50px; }
select.input { padding: 0 10px; }
.lbl .hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.lbl .err { font-size: 13px; font-weight: 600; color: var(--red); }
.input[aria-invalid="true"] { border: 2px solid var(--red); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.check input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; accent-color: var(--navy); }
.form-error { background: var(--red-soft); color: #8C1D1D; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.form-ok { background: var(--green-soft); color: var(--green); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.seg-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #F2F4F9; padding: 4px; border-radius: 24px; }
.seg-switch button { min-height: 44px; border-radius: 22px; border: none; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; }
.seg-switch button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(20,24,43,0.12); }
.btn.block { width: 100%;  white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; }
.linkbtn { background: none; border: none; padding: 6px 0; color: var(--link); font-weight: 600; font-size: 14px; cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--link-dark); text-decoration: underline; }

/* Entrar */
.auth { display: flex; flex-wrap: wrap; min-height: calc(100vh - 64px); }
.auth-side { flex: 1 1 420px; background: var(--navy); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.auth-side h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; max-width: 460px; }
.auth-side p { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 460px; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.auth-side li::before { content: "✓"; color: #FF9A4D; font-weight: 800; margin-right: 10px; }
.auth-main { flex: 1 1 420px; padding: 40px 24px; display: flex; align-items: center; justify-content: center; background: #fff; }
.auth-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.auth-card h2 { font-size: 26px; font-weight: 800; }
@media (max-width: 700px) { .auth-side { padding: 28px 16px; } .auth-side ul { display: none; } .auth-main { padding: 28px 16px 40px; } }

/* Passos da reserva */
.flowbar { background: #fff; border-bottom: 1px solid var(--line-soft); }
.flowbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
.flowsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.flowsteps li { display: flex; align-items: center; gap: 8px; }
.flowsteps .n { width: 28px; height: 28px; border-radius: 14px; background: #EEF1F7; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.flowsteps .done { color: var(--green); }
.flowsteps .done .n { background: var(--green-soft); }
.flowsteps [aria-current="step"] { color: var(--navy); }
.flowsteps [aria-current="step"] .n { background: var(--orange); color: var(--navy); }
.flowsteps .sep { width: 20px; height: 2px; background: var(--line); }
@media (max-width: 640px) { .flowsteps .txt { display: none; } .flowsteps [aria-current="step"] .txt { display: inline; } .flowsteps .sep { width: 12px; } }
.flow { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 24px 0 56px; }
.flow > main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.flow > aside { flex: 1 1 300px; min-width: 0; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 960px) { .flow > aside { position: static; } }
.flow h1 { font-size: 28px; font-weight: 800; }
.box h2 { font-size: 19px; font-weight: 800; }
.box .sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.box-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.flow-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 600px) { .flow-actions { flex-direction: column-reverse; align-items: stretch; } .flow-actions .btn { width: 100%; } }
.total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: 4px; }
.total-line strong { font-size: 24px; font-weight: 800; }

/* Extras */
.opt-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.opt-row:first-of-type { border-top: none; }
.opt-row .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 220px; }
.opt-row .t strong { font-size: 15px; }
.opt-row .t small { font-size: 13px; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-size: 20px; font-weight: 700; cursor: pointer; }
.qty button:disabled { border-color: #E3E6EE; color: #B8BECC; cursor: default; }
.qty output { min-width: 22px; text-align: center; font-weight: 800; font-size: 16px; }
.cards-pick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pick { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-height: 96px; }
.pick strong { font-size: 18px; font-weight: 800; }
.pick small { font-size: 13px; color: var(--muted); }
.pick .p { margin-top: auto; font-weight: 700; font-size: 14px; }
.pick[aria-checked="true"], .pick[aria-pressed="true"] { border: 2px solid var(--navy); background: #F3F6FC; }
.seatmap-wrap { overflow-x: auto; padding-bottom: 6px; }
.seatmap { display: inline-flex; flex-direction: column; gap: 6px; padding: 12px; background: #F5F7FB; border-radius: 16px; }
.seatrow { display: flex; align-items: center; gap: 6px; }
.seatrow .rn { width: 24px; font-size: 12px; color: var(--muted); text-align: center; flex: 0 0 24px; }
.seat { width: 36px; height: 36px; border-radius: 9px 9px 6px 6px; border: 1px solid #9FB2D6; background: #fff; font-size: 10px; font-weight: 700; color: var(--navy); cursor: pointer; padding: 0; flex: 0 0 36px; }
.seat:disabled { background: #D9DEE8; border-color: #D9DEE8; color: transparent; cursor: not-allowed; }
.seat.paid { background: #E4EEFF; border-color: #6F95D8; color: #1F3F7A; }
.seat[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.seat-gap { width: 36px; flex: 0 0 36px; }
.seat-aisle { width: 18px; flex: 0 0 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 16px; height: 16px; border-radius: 4px; display: inline-block; border: 1px solid #9FB2D6; background: #fff; }
.legend i.taken { background: #D9DEE8; border-color: #D9DEE8; }
.legend i.paid { background: #E4EEFF; border-color: #6F95D8; }
.legend i.mine { background: var(--orange); border-color: var(--orange); }

/* Pagamento */
.methods { display: flex; flex-direction: column; gap: 10px; }
.method { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 14px; cursor: pointer; text-align: left; width: 100%; min-height: 64px; }
.method .radio { width: 22px; height: 22px; border-radius: 11px; border: 2px solid var(--line); flex: 0 0 22px; }
.method[aria-checked="true"] { border: 2px solid var(--navy); background: #F3F6FC; }
.method[aria-checked="true"] .radio { border: 7px solid var(--navy); }
.method .t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.method .t strong { font-size: 16px; }
.method .t small { font-size: 13px; color: var(--muted); }
.method:disabled { cursor: not-allowed; opacity: 0.55; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(11,37,69,0.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { background: #fff; border-radius: 20px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.modal-head h2 { font-size: 17px; font-weight: 800; }
.modal-close { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; }
.modal iframe { border: 0; width: 100%; height: min(640px, calc(100vh - 140px)); }
.modal-foot { padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); }

/* Área do cliente */
.acct { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 28px 0 56px; }
.acct-nav { flex: 1 1 240px; max-width: 300px; background: #fff; border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.acct-nav button, .acct-nav a { min-height: 46px; padding: 0 14px; border-radius: 12px; border: none; background: transparent; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; text-decoration: none; }
.acct-nav [aria-current="page"] { background: var(--navy); color: #fff; }
.acct-nav .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange); color: var(--navy); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.acct-nav hr { border: none; height: 1px; background: var(--line-soft); margin: 6px 8px; }
.acct main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.acct h1 { font-size: 28px; font-weight: 800; }
@media (max-width: 860px) {
  .acct-nav { max-width: none; min-width: 0; width: 100%; flex-direction: row; flex-wrap: wrap; padding: 6px; flex-basis: 100%; }
  .acct-nav button, .acct-nav a { flex: 0 0 auto; white-space: nowrap; gap: 8px; }
  .acct-nav hr { display: none; }
}
/* Telemóvel: os 4 separadores ficam todos à vista, em 2×2. */
@media (max-width: 600px) {
  .acct-nav { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .acct-nav button, .acct-nav a { white-space: normal; justify-content: center; text-align: center; font-size: 14px; padding: 6px 8px; line-height: 1.25; }
  .acct-nav #logout { grid-column: 1 / -1; min-height: 40px; color: var(--muted); font-weight: 500; }
}
.trip-hero { background: var(--navy); color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; }
.trip-hero .eyebrow { color: #FFB27A; }
.trip-hero h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-top: 6px; }
.trip-hero p { color: rgba(255,255,255,0.82); margin-top: 6px; }
.trip-hero .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.due { border: 2px solid #FFD2B0; }
.due .eyebrow { color: var(--orange-text); }
.rowlist .r { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-soft); text-decoration: none; color: var(--text); }
.rowlist .r:first-child { border-top: none; }
a.r:hover { color: var(--text); background: #FAFBFD; }
.rowlist .r .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rowlist .r .t strong { font-size: 15px; }
.rowlist .r .t small { font-size: 13px; color: var(--muted); }
.status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 10px; white-space: nowrap; }
.status.paid { background: var(--green-soft); color: var(--green); }
.status.pending { background: var(--orange-soft); color: var(--orange-text); }
.status.cancelled { background: #EEF1F7; color: #3E4459; }
.status.open { background: var(--blue-soft); color: var(--link-dark); }
.table-box { overflow-x: auto; position: relative; }
.table-box table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.table-box th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 8px; }
.table-box td { padding: 12px 8px; border-top: 1px solid var(--line-soft); }
/* Telemóvel: cada linha vira um cartão de 2 colunas (reserva/data, viagem/valor, estado/ação). */
@media (max-width: 600px) {
  .table-box { overflow: visible; }
  .table-box table { min-width: 0; }
  .table-box thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-box table, .table-box tbody { display: block; }
  .table-box tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-soft); }
  .table-box tr:first-child { border-top: none; }
  .table-box td { display: block; padding: 0; border: 0; min-width: 0; }
  .table-box td:nth-child(even) { text-align: right !important; }
  .table-box td:nth-child(2) { color: var(--muted); font-size: 13px; }
  .table-box td:nth-child(4) { font-weight: 800; }
}
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; padding: 4px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: #F2F4F9; border-bottom-left-radius: 4px; }
.msg small { display: block; font-size: 11px; opacity: 0.7; margin-top: 4px; }
textarea.input { font-family: inherit; height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.qr { width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--line-soft); }
@media print {
  .top, .foot, .acct-nav, .no-print, .flowbar { display: none !important; }
  body { background: #fff; }
  .box, .trip-hero { break-inside: avoid; }
  .trip-hero { background: #fff; color: #000; border: 1px solid #000; }
  .trip-hero p, .trip-hero .eyebrow { color: #000; }
}
.acct main:focus { outline: none; }

/* Indicativo com bandeira */
.dial-wrap { position: relative; display: flex; align-items: stretch; width: 100%; }
.dial-wrap .input { flex: 1 1 auto; min-width: 0; order: 2; }
.dial-pick { display: none; order: 1; position: relative; align-items: center; padding: 0 10px 0 12px; border: 1px solid var(--line); border-right: none; border-radius: 12px 0 0 12px; background: #F5F7FB; font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.dial-pick::after { content: ''; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); }
.dial-pick select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; font-size: 16px; }
.dial-pick:focus-within { box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.18); z-index: 1; }
.dial-wrap.on .dial-pick { display: inline-flex; }
.dial-wrap.on .input { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* Idioma e moeda */
html.i18n-wait body { opacity: 0; }
body { transition: opacity .15s; }
.prefs { position: relative; }
.prefs-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.top.light .prefs-btn { border-color: var(--line); }
.prefs-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 260px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(11,37,69,0.18); padding: 14px; display: grid; gap: 10px; }
.prefs-pop[hidden] { display: none; }
.prefs-pop label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.prefs-note { margin: 0; font-size: 12px; color: var(--muted, #5B6175); line-height: 1.4; }
[dir="rtl"] .prefs-pop { right: auto; left: 0; }
.kz-real { font-size: .75em; font-weight: 500; opacity: .75; white-space: nowrap; }
@media (max-width: 600px) { .prefs-btn { padding: 0 10px; font-size: 13px; } }
@media (max-width: 420px) { .brand-name { display: none; } }

/* Calendário com preços (prancha 20, C) */
.cal-host { position: relative; width: 100%; }
.date-btn { height: 52px; width: 100%; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font: inherit; font-size: 15px; font-weight: 500; color: var(--text); background: #fff; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-btn.input { display: block; }
.date-btn:focus-visible, .date-btn[aria-expanded="true"] { border-color: var(--link); outline: none; box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.18); }
.pop.cal { left: 0; right: auto; width: 700px; max-width: calc(100vw - 32px); gap: 12px; padding: 20px; }
.search .pop.cal { left: 50%; transform: translateX(-50%); }
.cal-head { display: flex; align-items: center; gap: 12px; }
.cal-head strong { font-size: 16px; }
.cal-step { font-size: 13px; color: var(--muted); flex: 1; }
.chip.small { min-height: 34px; padding: 0 14px; font-size: 13px; }
.cal-x { display: none; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: 16px; cursor: pointer; }
.cal-nav { position: relative; height: 0; }
.cal-nav button { position: absolute; top: 0; width: 34px; height: 34px; border-radius: 17px; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text); z-index: 1; }
.cal-nav button:first-child { left: 0; }
.cal-nav button:last-child { right: 0; }
.cal-nav button:disabled { opacity: 0.3; cursor: default; }
.cal-months { display: flex; gap: 28px; }
.cal-month { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cal-mname { font-size: 16px; font-weight: 800; text-align: center; line-height: 34px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-day { height: 52px; border-radius: 10px; border: none; background: #fff; font: inherit; color: var(--text); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; min-width: 0; }
.cal-day .n { font-size: 14px; font-weight: 700; }
.cal-day .p { font-size: 11px; font-weight: 600; color: var(--muted); min-height: 13px; white-space: nowrap; overflow: hidden; max-width: 100%; }
.cal-day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--navy); }
.cal-day:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; }
.cal-day:disabled { color: #B8BECC; cursor: default; }
.cal-day.cheap { background: var(--green-soft); }
.cal-day.cheap .p { color: var(--green); }
.cal-day.in { background: var(--blue-soft); }
.cal-day.end { background: var(--navy); color: #fff; }
.cal-day.end .p { color: rgba(255,255,255,0.8); }
.cal-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 14px; }
.cal-leg { display: flex; align-items: center; gap: 6px; }
.cal-leg .sw { width: 12px; height: 12px; border-radius: 3px; background: var(--green-soft); border: 1px solid #BFE5CC; }
.cal-load { color: var(--link-dark); }
.cal-sum { margin-left: auto; color: var(--text); font-weight: 700; }
.cal-foot .btn.small { min-height: 40px; height: 40px; padding: 0 20px; width: auto; }
.cal-foot .btn[disabled] { opacity: 0.4; cursor: default; }
@media (max-width: 700px) {
  .pop.cal, .search .pop.cal { position: fixed; inset: 0; transform: none; width: auto; max-width: none; margin: 0; border-radius: 0; z-index: 100; padding: 16px; overflow: hidden; }
  .cal-x { display: block; }
  .cal-head .chip.small { order: 3; }
  .cal-nav { display: none; }
  .cal-months { flex-direction: column; overflow-y: auto; flex: 1; gap: 20px; padding-bottom: 8px; }
  .cal-month { flex: none; }
  .cal-day { height: 48px; }
  .cal-foot { padding-bottom: env(safe-area-inset-bottom); }
  .cal-foot .btn.small { width: 100%; height: 48px; }
  body.cal-open { overflow: hidden; }
}

/* Caixa de pesquisa completa (prancha 20, A) */
.search-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.search-tabs .chip { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; font-weight: 700; }
.search-tabs .chip[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.search [data-panel] { display: flex; flex-direction: column; gap: 14px; }
.search [data-panel][hidden], .search [hidden] { display: none; }
.od { display: flex; gap: 10px; align-items: flex-end; flex: 2.8 1 460px; min-width: 0; }
.search-extra .recent { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.search-extra .recent a { font-weight: 600; }
.search-extra .muted { color: var(--muted); }
.suggest .group { font-size: 12px; font-weight: 800; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; padding: 10px 16px 4px; cursor: default; }
.suggest .hint { font-size: 12px; color: var(--muted); background: #F7F8FB; padding: 10px 16px; cursor: default; }
.cls { border-top: 1px solid var(--line-soft); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.cls-t { font-size: 14px; font-weight: 700; }
.cls-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.mc { display: flex; flex-direction: column; gap: 10px; }
.mc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.mc-n { width: 64px; font-size: 13px; font-weight: 800; color: var(--muted); padding-bottom: 16px; }
.mc-del { width: 44px; height: 44px; margin-bottom: 4px; border-radius: 22px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; }
.mc-del:disabled { opacity: 0.35; cursor: default; }
.mc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; justify-content: space-between; }
.mc-add { height: 44px; padding: 0 16px; border-radius: 22px; border: 1px dashed var(--link); background: #fff; color: var(--link); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; margin-bottom: 4px; }
.mc-add:disabled { opacity: 0.4; cursor: default; }
.mc-pax { flex: 0 1 260px; margin-left: auto; }
@media (max-width: 700px) {
  .od { flex-direction: column; align-items: stretch; flex-basis: 100%; position: relative; gap: 8px; }
  .od .field { flex: none; }
  .od .swap { display: flex; align-items: center; justify-content: center; position: absolute; right: 12px; top: 50%; margin: 0; transform: translateY(-20%) rotate(90deg); z-index: 2; }
  .mc-row { padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
  .mc-n { width: 100%; padding: 0; }
  .mc-pax { flex-basis: 100%; }
  .mc-actions .btn { width: 100%; }
}

/* Resultados de voos (prancha 11) */
.days { display: flex; gap: 8px; align-items: stretch; padding: 18px 0 0; }
.days-scroll { display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; padding-bottom: 4px; }
.day-chip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 112px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font: inherit; font-size: 13px; cursor: pointer; position: relative; }
.day-chip:hover { color: var(--text); border-color: var(--navy); }
.day-chip .dd { font-weight: 700; }
.day-chip .pp { font-size: 12px; color: var(--muted); }
.day-chip[aria-current="date"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.day-chip[aria-current="date"] .pp { color: rgba(255,255,255,0.8); }
.day-chip.cheap:not([aria-current]) { background: var(--green-soft); border-color: #BFE5CC; }
.day-chip.cheap .pp { color: var(--green); }
.day-chip .tagc { font-size: 10px; font-weight: 800; letter-spacing: 0.4px; color: var(--green); }
.day-chip[aria-current="date"] .tagc { color: #9BE3B4; }
.cal-host.day-cal { width: auto; flex: 0 0 auto; }
.cal-open-btn { height: 100%; font-weight: 700; color: var(--link); border-style: dashed; border-color: var(--link); }
.day-cal .pop.cal { left: auto; right: 0; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.linkish { background: none; border: none; padding: 0; color: var(--link); font: inherit; font-weight: 700; cursor: pointer; font-size: 14px; }
.filters input[type="range"] { width: 100%; accent-color: var(--navy); }
.range-v { font-size: 13px; color: var(--muted); }
.alert-btn { align-self: flex-start; min-height: 42px; padding: 0 18px; border-radius: 21px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; }
.alert-btn.on { border-color: var(--green); background: var(--green-soft); color: var(--green); cursor: default; }
.alert-btn:disabled:not(.on) { opacity: 0.6; }
.team-err { display: block; width: 100%; font-size: 13px; color: var(--red); }
.mc-head { padding: 18px 0 0; }
.mc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mc-steps li { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 12px 14px; }
.mc-steps li.on { border-color: var(--orange); box-shadow: 0 6px 18px rgba(255,107,0,0.14); }
.mc-steps .n { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 14px; background: #EEF1F7; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.mc-steps li.on .n { background: var(--orange); color: var(--navy); }
.mc-steps li.done .n { background: var(--green-soft); color: var(--green); }
.mc-steps strong { display: block; font-size: 14px; }
.mc-steps small { font-size: 12px; color: var(--muted); }
.mc-steps span:nth-child(2) { flex: 1; min-width: 0; }
.mc-help { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 700px) { .day-cal .pop.cal { right: auto; } .cal-open-btn { min-width: 0; padding: 8px 10px; } }

/* Pacotes (prancha 17) */
.pk-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.sort-sel { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.sort-sel select { height: 40px; border-radius: 12px; border: 1px solid var(--line); padding: 0 10px; font: inherit; font-size: 14px; color: var(--text); background: #fff; }
.filters input[type="radio"] { width: 18px; height: 18px; accent-color: var(--navy); flex: 0 0 18px; }
.filters .lbl .input { height: 44px; margin-top: 6px; font-weight: 500; }
.pk-cta { align-self: flex-start; margin-top: 6px; pointer-events: none; }
.filters label.lbl { flex-direction: column; align-items: stretch; gap: 0; }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger:hover { color: #fff; }
.del-form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.del-form #step1, .del-form #step2 { display: flex; flex-direction: column; gap: 14px; }
.del-form [hidden] { display: none !important; }
.del-form .input { margin-top: 6px; }

/* Início: lojas e Mural de Viagens (prancha 1) */
.hero-copy .stores { margin-top: 4px; }
.mural { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.mural-item { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #DCE6FF; }
.mural-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mural-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(8,16,32,0.75)); color: #fff; display: flex; flex-direction: column; }
.mural-item small { font-size: 12px; opacity: 0.85; }

/* Páginas legais: índice */
.legal-toc { background: var(--surface, #fff); border: 1px solid var(--line, #E3E8F0); border-radius: 16px; padding: 16px 20px; margin: 18px 0 8px; }
.legal-toc ol { margin: 8px 0 0; padding-inline-start: 20px; columns: 2 240px; column-gap: 28px; }
.legal-toc li { padding: 3px 0; break-inside: avoid; }
.legal h2[id] { scroll-margin-top: 90px; }

/* Telemóvel: escolher aeroporto em ecrã inteiro (prancha 20, H) */
.fs-x { display: none; }
@media (max-width: 700px) {
  .field.fs { position: fixed; inset: 0; z-index: 300; background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
  .field.fs > label { font-size: 18px; font-weight: 800; padding-right: 90px; }
  .field.fs .fs-x { display: block; position: absolute; top: 12px; right: 12px; min-height: 40px; padding: 0 14px; border: none; background: none; color: var(--blue, #1F5FD8); font: inherit; font-weight: 700; cursor: pointer; }
  .field.fs input { font-size: 17px; }
  .field.fs .suggest { position: static; margin: 0; width: 100%; max-width: none; max-height: none; flex: 1; box-shadow: none; border-radius: 0; padding: 0; }
  .suggest .hint { display: none; }
}

/* Área do cliente: passageiros, alertas, favoritos */
.acct-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.px-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.px-card { display: flex; flex-direction: column; gap: 10px; }
.px-card > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.px-card strong { font-size: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.px-card small { font-size: 13px; color: var(--muted); }
.px-card .note-orange { margin: 0; font-size: 13px; }
.px-acts { display: flex; gap: 18px; margin-top: auto; }
.linkish.danger { color: var(--red); }
.alert-row { align-items: center; }
.alert-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.trip-hero .soon { display: inline-block; margin-top: 12px; background: #FFED29; color: #14182B; font-size: 14px; font-weight: 700; padding: 7px 12px; border-radius: 12px; }
.trip-hero .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.card.fav { position: relative; }
.card.fav .fav-link { color: inherit; text-decoration: none; display: block; }
.fav-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 20px; border: none; background: #fff; color: #E5484D; font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgba(11,37,69,0.18); }
.saved-pick { margin-bottom: 14px; max-width: 420px; }

/* Itinerário para imprimir / PDF (A4). Só aparece na impressão. */
.pdoc { display: none; }
@media print {
  @page { size: A4; margin: 10mm 11mm 10mm; }
  body.printing > *:not(#print-doc) { display: none !important; }
  body.printing { background: #fff; }
  body.printing .pdoc { display: block; }
}
.pdoc { font-family: Inter, system-ui, sans-serif; color: #14182B; font-size: 10.5pt; line-height: 1.45; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pd-head { display: flex; align-items: center; gap: 18px; padding-bottom: 10px; border-bottom: 3px solid #0B2545; }
.pd-brand { display: flex; align-items: center; gap: 10px; flex: 1; }
.pd-brand img { width: 40px; height: 40px; border-radius: 9px; }
.pd-brand strong { display: block; font-size: 17pt; font-weight: 800; color: #0B2545; line-height: 1.1; }
.pd-brand small { font-size: 8.5pt; color: #545B70; letter-spacing: .3px; }
.pd-title { text-align: right; display: flex; flex-direction: column; }
.pd-title span { font-size: 8pt; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #FF6B00; }
.pd-title strong { font-size: 18pt; font-weight: 800; letter-spacing: 1px; color: #0B2545; }
.pd-title small { font-size: 8.5pt; color: #545B70; }
.pd-qr { width: 58px; height: 58px; flex: 0 0 58px; }
.pd-qr svg { width: 100%; height: 100%; }
.pd-sum { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; margin: 12px 0 12px; border: 1px solid #D5DBE8; border-radius: 10px; overflow: hidden; }
.pd-sum div { padding: 9px 12px; border-left: 1px solid #D5DBE8; display: flex; flex-direction: column; }
.pd-sum div:first-child { border-left: none; }
.pd-sum small, .pd-bag small { font-size: 7.5pt; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #545B70; }
.pd-sum strong { font-size: 11pt; font-weight: 800; }
.pd-st.paid { color: #1C7A43; } .pd-st.pending { color: #8A3B00; } .pd-st.cancelled { color: #8C1D1D; }
.pd-slice { border: 1px solid #D5DBE8; border-radius: 10px; margin-bottom: 10px; break-inside: avoid; overflow: hidden; }
.pd-sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; background: #F2F5FA; padding: 7px 14px; border-bottom: 1px solid #D5DBE8; }
.pd-sh strong { font-size: 12pt; font-weight: 800; }
.pd-sh > span:last-child { font-size: 9pt; color: #3E4459; flex-basis: 100%; }
.pd-tag { font-size: 7.5pt; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; background: #0B2545; color: #fff; padding: 3px 8px; border-radius: 5px; }
.pd-seg { display: grid; grid-template-columns: 1.15fr 1.3fr .7fr 1.3fr; gap: 4px 14px; padding: 10px 14px; align-items: start; }
.pd-air { display: flex; flex-direction: column; gap: 3px; }
.pd-air img { height: 18px; width: auto; max-width: 90px; object-fit: contain; object-position: left; }
.pd-air strong { font-size: 10pt; }
.pd-air small { color: #545B70; font-size: 8.5pt; }
.pd-pt { display: flex; flex-direction: column; }
.pd-pt b { font-size: 15pt; font-weight: 800; line-height: 1.1; }
.pd-code { font-size: 10pt; font-weight: 800; color: #0B2545; letter-spacing: .5px; }
.pd-pt small { font-size: 8.5pt; color: #3E4459; }
.pd-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 6px; font-size: 8.5pt; color: #545B70; }
.pd-mid i { display: block; width: 100%; height: 2px; background: #0B2545; position: relative; }
.pd-mid i::after { content: ''; position: absolute; right: -1px; top: -4px; border-left: 7px solid #0B2545; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.pd-bag { grid-column: 2 / -1; display: flex; gap: 8px; align-items: baseline; font-size: 9pt; border-top: 1px dashed #D5DBE8; padding-top: 8px; }
.pd-lay { margin: 0 14px; padding: 6px 10px; font-size: 8.5pt; font-weight: 600; color: #8A3B00; background: #FFF4EA; border-radius: 6px; }
.pd-block { margin: 12px 0 0; break-inside: avoid; }
.pd-block h2 { font-size: 9pt; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #0B2545; margin: 0 0 6px; }
.pd-table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.pd-table th { text-align: left; font-size: 7.5pt; letter-spacing: .6px; text-transform: uppercase; color: #545B70; font-weight: 700; padding: 6px 8px; border-bottom: 1.5px solid #0B2545; }
.pd-table td { padding: 6px 8px; border-bottom: 1px solid #E6EAF2; }
.pd-money { max-width: 100%; }
.pd-money .r { text-align: right; white-space: nowrap; }
.pd-money tfoot td { font-size: 12pt; font-weight: 800; border-top: 1.5px solid #0B2545; border-bottom: none; padding-top: 9px; }
.pd-money .kz-real { font-size: 8pt; font-weight: 500; color: #545B70; }
.pd-list { margin: 0; font-size: 9.5pt; }
.pd-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; padding: 12px 14px; background: #F2F5FA; border-radius: 10px; break-inside: avoid; }
.pd-info h3 { font-size: 8.5pt; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 4px; color: #0B2545; }
.pd-info p { margin: 0; font-size: 8.5pt; color: #3E4459; }
.pd-note { font-size: 8pt; color: #545B70; margin: 12px 0 0; }
.pd-foot { display: flex; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; break-inside: avoid; margin-top: 12px; padding-top: 8px; border-top: 1px solid #D5DBE8; font-size: 7.5pt; color: #545B70; }
.pd-foot p { flex-basis: 100%; margin: 0 0 4px; font-size: 8pt; }

/* Ícones (Lucide) */
.ic { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -0.2em; }
.ic.fill { fill: currentColor; }
.ic.lg { width: 28px; height: 28px; }
.ic-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-text); }
.ic-badge .ic { width: 24px; height: 24px; }
.state .big .ic { width: 44px; height: 44px; stroke-width: 1.6; color: var(--navy); }
#fav[aria-pressed="true"] .ic, .fav-x .ic { color: #E5484D; }
.card .body .ic-badge { margin-bottom: 4px; }

/* ---------- Proposta responsiva (canvas aprovado 17/11) ---------- */
.rail-hint { display: none; font-size: 13px; color: var(--muted); margin-top: 10px; }
.card .desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.foot details > summary { list-style: none; cursor: default; }
.foot details > summary::-webkit-details-marker { display: none; }
.foot details > summary h3 { display: block; }
.filters-open, .filters-close, .filters-apply { display: none; }
/* Tablet: grelhas fixas como no desenho e conta com menu lateral. */
@media (min-width: 701px) and (max-width: 1000px) {
  #dest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #pac, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 701px) and (max-width: 860px) {
  .acct { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .acct-nav { flex-direction: column; flex-wrap: nowrap; max-width: none; padding: 10px; }
  .acct-nav button, .acct-nav a { white-space: normal; }
  .acct-nav hr { display: block; }
}
@media (max-width: 700px) {
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 15px; }
  /* Carrossel lateral: destinos, mural e pacotes parecidos. */
  .rail { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; padding-bottom: 4px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 240px; scroll-snap-align: start; }
  .rail > .state { flex-basis: 100%; }
  .rail-hint { display: block; }
  /* Pacotes em linha: foto pequena à esquerda. */
  .pk-rows { grid-template-columns: 1fr; gap: 10px; }
  .pk-rows .card { flex-direction: row; padding: 10px; gap: 12px; align-items: stretch; }
  .pk-rows .card .ph { flex: 0 0 104px; width: 104px; height: 104px; aspect-ratio: auto; border-radius: 12px; }
  .pk-rows .card .badge { top: 6px; left: 6px; font-size: 11px; padding: 2px 7px; }
  .pk-rows .card .body { padding: 0; gap: 3px; min-width: 0; }
  .pk-rows .card h3 { font-size: 16px; line-height: 1.25; }
  .pk-rows .card .desc { display: none; }
  .pk-rows .card .price { padding-top: 4px; }
  .pk-rows .card .price strong { font-size: 16px; }
  .pk-rows > .card:nth-child(n+4) { display: none; }
  /* Serviços em 2 colunas, só ícone e nome. */
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles .card .body { padding: 14px; gap: 8px; }
  .tiles .card h3 { font-size: 15px; }
  .tiles .card .meta { display: none; }
  /* Como funciona: número ao lado do texto. */
  .steps { gap: 10px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
  .step .n { grid-row: span 2; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 14px; }
  .band { padding: 22px; border-radius: 20px; gap: 14px; }
  .band h2 { font-size: 22px; }
  .band .btn { width: 100%; }
  /* Rodapé: secções que abrem e fecham. */
  .foot { padding: 28px 0 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 0; }
  .foot-grid > div:first-child { margin-bottom: 10px; }
  .foot details { border-top: 1px solid rgba(255,255,255,0.15); }
  .foot details > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; }
  .foot details > summary h3 { margin: 0; }
  .foot details > summary::after { content: '+'; color: #fff; font-size: 20px; font-weight: 400; }
  .foot details[open] > summary::after { content: '−'; }
  .foot details ul { padding-bottom: 14px; }
  .foot-bottom { margin-top: 12px; }
  /* Conta: separadores numa linha que desliza, fixa no topo. */
  .acct { padding-top: 18px; gap: 14px; }
  .acct-nav { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 10px 16px; margin: 0 -16px; border-radius: 0; background: var(--bg, #F5F7FB); position: sticky; top: 0; z-index: 20; scrollbar-width: none; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav button, .acct-nav a { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--line); background: #fff; font-size: 14px; white-space: nowrap; justify-content: center; }
  .acct-nav [aria-current="page"] { border-color: var(--navy); }
  .acct-nav hr { display: none; }
  .acct-nav #logout { grid-column: auto; min-height: 44px; }
  .trip-hero { padding: 18px; border-radius: 22px; gap: 12px; }
  .trip-hero > div:last-child { width: 100%; }
  .trip-hero .hero-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .trip-hero .hero-acts .main { grid-column: 1 / -1; justify-content: center; }
  .trip-hero .hero-acts .tile { min-height: 64px; border-radius: 14px; flex-direction: column; gap: 4px; font-size: 13px; padding: 6px; }
  /* Voos: filtros num painel em ecrã inteiro. */
  .filters-open { display: inline-flex; }
  .filters { display: none; }
  .filters.sheet { display: block; position: fixed; inset: 0; z-index: 60; overflow-y: auto; border-radius: 0; margin: 0; padding: 20px 16px 96px; max-width: none; background: #fff; }
  .filters.sheet .filters-close { display: inline-flex; }
  .filters.sheet .filters-apply { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; justify-content: center; }
  body.sheet-open { overflow: hidden; }
}
@media (max-width: 700px) {
  /* Pesquisa: datas e passageiros lado a lado. */
  .search-row > .field[data-dates], .search-row > .field[data-dates] + .field { flex: 1 1 calc(50% - 5px); }
  .search-row > .field[data-dates] + .field input, .search-row > .field[data-dates] input, .search-row > .field[data-dates] button { font-size: 14px; text-overflow: ellipsis; }
}
@media (max-width: 700px) {
  .tiles > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .detail > *, #related { min-width: 0; }
}
/* Tablet: menu principal à vista, como no desenho; o botão de menu fica só no telemóvel. */
/* Com Explorar e Gerir reserva o menu já não cabe no tablet: abaixo de 900px
   fica o botão do menu; até 1180px sai "Parceiros", que está no rodapé. */
.nav a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) { .nav a[href="/parceiros/"] { display: none; } }
@media (min-width: 701px) and (max-width: 1000px) {
  #dest > .card:nth-child(n+4) { display: none; }
  #pac > .card:nth-child(n+5) { display: none; }
}
@media (max-width: 700px) {
  .filters.sheet .filters-head { position: sticky; top: -20px; background: #fff; margin: -20px -16px 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); z-index: 1; }
  .filters.sheet .filters-close { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: #fff; color: var(--text); align-items: center; justify-content: center; padding: 0; }
  .filters.sheet fieldset { margin-top: 12px; }
}

/* Boas-vindas: país, idioma e moeda na primeira visita. */
.welcome { position: fixed; inset: 0; z-index: 100; background: rgba(8,16,32,0.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.welcome-card { background: #fff; color: var(--text); border-radius: 24px; padding: 28px; width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 64px rgba(11,37,69,0.3); max-height: calc(100vh - 32px); overflow-y: auto; }
.welcome-card img { border-radius: 10px; }
.welcome-card h2 { font-size: 24px; font-weight: 800; }
.welcome-card > p { color: var(--muted); font-size: 15px; }
.welcome-card label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 0; }
.welcome-row { display: flex; gap: 10px; }
.welcome-row label { flex: 1 1 0; }
.welcome-row label[hidden] { display: none; }
.welcome-field, .prefs-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.prefs-field { font-weight: 600; color: inherit; gap: 4px; }
.welcome-card .welcome-from { color: var(--text); font-size: 14px; font-weight: 600; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.welcome-card .btn { width: 100%; }
.welcome-card .welcome-note { font-size: 12px; text-align: center; }
@media (max-width: 420px) { .welcome-card { padding: 22px 18px; } .welcome-row { flex-direction: column; } }

/* Seletor de país com bandeira. */
.flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; flex: 0 0 24px; box-shadow: 0 0 0 1px rgba(11,37,69,0.12); }
.cpick { position: relative; }
.cpick-btn { width: 100%; display: flex; align-items: center; gap: 10px; text-align: start; cursor: pointer; font-weight: 500; color: var(--text); }
.cpick-btn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpick-btn .ic { width: 18px; height: 18px; color: var(--muted); }
.cpick-list { position: absolute; z-index: 5; inset-inline: 0; top: calc(100% + 6px); max-height: 280px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(11,37,69,0.18); }
.cpick-list[hidden] { display: none; }
.cpick-list li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--text); }
.cpick-list li:hover, .cpick-list li:focus { background: var(--bg); outline: none; }
.cpick-list li span { flex: 1; min-width: 0; }
.cpick-list li .tick { width: 18px; height: 18px; color: var(--orange); visibility: hidden; }
.cpick-list li[aria-selected="true"] { font-weight: 700; }
.cpick-list li[aria-selected="true"] .tick { visibility: visible; }
.welcome .cpick-list { position: static; margin-top: 6px; max-height: 240px; box-shadow: none; }
@media (max-width: 1100px) and (min-width: 901px) { #zt-top a.btn.small[href="/app/"] { display: none; } }
