/* Motor de reservas do site público (/reservar). Prefixo mt-. Mobile primeiro. */
.mt-page { background: #f3f3f3; min-height: 100vh; color: #2b2b2b; font-family: Inter, Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; padding-bottom: 120px; }
.mt-wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.mt-page h1, .mt-page h2, .mt-page h3 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; margin: 0; }
.mt-page a { color: #D2154E; }

/* Cabeçalho */
.mt-head { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 8px rgba(0,0,0,.08); }
.mt-head-in { max-width: 980px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.mt-head img { height: 44px; width: auto; display: block; }
.mt-voltar { margin-left: auto; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; color: #5f5558 !important; }
.mt-passos { display: flex; gap: 6px; max-width: 980px; margin: 0 auto; padding: 0 16px 8px; font-size: 12px; }
.mt-passo { flex: 1; text-align: center; padding: 6px 4px; border-radius: 999px; background: #eee; color: #777; font-weight: 600; }
.mt-passo.on { background: #D2154E; color: #fff; }
.mt-passo.ok { background: #e9f7ea; color: #1a8a1a; }

/* Busca */
.mt-busca { background: #f0f0f0; position: sticky; top: 94px; z-index: 25; padding: 10px 0; }
.mt-busca-in { max-width: 980px; margin: 0 auto; padding: 0 16px; display: flex; gap: 10px; align-items: center; }
.mt-pill { flex: 1; background: #fff; border: 0; border-radius: 999px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; cursor: pointer; color: #333; min-width: 0; }
.mt-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-go { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #1aa51a; color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; transition: transform .15s; }
.mt-go:hover { transform: scale(1.06); }
.mt-painel { background: #fff; border-radius: 16px; padding: 16px; margin: 8px 0 0; box-shadow: 0 6px 24px rgba(0,0,0,.12); animation: mt-in .2s ease both; }
.mt-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mt-field { display: flex; flex-direction: column; gap: 4px; }
.mt-field label { font-size: 12px; color: #666; font-weight: 600; }
.mt-field input, .mt-field select, .mt-field textarea { font: inherit; font-size: 16px; padding: 12px; border: 1px solid #ccc; border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box; }
.mt-field input:focus, .mt-field select:focus, .mt-field textarea:focus { outline: 2px solid #D2154E33; border-color: #D2154E; }
.mt-field.erro input { border-color: #d32f2f; }
.mt-ajuda { font-size: 12px; color: #777; }
.mt-step { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid #eee; }
.mt-step button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ccc; background: #fff; font-size: 20px; cursor: pointer; }
.mt-step b { min-width: 24px; text-align: center; display: inline-block; }
.mt-idades { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }

/* Botões */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 22px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; background: #1aa51a; color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s, opacity .15s; }
.mt-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.mt-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.mt-btn.verm { background: #D2154E; }
.mt-btn.laranja { background: #f29b17; }
.mt-btn.linha { background: #fff; color: #D2154E !important; border: 2px solid #D2154E; }
.mt-btn.cinza { background: #ececec; color: #444 !important; }
.mt-btn.peq { padding: 9px 16px; font-size: 14px; }
.mt-btn.cheio { width: 100%; }

/* Títulos e avisos */
.mt-titulo { text-align: center; font-size: 22px; font-weight: 400; color: #444; margin: 22px 0 14px; line-height: 1.35; }
.mt-titulo b { font-weight: 800; }
.mt-aviso { border: 1px solid #bfe6c0; background: #eaf7eb; border-radius: 999px; padding: 12px 18px; margin: 0 0 16px; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.mt-alerta { border-radius: 14px; padding: 14px 16px; margin: 14px 0; font-size: 15px; line-height: 1.45; }
.mt-alerta.erro { background: #fdecea; color: #8a1c1c; border: 1px solid #f5c2bf; }
.mt-alerta.info { background: #eef4ff; color: #1d3f7a; border: 1px solid #c8d9f7; }
.mt-alerta.ok { background: #e9f7ea; color: #1a6a1a; border: 1px solid #bfe6c0; }

/* Comparador */
.mt-comp { background: #fff; border: 1px solid #e1e1e8; border-radius: 28px; padding: 20px 22px; margin: 18px 0; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.mt-comp small.t { letter-spacing: .18em; font-size: 12px; color: #777; font-weight: 700; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.mt-comp .v { font-size: 40px; font-weight: 800; color: #1a8a1a; margin: 6px 0; }
.mt-selo { display: inline-flex; gap: 6px; align-items: center; background: #e6f6e7; border: 1px solid #b6e2b8; color: #1a7a1a; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; }
.mt-comp hr { border: 0; border-top: 1px solid #e6e6ee; margin: 16px 0; }
.mt-outros { display: flex; justify-content: space-between; gap: 8px; color: #666; }
.mt-outros .mais { color: #d32f2f; font-weight: 700; }

/* Acomodação */
.mt-card { background: #fff; border-radius: 26px; box-shadow: 0 6px 22px rgba(0,0,0,.08); margin: 0 0 20px; overflow: hidden; animation: mt-in .35s ease both; }
.mt-foto { position: relative; aspect-ratio: 16 / 10; background: #ddd; margin: 12px; border-radius: 20px; overflow: hidden; }
.mt-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-foto .ov { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; }
.mt-foto h3 { font-size: 22px; line-height: 1.25; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.mt-chip { position: absolute; top: 12px; background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; border: 0; font-family: inherit; }
.mt-chip.l { left: 12px; } .mt-chip.r { right: 12px; cursor: pointer; }
.mt-fotos { display: flex; gap: 8px; padding: 0 12px 8px; overflow-x: auto; }
.mt-fotos img { height: 84px; border-radius: 12px; }
.mt-desc { padding: 4px 22px 8px; color: #555; font-size: 15px; line-height: 1.5; }
.mt-tarifas { padding: 0 12px 14px; display: grid; gap: 10px; }
.mt-tarifa { border: 1px solid #e6e6ee; border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.mt-tarifa .nome { font-weight: 800; font-size: 16px; }
.mt-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin: 4px 6px 0 0; }
.mt-tag.ok { background: #e6f6e7; color: #1a7a1a; } .mt-tag.nao { background: #fdecea; color: #a12828; } .mt-tag.reg { background: #fff4e0; color: #9a5b00; }
.mt-pol { font-size: 13px; color: #666; margin-top: 6px; }
.mt-pol summary { cursor: pointer; color: #D2154E; font-weight: 600; }
.mt-pol p { margin: 6px 0 0; line-height: 1.45; white-space: pre-line; }
.mt-preco { text-align: right; }
.mt-preco .v { font-size: 26px; font-weight: 800; color: #1a8a1a; line-height: 1.1; }
.mt-preco small { display: block; color: #777; font-size: 12px; margin-bottom: 8px; }

/* Barra do carrinho */
.mt-barra { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 40; background: #fff; border-radius: 999px; box-shadow: 0 6px 28px rgba(0,0,0,.25); display: flex; align-items: center; gap: 12px; padding: 8px 10px; max-width: 980px; margin: 0 auto; animation: mt-up .25s ease both; }
.mt-carrinho { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; background: #ee2b24; color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; }
.mt-carrinho .n { position: absolute; top: -2px; right: -2px; background: #f08a8a; color: #fff; border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.mt-total { flex: 1; min-width: 0; }
.mt-total small { color: #666; display: block; font-size: 13px; }
.mt-total b { font-size: 24px; color: #1a8a1a; }

/* Modal */
.mt-fundo { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 60; display: grid; place-items: center; padding: 16px; animation: mt-fade .2s ease both; }
.mt-modal { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; animation: mt-pop .22s ease both; }
.mt-modal header { padding: 18px 20px 10px; display: flex; justify-content: space-between; align-items: center; }
.mt-modal header h2 { font-size: 22px; font-weight: 600; }
.mt-modal .corpo { padding: 6px 20px 14px; overflow-y: auto; }
.mt-modal footer { padding: 12px 20px 18px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.mt-x { border: 0; background: none; font-size: 26px; cursor: pointer; line-height: 1; }
.mt-linha-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; align-items: flex-start; }
.mt-linha-item img { width: 110px; height: 80px; object-fit: cover; border-radius: 10px; flex: none; background: #ddd; }
.mt-linha-item .l { flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; }
.mt-lixo { border: 0; background: none; cursor: pointer; color: #777; padding: 4px; }
.mt-termos-txt { max-height: 38vh; overflow-y: auto; border: 1px solid #eee; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.55; white-space: pre-line; }
.mt-termos-txt .vermelho { color: #D2154E; font-weight: 700; }

/* Formulário / seções */
.mt-sec { background: #fff; border-radius: 26px; padding: 22px; margin: 0 0 18px; box-shadow: 0 4px 16px rgba(0,0,0,.06); animation: mt-in .35s ease both; }
.mt-sec h2 { font-size: 20px; margin-bottom: 14px; }
.mt-form { display: grid; gap: 14px; }
.mt-form .l2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mt-form .l3 { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.mt-seg { display: inline-flex; background: #eee; border-radius: 999px; padding: 3px; gap: 2px; }
.mt-seg button { border: 0; background: transparent; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: #555; }
.mt-seg button.on { background: #fff; color: #D2154E; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.mt-erros { background: #fdecea; border: 1px solid #f5c2bf; color: #8a1c1c; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; font-size: 14px; }
.mt-erros ul { margin: 6px 0 0 18px; padding: 0; }
.mt-linha-resumo { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 15px; }
.mt-linha-resumo.tot { font-size: 20px; font-weight: 800; border-top: 1px solid #eee; margin-top: 6px; padding-top: 12px; color: #1a8a1a; }

/* Pagamento */
.mt-meio { display: flex; gap: 16px; align-items: center; background: #fff; border: 2px solid transparent; border-radius: 24px; padding: 18px 20px; margin: 0 0 14px; cursor: pointer; width: 100%; text-align: left; font: inherit; box-shadow: 0 3px 14px rgba(0,0,0,.06); transition: border-color .15s, background .15s, transform .15s; }
.mt-meio:hover { transform: translateY(-1px); }
.mt-meio.on { border-color: #7fd08a; background: #f6fff7; }
.mt-meio .ic { flex: none; width: 60px; height: 60px; border-radius: 50%; background: #ee2b24; color: #fff; display: grid; place-items: center; }
.mt-meio .t { flex: 1; min-width: 0; }
.mt-meio .t small { display: block; color: #666; font-size: 14px; }
.mt-meio .t .v { color: #1a8a1a; font-size: 26px; font-weight: 800; display: block; }
.mt-meio .t .ent b { color: #1a8a1a; }
.mt-meio .t .msg { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.mt-pix { text-align: center; }
.mt-pix img { width: 220px; height: 220px; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.mt-copia { background: #f7f7f7; border: 1.5px dashed #9ad3a1; border-radius: 12px; padding: 10px 12px; font: 11px/1.5 monospace; word-break: break-all; text-align: left; margin: 12px 0 8px; }
.mt-ok { text-align: center; padding: 18px; }
.mt-ok .big { font-size: 64px; }

/* WhatsApp */
.mt-wa { position: fixed; left: 14px; bottom: 96px; z-index: 35; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.3); }

@keyframes mt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mt-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mt-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (min-width: 760px) {
    .mt-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
    .mt-lista .mt-card { margin: 0; }
}
@media (max-width: 520px) {
    .mt-grid2, .mt-form .l2, .mt-form .l3 { grid-template-columns: 1fr; }
    .mt-titulo { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .mt-page * { animation: none !important; transition: none !important; } }
