/* Japão Discovery — folha de estilo principal */

:root {
  --washi: #f5f6f8;
  --papel: #ffffff;
  --sumi: #171b2e;
  --sumi-2: #4c5269;
  --ai: #1b2559;
  --ai-escuro: #111a44;
  --orizuru: #4161f5;
  --orizuru-escuro: #2f4bd6;
  --kin: #a87a1f;
  --linha: #dadde6;

  --f-titulo: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --f-texto: "Zen Kaku Gothic New", "Hiragino Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --largura: 1180px;
  --texto-max: 68ch;
  --raio: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--washi);
  color: var(--sumi);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orizuru-escuro); text-underline-offset: 3px; }
a:hover { color: var(--ai); }

:focus-visible { outline: 3px solid var(--orizuru); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--f-titulo);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6em;
  color: var(--sumi);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; font-family: var(--f-texto); }

p { margin: 0 0 1em; max-width: var(--texto-max); }

.pular {
  position: absolute; left: -999px; top: 0;
  background: var(--sumi); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.pular:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2.5rem, var(--largura)); margin-inline: auto; }

/* ---------- Cabeçalho ---------- */
.topo {
  background: var(--papel);
  border-bottom: 1px solid var(--linha);
  position: sticky; top: 0; z-index: 50;
}
.topo .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 1rem;
}
.marca { display: block; line-height: 0; flex-shrink: 0; }
.marca img { height: 58px !important; width: auto !important; max-width: 220px; object-fit: contain; }
@media (max-width: 600px) { .marca img { height: 46px !important; max-width: 170px; } }

