:root {
    --ink: #182634;
    --ink-2: #213244;
    --accent: #3184E1;
    --accent-soft: rgba(49, 132, 225, .10);
    --accent-soft-2: rgba(49, 132, 225, .18);
    --on-dark: #FFFFFF;
    --on-dark-muted: rgba(255, 255, 255, .60);
    --on-dark-faint: rgba(255, 255, 255, .30);
    --canvas: #F7F7F7;
    --surface: #FFFFFF;
    --text: #182634;
    --text-muted: #5B6B7A;
    --line: #E3E6EA;
    --line-strong: #CDD3D9;
    --success: #1F9D6E;
    --success-soft: rgba(31, 157, 110, .12);
    --amber: #B5791E;
    --amber-soft: rgba(181, 121, 30, .12);
    --danger: #C0392B;
    --danger-soft: rgba(192, 57, 43, .10);
    --locked: #9AA6B2;
    --locked-soft: #EDEFF1;
    --violet: #6C4FD6;
    --violet-soft: rgba(108, 79, 214, .10);
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 24px 48px -24px rgba(24, 38, 52, .28);
    --shadow-sm: 0 10px 24px -16px rgba(24, 38, 52, .35);
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --trust-gradient: linear-gradient(135deg, #1B3552, #12283F);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: var(--canvas);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- cabeçalho de página (eyebrow + heading) ---------- */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin: clamp(28px, 5vw, 40px) clamp(20px, 4vw, 56px) 0;
    max-width: 1240px;
    transition: color .2s ease;
}
.back-link:hover { color: var(--accent); }
.back-link svg { transition: transform .2s ease; }
.back-link:hover svg { transform: translateX(-3px); }

.page-hero {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding: 22px clamp(20px, 4vw, 56px) 36px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
}

.eyebrow {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

.page-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.01em;
    margin: 0 0 14px;
    text-wrap: balance;
    color: var(--text);
}

.page-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 56ch;
    margin: 0;
}
.page-title em { color: var(--accent); font-style: italic; }

.eyebrow-violet, .eyebrow-violet::before { color: var(--violet); }
.eyebrow-violet::before { background: var(--violet); }
.page-title .em-violet { color: var(--violet); }

/* kept for billing.html, which shares this header pattern without a border/eyebrow icon */
.subtitulo { color: var(--text-muted); }

main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px) 12px;
}

/* ---------- header / nav ---------- */

header.site {
    background: var(--ink);
    width: 100%;
}

.topbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(20px, 4vw, 56px) 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity .2s ease;
}
.brand:hover { opacity: .82; }
.brand img { height: 34px; width: auto; display: block; }
.brand .wordmark {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--on-dark);
    letter-spacing: .01em;
}

.account {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.credit-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--on-dark-muted);
    font-variant-numeric: tabular-nums;
}
.credit-pill svg { display: block; }

.badge-assinatura {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(49, 132, 225, .16);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ---------- "Minha viagem" — acesso global + painel lateral ---------- */

.mv-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--on-dark);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}
.mv-nav-trigger:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .32); }
.mv-nav-trigger svg { flex: none; }
.mv-nav-trigger #minha-viagem-contador { color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }

.mv-painel-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(14, 22, 33, .5);
    z-index: 300;
    opacity: 0;
    transition: opacity .25s ease;
}
.mv-painel-backdrop.is-visible { opacity: 1; }

.mv-painel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100vw);
    background: var(--canvas);
    z-index: 301;
    display: none;
    flex-direction: column;
    box-shadow: -18px 0 40px -20px rgba(14, 22, 33, .4);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.2, .7, .3, 1);
}
.mv-painel.is-open { display: flex; }
.mv-painel.is-visible { transform: translateX(0); }

.mv-painel-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--surface); flex: none;
}
.mv-painel-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 0; color: var(--text); }
.mv-painel-fechar {
    background: none; border: 1px solid var(--line-strong); color: var(--text-muted);
    border-radius: 8px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: border-color .2s ease, color .2s ease; flex: none;
}
.mv-painel-fechar:hover { border-color: var(--danger); color: var(--danger); }

.mv-painel-carregando { padding: 16px 20px 0; font-size: 13px; color: var(--text-muted); flex: none; }
.mv-painel-carregando .spinner {
    display: inline-block; width: 15px; height: 15px; border-radius: 50%; vertical-align: -3px; margin-right: 4px;
    border: 2px solid rgba(49, 132, 225, .25); border-top-color: var(--accent);
    animation: aerogo-spin .7s linear infinite;
}

.mv-painel-body { flex: 1; overflow-y: auto; padding: 18px 20px 28px; }
.mv-painel-titulo { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text); margin: 0 0 12px; }
.mv-painel-progress { margin-bottom: 18px; }
.mv-painel-summary { margin-top: 20px; }
.mv-painel-abrir-completa {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
    font-size: 13px; font-weight: 700; color: var(--accent);
}

@media (max-width: 560px) {
    .mv-painel { width: 100vw; }
}

.avatar-usuario {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: block;
}

