/* Montar meu roteiro. Tokens do site (gcep-casca.css): azul #1266d6, marinho #0d2b5c, verde #22b573, Inter. */
.mg-rot [hidden] { display: none !important; }
.mg-roteiro-pg .mg-rot { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); max-width: 1180px; margin: 0 auto; padding: 40px 16px 72px; font-family: var(--mg-fonte, Inter, system-ui, sans-serif); color: var(--mg-texto, #33496b); line-height: 1.5; }
.mg-roteiro-pg .mg-rot__grade { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
	/* esquerda: os lugares; direita: coluna fixa com o mapa em cima e o resumo do roteiro embaixo, montando em tempo real */
	.mg-roteiro-pg .mg-rot__grade { grid-template-columns: minmax(0, 1fr) minmax(440px, 540px); gap: 48px; align-items: start; }
	.mg-roteiro-pg .mg-rot__roteiro { position: sticky; top: 168px; display: flex; flex-direction: column; max-height: calc(100vh - 188px); overflow: hidden; }
	.mg-roteiro-pg .mg-rot__conta, .mg-roteiro-pg .mg-rot__entre { order: 0; flex: none; }
	.mg-roteiro-pg .mg-rot__cab { order: 0; flex: none; margin-bottom: 12px; }
	.mg-roteiro-pg .mg-rot__cab .mg-rot__h2 { margin: 0; }
	.mg-roteiro-pg .mg-rot__mapa { order: 1; flex: none; height: clamp(190px, 32vh, 320px); margin: 0 0 14px; }
	.mg-roteiro-pg .mg-rot__dica { order: 2; flex: none; }
	.mg-roteiro-pg .mg-rot__paradas { order: 2; flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 2px; }
	.mg-roteiro-pg .mg-rot__aviso { order: 3; flex: none; }
	.mg-roteiro-pg .mg-rot__total { order: 4; flex: none; }
	.mg-roteiro-pg .mg-rot__acoes { order: 5; flex: none; margin-top: 10px; }
	.mg-roteiro-pg .mg-rot__credito { order: 6; flex: none; margin-top: 10px; }
}

.mg-roteiro-pg .mg-rot__h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 1.3rem; line-height: 1.2; color: var(--mg-marinho, #0d2b5c); }
.mg-roteiro-pg .mg-rot__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mg-azul, #1266d6); color: #fff; font-size: .9rem; font-weight: 700; }

/* filtros */
.mg-roteiro-pg .mg-rot__chips { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 -16px 20px; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mg-roteiro-pg .mg-rot__chips::-webkit-scrollbar { display: none; }
.mg-roteiro-pg .mg-rot__chip { border: 0; background: var(--mg-suave, #f1f5fa); color: var(--mg-marinho, #0d2b5c); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; min-height: 44px; white-space: nowrap; flex: none; }
.mg-roteiro-pg .mg-rot__chip.is-ativo { background: var(--mg-marinho, #0d2b5c); color: #fff; }

/* lista de atrativos */
.mg-roteiro-pg .mg-rot__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mg-roteiro-pg .mg-rot__card { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 1px 2px rgba(13, 43, 92, .06), 0 4px 14px rgba(13, 43, 92, .05); outline: 2px solid transparent; transition: outline-color .15s; }
.mg-roteiro-pg .mg-rot__card.is-dentro { outline-color: var(--mg-verde, #22b573); }
.mg-roteiro-pg .mg-rot__foto { width: 96px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--mg-suave, #f1f5fa); display: block; }
.mg-roteiro-pg .mg-rot__info { display: grid; gap: 2px; min-width: 0; }
.mg-roteiro-pg .mg-rot__info strong { color: var(--mg-marinho, #0d2b5c); font-size: 1.02rem; line-height: 1.25; }
.mg-roteiro-pg .mg-rot__info span { font-size: .85rem; color: #6b7c96; }
.mg-roteiro-pg .mg-rot__info a { font-size: .85rem; color: var(--mg-azul, #1266d6); width: fit-content; }
.mg-roteiro-pg .mg-rot__add { position: relative; display: inline-flex; align-items: center; gap: 4px; border: 1px solid #c9dcf7; border-radius: 999px; background: #fff; color: var(--mg-azul, #1266d6); font: inherit; font-size: .85rem; font-weight: 600; padding: 5px 14px 5px 10px; min-height: 32px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.mg-roteiro-pg .mg-rot__add:hover { background: var(--mg-azul-suave, #e4eefc); border-color: var(--mg-azul, #1266d6); }
.mg-roteiro-pg .mg-rot__add:focus-visible { outline: 2px solid var(--mg-azul, #1266d6); outline-offset: 2px; }
.mg-roteiro-pg .mg-rot__add-ic { display: inline; font-size: 1.1rem; line-height: 1; font-weight: 500; }
.mg-roteiro-pg .mg-rot__add:disabled { background: #e7f7ef; border-color: #e7f7ef; color: #0f7a4b; cursor: default; }

.mg-roteiro-pg .mg-rot__vazio, .mg-roteiro-pg .mg-rot__dica { color: var(--mg-texto, #33496b); margin: 0 0 14px; }

/* painel do roteiro */
.mg-roteiro-pg .mg-rot__roteiro { background: #fff; border-radius: 20px; padding: 26px 28px; box-shadow: 0 2px 4px rgba(13, 43, 92, .06), 0 12px 32px rgba(13, 43, 92, .1); }
.mg-roteiro-pg .mg-rot__paradas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mg-roteiro-pg .mg-rot__parada { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--mg-fundo-azul, #eef5fe); border-radius: 12px; padding: 10px 12px; }
.mg-roteiro-pg .mg-rot__num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mg-verde, #22b573); color: #fff; font-weight: 700; font-size: .92rem; }
.mg-roteiro-pg .mg-rot__pinfo { display: grid; gap: 0; min-width: 0; }
.mg-roteiro-pg .mg-rot__pinfo strong { color: var(--mg-marinho, #0d2b5c); line-height: 1.25; }
.mg-roteiro-pg .mg-rot__pinfo a { font-size: .82rem; color: var(--mg-azul, #1266d6); width: fit-content; }
.mg-roteiro-pg .mg-rot__ordem { display: flex; gap: 4px; }
.mg-roteiro-pg .mg-rot__ordem button { width: 44px; height: 44px; border: 0; background: #fff; border-radius: 10px; font: inherit; font-size: 1.05rem; cursor: pointer; color: var(--mg-marinho, #0d2b5c); }
.mg-roteiro-pg .mg-rot__ordem button:disabled { opacity: .3; cursor: default; }
.mg-roteiro-pg .mg-rot__trecho { list-style: none; margin: 0 0 0 14px; padding: 4px 0 4px 18px; border-left: 3px dotted var(--mg-verde, #22b573); font-size: .9rem; font-weight: 600; color: #0f7a4b; }

.mg-roteiro-pg .mg-rot__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--mg-fundo-azul, #eef5fe); color: var(--mg-marinho, #0d2b5c); font-size: .92rem; }
.mg-roteiro-pg .mg-rot__total strong { font-size: 1rem; }
.mg-roteiro-pg .mg-rot__cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mg-roteiro-pg .mg-rot__cab .mg-rot__h2 { margin: 0; }
.mg-roteiro-pg .mg-rot__limpar { border: 0; background: none; padding: 6px 4px; font: inherit; font-size: .85rem; color: #6b7c96; text-decoration: underline; cursor: pointer; }
.mg-roteiro-pg .mg-rot__aviso { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--mg-erro-fundo, #fef3f2); color: var(--mg-erro, #b42318); font-size: .9rem; }
.mg-roteiro-pg .mg-rot__acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mg-roteiro-pg .mg-rot__btn { flex: 1 1 130px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 8px 10px; min-height: 40px; font: inherit; font-size: .88rem; font-weight: 600; white-space: nowrap; color: var(--mg-azul, #1266d6); background: var(--mg-azul-suave, #e4eefc); text-decoration: none; cursor: pointer; }
.mg-roteiro-pg .mg-rot__btn--cheio { background: var(--mg-azul, #1266d6); color: #fff; }
.mg-roteiro-pg .mg-rot__btn--linha { background: transparent; color: var(--mg-texto, #33496b); text-decoration: underline; }

.mg-roteiro-pg .mg-rot__mapa { border-radius: 14px; overflow: hidden; background: var(--mg-suave, #f1f5fa); }
@media (max-width: 899px) { .mg-roteiro-pg .mg-rot__mapa { height: 340px; margin-top: 18px; } }
.mg-roteiro-pg .mg-rot__pino { background: transparent; }
.mg-roteiro-pg .mg-rot__pino span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mg-verde, #22b573); color: #fff; font-weight: 700; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(13, 43, 92, .35); }
.mg-roteiro-pg .mg-rot__credito { margin: 12px 0 0; font-size: .8rem; color: #6b7c96; }

/* resumo com dicas */
.mg-roteiro-pg .mg-rot__resumo { background: var(--mg-fundo-azul, #eef5fe); border-radius: 20px; padding: 28px 20px 24px; margin-top: 8px; }
.mg-roteiro-pg .mg-rot__dicas { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .mg-roteiro-pg .mg-rot__dicas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mg-roteiro-pg .mg-rot__dica-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; background: #fff; border-radius: 16px; padding: 16px; align-items: start; }
.mg-roteiro-pg .mg-rot__dica-item strong { display: block; color: var(--mg-marinho, #0d2b5c); font-size: 1.05rem; line-height: 1.25; }
.mg-roteiro-pg .mg-rot__dica-item em { display: block; margin-top: 2px; font-style: normal; font-size: .85rem; font-weight: 600; color: #0f7a4b; }
.mg-roteiro-pg .mg-rot__dica-item p { margin: 8px 0 8px; }
.mg-roteiro-pg .mg-rot__dica-item a { font-size: .88rem; color: var(--mg-azul, #1266d6); }

.mg-rot a:focus-visible, .mg-rot button:focus-visible { outline: 3px solid var(--mg-azul, #1266d6); outline-offset: 2px; }

@media (max-width: 520px) {
	.mg-rot { padding: 32px 16px 56px; gap: 36px; }
	.mg-roteiro-pg .mg-rot__h2 { margin-bottom: 18px; }
	.mg-roteiro-pg .mg-rot__card { grid-template-columns: 76px minmax(0, 1fr) 36px; gap: 12px; padding: 10px; }
	.mg-roteiro-pg .mg-rot__foto { width: 76px; height: 76px; }
	.mg-roteiro-pg .mg-rot__info strong { font-size: .98rem; }
	/* botão vira um círculo com + (ou ✓), 44 px, sem texto na tela: o texto fica para o leitor de tela */
	.mg-roteiro-pg .mg-rot__add { width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 50%; justify-content: center; }
	.mg-roteiro-pg .mg-rot__add::after { content: ''; position: absolute; inset: -4px; }
	.mg-roteiro-pg .mg-rot__add-ic { display: block; font-size: 1.4rem; line-height: 1; font-weight: 600; }
	.mg-roteiro-pg .mg-rot__add-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.mg-roteiro-pg .mg-rot__roteiro { padding: 16px; }
	.mg-roteiro-pg .mg-rot__parada { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; padding: 6px 6px 6px 8px; }
	.mg-roteiro-pg .mg-rot__num { width: 28px; height: 28px; }
	.mg-roteiro-pg .mg-rot__ordem { gap: 2px; }
	.mg-roteiro-pg .mg-rot__ordem button { width: 40px; height: 44px; border-radius: 8px; }
	.mg-roteiro-pg .mg-rot__mapa { height: 280px; }
	.mg-roteiro-pg .mg-rot__resumo { padding: 28px 14px 20px; margin-top: 12px; }
	.mg-roteiro-pg .mg-rot__dicas { gap: 14px; }
	.mg-roteiro-pg .mg-rot__dica-item { padding: 16px 14px; }
}
@media (prefers-reduced-motion: no-preference) { .mg-roteiro-pg .mg-rot__add, .mg-roteiro-pg .mg-rot__chip { transition: background .15s, transform .1s; } .mg-roteiro-pg .mg-rot__add:active { transform: scale(var(--mg-ativo-escala, .97)); } }

/* Herói da página (mesmo desenho das outras páginas do hub): a migalha fica dentro da foto. */
body:has(.mg-bai-migalha) .gcep-migalha { display: none; }
.mg-rot-hero .mg-hub-hero__grade { display: flex; flex-direction: column; }
.mg-bai-migalha { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: auto; padding-bottom: 28px; font-size: 13.5px; color: rgba(255, 255, 255, .88); }
.mg-bai-migalha a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.mg-bai-migalha a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mg-bai-migalha [aria-current] { color: #fff; font-weight: 700; }
.mg-rot-vermais { max-width: 1120px; margin: 0 auto; padding: 0 16px 64px; font-size: .95rem; color: #6b7c96; }
.mg-rot-vermais a { color: var(--mg-azul, #1266d6); }

/* Meus roteiros (logado) */
.mg-roteiro-pg .mg-rot__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mg-roteiro-pg .mg-rot__conta { display: grid; gap: 8px; margin: 0 0 14px; }
.mg-roteiro-pg .mg-rot__sel, .mg-roteiro-pg .mg-rot__nome { width: 100%; min-height: 38px; padding: 6px 12px; border: 1px solid #d5e0f0; border-radius: 10px; background: #fff; font: inherit; font-size: .9rem; color: var(--mg-marinho, #0d2b5c); box-sizing: border-box; }
.mg-roteiro-pg .mg-rot__conta-linha { display: flex; gap: 8px; align-items: center; }
.mg-roteiro-pg .mg-rot__nome { flex: 1 1 auto; min-width: 0; }
.mg-roteiro-pg .mg-rot__mini { flex: none; border: 0; border-radius: 10px; min-height: 38px; padding: 6px 16px; font: inherit; font-size: .88rem; font-weight: 600; color: #fff; background: var(--mg-azul, #1266d6); cursor: pointer; }
.mg-roteiro-pg .mg-rot__mini--sutil { background: none; color: #6b7c96; text-decoration: underline; padding: 6px 4px; font-weight: 500; }
.mg-roteiro-pg .mg-rot__sel:focus-visible, .mg-roteiro-pg .mg-rot__nome:focus-visible, .mg-roteiro-pg .mg-rot__mini:focus-visible { outline: 2px solid var(--mg-azul, #1266d6); outline-offset: 2px; }
.mg-roteiro-pg .mg-rot__estado { margin: 0; min-height: 1.1em; font-size: .8rem; color: #0f7a4b; }
.mg-roteiro-pg .mg-rot__estado:empty { display: none; }
.mg-roteiro-pg .mg-rot__entre { margin: 0 0 12px; font-size: .85rem; color: #6b7c96; }
.mg-roteiro-pg .mg-rot__entre a { color: var(--mg-azul, #1266d6); }
@media (max-width: 899px) { .mg-roteiro-pg .mg-rot__roteiro { padding: 18px; } }

/* 25/10/2026: roteiros prontos, "Sair de", melhor ordem, tempo de visita e "No caminho". Mesmo desenho discreto do resto. */
.mg-roteiro-pg .mg-rot__prontos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.mg-roteiro-pg .mg-rot__prontos-t { font-size: .85rem; font-weight: 600; color: #5b6b86; margin-right: 4px; }
.mg-roteiro-pg .mg-rot__pronto { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 14px; border: 1px solid #c9dcf7; border-radius: 999px; background: #fff; color: var(--mg-azul, #1266d6); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s; }
.mg-roteiro-pg .mg-rot__pronto:hover { background: var(--mg-azul-suave, #e4eefc); border-color: var(--mg-azul, #1266d6); }
.mg-roteiro-pg .mg-rot__pronto:focus-visible { outline: 2px solid var(--mg-azul, #1266d6); outline-offset: 2px; }
.mg-roteiro-pg .mg-rot__cab-acoes { display: inline-flex; align-items: center; gap: 10px; }
.mg-roteiro-pg .mg-rot__saida-campo { display: grid; gap: 4px; margin: 0 0 12px; font-size: .85rem; color: #5b6b86; font-weight: 600; }
.mg-roteiro-pg .mg-rot__saida-campo[hidden], .mg-roteiro-pg .mg-rot__apoio[hidden], .mg-roteiro-pg .mg-rot__prontos[hidden] { display: none; }
.mg-roteiro-pg .mg-rot__parada--saida .mg-rot__pinfo strong { font-weight: 600; color: #5b6b86; }
.mg-roteiro-pg .mg-rot__num--saida { background: var(--mg-marinho, #0d2b5c); }
.mg-roteiro-pg .mg-rot__pino--saida span { background: var(--mg-marinho, #0d2b5c); }
.mg-roteiro-pg .mg-rot__visita { display: block; font-style: normal; font-size: .8rem; color: #5b6b86; }
.mg-roteiro-pg .mg-rot__total { flex-wrap: wrap; justify-content: flex-start; gap: 2px 18px; }
.mg-roteiro-pg .mg-rot__total > span { color: #5b6b86; font-size: .85rem; }
.mg-roteiro-pg .mg-rot__total > strong { margin-right: 4px; }
.mg-roteiro-pg .mg-rot__apoio { margin-top: 28px; }
.mg-roteiro-pg .mg-rot__apoio-lista { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mg-roteiro-pg .mg-rot__apoio-item { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 1px solid #e3ebf7; border-radius: 12px; background: #fff; }
.mg-roteiro-pg .mg-rot__apoio-tipo { font-size: .8rem; font-weight: 600; color: #0f7a4b; }
.mg-roteiro-pg .mg-rot__apoio-item strong { color: var(--mg-marinho, #0d2b5c); }
.mg-roteiro-pg .mg-rot__apoio-item em { font-style: normal; font-size: .85rem; color: #5b6b86; }
.mg-roteiro-pg .mg-rot__apoio-links { display: flex; gap: 14px; margin-top: 4px; }
.mg-roteiro-pg .mg-rot__apoio-links a { font-size: .85rem; font-weight: 600; color: var(--mg-azul, #1266d6); text-decoration: none; }
.mg-roteiro-pg .mg-rot__apoio-links a:hover { text-decoration: underline; }

/* 25/10/2026: aviso da parada, alerta de dia longo e barra fixa do celular. */
.mg-roteiro-pg .mg-rot__aviso-p { display: block; font-style: normal; font-size: .8rem; font-weight: 600; color: #9a5b00; }
.mg-roteiro-pg .mg-rot__alerta { flex-basis: 100%; font-size: .85rem; font-weight: 600; color: #9a5b00; }
.mg-roteiro-pg .mg-rot__barra[hidden] { display: none; }
.mg-roteiro-pg .mg-rot__barra { display: none; }
@media (max-width: 899px) {
	.mg-roteiro-pg .mg-rot__barra:not([hidden]) { display: block; position: fixed; left: 12px; right: 12px; bottom: calc( var(--x-bar, 64px) + env(safe-area-inset-bottom, 0px) + 10px ); z-index: 1250; }
	.mg-roteiro-pg .mg-rot__barra-btn { width: 100%; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--mg-marinho, #0d2b5c); color: #fff; font: inherit; font-size: .9rem; font-weight: 600; box-shadow: 0 6px 18px rgba(13, 43, 92, .28); cursor: pointer; }
	.mg-roteiro-pg .mg-rot__barra-btn:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
}


/* 26/10/2026: celular igual ao app. Herói compacto, atalhos em rolagem lateral e duas abas (Lugares / Meu roteiro). */
.mg-roteiro-pg .mg-rot__abas { display: none; }
@media (max-width: 899px) {
	.mg-roteiro-pg .mg-rot-hero.mg-hub-hero { min-height: 0; }
	.mg-roteiro-pg .mg-rot-hero .mg-hub-hero__grade { padding-top: 18px; padding-bottom: 22px; }
	.mg-roteiro-pg .mg-rot-hero .mg-hub-hero__h1 { font-size: 1.7rem; line-height: 1.15; margin-top: 6px; }
	.mg-roteiro-pg .mg-rot-hero .mg-hub-hero__sub { font-size: .95rem; margin-top: 8px; }
	.mg-roteiro-pg .mg-rot-hero .mg-bai-migalha { padding-bottom: 12px; }
	.mg-roteiro-pg .mg-rot { padding-top: 14px; gap: 14px; }

	.mg-roteiro-pg .mg-rot__prontos { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.mg-roteiro-pg .mg-rot__prontos::-webkit-scrollbar { display: none; }
	.mg-roteiro-pg .mg-rot__prontos-t { display: none; }
	.mg-roteiro-pg .mg-rot__pronto { flex: none; white-space: nowrap; min-height: 40px; padding: 8px 16px; }

	.mg-roteiro-pg .mg-rot__abas { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--mg-suave, #f1f5fa); position: sticky; top: calc( var(--rot-topo, 98px) + 8px ); z-index: 20; box-shadow: 0 4px 14px rgba(13, 43, 92, .08); }
	.mg-roteiro-pg .mg-rot__aba { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: #5b6b86; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
	.mg-roteiro-pg .mg-rot__aba .mg-rot__n { width: 24px; height: 24px; font-size: .8rem; background: #9db3d3; }
	.mg-roteiro-pg .mg-rot__aba.is-ativa { background: #fff; color: var(--mg-marinho, #0d2b5c); box-shadow: 0 1px 3px rgba(13, 43, 92, .15); }
	.mg-roteiro-pg .mg-rot__aba.is-ativa .mg-rot__n { background: var(--mg-azul, #1266d6); }
	.mg-roteiro-pg .mg-rot__aba-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--mg-verde, #22b573); color: #fff; font-size: .78rem; line-height: 1.5; text-align: center; }
	.mg-roteiro-pg .mg-rot__aba-n[hidden] { display: none; }
	.mg-roteiro-pg .mg-rot__abas:focus-within { outline: none; }

	/* uma etapa por vez; o título numerado some porque a aba já diz onde está */
	.mg-roteiro-pg .mg-rot[data-aba="lugares"] .mg-rot__roteiro,
	.mg-roteiro-pg .mg-rot[data-aba="roteiro"] .mg-rot__escolha { display: none; }
	.mg-roteiro-pg .mg-rot__escolha > .mg-rot__h2 { display: none; }
	.mg-roteiro-pg .mg-rot__cab .mg-rot__h2 .mg-rot__n { display: none; }
	.mg-roteiro-pg .mg-rot__grade { gap: 0; }
	.mg-roteiro-pg .mg-rot__roteiro { padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
	.mg-roteiro-pg .mg-rot__mapa { order: -1; margin-top: 0; height: 240px; border-radius: 16px; }
	.mg-roteiro-pg .mg-rot__roteiro { display: flex; flex-direction: column; }
	.mg-roteiro-pg .mg-rot__cab { order: -2; }
	.mg-roteiro-pg .mg-rot__conta, .mg-roteiro-pg .mg-rot__entre, .mg-roteiro-pg .mg-rot__saida-campo, .mg-roteiro-pg .mg-rot__dica { order: 0; }
	.mg-roteiro-pg .mg-rot__paradas, .mg-roteiro-pg .mg-rot__total, .mg-roteiro-pg .mg-rot__aviso, .mg-roteiro-pg .mg-rot__acoes, .mg-roteiro-pg .mg-rot__credito { order: 1; }
	.mg-roteiro-pg .mg-rot__parada { background: #fff; box-shadow: 0 1px 2px rgba(13, 43, 92, .06), 0 4px 14px rgba(13, 43, 92, .05); border-radius: 14px; }
	.mg-roteiro-pg .mg-rot__acoes { position: sticky; bottom: calc( var(--x-bar, 64px) + env(safe-area-inset-bottom, 0px) + 8px ); flex-wrap: wrap; padding: 8px; margin: 12px -4px 0; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 6px 20px rgba(13, 43, 92, .16); z-index: 15; }
	.mg-roteiro-pg .mg-rot__acoes .mg-rot__btn { min-height: 46px; border-radius: 12px; }
	.mg-roteiro-pg .mg-rot__chips { position: sticky; top: calc( var(--rot-topo, 98px) + 58px ); z-index: 10; background: var(--mg-fundo, #f5f8fd); padding-top: 8px; padding-bottom: 8px; margin-bottom: 8px; }
	.mg-roteiro-pg .mg-rot__resumo, .mg-roteiro-pg .mg-rot__apoio { margin-top: 20px; }
	.mg-roteiro-pg .mg-rot[data-aba="lugares"] .mg-rot__resumo, .mg-roteiro-pg .mg-rot[data-aba="lugares"] .mg-rot__apoio { display: none; }
}

/* 26/10/2026: onde comer e onde ficar usam o logo do anúncio: inteiro, sem corte, sobre fundo suave. */
.mg-roteiro-pg .mg-rot__foto--logo { object-fit: contain; padding: 6px; box-sizing: border-box; background: var(--mg-fundo-azul, #eef5fe); }

/* 27/10/2026: aviso de segurança discreto (uma linha; as dicas abrem ao toque; completo na impressão). */
.mg-roteiro-pg .mg-rot__seguro { margin: 0; border: 0; border-bottom: 1px solid var(--mg-linha, #e1e7f0); border-radius: 0; background: transparent; color: var(--mg-texto, #5b6b85); font-size: .85rem; line-height: 1.5; padding: 0 0 8px; display: block; }
.mg-roteiro-pg .mg-rot__seguro-r { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; min-height: 32px; }
.mg-roteiro-pg .mg-rot__seguro-r::-webkit-details-marker { display: none; }
.mg-roteiro-pg .mg-rot__seguro-r .mg-rot__seguro-ic { flex: none; color: #9a5b00; }
.mg-roteiro-pg .mg-rot__seguro-r strong { font-weight: 600; color: var(--mg-marinho, #0d2b5c); }
.mg-roteiro-pg .mg-rot__seguro-r em { font-style: normal; color: #0e55b3; text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }
.mg-roteiro-pg .mg-rot__seguro[open] .mg-rot__seguro-r em { display: none; }
.mg-roteiro-pg .mg-rot__seguro-corpo { padding: 4px 0 2px 24px; max-width: 70ch; }
.mg-roteiro-pg .mg-rot__seguro-corpo p { margin: 0 0 6px; }
.mg-roteiro-pg .mg-rot__seguro-mini { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: .8rem; color: var(--mg-texto, #5b6b85); }
.mg-roteiro-pg .mg-rot__seguro-mini .mg-rot__seguro-ic { flex: none; margin-top: 2px; color: #9a5b00; }
@media (min-width: 900px) { .mg-roteiro-pg .mg-rot__seguro-mini { order: 7; flex: none; } }

/* Desktop: os filtros quebram em linhas, sem rolagem escondida (no celular seguem rolando de lado). */
@media (min-width: 900px) {
	.mg-roteiro-pg .mg-rot__chips { flex-wrap: wrap; overflow: visible; margin: 0 0 20px; padding: 2px 0; }
}

/* Impressão: só o roteiro, o mapa, o aviso completo e o crédito. */
@media print {
	.mg-roteiro-pg .mg-rot__prontos, .mg-roteiro-pg .mg-rot__abas, .mg-roteiro-pg .mg-rot__escolha, .mg-roteiro-pg .mg-rot__acoes,
	.mg-roteiro-pg .mg-rot__conta, .mg-roteiro-pg .mg-rot__entre, .mg-roteiro-pg .mg-rot__cab-acoes, .mg-roteiro-pg .mg-rot__seguro-mini { display: none !important; }
	.mg-roteiro-pg .mg-rot .mg-rot__roteiro, .mg-roteiro-pg .mg-rot[data-aba] .mg-rot__roteiro { display: block !important; position: static; max-height: none; overflow: visible; box-shadow: none; }
	.mg-roteiro-pg .mg-rot__resumo, .mg-roteiro-pg .mg-rot__apoio { display: block !important; }
	.mg-roteiro-pg .mg-rot__resumo[hidden], .mg-roteiro-pg .mg-rot__apoio[hidden] { display: none !important; }
	.mg-roteiro-pg .mg-rot__seguro { order: 99; break-inside: avoid; color: #000; }
	.mg-roteiro-pg .mg-rot__seguro::details-content { content-visibility: visible; display: block; }
	.mg-roteiro-pg .mg-rot__seguro-r em { display: none; }
	.mg-roteiro-pg .mg-rot { display: flex; flex-direction: column; }
}

/* Busca de lugares (Chapada, 01/11/2026) */
.mg-roteiro-pg .mg-rot__busca { margin: 0 0 14px; }
.mg-roteiro-pg .mg-rot__busca-in { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 16px 12px 44px; border: 1.5px solid var(--mg-borda-campo, #e5e0d6); border-radius: 999px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230f5132' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>") no-repeat 16px center; font: inherit; font-size: 1rem; color: var(--mg-marinho, #0b3a25); }
.mg-roteiro-pg .mg-rot__busca-in:focus { outline: 2px solid var(--mg-azul, #0f5132); outline-offset: 1px; border-color: var(--mg-azul, #0f5132); }
.mg-roteiro-pg .mg-rot__vazio { list-style: none; padding: 16px; color: var(--mg-texto-2, #5a6660); }
