/* Informativo Pax · Tour Às Ilhas. Celular primeiro (390 px), depois o computador.
   Cores do logo (marca/identidade.md): azul royal, azul claro, amarelo e o marinho do site. */
:root {
  --azul: #1800ad;
  --azul-fundo: #10007a;
  --marinho: #091f3b;
  --azul-medio: #116aa2;
  --azul-claro: #6fcbf3;
  --amarelo: #f9d31b;
  --papel: #f2f6fa;
  --texto: #12233b;
  --suave: #4f6075;
  --linha: #dbe4ee;
  --creme: #fff5c8;
  --titulo: 'Oswald', 'Arial Narrow', sans-serif;
  --corpo: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--papel);
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
strong { font-weight: 600; }

/* ------------------------------------------------------------------ topo */
.topo {
  display: flex;
  flex-direction: column;
  padding: max(28px, env(safe-area-inset-top)) 20px 28px;
  color: #fff;
  background: radial-gradient(130% 70% at 50% 0%, #2c1bd0 0%, var(--azul) 50%, var(--azul-fundo) 100%);
}
body.sem-rota .topo { min-height: 100vh; min-height: 100svh; }


.topo-centro {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.logo { width: 128px; margin: 4px auto 14px; }
h1 {
  margin: 0 0 22px;
  font-family: var(--titulo);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pergunta { margin: 0 0 12px; font-weight: 500; color: var(--azul-claro); }

.rotas { display: grid; gap: 12px; width: 100%; }
.rota {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 18px;
  border: 2px solid #fff;
  border-radius: 14px;
  background: #fff;
  color: var(--azul);
  font-family: var(--titulo);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.rota[aria-pressed='true'] { border-color: var(--amarelo); background: var(--amarelo); color: var(--marinho); }
body:not(.sem-rota) .rota[aria-pressed='false'] { border-color: rgba(255, 255, 255, 0.55); background: transparent; color: #fff; }

/* idioma: logo abaixo dos passeios, com bandeira e o nome na própria língua */
.idiomas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 420px;
  margin-top: 18px;
}
.idiomas button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.idiomas button[aria-pressed='true'] { border-color: #fff; background: #fff; color: var(--azul); }
.bandeira {
  flex: none;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(9, 31, 59, 0.18);
}

/* -------------------------------------------------------------- conteúdo */
.conteudo { max-width: 680px; margin: 0 auto; padding: 24px 16px 4px; }
.conteudo:focus { outline: none; }
.conteudo:empty { display: none; }

.secao {
  margin-bottom: 16px;
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(9, 31, 59, 0.06), 0 6px 18px rgba(9, 31, 59, 0.05);
}
.secao h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--titulo);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--marinho);
}
.secao h3 {
  margin: 22px 0 6px;
  font-family: var(--titulo);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--azul);
}
.secao p { margin: 0 0 12px; }
.secao > :last-child { margin-bottom: 0; }

.icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e3f4fd;
  color: var(--azul);
}
.icone svg { width: 22px; height: 22px; }

.fatos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 12px; }
.fato { padding: 12px 14px; border-radius: 12px; background: var(--papel); }
.fato span { display: block; font-size: 13px; line-height: 1.3; color: var(--suave); }
.fato strong {
  display: block;
  margin-top: 4px;
  font-family: var(--titulo);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--azul);
}

.botao-mapa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid var(--azul);
  border-radius: 999px;
  color: var(--azul);
  font-weight: 600;
  text-decoration: none;
}
.botao-mapa svg { width: 18px; height: 18px; }

/* linha do tempo */
.linha { margin: 0 0 4px; padding: 0; list-style: none; }
.linha li { display: grid; grid-template-columns: 104px 18px 1fr; column-gap: 10px; }
.linha .hora {
  padding: 7px 0;
  font-family: var(--titulo);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  color: var(--azul);
}
.linha .ponto { position: relative; }
.linha .ponto::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: var(--linha);
}
.linha .ponto::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 3px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--azul);
  border-radius: 50%;
  background: #fff;
}
.linha li:first-child .ponto::before { top: 14px; }
.linha li:last-child .ponto::before { bottom: auto; height: 14px; }
.linha .texto { padding: 7px 0; line-height: 1.35; }
.linha li.trecho .ponto::after { display: none; }
.linha li.trecho .ponto::before {
  background: repeating-linear-gradient(to bottom, var(--azul-claro) 0 5px, transparent 5px 9px);
}
.linha li.trecho .texto { padding: 6px 0 8px; font-size: 14px; font-style: italic; color: var(--suave); }

.nota { font-size: 14px; color: var(--suave); }
.secao p.nota { margin-top: 10px; }

.item { margin: 0 0 16px; }
.item-titulo { display: block; color: var(--marinho); }
.secao .item p { margin: 0; }

.destaque {
  display: flex;
  gap: 14px;
  margin: 4px 0 16px;
  padding: 16px;
  border-radius: 14px;
  background: var(--creme);
}
.destaque .icone { background: var(--amarelo); color: var(--marinho); }
.secao .destaque h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; color: var(--marinho); }
.secao .destaque p { margin: 0; }

.foto { margin: 4px 0 16px; overflow: hidden; border-radius: 12px; background: var(--linha); }
.foto img { width: 100%; }

.lista { margin: 0 0 16px; padding-left: 20px; }
.lista li { margin-bottom: 4px; }

.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--azul-medio); }

/* cardápio do bar */
.cardapio { margin: 0 0 18px; overflow: hidden; border: 1px solid var(--linha); border-radius: 12px; }
.cardapio summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 12px 16px;
  color: var(--azul);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.cardapio summary::-webkit-details-marker { display: none; }
.cardapio summary svg { flex: none; width: 20px; height: 20px; transition: transform 0.2s; }
.cardapio[open] summary svg { transform: rotate(180deg); }
.cardapio-corpo { padding: 0 16px 14px; }
.cardapio ul { margin: 0; padding: 0; list-style: none; }
.cardapio li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--linha);
  font-size: 15px;
  line-height: 1.4;
}
.cardapio li span:last-child { white-space: nowrap; font-weight: 600; color: var(--marinho); }
.secao .cardapio h3 { margin: 16px 0 4px; }
.secao .cardapio p.nota { margin: 10px 0 0; }

/* ----------------------------------------------------------------- rodapé */
.rodape {
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 16px max(40px, env(safe-area-inset-bottom));
  text-align: center;
}
body.sem-rota .rodape { padding-top: 28px; }
.duvida { margin: 12px 0; font-weight: 600; color: var(--marinho); }
.botao-whats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--marinho);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.botao-whats svg { flex: none; width: 22px; height: 22px; color: #25d366; }
.despedida {
  margin: 28px 0 0;
  font-family: var(--titulo);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--azul);
}

/* --------------------------------------------------------------- telas maiores */
@media (min-width: 640px) {
  .topo { padding-bottom: 40px; }
  .logo { width: 150px; }
  h1 { font-size: 38px; }
  .rotas { grid-template-columns: 1fr 1fr; }
  .conteudo { padding-top: 32px; }
  .secao { padding: 28px 32px; }
  .checklist { grid-template-columns: 1fr 1fr; }
}

/* Efeito de mouse só em aparelho com mouse; no toque, nada depende dele. */
@media (hover: hover) {
  .rota:hover { border-color: var(--amarelo); }
  .idiomas button[aria-pressed='false']:hover { background: rgba(255, 255, 255, 0.2); }
  .botao-mapa:hover { background: #eef0ff; }
  .botao-whats:hover { background: #0e2c52; }
  .cardapio summary:hover { background: var(--papel); }
}

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