.nome-usuario {
    font-size: 13px;
    color: var(--on-dark-muted);
}

.link-sair,
.link-billing {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--on-dark);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}
.link-billing:hover { border-color: var(--accent); color: var(--accent); }
.link-sair:hover { border-color: rgba(255, 255, 255, .4); }

.btn-login {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-dark);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 4px;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}
.btn-login:hover { border-color: var(--accent); color: var(--accent); }
.btn-login .avatar-ring {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--on-dark-faint);
    display: flex;
    align-items: center;
    justify-content: center;
}

nav.links-row {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
    padding: 16px clamp(20px, 4vw, 56px);
}
nav.links-row a {
    position: relative;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--on-dark-muted);
    padding: 6px 0 12px;
    transition: color .2s ease;
    white-space: nowrap;
}
nav.links-row a:hover { color: var(--on-dark); }
nav.links-row a.ativo { color: var(--accent); }
nav.links-row a.ativo::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.nav-spacer { flex: 1; }
.nav-soon { display: flex; align-items: center; gap: 24px; }
.soon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--on-dark-faint);
    padding: 6px 0 12px;
}
.soon-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--locked); flex: none; }
.soon-tag {
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--locked);
    background: rgba(255, 255, 255, .06);
    padding: 2px 7px;
    border-radius: 20px;
}

@media (max-width: 860px) {
    .topbar { padding: 18px 20px 14px; }
    nav.links-row { flex-wrap: wrap; row-gap: 6px; padding: 12px 20px 18px; }
    .nav-spacer { display: none; }
    .page-hero { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- painel de busca (bilhete) ---------- */

.search-ticket {
    background: var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 56px;
}
.search-ticket-body { padding: 30px clamp(22px, 4vw, 40px) 30px; }

form { margin: 0; }

.trip-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, .06);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 2px;
    position: relative;
}
.trip-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.trip-toggle label {
    font-size: 13px; font-weight: 600; color: var(--on-dark-muted);
    padding: 8px 18px; border-radius: 8px; cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.trip-toggle input:checked + label { background: var(--accent); color: var(--on-dark); }

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr auto;
    gap: 16px;
    align-items: end;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-faint); }
.field input,
.field select,
.field textarea {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 15px;
    color: var(--on-dark);
    font-family: var(--font-body);
    transition: border-color .2s ease, background .2s ease;
    width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, .32); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .08); }
.campo-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 34px;
    cursor: pointer;
}
.field select option { background: var(--ink); color: var(--on-dark); }

.btn-search {
    background: var(--accent); color: var(--on-dark); border: none; border-radius: 10px;
    padding: 14px 26px; font-size: 14.5px; font-weight: 700; letter-spacing: .02em; cursor: pointer;
    display: flex; align-items: center; gap: 9px; white-space: nowrap;
    transition: background .2s ease, transform .15s ease;
}
.btn-search:hover { background: #4794EE; }
.btn-search:active { transform: scale(.98); }

.htmx-indicator { display: none; font-size: 13px; color: var(--text-muted); margin: 0 0 20px; }
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator { display: block; }

.loading-bar.htmx-request,
.htmx-request .loading-bar { display: flex; align-items: center; gap: 10px; }
.loading-bar .spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(49, 132, 225, .25);
    border-top-color: #3184E1;
    animation: aerogo-spin .7s linear infinite;
    flex: none;
}
@keyframes aerogo-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
    .search-grid { grid-template-columns: 1fr; }
}

/* ---------- alertas ---------- */

.alerta { border-radius: var(--radius); padding: 14px 18px; font-size: 14px; margin-bottom: 24px; }
.alerta-erro { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(192, 57, 43, .25); }
.alerta-vazio { background: var(--surface); color: var(--text-muted); border: 1px solid var(--line); }
.alerta-vazio a { color: var(--accent); font-weight: 700; }
.alerta-sucesso { background: var(--success-soft); color: var(--success); border: 1px solid rgba(31, 157, 110, .25); }
.alerta-aviso { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(181, 121, 30, .25); }

/* ---------- resultados de voo ---------- */

.results-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.results-head h2,
.results-head .contagem,
.contagem {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 600; margin: 0; color: var(--text);
    font-variant-numeric: lining-nums;
}
.results-head .sort { font-size: 13px; color: var(--text-muted); }

.flight-list, .lista-voos { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.lista-voos-volta { margin-bottom: 0; }
.contagem-volta {
    font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin: 0 0 16px;
}

.flight-card, .card-voo {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s ease, border-color .22s ease;
}
.flight-card:hover, .card-voo:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.flight-main { padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; }
.flight-airline, .card-voo-header { display: flex; align-items: center; gap: 10px; }
.airline-mark {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 600; font-size: 14px;
    flex: none;
}
.logo-cia { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; flex: none; background: var(--accent-soft); padding: 4px; }
.airline-name, .companhia { font-size: 14px; font-weight: 700; color: var(--text); }

.card-voo-header .preco {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 22px; font-weight: 600; color: var(--success);
    font-variant-numeric: lining-nums tabular-nums;
}
.preco small { font-size: 11px; font-weight: 400; color: var(--text-muted); display: block; }

.rota-separador {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-muted);
    padding-top: 4px; border-top: 1px dashed var(--line);
}
.rota-separador .airline-name { font-size: 12px; text-transform: none; letter-spacing: normal; color: var(--text); }

