/* Chapada: tema visual (27/10/2026). Carrega por último. Paleta do manual da marca. */
:root {
	--ct-verde: #0f5132;
	--ct-vale: #22a06b;
	--ct-laranja: #ff7a00;
	--ct-areia: #f5ebdd;
	--ct-grafite: #2e2e2e;
	--ct-ease: cubic-bezier(.32, .72, 0, 1);
}

/* Chip de cidade */
.ct-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px 0 10px; margin-right: 12px; border: 0; border-radius: 999px; background: #fff; color: var(--ct-verde); font: 600 13px/1 Poppins, sans-serif; cursor: pointer; transition: transform .2s var(--ct-ease); flex: none; max-width: 60vw; }
.ct-chip:active { transform: scale(.97); }
.ct-chip svg { width: 16px; height: 16px; fill: var(--ct-verde); flex: none; }
.ct-chip .ct-chip__seta { fill: none; stroke: var(--ct-verde); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; width: 14px; height: 14px; }
.ct-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-chip:focus-visible { outline: 3px solid var(--ct-laranja); outline-offset: 2px; }
.ct-chip--solto { position: fixed; top: 8px; left: 8px; z-index: 60; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.mg-topbar__in { align-items: center; }
@media (max-width: 767px) {
	.mg-topbar__lema { display: none; }
	.mg-topbar__in { min-height: 44px; padding-block: 6px; }
	.mg-topbar__contato { display: none; }
}

/* Folha de cidades */
.ct-trava { overflow: hidden; }
.ct-veu { position: fixed; inset: 0; z-index: 1000; background: rgba(46, 46, 46, .5); opacity: 0; transition: opacity .2s var(--ct-ease); }
.ct-veu.on { opacity: 1; }
.ct-folha { position: fixed; z-index: 1001; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow: auto; background: var(--ct-areia); border-radius: 20px 20px 0 0; padding: 8px 16px calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .28s var(--ct-ease); }
.ct-folha.on { transform: none; }
.ct-folha__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 8px; position: sticky; top: 0; background: var(--ct-areia); }
.ct-folha__topo h2 { margin: 0; font: 800 20px/1.2 Montserrat, sans-serif; color: var(--ct-verde); }
.ct-folha__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ct-grafite); font-size: 26px; line-height: 1; cursor: pointer; }
.ct-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ct-item { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--ct-grafite); text-decoration: none; transition: background .2s; }
.ct-item b { font-weight: 600; font-size: 16px; }
.ct-item small { color: #5b5b5b; font-size: 13px; }
.ct-item:hover { background: #fbf7f0; }
.ct-item[aria-current="true"] { outline: 2px solid var(--ct-verde); outline-offset: -2px; }
.ct-item--sub { margin-left: 18px; min-height: 48px; }
.ct-item:focus-visible, .ct-folha__x:focus-visible { outline: 3px solid var(--ct-verde); outline-offset: 2px; }
@media (min-width: 900px) {
	.ct-folha { left: 50%; right: auto; bottom: auto; top: 12vh; width: min(520px, 92vw); max-height: 76vh; border-radius: 20px; transform: translate(-50%, 16px); opacity: 0; transition: transform .28s var(--ct-ease), opacity .2s; }
	.ct-folha.on { transform: translate(-50%, 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .ct-veu, .ct-folha, .ct-chip { transition: none; } }

/* Home: hero enxuto no celular, "O que fazer" aparece na primeira tela */
@media (max-width: 767px) {
	.rhm-hero__marca, .rhm-hero__sub, .rhm-hero__cidades { display: none; }
	.rhm-hero { min-height: 0; }
	.rhm-hero__in { padding-top: 18px; padding-bottom: 16px; }
	.rhm-hero__h1 { font-size: clamp(26px, 8vw, 32px); line-height: 1.12; margin-bottom: 14px; }
	.rhm-hero__atalhos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
	.rhm-hero__atalhos::-webkit-scrollbar { display: none; }
	.rhm-hero__atalhos a { flex: none; min-height: 44px; }
	.rh-busca__campo--onde { display: none; }
}

/* Geral: toque e foco */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--ct-verde); outline-offset: 2px; }
@media (max-width: 767px) {
	.hc-perfil, .hc-zap, .mg-hub-vermais, .rhm-cab__link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Hub da cidade no celular: hero enxuto (nome + busca), o resto da tela é para as três portas */
@media (max-width: 767px) {
	.h3-heroi__sub, .h3-chips { display: none; }
	.h3-heroi { min-height: 0; }
	.h3-migalha { margin-bottom: 4px; }
	.h3-sec--rapido { padding-top: 12px; }
	.h3-rapido { gap: 10px; }
	.h3-rapido a { min-height: 64px; }
}

/* ── Um só padrão de página (27/10/2026) ─────────────────────────────────────────
   O site tem cinco famílias de topo: hub da cidade (h3-), guias e listas (mg-hub-hero), busca e categoria
   (mg-rhero), tipos de atração (rcat-hero) e home (rhm-hero). Aqui elas passam a seguir a mesma regra:
   nome da página, uma frase, e só. Sem o rótulo acima do título, sem a lista de enfeites dentro do herói. */
.mg-hub-hero__selo, .rcat-hero__selo, .mg-rhero__selo { display: none; }
.mg-hub-hero__h1, .rcat-hero h1, .mg-rhero h1, .h3-heroi h1 { font-family: Montserrat, sans-serif; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
@media (max-width: 767px) {
	.mg-hub-hero__destaques { display: none; }
	.mg-hub-hero, .rcat-hero, .mg-rhero { min-height: 0; padding-block: 14px 16px; }
	.mg-hub-hero__h1, .rcat-hero h1, .mg-rhero h1 { font-size: clamp(26px, 7.5vw, 32px); line-height: 1.15; margin-block: 6px; }
	.mg-hub-hero__sub { font-size: 15px; line-height: 1.45; margin: 0; }

	/* A faixa de oito atalhos da cidade vira uma fila de abas, igual em toda página da cidade */
	.mg-cid-atalhos-faixa { padding-block: 10px; }
	.mg-cid-atalhos { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; list-style: none; }
	.mg-cid-atalhos::-webkit-scrollbar { display: none; }
	.mg-cid-atalhos > li { flex: none; }
	.mg-cid-atalho { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: none; border: 1px solid rgba(15, 81, 50, .18); text-align: left; }
	.mg-cid-atalho__texto { display: none; }
	.mg-cid-atalho__nome { font-size: 14px; font-weight: 600; white-space: nowrap; }
	.mg-cid-atalho .mg-cid-ico { width: 22px; height: 22px; font-size: 20px; background: none; }
}

/* Sobre a cidade: história e perguntas recolhidas no fim do hub */
.ct-sobre { max-width: 1240px; margin: 8px auto 0; padding: 0 16px; }
.ct-sobre > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 14px; background: #fff; color: var(--ct-verde); font: 700 16px/1.25 Montserrat, sans-serif; cursor: pointer; list-style: none; box-shadow: 0 1px 3px rgba(15, 81, 50, .12); }
.ct-sobre > summary::-webkit-details-marker { display: none; }
.ct-sobre > summary::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ct-ease); flex: none; margin-right: 4px; }
.ct-sobre[open] > summary::after { transform: rotate(-135deg); }
.ct-sobre > summary:focus-visible { outline: 3px solid var(--ct-verde); outline-offset: 2px; }
.ct-sobre[open] > summary { margin-bottom: 8px; }

/* Abas da cidade */
.ct-abas { position: sticky; top: var(--ct-topo, 84px); z-index: 90; background: var(--ct-areia); border-bottom: 1px solid rgba(15, 81, 50, .14); }
.ct-abas__lista { display: flex; gap: 8px; max-width: 1240px; margin: 0 auto; padding: 8px 16px; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.ct-abas__lista::-webkit-scrollbar { display: none; }
.ct-abas__lista > li { flex: none; scroll-snap-align: start; }
.ct-aba { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(15, 81, 50, .18); color: var(--ct-verde); font: 600 14px/1 Poppins, sans-serif; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.ct-aba:hover { background: #fbf7f0; }
.ct-aba[aria-current="page"] { background: var(--ct-verde); border-color: var(--ct-verde); color: #fff; }
.ct-aba:focus-visible { outline: 3px solid var(--ct-laranja); outline-offset: 2px; }
/* A faixa antiga de oito atalhos some: as abas fazem esse papel */
/* 01/11/2026: a faixa de portas volta (é parte do hub no padrão do Morro Guia). */
