/* Estilos comuns às páginas do site. As cores principais vêm do turismo.json → "tema" → "cores". */
:root {
  --bg: #10233A;          /* fundo da página (azul-marinho) */
  --topo: #0B1A2C;        /* topo e rodapé, um tom mais escuro */
  --surface: #17304C;     /* cartões */
  --surface-2: #1E3B5C;   /* cartões por cima de cartões, campos */
  --fg: #EEF2F6;          /* texto */
  --muted: #A9B8C9;       /* texto secundário */
  --line: rgba(255, 255, 255, .12);
  --ouro: #D6B25E;        /* dourado: barra, botões, preços, destaques */
  --ouro-hover: #E2C47A;
  --on-ouro: #10233A;     /* texto por cima do dourado */
  --bloco: #F6EBCB;       /* bloco de destaque (claro) */
  --bloco-fg: #10233A;
  --ok: #6FCF97;
  --danger: #FF8A80;
  --wa: #1A8A45;
  --wa-hover: #157339;

  --f-titulo: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-texto: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--f-texto); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--topo); }
::selection { background: var(--ouro); color: var(--on-ouro); }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: 0; line-height: 1.1; }
a { color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
svg.wa { width: 22px; height: 22px; flex: none; }

/* ---------- Topo ---------- */
.topo { background: var(--topo); color: var(--fg); }
.topo .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; column-gap: 14px; padding-block: 16px 18px; }
.marca { margin: 0; line-height: 0; }
.marca a { display: inline-block; }
.marca img { display: block; width: 100%; max-width: 260px; height: auto; }
.logo-redondo .marca img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; max-width: 150px; }
.info { display: grid; gap: 10px; min-width: 0; justify-items: start; }
.fatos { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; font-size: .74rem; font-weight: 600; line-height: 1.35; color: #D9E1EA; }
.fatos li { display: flex; align-items: flex-start; gap: 5px; }
.fatos svg.i { width: 13px; height: 13px; margin-top: 1px; color: var(--ouro); }
.redes { display: flex; gap: 10px; }
.redonda { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; text-decoration: none; transition: transform .15s var(--ease-out), filter .15s; }
.redonda:hover { filter: brightness(1.1); }
.redonda:active { transform: scale(.95); }
.redonda svg.i { width: 20px; height: 20px; stroke-width: 2.1; }
.r-wa { background: #1A8A45; }
.r-ig { background: #B42F72; }
.r-maps { background: #C5372C; }
@media (max-width: 359.98px) { .redes { gap: 7px; } .redonda { width: 36px; height: 36px; } .redonda svg.i { width: 18px; height: 18px; } }
@media (min-width: 760px) {
  .topo .wrap { grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; padding-block: 22px 26px; }
  .marca img { width: 300px; max-width: none; }
  .info { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: stretch; }
  .fatos { font-size: .95rem; gap: 7px; }
  .fatos svg.i { width: 18px; height: 18px; }
  .fatos li { gap: 8px; }
  .redonda { width: 46px; height: 46px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 20px; border-radius: 999px;
  border: 0; cursor: pointer; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, transform .15s var(--ease-out), box-shadow .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-ouro { background: var(--ouro); color: var(--on-ouro); }
.btn-ouro:hover:not(:disabled) { background: var(--ouro-hover); }
.btn-wa { background: var(--wa); color: #FFFFFF; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-contorno { background: transparent; color: var(--ouro); box-shadow: inset 0 0 0 2px var(--ouro); }
.btn-contorno:hover { background: var(--ouro); color: var(--on-ouro); }
.btn-leve { background: var(--surface-2); color: var(--fg); }
.btn-leve:hover { background: #26486D; }

/* ---------- Selos ---------- */
.selo { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .03em; line-height: 1.4; white-space: nowrap; }
.selo-ultimas { background: var(--ouro); color: var(--on-ouro); }
.selo-esgotado { background: #B3261E; color: #FFFFFF; }
.selo-data { background: rgba(11, 26, 44, .82); color: #FFFFFF; font-variant-numeric: tabular-nums; }

/* ---------- Formulário de pré-reserva / orçamento ---------- */
.folha { width: min(520px, 100%); max-width: 100%; max-height: 92dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: var(--bg); color: var(--fg); box-shadow: 0 -12px 40px -10px rgba(0, 0, 0, .6); overflow: auto; overscroll-behavior: contain; }
.folha::backdrop { background: rgba(4, 10, 18, .65); }
@media (min-width: 640px) { .folha { margin: auto; border-radius: 20px; } }
.folha-topo { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 10px; background: var(--bg); }
.folha-topo h2 { font-size: 1.6rem; }
.folha-topo p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.fechar { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--fg); cursor: pointer; }
.folha form { display: grid; gap: 14px; padding: 6px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
.rot { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.rot small { font-weight: 500; color: var(--muted); }
.campo { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); font-size: 1rem; }
.campo::placeholder { color: #7F90A4; }
.campo:focus { outline: none; border-color: var(--ouro); }
textarea.campo { min-height: 90px; resize: vertical; }
.contador-p { justify-self: start; display: inline-grid; grid-template-columns: 48px 64px 48px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.contador-p button { height: 48px; border: 0; background: transparent; font-size: 1.4rem; font-weight: 700; color: var(--ouro); cursor: pointer; }
.contador-p button:disabled { color: var(--muted); opacity: .5; }
.contador-p output { text-align: center; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg-erro { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(179, 38, 30, .22); color: #FFD7D3; font-size: .92rem; font-weight: 600; }
.ok-box { display: grid; gap: 12px; padding: 4px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
.ok-box .ok-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ouro); color: var(--on-ouro); }
.ok-box .ok-ic svg.i { width: 30px; height: 30px; stroke-width: 2.6; }
.ok-box h3 { font-size: 1.6rem; }
.ok-box p { margin: 0; color: var(--muted); }
.ok-box .btn { width: 100%; }

/* ---------- Rodapé ---------- */
.rodape { margin-top: 56px; padding-block: 34px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--topo); color: #D9E1EA; font-size: .9rem; border-top: 3px solid var(--ouro); }
.rodape p { margin: 0 0 4px; }
.rodape a { color: inherit; font-weight: 700; }
.rodape-grade { display: grid; gap: 22px; }
.rodape-nome { font-family: var(--f-titulo); font-size: 1.5rem; color: #FFFFFF; }
.rodape-titulo { font-weight: 800; color: var(--ouro); margin-bottom: 6px !important; }
@media (min-width: 760px) { .rodape-grade { grid-template-columns: 1.4fr 1fr 1fr; } }

.carregando, .erro-carga { padding: 48px 0; color: var(--muted); text-align: center; }