.rota-voo { display: flex; align-items: center; gap: 22px; }
.rota-ponto { display: flex; flex-direction: column; gap: 2px; min-width: 64px; }
.rota-codigo { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--text); line-height: 1; }
.rota-hora { font-size: 13px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.rota-data { font-size: 11.5px; color: var(--text-muted); }
.rota-destino { text-align: right; align-items: flex-end; }
.dia-extra { color: var(--amber); font-weight: 700; }

.rota-linha-container { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 120px; }
.rota-duracao { font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rota-linha { width: 100%; display: flex; align-items: center; gap: 0; position: relative; }
.rota-linha::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.rota-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; z-index: 1; }
.rota-dot-principal { background: var(--accent); }
.rota-dot-escala {
    background: var(--surface); border: 2px solid var(--amber);
    width: 8px; height: 8px; margin: -1px auto;
}
.rota-linha .rota-dot + .rota-dot { margin-left: auto; }
.rota-linha { justify-content: space-between; }

.badge-escala { font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 3px 10px; border-radius: 20px; }
.badge-direto { background: var(--success-soft); color: var(--success); }
.badge-conexao { background: var(--amber-soft); color: var(--amber); }

.itinerario { font-size: 13px; color: var(--text-muted); }
.itinerario summary {
    font-size: 12px; font-weight: 700; color: var(--accent); cursor: pointer;
    list-style: none; display: inline-flex; align-items: center; gap: 6px;
}
.itinerario summary::-webkit-details-marker { display: none; }
.itinerario summary::after {
    content: "";
    width: 7px; height: 7px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin-top: -3px;
}
.itinerario[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.itinerario summary:hover { opacity: .75; }
.lista-itinerario { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 8px; }
.leg-trecho { display: flex; align-items: center; gap: 10px; }
.leg-logo { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; flex: none; }
.leg-info { display: flex; flex-direction: column; gap: 2px; }
.leg-rota { color: var(--text); font-weight: 600; font-size: 13px; }
.leg-detalhe { font-size: 12px; color: var(--text-muted); }
.leg-escala { font-size: 12.5px; color: var(--amber); padding-left: 30px; }

.flight-side {
    background: var(--canvas);
    border-left: 1px dashed var(--line-strong);
    padding: 22px 26px;
    display: flex; flex-direction: column;
    align-items: flex-end; justify-content: center; gap: 12px;
    min-width: 200px;
}
.flight-price { text-align: right; }
.flight-price .amount {
    font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--success); line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
}
.flight-price .note { font-size: 11px; color: var(--text-muted); display: block; margin-top: 4px; }

.btn-choose, .btn-comprar {
    background: var(--ink); color: var(--on-dark); border: none; border-radius: 9px;
    padding: 11px 18px; font-size: 13px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    transition: background .2s ease;
}
.btn-choose:hover, .btn-comprar:hover { background: var(--ink-2); }

.opcoes-compra:empty { display: none; }
.opcoes-compra { grid-column: 1 / -1; }
.opcoes-compra.htmx-request { grid-column: 1 / -1; padding: 16px 26px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--line); }
.opcoes-compra.htmx-request::before { content: "Carregando opções..."; }

