/* GuiaDePesca -- design system enxuto, mobile-first. Use sempre var(--token). */
:root {
  --ink: #1f2328;
  --ink-2: #484f58;
  --muted: #6b7178;
  --line: #e3e5e8;
  --line-strong: #c9cdd2;
  --bg: #ffffff;
  --soft: #f6f7f8;
  --brand: #0b6e69;
  --brand-2: #12a08f;
  --brand-ink: #ffffff;
  --brand-soft: #e7f4f2;
  --sun: #f2994a;
  --danger: #c8372d;
  --danger-soft: #fdecea;
  --ok: #1f7a3d;
  --ok-soft: #e8f5ec;
  --warn: #8a5a00;
  --warn-soft: #fff4dc;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .14);
  --gutter: 16px;
  --max: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.5; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); font-weight: 650; }
h2 { font-size: 1.35rem; font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.estreito { max-width: 1120px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
hr, .divisor { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-sm); border: 1px solid var(--ink); background: var(--bg); color: var(--ink);
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .1s, background .15s; }
.btn:hover { background: var(--soft); }
.btn:active { transform: scale(.98); }
.btn-primario { border: 0; color: var(--brand-ink); background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.btn-primario:hover { background: linear-gradient(90deg, #095c58, #0f8d7e); }
.btn-escuro { border: 0; background: var(--ink); color: #fff; }
.btn-escuro:hover { background: #000; }
.btn-texto { border: 0; background: none; text-decoration: underline; padding: 0 6px; min-height: 44px; font-weight: 600; }
.btn-texto:hover { background: var(--soft); }
.btn-perigo { border-color: var(--danger); color: var(--danger); }
.btn-bloco { width: 100%; }
.btn-pequeno { min-height: 40px; padding: 0 14px; font-size: .9rem; }

/* ---------- header ---------- */
.topo { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.topo .container { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brand); font-weight: 750;
  font-size: 1.25rem; letter-spacing: -.02em; flex-shrink: 0; min-height: 44px; }
.topo-acoes { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.link-topo { display: none; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 12px 14px; border-radius: 999px; }
.link-topo:hover { background: var(--soft); }
.menu-usuario { position: relative; }
.menu-usuario > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 5px 5px 5px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; min-height: 44px; }
.menu-usuario > summary::-webkit-details-marker { display: none; }
.menu-usuario > summary:hover { box-shadow: var(--shadow); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink-2); color: #fff; display: grid;
  place-items: center; font-weight: 650; font-size: .9rem; flex-shrink: 0; }
.avatar svg { width: 20px; height: 20px; }
.avatar-g { width: 56px; height: 56px; font-size: 1.3rem; background: var(--brand); }
.menu-lista { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: var(--bg);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px 0; z-index: 50; }
.menu-lista a, .menu-lista button { display: block; width: 100%; text-align: left; padding: 12px 18px; text-decoration: none;
  background: none; border: 0; font: inherit; cursor: pointer; color: var(--ink); }
.menu-lista a:hover, .menu-lista button:hover { background: var(--soft); }
.menu-lista .forte { font-weight: 600; }
.menu-lista hr { margin: 8px 0; }

/* ---------- busca em pílula ---------- */
.busca { display: flex; align-items: stretch; background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow); width: 100%; max-width: 860px; margin: 0 auto; }
.busca label { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 10px 22px; border-radius: 999px; cursor: text; position: relative; }
.busca label:hover { background: var(--soft); }
.busca label + label::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; border-left: 1px solid var(--line); }
.busca .rotulo { font-size: .75rem; font-weight: 700; }
.busca input, .busca select { border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink);
  padding: 0; width: 100%; min-width: 0; outline: none; }
.busca input::placeholder { color: var(--muted); }
.busca button { flex-shrink: 0; margin: 8px; width: 52px; height: 52px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; }
.busca button svg { width: 20px; height: 20px; }

/* mobile: a pílula vira um cartão empilhado */
@media (max-width: 743px) {
  .busca { flex-direction: column; border-radius: 22px; padding: 6px; }
  .busca label { border-radius: 14px; padding: 10px 16px; }
  .busca label + label::before { left: 16px; right: 16px; top: 0; height: 0; width: auto; border-left: 0; border-top: 1px solid var(--line); }
  .busca button { width: auto; height: 48px; margin: 6px; border-radius: 14px; font-weight: 650; font-size: 1rem; gap: 8px;
    display: flex; justify-content: center; align-items: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 36px; margin-bottom: 24px; background:
  radial-gradient(1200px 300px at 50% -60px, var(--brand-soft), transparent 70%); }
.hero h1 { text-align: center; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); font-weight: 750; letter-spacing: -.03em;
  max-width: 18ch; margin: 0 auto .3em; }
.hero p { text-align: center; color: var(--ink-2); max-width: 46ch; margin: 0 auto 28px; font-size: 1.05rem; }

/* ---------- grid de cards ---------- */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 40px 24px; padding-bottom: 56px; }
.card { text-decoration: none; color: inherit; display: block; min-width: 0; }
.card-img { position: relative; aspect-ratio: 20 / 19; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.selo { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 5px 12px;
  font-size: .8rem; font-weight: 650; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.card-info { padding-top: 12px; font-size: .95rem; }
.card-linha { display: flex; justify-content: space-between; gap: 8px; }
.card-titulo { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.estrela { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.estrela svg { width: 13px; height: 13px; }
.card-info .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preco { margin-top: 4px; }
.preco strong { font-weight: 650; }

.vazio { text-align: center; padding: 64px 0; max-width: 480px; margin: 0 auto; }
.vazio svg { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--muted); }

/* ---------- página do guia ---------- */
.guia-topo { padding-top: 24px; }
.guia-sub { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-weight: 500; }
.guia-sub .ponto { color: var(--muted); }
.galeria { display: grid; gap: 8px; margin: 20px 0 32px; border-radius: var(--radius); overflow: hidden; position: relative;
  grid-template-columns: 1fr; aspect-ratio: 4 / 3; }
.galeria button { padding: 0; border: 0; cursor: zoom-in; background: var(--soft); min-height: 0; overflow: hidden; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.galeria button:hover img { filter: brightness(.88); }
.galeria .extra { display: none; }
.galeria .ver-todas { position: absolute; right: 16px; bottom: 16px; cursor: pointer; background: #fff; border: 1px solid var(--ink);
  border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: .875rem; min-height: 44px; }
@media (min-width: 744px) {
  .galeria { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.1 / 1; }
  .galeria .principal { grid-row: span 2; }
  .galeria .extra { display: block; }
  .galeria.poucas { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .galeria.poucas .principal { grid-row: auto; }
  .galeria.uma { grid-template-columns: 1fr; }
}

.guia-corpo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 950px) { .guia-corpo { grid-template-columns: minmax(0, 1fr) 380px; gap: 80px; } }
.anfitriao { display: flex; gap: 16px; align-items: center; }
.anfitriao h2 { margin: 0; }
.destaques { display: grid; gap: 22px; }
.destaque { display: flex; gap: 18px; align-items: flex-start; }
.destaque svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.destaque strong { display: block; }
.bio { white-space: pre-line; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }

.pacotes { display: grid; gap: 14px; }
.pacote { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 18px 20px; display: block; cursor: pointer;
  position: relative; transition: border-color .15s, box-shadow .15s; }
.pacote:hover { box-shadow: var(--shadow); }
.pacote input { position: absolute; opacity: 0; pointer-events: none; }
.pacote:has(input:checked) { border: 2px solid var(--ink); padding: 17px 19px; }
.pacote:has(input:focus-visible) { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.pacote-topo { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.pacote ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--ink-2); font-size: .92rem; }
.pacote li { display: flex; gap: 8px; }
.pacote li::before { content: "✓"; color: var(--brand); font-weight: 700; }

.avaliacoes { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.avaliacao-autor { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.nota-grande { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 650; }
.nota-grande svg { width: 22px; height: 22px; }

/* card de reserva */
.reservar-card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; }
@media (min-width: 950px) { .reservar-wrap { position: sticky; top: 100px; } }
.reservar-preco { font-size: 1.4rem; font-weight: 650; margin-bottom: 18px; }
.reservar-preco span { font-size: 1rem; font-weight: 400; color: var(--ink-2); }
.campos { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); margin-bottom: 16px; }
.campo { display: block; padding: 10px 14px; position: relative; }
.campo + .campo { border-top: 1px solid var(--line-strong); }
.campo .rotulo { display: block; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .02em; }
.campo select, .campo input, .campo textarea, .campo button.valor { width: 100%; border: 0; padding: 2px 0; font: inherit; font-size: 16px;
  background: transparent; color: var(--ink); outline: none; text-align: left; cursor: pointer; min-height: 28px; }
.campo:focus-within { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: var(--radius-sm); }
.contador { display: flex; align-items: center; justify-content: space-between; }
.contador button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff;
  font-size: 1.2rem; cursor: pointer; color: var(--ink-2); display: grid; place-items: center; }
.contador button:disabled { opacity: .3; cursor: not-allowed; }
.contador output { font-weight: 600; min-width: 2ch; text-align: center; }
.resumo { margin-top: 20px; display: grid; gap: 10px; }
.resumo div { display: flex; justify-content: space-between; gap: 12px; }
.resumo .total { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 650; }
.aviso-cobranca { text-align: center; color: var(--ink-2); font-size: .875rem; margin: 12px 0 0; }

.barra-reserva { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); z-index: 30;
  padding: 12px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.barra-reserva .btn { min-width: 140px; }
@media (min-width: 950px) { .barra-reserva { display: none; } }
@media (max-width: 949px) { .com-barra { padding-bottom: 90px; } }

/* calendário */
.cal-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 35; /* acima da barra de reserva no celular */ background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px; }
.cal-pop[hidden] { display: none; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 650; text-transform: capitalize; }
.cal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.cal-nav button:hover:not(:disabled) { background: var(--soft); }
.cal-nav button:disabled { opacity: .25; }
.cal-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grade .dsem { font-size: .72rem; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-grade button { aspect-ratio: 1; border: 0; background: none; border-radius: 50%; font: inherit; font-size: .9rem; cursor: pointer;
  font-weight: 600; min-width: 0; min-height: 36px; }
.cal-grade button:hover:not(:disabled) { outline: 1px solid var(--ink); }
.cal-grade button:disabled { color: var(--line-strong); text-decoration: line-through; cursor: not-allowed; font-weight: 400; }
.cal-grade button.sel { background: var(--ink); color: #fff; }
.cal-grade button.faixa { background: var(--soft); border-radius: 0; }

/* lightbox */
dialog.fotos { border: 0; padding: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: #fff; }
dialog.fotos::backdrop { background: rgba(0,0,0,.5); }
.fotos-topo { position: sticky; top: 0; background: #fff; display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.fotos-lista { max-width: 860px; margin: 0 auto; padding: 24px var(--gutter); display: grid; gap: 12px; }
.fotos-lista img { width: 100%; border-radius: 8px; }

/* ---------- formulários genéricos ---------- */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form .ajuda { font-weight: 400; color: var(--muted); font-size: .85rem; }
.input, .form input[type=text], .form input[type=email], .form input[type=password], .form input[type=tel],
.form input[type=number], .form select, .form textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; font: inherit;
  font-size: 16px; font-weight: 400; background: #fff; color: var(--ink); min-height: 48px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: transparent; }
.linha-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.check { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px; font-weight: 500 !important; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); }

.caixa-central { max-width: 520px; margin: 48px auto 72px; }
.caixa { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.caixa h1 { font-size: 1.4rem; text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.abas-tipo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.abas-tipo a { text-align: center; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; min-height: 48px; }
.abas-tipo a.ativo { border: 2px solid var(--ink); padding: 11px; }

/* ---------- avisos ---------- */
.avisos { position: fixed; top: 88px; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px;
  width: min(560px, calc(100% - 32px)); }
.aviso { background: var(--ink); color: #fff; padding: 14px 44px 14px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  position: relative; animation: entra .25s ease-out; }
.aviso.erro { background: var(--danger); }
.aviso.sucesso { background: var(--ok); }
.aviso button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff;
  font-size: 1.3rem; width: 44px; height: 44px; cursor: pointer; }
@keyframes entra { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--soft); color: var(--ink-2); }
.badge.confirmada, .badge.aprovado { background: var(--ok-soft); color: var(--ok); }
.badge.pendente_pagamento, .badge.em_analise { background: var(--warn-soft); color: var(--warn); }
.badge.cancelada_pescador, .badge.cancelada_guia, .badge.expirada, .badge.suspenso { background: var(--danger-soft); color: var(--danger); }
.badge.concluida { background: var(--brand-soft); color: var(--brand); }

.alerta { border-radius: var(--radius-sm); padding: 14px 18px; background: var(--warn-soft); color: var(--warn); margin-bottom: 20px; }
.alerta.info { background: var(--brand-soft); color: var(--brand); }

/* ---------- reserva / checkout ---------- */
.checkout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding: 32px 0 72px; }
@media (min-width: 950px) { .checkout { grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; } }
.resumo-guia { display: flex; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.resumo-guia img { width: 110px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.det { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; }
.det + .det { border-top: 1px solid var(--line); }
.estrelas-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.estrelas-input input { position: absolute; opacity: 0; }
.estrelas-input label { cursor: pointer; font-size: 2rem; color: var(--line-strong); line-height: 1; min-width: 44px; min-height: 44px;
  display: grid; place-items: center; }
.estrelas-input input:checked ~ label, .estrelas-input label:hover, .estrelas-input label:hover ~ label { color: var(--ink); }
.estrelas-input input:focus-visible + label { outline: 2px solid var(--brand); }

/* lista de reservas */
.lista-reservas { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.item-reserva { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; }
.item-reserva:hover { box-shadow: var(--shadow); }
.item-reserva img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.item-reserva > div { min-width: 0; }

/* ---------- painel ---------- */
.painel-abas { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 8px 0 28px; scrollbar-width: none; }
.painel-abas a { padding: 14px 16px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.painel-abas a.ativo { color: var(--ink); border-bottom-color: var(--ink); }
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 32px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.checklist li::before { content: "○ "; color: var(--warn); font-weight: 700; }
.tabela-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--soft); }
tr:last-child td { border-bottom: 0; }
.fotos-grade { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); margin-bottom: 16px; }
.foto-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--soft); }
.foto-item img { width: 100%; height: 100%; object-fit: cover; }
.foto-item .acoes { position: absolute; inset: auto 0 0 0; display: flex; gap: 6px; padding: 8px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.foto-item .acoes button { min-height: 36px; padding: 0 10px; border-radius: 8px; border: 0; background: #fff; font-size: .8rem; font-weight: 600; cursor: pointer; }
.upload { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.agenda-meses { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.agenda-meses .cal-grade button.bloq { background: var(--danger-soft); color: var(--danger); text-decoration: line-through; }
.agenda-meses .cal-grade button.res:disabled { background: var(--brand); color: #fff; cursor: default; text-decoration: none; font-weight: 600; }
.legenda { display: flex; flex-wrap: wrap; gap: 18px; font-size: .88rem; margin-bottom: 24px; }
.legenda span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; }
.legenda .l-livre::before { border: 1px solid var(--line-strong); }
.legenda .l-bloq::before { background: var(--danger-soft); border: 1px solid var(--danger); }
.legenda .l-res::before { background: var(--brand); }

/* ---------- rodapé e nav mobile ---------- */
.rodape { background: var(--soft); border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: .9rem; color: var(--ink-2); }
.rodape .container { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.rodape a { text-decoration: none; display: inline-block; padding: 10px 0; }
.rodape a:hover { text-decoration: underline; }
.nav-mobile { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.nav-mobile a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; font-weight: 600;
  text-decoration: none; color: var(--muted); min-width: 64px; min-height: 44px; justify-content: center; }
.nav-mobile a.ativo { color: var(--brand); }
.nav-mobile svg { width: 24px; height: 24px; }
body.tem-nav-mobile { padding-bottom: 64px; }
/* na página do guia a barra de reserva substitui o menu inferior */
body.com-barra .nav-mobile { display: none; }
body.tem-nav-mobile.com-barra { padding-bottom: 0; }

@media (min-width: 744px) {
  .logo span { display: inline; }
  .link-topo { display: inline-block; }
  .nav-mobile { display: none; }
  body.tem-nav-mobile { padding-bottom: 0; }
  :root { --gutter: 32px; }
}
@media (min-width: 1128px) { :root { --gutter: 48px; } }

.como { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 32px 0 64px; }
.como .num { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid;
  place-items: center; font-weight: 750; margin-bottom: 12px; }

/* ---------- busca com 5 campos ---------- */
@media (min-width: 744px) {
  .busca { max-width: 860px; }
  .busca label { padding: 10px 16px; }
}

/* ---------- período no card de reserva ---------- */
.campo.periodo { padding: 0; }
.periodo-botoes { display: grid; grid-template-columns: 1fr 1fr; }
.periodo-botoes button.valor { padding: 10px 14px; min-height: 58px; }
.periodo-botoes button.valor + button.valor { border-left: 1px solid var(--line-strong); }
.periodo-botoes .rotulo { display: block; }
.cal-rodape { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.cal-rodape .btn:disabled { opacity: .4; }

/* ---------- ficha do pacote ---------- */
.ficha[hidden] { display: none; }
.sub { font-size: 1.15rem; margin: 36px 0 14px; }
.fatos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin-top: 20px; }
.fato { display: flex; gap: 12px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: 14px; min-width: 0; }
.fato svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--brand); }
.fato span, .fato strong { display: block; line-height: 1.3; }

/* cores das etapas */
.t-encontro, .t-outro { --etapa: var(--ink-2); }
.t-saida, .t-retorno, .t-deslocamento { --etapa: #3a6ea5; }
.t-isca { --etapa: #b36b00; }
.t-pesca { --etapa: var(--brand); }
.t-almoco, .t-descanso { --etapa: #c05621; }

.barra-dia { display: flex; gap: 3px; height: 10px; border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.barra-dia span { background: var(--etapa); flex-basis: 0; min-width: 6px; }
.linha-tempo { list-style: none; margin: 0 0 12px; padding: 0; }
.linha-tempo li { display: grid; grid-template-columns: 52px 44px minmax(0, 1fr); column-gap: 10px; position: relative; }
.linha-tempo time { font-weight: 700; padding-top: 11px; text-align: right; font-variant-numeric: tabular-nums; }
.marco { width: 44px; height: 44px; border-radius: 50%; background: var(--etapa); color: #fff; display: grid; place-items: center; z-index: 1; }
.marco svg { width: 22px; height: 22px; }
.linha-tempo li:not(:last-child)::before { content: ""; position: absolute; left: 83px; top: 44px; bottom: 0; border-left: 2px dashed var(--line-strong); }
.etapa { padding: 10px 0 24px; min-width: 0; }
.etapa p { margin: 4px 0 0; color: var(--ink-2); }
.etapa-topo { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.dur { font-size: .78rem; font-weight: 700; background: var(--soft); border-radius: 999px; padding: 2px 10px; color: var(--ink-2); }

.grupo-tags { margin-bottom: 14px; }
.grupo-tags .tags { margin-top: 6px; }
.comodidades { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 18px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.comodidades li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.comodidades svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--brand); }
.comodidades strong { display: block; font-weight: 600; }
.comodidades span { display: block; }
.comodidades li.nao svg { color: var(--muted); }
.comodidades li.nao strong { color: var(--ink-2); font-weight: 500; }
.comodidades li.nao strong::after { content: " ✕"; color: var(--danger); }
.levar { padding-left: 20px; columns: 220px; }

.fotos-barco { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); margin: 12px 0; }
.fotos-barco button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--soft); }
.fotos-barco img { width: 100%; height: 100%; object-fit: cover; }

.ficha-reserva { margin-top: 20px; }
.ficha-reserva summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.ficha-reserva summary::before { content: "▸"; }
.ficha-reserva[open] summary::before { content: "▾"; }

/* ---------- formulário detalhado do guia ---------- */
fieldset.bloco { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; display: grid; gap: 16px; min-width: 0; }
fieldset.bloco legend { font-weight: 700; font-size: 1.05rem; padding: 0 6px; }
.item-form { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.item-form:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 640px) { .item-form { grid-template-columns: 220px 190px minmax(0, 1fr); align-items: center; } }
.item-form > span { font-weight: 600; font-size: .95rem; }
.marcar { display: flex; flex-wrap: wrap; gap: 8px; }
.form .marcar label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; min-height: 44px; font-weight: 500; cursor: pointer; }
.marcar label:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.marcar input { width: 18px; height: 18px; accent-color: var(--brand); }
.etapa-form { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; background: var(--soft); }
.etapa-form .inteira { grid-column: 1 / -1; }
@media (min-width: 640px) { .etapa-form { grid-template-columns: 120px 120px 170px minmax(0, 1fr); } }
.form input[type=time] { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; font-size: 16px; min-height: 48px; background: #fff; }
.etapa-form label { min-width: 0; }

/* verde escuro do WhatsApp (contraste com texto branco) */
.btn-whats { border: 0; background: #0f7a41; color: #fff; white-space: nowrap; flex-shrink: 0; }
.btn-whats:hover { background: #0b5f32; }

section + .container > .grade, section + .container > .vazio { margin-top: 24px; }

/* ---------- itens adicionais ---------- */
.adicionais { display: grid; gap: 10px; }
.adicional { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 4px 16px; }
.adicional:has(input[type=checkbox]:checked) { border-color: var(--ink); background: var(--soft); }
.adicional label:first-child { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 60px; cursor: pointer; padding: 8px 0; }
.adicional input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--brand); }
.adicional strong, .adicional span span { display: block; }
.adicional-preco { text-align: right; font-weight: 650; }
.adicional-preco span { font-weight: 400; }
.adicional-qtd { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 0 12px; font-size: .9rem; font-weight: 600; }
.adicional-qtd input { width: 96px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 10px; font: inherit; font-size: 16px; }
.preco-extra { margin: -12px 0 16px; }
.resumo [data-linhas-adicionais] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.campo[hidden], .resumo [hidden] { display: none !important; }
@media (min-width: 640px) { .adicional-form { grid-template-columns: minmax(0, 1fr) 130px 200px; } }
.comodidades.aparte svg { color: var(--sun); }
.comodidades li.nao strong::after { content: none; }
.levar.avisos-pacote { columns: auto; }
.linha-tempo time:empty::before { content: "–"; color: var(--muted); }

/* logo (marca + nome em curvas) */
.logo-img { height: 34px; width: auto; display: block; }
@media (max-width: 743px) { .logo-img { height: 30px; } }

.texto-legal { padding-top: 40px; padding-bottom: 72px; max-width: 760px; }
.texto-legal h2 { margin-top: 32px; font-size: 1.15rem; }
.texto-legal ul { padding-left: 22px; display: grid; gap: 8px; }
.tabela-wrap .btn-pequeno { white-space: nowrap; }