.menu-botao {
  display: none;
  font: inherit; font-weight: 700;
  background: none; border: 1px solid var(--linha); border-radius: var(--raio);
  padding: .45rem .9rem; color: var(--sumi); cursor: pointer;
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.nav a {
  display: block; padding: .5rem .8rem;
  color: var(--sumi); text-decoration: none; font-weight: 500; font-size: .98rem;
  border-radius: var(--raio);
}
.nav a:hover { background: var(--washi); }
.nav a[aria-current="page"] { color: var(--orizuru-escuro); box-shadow: inset 0 -3px 0 var(--orizuru); border-radius: 0; }
.nav a.nav-cta { background: var(--orizuru); color: #fff; margin-left: .5rem; }
.nav a.nav-cta:hover { background: var(--orizuru-escuro); }
.nav a.nav-cta[aria-current="page"] { box-shadow: none; border-radius: var(--raio); }

@media (max-width: 900px) {
  .menu-botao { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--papel); border-bottom: 1px solid var(--linha); }
  .nav.aberto { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; gap: 0; }
  .nav a { padding: .8rem .5rem; border-bottom: 1px solid var(--washi); }
  .nav a.nav-cta { margin: .8rem 0 0; text-align: center; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orizuru); padding-left: 1rem; }
}

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: var(--raio);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid var(--orizuru); background: var(--orizuru); color: #fff;
  font-family: var(--f-texto);
}
.botao:hover { background: var(--orizuru-escuro); border-color: var(--orizuru-escuro); color: #fff; }
.botao.secundario { background: transparent; color: var(--sumi); border-color: var(--sumi); }
.botao.secundario:hover { background: var(--sumi); color: #fff; }
.botao.whats { background: #1d8a4e; border-color: #1d8a4e; }
.botao.whats:hover { background: #156b3c; border-color: #156b3c; }
.botoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero { background: var(--papel); border-bottom: 1px solid var(--linha); }
.hero .container {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero h1 { max-width: 17ch; }
.hero .lead { font-size: 1.2rem; color: var(--sumi-2); max-width: 46ch; }
.hero figure { margin: 0; position: relative; }
.hero figure img {
  aspect-ratio: 4 / 4.3; object-fit: cover; width: 100%;
  border-radius: var(--raio);
  animation: revelar 1.1s ease-out both;
}
.hero figcaption { font-size: .88rem; color: var(--sumi-2); margin-top: .6rem; }
@keyframes revelar { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

.selo-desde {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem 1.6rem; margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--linha); font-size: .95rem; color: var(--sumi-2);
}
.selo-desde strong { display: block; color: var(--sumi); font-family: var(--f-titulo); font-size: 1.15rem; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero figure { order: -1; }
  .hero figure img { aspect-ratio: 16 / 10; }
}

/* ---------- Cabeçalho de página interna ---------- */
.cabecalho-pagina { background: var(--ai); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.cabecalho-pagina h1 { color: #fff; max-width: 20ch; }
.cabecalho-pagina p { color: #d5daf0; font-size: 1.15rem; max-width: 56ch; margin: 0; }

/* ---------- Seções ---------- */
.secao { padding-block: clamp(3rem, 7vw, 5.5rem); }
.secao.branca { background: var(--papel); }
.secao.indigo { background: var(--ai); color: #e6e9f6; }
.secao.indigo h2, .secao.indigo h3 { color: #fff; }
.secao.indigo a { color: #b9c6ff; }
.intro-secao { max-width: 60ch; margin-bottom: 2.4rem; }
.intro-secao p { color: var(--sumi-2); font-size: 1.1rem; }
.secao.indigo .intro-secao p { color: #c9cfea; }

/* ---------- Você sabia ---------- */
.sabia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid #fff; }
.sabia > div { padding: 1.6rem 1.6rem 0 0; }
.sabia > div + div { padding-left: 1.6rem; border-left: 1px solid rgba(255,255,255,.18); }
.sabia h3 { font-size: 1.25rem; }
.sabia p { color: #c9cfea; margin: 0; }
@media (max-width: 800px) {
  .sabia { grid-template-columns: 1fr; }
  .sabia > div, .sabia > div + div { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
}

/* ---------- Duas colunas ---------- */
.duas-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.duas-col img { border-radius: var(--raio); }
@media (max-width: 820px) { .duas-col { grid-template-columns: 1fr; } }

.dados-empresa { font-size: .95rem; color: var(--sumi-2); border-left: 3px solid var(--orizuru); padding-left: 1rem; margin-top: 1.4rem; }
.dados-empresa p { margin: 0; }

/* ---------- Serviços ---------- */
.servicos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--linha); }
.servico { padding: 1.6rem 1.4rem 1.6rem 0; border-bottom: 1px solid var(--linha); }
.servico h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.servico p { color: var(--sumi-2); margin: 0; font-size: 1rem; }
.servico .preco { display: block; margin-top: .6rem; color: var(--kin); font-weight: 700; font-size: .95rem; }

/* ---------- Placas de estação (roteiro) ---------- */
.linha-roteiro {
  display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 1rem;
  overflow-x: auto; padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}
.placa {
  background: #fff; color: var(--sumi);
  border: 1px solid #c8ccd8; border-radius: 3px;
  scroll-snap-align: start; text-decoration: none; display: block;
  box-shadow: 0 1px 0 #c8ccd8;
}
a.placa:hover { border-color: var(--orizuru); }
a.placa:hover .placa-nome { color: var(--orizuru-escuro); }
.placa-topo { padding: 1.1rem 1rem .6rem; text-align: center; }
.placa-kana { font-family: var(--f-titulo); font-size: 1.05rem; color: var(--sumi-2); display: block; line-height: 1.2; }
.placa-nome { font-family: var(--f-titulo); font-weight: 800; font-size: 1.9rem; display: block; line-height: 1.2; color: var(--sumi); }
.placa-noites { display: block; color: var(--kin); font-weight: 700; font-size: .92rem; margin-top: .2rem; }
.placa-faixa {
  height: 14px; background: var(--orizuru); position: relative; margin-inline: -1px;
}
.placa-faixa::after {
  content: ""; position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border-left: 9px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.placa-vizinhas {
  display: flex; justify-content: space-between; gap: .5rem;
  padding: .45rem .8rem .6rem; font-size: .82rem; color: var(--sumi-2);
}
.placa-vizinhas span:last-child { text-align: right; }
.placa-resumo { padding: .2rem 1rem 1.1rem; font-size: .95rem; color: var(--sumi-2); border-top: 1px dashed var(--linha); margin: 0; }

.secao.indigo .placa { border-color: #fff; }

/* Placa grande como cabeçalho de cidade */
.cidade { padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--linha); }
.cidade:first-of-type { border-top: 0; }
.cidade-cab { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 2rem; align-items: stretch; margin-bottom: 2rem; }
.cidade-cab .placa { align-self: start; }
.cidade-cab .placa-nome { font-size: 2.4rem; }
.cidade-cab figure { margin: 0; }
.cidade-cab figure img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: var(--raio); }
.cidade-cab figcaption { font-size: .88rem; color: var(--sumi-2); margin-top: .5rem; }
@media (max-width: 760px) { .cidade-cab { grid-template-columns: 1fr; } }

.cidade-corpo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cidade-corpo h3 { font-size: 1.1rem; font-family: var(--f-texto); font-weight: 700; padding-bottom: .4rem; border-bottom: 2px solid var(--sumi); }
.cidade-corpo ul { list-style: none; margin: 0; padding: 0; }
.cidade-corpo li { padding: .55rem 0; border-bottom: 1px solid var(--linha); font-size: .98rem; }
.cidade-corpo li .preco { display: block; color: var(--kin); font-weight: 700; font-size: .9rem; }
.cidade-dica { grid-column: 1 / -1; background: var(--papel); border-left: 3px solid var(--orizuru); padding: 1rem 1.2rem; margin: 0; max-width: none; }
@media (max-width: 860px) { .cidade-corpo { grid-template-columns: 1fr; } }

/* ---------- Tabelas ---------- */
.tabela-rolagem { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: .98rem; }
caption { text-align: left; font-size: .9rem; color: var(--sumi-2); caption-side: bottom; padding-top: .7rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--linha); vertical-align: top; }
thead th { background: var(--ai); color: #fff; font-weight: 700; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody th { font-weight: 700; }

/* ---------- Linha do tempo (festivais) ---------- */
.agenda { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); }
.agenda li { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.agenda .quando { font-family: var(--f-titulo); font-weight: 700; color: #fff; font-size: 1.1rem; }
.agenda strong { color: #fff; }
.agenda span.onde { display: block; font-size: .92rem; color: #aeb7dd; }
@media (max-width: 600px) { .agenda li { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Guia: índice + conteúdo ---------- */
.guia { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.indice { position: sticky; top: 100px; font-size: .95rem; }
.indice h2 { font-size: 1rem; font-family: var(--f-texto); color: var(--sumi-2); margin-bottom: .6rem; }
.indice ol { margin: 0; padding: 0 0 0 1.4rem; }
.indice li { padding: .25rem 0; }
.indice a { color: var(--sumi); text-decoration: none; }
.indice a:hover { color: var(--orizuru-escuro); text-decoration: underline; }
@media (max-width: 900px) {
  .guia { grid-template-columns: 1fr; }
  .indice { position: static; background: var(--papel); padding: 1.2rem; border: 1px solid var(--linha); border-radius: var(--raio); }
}

.topico { padding-bottom: 2.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--linha); scroll-margin-top: 100px; }
.topico:last-child { border-bottom: 0; }
.topico h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.topico h3 { margin-top: 1.6rem; font-size: 1.2rem; }
.topico ul { padding-left: 1.2rem; max-width: var(--texto-max); }
.topico li { margin-bottom: .5rem; }

.aviso { background: #fff; border: 1px solid var(--linha); border-left: 4px solid var(--kin); padding: 1rem 1.2rem; border-radius: var(--raio); max-width: var(--texto-max); margin: 1.2rem 0; }
.aviso p:last-child { margin: 0; }
.aviso.azul { border-left-color: var(--orizuru); }

.frases { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.2rem 0; max-width: 820px; }
.frase { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1rem 1.1rem; }
.frase .num-emerg { font-family: var(--f-titulo); font-weight: 800; font-size: 2.4rem; line-height: 1; display: block; color: var(--sumi); }
.frase dl { margin: .8rem 0 0; font-size: .95rem; }
.frase dt { font-weight: 700; }
.frase dd { margin: 0 0 .4rem; color: var(--sumi-2); }

/* ---------- Onde comer ---------- */
.categorias { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; align-items: start; }
details.categoria { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); }
details.categoria summary {
  cursor: pointer; padding: 1rem 1.2rem; font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
details.categoria summary::-webkit-details-marker { display: none; }
details.categoria summary::after { content: "+"; font-family: var(--f-texto); font-size: 1.4rem; line-height: 1; color: var(--orizuru); }
details.categoria[open] summary::after { content: "−"; }
details.categoria summary small { font-family: var(--f-texto); font-weight: 400; font-size: .85rem; color: var(--sumi-2); margin-left: auto; }
details.categoria ol, details.categoria ul { margin: 0; padding: 0 1.2rem 1.2rem 2.6rem; font-size: .98rem; }
details.categoria li { padding: .3rem 0; }
details.categoria li span { color: var(--sumi-2); }

.lista-destaque { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linha); max-width: 900px; }
.lista-destaque li { display: grid; grid-template-columns: 15rem 1fr; gap: 1.2rem; padding: .9rem 0; border-bottom: 1px solid var(--linha); }
.lista-destaque strong { font-weight: 700; }
.lista-destaque strong span { display: block; font-weight: 400; font-size: .88rem; color: var(--sumi-2); }
@media (max-width: 640px) { .lista-destaque li { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Formulário ---------- */
.form-contato { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: clamp(1.4rem, 4vw, 2.4rem); }
.form-contato fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
.form-contato legend { font-family: var(--f-titulo); font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; padding: 0; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.campos .inteiro { grid-column: 1 / -1; }
@media (max-width: 640px) { .campos { grid-template-columns: 1fr; } }
.campo label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.campo .ajuda { font-weight: 400; color: var(--sumi-2); font-size: .88rem; }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--sumi);
  padding: .7rem .8rem; border: 1px solid #b9bdcb; border-radius: var(--raio); background: #fff;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 3px solid rgba(65, 97, 245, .35); border-color: var(--orizuru); }
.campo textarea { min-height: 120px; resize: vertical; }
.campo input[aria-invalid="true"] { border-color: #c0392b; }
.erro-campo { color: #b42318; font-size: .88rem; margin-top: .3rem; display: none; }
.campo.invalido .erro-campo { display: block; }
.campo.invalido input, .campo.invalido select { border-color: #b42318; }
.idades { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; margin-top: .8rem; }
.idades:empty { display: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.privacidade { font-size: .9rem; color: var(--sumi-2); }
.alerta-erro { background: #fdecea; border: 1px solid #f3b8b1; color: #8a1c12; padding: 1rem 1.2rem; border-radius: var(--raio); margin-bottom: 1.4rem; display: none; }
.alerta-erro.visivel { display: block; }

.contatos-diretos { list-style: none; padding: 0; margin: 0; }
.contatos-diretos li { padding: 1rem 0; border-bottom: 1px solid var(--linha); }
.contatos-diretos li span { display: block; font-size: .9rem; color: var(--sumi-2); }
.contatos-diretos a { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--sumi); }
.contatos-diretos a:hover { color: var(--orizuru-escuro); text-decoration: underline; }

.layout-contato { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .layout-contato { grid-template-columns: 1fr; } }

/* ---------- Chamada final ---------- */
.chamada { background: var(--orizuru); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.chamada .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.chamada h2 { color: #fff; margin: 0 0 .3rem; }
.chamada p { margin: 0; color: #e2e7ff; }
.chamada .botao { background: #fff; color: var(--ai); border-color: #fff; }
.chamada .botao:hover { background: var(--ai); color: #fff; border-color: var(--ai); }
.chamada .botao.whats { background: transparent; color: #fff; border-color: #fff; }
.chamada .botao.whats:hover { background: #fff; color: var(--ai); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--ai-escuro); color: #c3c9e4; padding-block: 3.5rem 2rem; font-size: .95rem; }
.rodape a { color: #fff; }
.rodape-grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.rodape img { height: 64px; width: auto; margin-bottom: 1rem; }
.rodape h2 { color: #fff; font-size: 1rem; font-family: var(--f-texto); margin-bottom: .8rem; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li { padding: .2rem 0; }
.rodape address { font-style: normal; }
.rodape-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .85rem; color: #9aa3cc; }
.rodape-legal p { max-width: none; margin: 0 0 .3rem; }
@media (max-width: 800px) { .rodape-grade { grid-template-columns: 1fr; } }

/* Botão flutuante de WhatsApp */
.whats-flutuante {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  display: flex; align-items: center; gap: .5rem;
  background: #1d8a4e; color: #fff; text-decoration: none; font-weight: 700;
  padding: .75rem 1.1rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.whats-flutuante:hover { background: #156b3c; color: #fff; }
.whats-flutuante svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .whats-flutuante span { display: none; } .whats-flutuante { padding: .8rem; } }

.centro { text-align: center; }
.mt-2 { margin-top: 2rem; }
.nota { font-size: .9rem; color: var(--sumi-2); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cidade-cab figure.pequena { max-width: 560px; }
.cidade-cab figure.pequena img { height: auto; }

/* Ajustes para o WordPress */
.admin-bar .topo { top: 32px; }
@media (max-width: 782px) { .admin-bar .topo { top: 46px; } }
@media (max-width: 600px) { .admin-bar .topo { top: 0; } }
.entry-content > *:first-child { margin-top: 0; }