.aviso-preco-referencia { grid-column: 1 / -1; padding: 12px 26px 0; font-size: 12.5px; color: var(--text-muted); border-top: 1px solid var(--line); margin: 0; padding-top: 14px; }
.aviso-preco-referencia strong { color: var(--text); }
.lista-parceiros { list-style: none; margin: 0; padding: 12px 26px 16px; grid-column: 1 / -1; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.aviso-preco-referencia + .lista-parceiros { border-top: none; }
.card-parceiro { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nome-parceiro { font-size: 13px; font-weight: 700; color: var(--text); }
.nota-parceiro { font-size: 12.5px; color: var(--text-muted); }
.form-comprar { margin-left: auto; }
.form-comprar button {
    background: var(--accent); color: var(--on-dark); border: none; border-radius: 8px;
    padding: 9px 16px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .2s ease;
}
.form-comprar button:hover { background: #4794EE; }
a.form-comprar {
    display: inline-block; background: var(--accent); color: var(--on-dark); border-radius: 8px;
    padding: 9px 16px; font-size: 12.5px; font-weight: 700; text-decoration: none; transition: background .2s ease;
}
a.form-comprar:hover { background: #4794EE; }

@media (max-width: 860px) {
    .flight-card, .card-voo { grid-template-columns: 1fr; }
    .flight-side { border-left: none; border-top: 1px dashed var(--line-strong); align-items: stretch; flex-direction: row; justify-content: space-between; }
    .rota-voo { flex-wrap: wrap; gap: 12px; }
}

/* ---------- hotéis ---------- */

.hotel-list, .lista-hoteis { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; gap: 18px; }

.hotel-card, .card-hotel {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); overflow: hidden; display: grid; grid-template-columns: 148px 1fr;
    transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s ease, border-color .22s ease;
}
.hotel-card:hover, .card-hotel:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.hotel-thumb, .thumb-hotel {
    background: linear-gradient(155deg, var(--ink) 0%, var(--ink-2) 55%, #2C4460 100%);
    display: flex; align-items: center; justify-content: center; position: relative; min-height: 100%;
    width: 148px; object-fit: cover;
}
.hotel-thumb svg { width: 34px; height: 34px; color: rgba(255, 255, 255, .5); }
.hotel-thumb::after {
    content: "foto do parceiro"; position: absolute; bottom: 10px; left: 0; right: 0; text-align: center;
    font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .32);
}

.hotel-body, .card-hotel-info { padding: 20px 26px 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.hotel-top, .card-hotel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.hotel-name-wrap { display: flex; flex-direction: column; gap: 6px; }
.hotel-name, .nome-hotel { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text); }
.hotel-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge-classe { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--text-muted); background: var(--locked-soft); padding: 3px 10px; border-radius: 20px; }
.badge-all-inclusive { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 20px; }

.rating, .avaliacao-atracao { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-muted); }
.rating svg { width: 13px; height: 13px; color: var(--amber); flex: none; }
.rating strong { color: var(--text); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }

.hotel-price, .preco-hotel { text-align: right; flex: none; }
.hotel-price .amount {
    font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--success); line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
}
.hotel-price .note { font-size: 11px; color: var(--text-muted); display: block; margin-top: 4px; }
.preco-hotel { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--success); font-variant-numeric: lining-nums tabular-nums; }

.amenity-tags, .amenidades-hotel { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text-muted); }
.amenity-tags span { background: var(--canvas); border: 1px solid var(--line); padding: 4px 11px; border-radius: 20px; }

.hotel-actions, .acoes-hotel { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.btn-ghost { font-size: 13px; font-weight: 700; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; padding: 10px 4px; transition: color .2s ease; }
.btn-ghost:hover { color: var(--text); }
.btn-select, .btn-selecionar-hotel {
    background: var(--ink); color: var(--on-dark); border: none; border-radius: 9px;
    padding: 11px 18px; font-size: 13px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: background .2s ease;
}
.btn-select:hover, .btn-selecionar-hotel:hover { background: var(--ink-2); }
.form-selecionar-hotel { margin: 0; }

/* ---------- + à viagem (resultados de passagem/hotel/ingresso) ---------- */
.form-add-trip { margin: 0; }
.btn-add-trip {
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--text);
    border-radius: 9px;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.btn-add-trip:hover { border-color: var(--accent); color: var(--accent); }
.btn-add-trip:disabled { opacity: .55; cursor: default; }
.btn-add-trip.is-added { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); cursor: default; }
.form-add-trip-ingresso { display: flex; justify-content: center; margin-top: 18px; }

.hotel-selecionado-confirmacao, .confirm-banner {
    margin-top: auto; padding-top: 4px;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 13.5px; color: var(--text);
}
.confirm-check {
    width: 22px; height: 22px; border-radius: 50%; background: var(--success-soft); color: var(--success);
    display: flex; align-items: center; justify-content: center; flex: none;
}
.confirm-check svg { width: 12px; height: 12px; }
.hotel-selecionado-confirmacao a,
.confirm-banner a { color: var(--accent); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.confirm-banner a svg { transition: transform .2s ease; }
.confirm-banner a:hover svg { transform: translateX(3px); }

@media (max-width: 860px) {
    .hotel-card, .card-hotel { grid-template-columns: 1fr; }
    .hotel-thumb, .thumb-hotel { width: 100%; min-height: 120px; }
    .hotel-top, .card-hotel-header { flex-direction: column; gap: 10px; }
    .hotel-price, .preco-hotel { text-align: left; }
}

/* ---------- clima ---------- */

.methodology { font-size: 12.5px; color: var(--text-muted); margin: -8px 0 26px; line-height: 1.5; max-width: 70ch; }

.weather-grid, .lista-clima {
    list-style: none; margin: 0 0 40px; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}

.weather-card, .card-clima {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 22px 22px 20px; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 16px;
    transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s ease, border-color .22s ease;
}
.weather-card:hover, .card-clima:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.weather-card-top, .card-clima-header { display: flex; align-items: flex-start; justify-content: space-between; }
.weather-date, .clima-data { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.weather-icon, .icone-clima { color: var(--accent); flex: none; }
.weather-icon svg, .icone-clima svg { display: block; width: 26px; height: 26px; }
.clima-descricao { font-size: 12px; color: var(--text-muted); margin: 2px 0 0; }
.card-clima-titulo { display: flex; flex-direction: column; gap: 2px; }

.clima-temps-grande, .weather-temp .range {
    font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1; color: var(--text);
    font-variant-numeric: lining-nums tabular-nums; margin: 0;
}
.clima-temps-grande span, .weather-temp .range .sep { color: var(--line-strong); margin: 0 6px; font-weight: 400; }
.weather-temp { display: flex; flex-direction: column; gap: 4px; }
.weather-temp .range .min { color: var(--text-muted); }
.weather-temp .feels { font-size: 12px; color: var(--text-muted); }

.grid-indicadores, .weather-indicators { display: flex; flex-direction: column; gap: 10px; padding-top: 2px; }
.indicador, .w-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.w-row svg { width: 15px; height: 15px; flex: none; color: var(--text-muted); }
.indicador-label, .w-label { flex: 1; }
.indicador-valor, .w-value { font-weight: 700; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }

.weather-sun { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line-strong); padding-top: 14px; margin-top: 2px; font-size: 12px; color: var(--text-muted); font-variant-numeric: lining-nums tabular-nums; }
.weather-sun span { display: flex; align-items: center; gap: 6px; }
.weather-sun svg { width: 13px; height: 13px; color: var(--amber); }

.clima-nota { font-size: 11.5px; color: var(--locked); margin: 0; }

/* ---------- billing ---------- */

.card-billing {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: 26px 28px; margin-bottom: 20px;
}
.card-billing h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 0 0 12px; color: var(--text); }
.card-billing p { font-size: 14px; color: var(--text-muted); margin: 0 0 8px; }
.card-billing button {
    background: var(--accent); color: var(--on-dark); border: none; border-radius: 9px;
    padding: 12px 20px; font-size: 13.5px; font-weight: 700; cursor: pointer; margin-top: 8px;
    transition: background .2s ease;
}
.card-billing button:hover { background: #4794EE; }

/* ---------- preços (página pública) ---------- */

.pricing-trial {
    display: flex; align-items: center; gap: 14px;
    background: var(--accent-soft); border: 1px solid var(--accent-soft-2); border-radius: var(--radius-lg);
    padding: 18px 22px; margin-bottom: 32px; color: var(--ink);
}
.pricing-trial svg { flex: none; color: var(--accent); }
.pricing-trial strong { color: var(--accent); }

.pricing-section-title {
    font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text);
    margin: 40px 0 4px;
}
.pricing-section-sub { font-size: 14px; color: var(--text-muted); margin: 0 0 18px; }

.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px;
}

.pricing-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
    position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--accent); border-width: 2px; padding-top: 24px; }
.pricing-card-tag {
    position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--on-dark);
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 20px;
}
.pricing-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0; color: var(--text); }
.pricing-amount { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--text); line-height: 1; }
.pricing-amount small { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.pricing-credits { font-size: 13.5px; font-weight: 700; color: var(--success); }
.pricing-per-credit { font-size: 12px; color: var(--text-muted); margin: -4px 0 4px; }
.pricing-cta {
    margin-top: auto; text-align: center; background: var(--accent); color: var(--on-dark);
    border-radius: 9px; padding: 11px 18px; font-size: 13.5px; font-weight: 700; transition: background .2s ease;
}
.pricing-cta:hover { background: #4794EE; }
.pricing-card.featured .pricing-cta { background: var(--ink); }
.pricing-card.featured .pricing-cta:hover { background: var(--ink-2); }
.pricing-cta-btn { display: block; width: 100%; border: none; cursor: pointer; }

.credit-cost-table {
    list-style: none; margin: 0; padding: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.credit-cost-table li {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 22px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--line);
}
.credit-cost-table li:last-child { border-bottom: none; }
.credit-cost-table .custo { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ---------- legal (política de privacidade) ---------- */

.legal-content {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: clamp(26px, 4vw, 44px);
}
.legal-content p { font-size: 15px; line-height: 1.7; color: var(--text); margin: 0 0 16px; }
.legal-content h2 {
    font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text);
    margin: 28px 0 10px; font-variant-numeric: lining-nums;
}
.legal-content h2:first-of-type { margin-top: 8px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 6px; }
.legal-content strong { color: var(--ink); }
.legal-date { font-size: 12.5px; color: var(--text-muted); margin-top: 24px !important; }

.lista-pacotes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.card-pacote {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; color: var(--text);
}
.card-pacote button {
    background: var(--ink); color: var(--on-dark); border: none; border-radius: 8px;
    padding: 9px 16px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .2s ease;
}
.card-pacote button:hover { background: var(--ink-2); }

/* ---------- pontos turísticos ---------- */

.context-bar {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 22px; margin-bottom: 40px;
    font-size: 13.5px; color: var(--text-muted);
}
.context-item { display: flex; align-items: center; gap: 8px; }
.context-item svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.context-item strong { color: var(--text); font-weight: 700; }
.context-bar .spacer { flex: 1; }
.context-bar .trocar { font-size: 13px; font-weight: 700; color: var(--accent); }
.context-bar .trocar:hover { text-decoration: underline; }

.mapa-wrap {
    background: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    padding: 12px; margin-bottom: 40px; position: relative;
}
#mapa-atracoes { height: 340px; border-radius: 10px; overflow: hidden; }
.marcador-emoji { font-size: 20px; text-align: center; line-height: 28px; }
.mapa-legenda {
    position: absolute; bottom: 22px; left: 22px; z-index: 400;
    display: flex; align-items: center; gap: 8px;
    background: rgba(24, 38, 52, .88); backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px;
    padding: 6px 12px 6px 8px; font-size: 12px; color: var(--on-dark-muted);
}
.mapa-legenda .swatch { width: 12px; height: 12px; border-radius: 3px; background: rgba(49, 132, 225, .3); border: 1.5px solid #3184E1; flex: none; }

.attraction-list, .lista-atracoes { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; gap: 18px; }

.gyg-widget-wrap {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    padding: 24px; margin-bottom: 40px;
}
.gyg-widget-wrap h3 {
    font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 0 0 16px; color: var(--text);
}

.attraction-card, .card-atracao {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    overflow: hidden; display: grid; grid-template-columns: 148px 1fr;
    transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s ease, border-color .22s ease;
}
.attraction-card:hover, .card-atracao:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.attraction-thumb, .foto-atracao {
    background: linear-gradient(155deg, var(--ink) 0%, var(--ink-2) 55%, #2C4460 100%);
    display: flex; align-items: center; justify-content: center; position: relative; min-height: 100%;
    width: 148px; object-fit: cover;
}
.attraction-thumb svg { width: 32px; height: 32px; color: rgba(255, 255, 255, .5); }
.attraction-thumb::after {
    content: "foto do local"; position: absolute; bottom: 10px; left: 0; right: 0; text-align: center;
    font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .32);
}

.attraction-body, .card-atracao-info { padding: 20px 26px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.attraction-top, .card-atracao-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.attraction-name-wrap { display: flex; flex-direction: column; gap: 6px; }
.attraction-name, .nome-atracao { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text); }
.attraction-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge-categoria, .categoria-atracao { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--text-muted); background: var(--locked-soft); padding: 3px 10px; border-radius: 20px; }

.attraction-dist, .distancia-hotel { flex: none; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--success); }
.attraction-dist svg { width: 14px; height: 14px; }

.attraction-desc, .descricao-atracao { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); margin: 0; max-width: 64ch; }
.attraction-address, .endereco-atracao { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); margin: 0; }
.attraction-address svg { width: 13px; height: 13px; flex: none; }

.attraction-actions { margin-top: auto; padding-top: 6px; }

@media (max-width: 860px) {
    .attraction-card, .card-atracao { grid-template-columns: 1fr; }
    .attraction-thumb, .foto-atracao { width: 100%; min-height: 120px; }
    .attraction-top, .card-atracao-header { flex-direction: column; gap: 10px; }
}

/* ---------- rodapé ---------- */

footer.site { background: var(--ink); margin-top: 96px; width: 100%; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px clamp(20px, 4vw, 56px) 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; cursor: pointer; transition: opacity .2s ease; }
.footer-brand:hover { opacity: .82; }
.footer-brand img { height: 26px; }
.footer-brand .wordmark { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--on-dark); }
.footer-tagline { font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.6; max-width: 30ch; margin: 0; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-faint); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col li span, .footer-col li a { font-size: 13.5px; color: var(--on-dark-muted); }
.footer-col li a { transition: color .2s ease; }
.footer-col li a:hover { color: var(--on-dark); }
.footer-disclaimer {
    max-width: 1400px; margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px);
    font-size: 12px; line-height: 1.6; color: var(--on-dark-faint); max-width: 90ch;
}

.footer-bottom {
    max-width: 1400px; margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px clamp(20px, 4vw, 56px) 28px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    font-size: 12px; color: var(--on-dark-faint);
}

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Flatpickr: alinhar com a nova paleta ---------- */

.flatpickr-calendar {
    background: var(--ink) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: var(--shadow) !important;
    font-family: var(--font-body) !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}
.flatpickr-day.inRange {
    background: var(--accent-soft) !important;
    border-color: transparent !important;
    box-shadow: -5px 0 0 var(--accent-soft), 5px 0 0 var(--accent-soft) !important;
}
.flatpickr-day.today { border-color: var(--accent) !important; }

/* ---------- roteiro com IA (wizard + resultado) ---------- */

.wizard-row-top { display: grid; grid-template-columns: 1.4fr 1.2fr; gap: 16px; }

.wizard-row-prefs {
    display: grid; grid-template-columns: 1.1fr 1.3fr .9fr; gap: 28px;
    padding-top: 4px; border-top: 1px dashed rgba(255, 255, 255, .12); margin-top: 4px;
}
.pref-group { display: flex; flex-direction: column; gap: 10px; }
.pref-group > label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-faint); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chip-row input { position: absolute; opacity: 0; pointer-events: none; }
.chip-row label {
    font-size: 13px; font-weight: 600; color: var(--on-dark-muted);
    padding: 8px 15px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.chip-row input:checked + label { background: var(--violet); color: var(--on-dark); border-color: var(--violet); }

.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; }
.wizard-hint { font-size: 12px; color: var(--on-dark-faint); max-width: 38ch; line-height: 1.5; margin: 0; }
.btn-gerar {
    background: var(--violet); color: var(--on-dark); border: none; border-radius: 11px;
    padding: 15px 30px; font-size: 15px; font-weight: 700; letter-spacing: .01em; cursor: pointer;
    display: flex; align-items: center; gap: 10px; white-space: nowrap; flex: none;
    transition: background .2s ease, transform .15s ease;
}
.btn-gerar:hover { background: #7F62E8; }
.btn-gerar:active { transform: scale(.98); }

.field-autocomplete { position: relative; }
.cidades-dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
    background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px;
    box-shadow: var(--shadow); overflow: hidden;
}
.cidades-lista { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; }
.cidades-item {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    padding: 9px 12px; border-radius: 7px; cursor: pointer; transition: background .15s ease;
}
.cidades-item:hover { background: rgba(255, 255, 255, .07); }
.cidades-nome { font-size: 14px; font-weight: 600; color: var(--on-dark); }
.cidades-regiao { font-size: 12px; color: var(--on-dark-faint); white-space: nowrap; }
.cidades-vazio { padding: 12px 14px; font-size: 13px; color: var(--on-dark-faint); }

@media (max-width: 760px) {
    .wizard-row-top { grid-template-columns: 1fr; }
    .wizard-row-prefs { grid-template-columns: 1fr; gap: 20px; }
    .wizard-actions { flex-direction: column; align-items: flex-start; }
    .btn-gerar { width: 100%; justify-content: center; }
}

.results-note { font-size: 12.5px; color: var(--text-muted); margin: -8px 0 30px; line-height: 1.5; max-width: 72ch; }
.results-note strong { color: var(--text); }

.hotel-strip {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    padding: 18px 24px; margin-bottom: 40px;
}
.hotel-strip .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.hotel-strip .icon svg { width: 19px; height: 19px; }
.hotel-strip .info { flex: 1; min-width: 200px; }
.hotel-strip .info .label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.hotel-strip .info .name { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text); }
.hotel-strip .meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.hotel-strip .meta strong { color: var(--success); font-family: var(--font-display); font-size: 17px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.hotel-strip a { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.hotel-strip a:hover { opacity: .75; }

.poi-strip { margin: -18px 0 40px; }
.poi-strip .label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 10px; }
.poi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.poi-chip {
    display: flex; align-items: center; gap: 7px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    padding: 7px 13px 7px 9px; font-size: 12.5px; color: var(--text);
}
.poi-chip .cat { color: var(--accent); flex: none; display: flex; }
.poi-chip .cat svg { width: 14px; height: 14px; }
.poi-chip .nome { font-weight: 700; }
.poi-chip .m { color: var(--text-muted); }

.day-list { display: flex; flex-direction: column; gap: 16px; margin: 0 0 56px; }
.day-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    overflow: hidden; display: grid; grid-template-columns: auto 1fr 148px;
    transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s ease, border-color .22s ease;
}
.day-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.day-badge { background: var(--violet-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 26px; gap: 2px; }
.day-badge .num { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--violet); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.day-badge .lbl { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); opacity: .75; }
.day-badge .date { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.day-body { padding: 20px 26px; display: flex; flex-direction: column; gap: 8px; }
.day-theme { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--text); }
.day-note { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0 0 6px; font-style: italic; }
.day-attraction { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.day-attraction .name { font-size: 14px; font-weight: 700; color: var(--text); }
.day-attraction .badge-categoria { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--text-muted); background: var(--locked-soft); padding: 3px 9px; border-radius: 20px; }
.day-attraction .dist { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--success); }
.day-attraction .dist svg { width: 12px; height: 12px; }
.day-weather { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.day-weather svg { width: 14px; height: 14px; color: var(--accent); }
.day-thumb { background: linear-gradient(155deg, var(--ink) 0%, var(--ink-2) 55%, #2C4460 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.day-thumb svg { width: 28px; height: 28px; color: rgba(255, 255, 255, .5); }

.accessory-section h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0 0 4px; color: var(--text); }
.accessory-sub { font-size: 13px; color: var(--text-muted); margin: 0 0 22px; }
.accessory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 8px; }
.accessory-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s ease, border-color .22s ease;
}
.accessory-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.accessory-thumb { aspect-ratio: 4 / 3; background: linear-gradient(155deg, #F0EDFB 0%, #E4DEFA 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.accessory-thumb img { width: 100%; height: 100%; object-fit: cover; }
.accessory-thumb svg { width: 34px; height: 34px; color: var(--violet); opacity: .55; }
.accessory-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.accessory-name { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; }
.accessory-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 0; flex: 1; }
.accessory-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 12.5px; font-weight: 700; color: #B7791F;
    padding-top: 10px; margin-top: 2px; border-top: 1px dashed var(--line-strong);
}
.accessory-cta svg { transition: transform .2s ease; }
.accessory-card:hover .accessory-cta svg { transform: translateX(3px); }
.accessory-disclosure { font-size: 11px; color: var(--locked); margin: 16px 0 64px; line-height: 1.5; }

@media (max-width: 760px) {
    .day-card { grid-template-columns: auto 1fr; }
    .day-thumb { display: none; }
    .day-badge { padding: 18px 20px 0; flex-direction: row; justify-content: flex-start; gap: 10px; }
    .day-badge .date { margin-top: 0; }
    .hotel-strip { flex-direction: column; align-items: flex-start; }
}

/* ---------- admin ---------- */

.admin-nav { display: flex; gap: 18px; margin: 0 0 28px; font-size: 13.5px; font-weight: 700; }
.admin-nav a { color: var(--text-muted); padding: 8px 0; border-bottom: 2px solid transparent; }
.admin-nav a:hover, .admin-nav a.ativo { color: var(--accent); border-bottom-color: var(--accent); }

.admin-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.admin-stat {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: 18px 22px; min-width: 160px;
}
.admin-stat .num { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--text); }
.admin-stat .label { font-size: 12.5px; color: var(--text-muted); }

.admin-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .inativo { color: var(--danger); font-weight: 700; }
.admin-table .ativo-tag { color: var(--success); font-weight: 700; }

.admin-row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-inline-form { display: flex; gap: 6px; align-items: center; }
.admin-inline-form input[type="number"] { width: 64px; }
.admin-inline-form input[type="text"] { width: 130px; }
.admin-inline-form input,
.admin-settings-form input[type="text"],
.admin-settings-form input[type="number"] {
    border: 1px solid var(--line-strong); border-radius: 7px; padding: 7px 9px;
    font-size: 13px; font-family: var(--font-body); color: var(--text); background: var(--surface);
}
.admin-inline-form button, .admin-settings-form button {
    background: var(--accent); color: var(--on-dark); border: none; border-radius: 7px;
    padding: 7px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.admin-inline-form button:hover, .admin-settings-form button:hover { background: #4794EE; }
.admin-btn-danger { background: var(--danger) !important; }

.admin-pagination { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 20px 0; font-size: 13.5px; }
.admin-pagination a { color: var(--accent); font-weight: 700; }
.admin-pagination span { color: var(--text-muted); }

.admin-settings-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 18px 0 6px; }
.admin-settings-form .campo { display: flex; flex-direction: column; gap: 4px; }
.admin-settings-form .campo label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.admin-settings-row { border-top: 1px solid var(--line); }
.admin-settings-row:first-child { border-top: none; }

/* ---------- menu com submenu (cabeçalho da área logada) ---------- */

.nav-group { position: relative; }
.nav-group-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--on-dark-muted);
    padding: 6px 0 12px;
    cursor: pointer;
    transition: color .2s ease;
    white-space: nowrap;
}
.nav-group-trigger:hover { color: var(--on-dark); }
.nav-group-trigger svg { width: 11px; height: 11px; transition: transform .2s ease; flex: none; }
.nav-group.is-open .nav-group-trigger { color: var(--on-dark); }
.nav-group.is-open .nav-group-trigger svg { transform: rotate(180deg); }

.nav-group-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    min-width: 236px;
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 50;
}
.nav-group.is-open .nav-group-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-group-menu a, .nav-group-menu .nav-group-soon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--on-dark-muted);
}
.nav-group-menu a:hover { background: var(--ink); color: var(--on-dark); }
.nav-group-menu .nav-group-soon { color: var(--on-dark-faint); cursor: default; justify-content: space-between; }

.hm-burger {
    display: none;
    margin-left: auto;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px;
    color: var(--on-dark);
}
.hm-burger svg { width: 18px; height: 18px; }

.hm-mobile-panel { display: none; }

@media (max-width: 860px) {
    nav.links-row.hm-nav-desktop { display: none; }
    .hm-burger { display: flex; }

    .hm-mobile-panel {
        flex-direction: column;
        background: var(--ink);
        border-top: 1px solid rgba(255, 255, 255, .08);
        padding: 8px clamp(20px, 4vw, 40px) 20px;
    }
    .hm-mobile-panel.is-open { display: flex; }
    .hm-mobile-panel > a {
        padding: 14px 2px;
        font-weight: 600;
        font-size: 15px;
        color: var(--on-dark-muted);
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .hm-accordion { border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .hm-accordion-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: none;
        border: none;
        padding: 14px 2px;
        font-family: var(--font-display);
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: var(--on-dark);
        cursor: pointer;
    }
    .hm-accordion-trigger svg { width: 12px; height: 12px; transition: transform .2s ease; }
    .hm-accordion.is-open .hm-accordion-trigger svg { transform: rotate(180deg); }
    .hm-accordion-body { display: none; flex-direction: column; padding: 0 2px 10px; }
    .hm-accordion.is-open .hm-accordion-body { display: flex; }
    .hm-accordion-body a, .hm-accordion-body .nav-group-soon {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 8px;
        font-size: 14.5px;
        font-weight: 600;
        color: var(--on-dark-muted);
        border-radius: 7px;
    }
    .hm-accordion-body a:hover { background: var(--ink-2); color: var(--on-dark); }
    .hm-accordion-body .nav-group-soon { color: var(--on-dark-faint); }
}
