/* No Alecrim Tem - estilos (mobile first)
   Paleta: branco como base, verde organiza a navegação, laranja destaca ações. */
:root {
  --green: #1f7a45;        /* navegação, títulos, ícones */
  --green-dark: #155c33;
  --green-soft: #eaf5ee;
  --green-line: #cfe6d7;
  --orange: #c2540a;       /* ações (botões, WhatsApp, buscar); contraste AA com branco */
  --orange-dark: #9e4407;
  --orange-soft: #fff1e6;
  --ink: #1b2420;
  --muted: #5b6862;
  --line: #e3e8e5;
  --bg: #ffffff;
  --surface: #f7f9f8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16,40,26,.06), 0 3px 10px rgba(16,40,26,.05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.55rem, 4vw, 2.2rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.02rem; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
.muted { color: var(--muted); font-weight: normal; }
.small { font-size: .875rem; }
.lead { font-size: 1.08rem; color: var(--muted); margin: 0 0 1rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.ico-sm { width: 1em; height: 1em; vertical-align: -.12em; }

/* Cabeçalho */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.2rem; color: var(--ink); text-decoration: none; margin: 0; }
.brand strong { color: var(--green); }
.brand-mark { color: var(--green); font-size: 1.4rem; }
.nav-toggle { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; cursor: pointer; }
.nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
.nav.open { display: flex; }
.nav a { padding: 10px 4px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.nav a.nav-cta { color: var(--orange); font-weight: 600; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: flex; flex-direction: row; width: auto; padding: 0; gap: 2px; }
  .nav a { border: 0; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
  .nav a:hover { background: var(--green-soft); color: var(--green-dark); }
  .nav a.nav-cta { background: var(--orange); color: #fff; margin-left: 6px; }
  .nav a.nav-cta:hover { background: var(--orange-dark); color: #fff; }
}
.breadcrumbs { font-size: .875rem; color: var(--muted); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }

/* Hero (pronto para uso futuro; desligado por padrão) */
.hero { background: var(--green) center/cover no-repeat; color: #fff; }
.hero-inner { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 32px; padding-bottom: 32px; }
.hero-title { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-sub { margin: 4px 0 0; font-size: 1.1rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* Busca */
.home-search { background: var(--green-soft); padding: 28px 0 24px; border-bottom: 1px solid var(--green-line); }
.home-search h1 { color: var(--green-dark); }
.search { position: relative; max-width: 760px; margin: 0 0 8px; }
.search-row { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
.search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.search button, .button { font: inherit; font-weight: 600; border: 0; border-radius: var(--radius); background: var(--orange); color: #fff; padding: 12px 18px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.search button:hover, .button:hover { background: var(--orange-dark); color: #fff; }
.search button .ico { width: 1.15em; height: 1.15em; }
.search-big input { font-size: 1.12rem; padding: 16px; border-color: var(--green-line); }
.search-big button { padding: 0 22px; font-size: 1.05rem; }
@media (max-width: 480px) { .search button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.button-alt { background: #fff; color: var(--orange); border: 2px solid var(--orange); }
.button-alt:hover { background: var(--orange-soft); color: var(--orange-dark); }
.suggest { position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 4; }
.suggest a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest a.active { background: var(--green-soft); }
.suggest small { color: var(--muted); white-space: nowrap; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* Chips (subcategorias e tags) */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--green-line); text-decoration: none; color: var(--green-dark); font-size: .92rem; }
.chip:hover { border-color: var(--green); background: var(--green-soft); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.chip small { color: inherit; opacity: .7; }
.refine { padding-top: 4px; }
.refine .chips + .chips { margin-top: 8px; }
.refine-title { margin: 8px 0 6px; font-size: .85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* Blocos */
.block { padding-top: 28px; padding-bottom: 4px; }
.page-head { padding-top: 14px; }
.page-head h1, .block-head h2 { display: flex; align-items: center; gap: 10px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.block-head h2 { margin: 0; color: var(--green-dark); }
.see-all { font-weight: 600; text-decoration: none; white-space: nowrap; }
.area-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--green); color: #fff; flex: none; }
.area-icon .ico { width: 22px; height: 22px; }

/* Grade de categorias com ícones */
.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.cat-head { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; }
.cat-head:hover .cat-name { color: var(--green); }
.cat-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--green-soft); color: var(--green); flex: none; }
.cat-icon .ico { width: 22px; height: 22px; }
.cat-name { flex: 1; line-height: 1.25; }
.count { font-size: .78rem; font-weight: 600; color: var(--green-dark); background: var(--green-soft); border-radius: 999px; padding: 2px 8px; }
.cat-subs { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; }
.cat-subs a { text-decoration: none; color: var(--muted); }
.cat-subs a:hover { color: var(--green); text-decoration: underline; }
.cat-subs a.more { color: var(--green); font-weight: 600; }
/* Celular: grade compacta de 2 colunas (ícone + nome); subcategorias aparecem dentro da categoria */
@media (max-width: 599px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { padding: 12px 8px; }
  .cat-head { flex-direction: column; text-align: center; gap: 6px; font-size: .92rem; }
  .cat-head .count { position: absolute; top: 6px; right: 6px; }
  .cat-tile { position: relative; }
  .cat-subs { display: none; }
}

.feature { display: grid; gap: 14px; grid-template-columns: 1fr; padding-bottom: 32px; }
@media (min-width: 860px) { .feature { grid-template-columns: repeat(3, 1fr); } }
.feature > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature h2 { display: flex; align-items: center; gap: 8px; color: var(--green-dark); }

/* Cards de negócio */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-link { text-decoration: none; color: var(--ink); flex: 1; }
.card-link:hover h3 { color: var(--green); }
.card-img { aspect-ratio: 16/10; background: var(--green-soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-empty { display: grid; place-items: center; color: var(--green); }
.card-img-empty .ico { width: 48px; height: 48px; opacity: .5; }
.card-body { padding: 12px 14px; }
.card-body h3 { margin: 0 0 4px; }
.card-cat { margin: 0 0 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--green); font-weight: 600; }
.card-cat a { color: inherit; text-decoration: none; }
.card-ref { margin: 0; font-size: .88rem; color: var(--muted); }
.card-wa { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--orange); }
.card-wa:hover { background: var(--orange-soft); color: var(--orange-dark); }
.badge { color: var(--green); }

.empty, .notice { background: var(--surface); border: 1px dashed var(--green-line); border-radius: var(--radius); padding: 18px; }
.notice.ok { border: 1px solid var(--green); background: var(--green-soft); }
.notice.error { border: 1px solid #b3261e; background: #fdf0ee; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; }
.pagination a, .pagination span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: #fff; }
.pagination span { background: var(--green); color: #fff; border-color: var(--green); }

/* Página do negócio */
.place-head { padding: 16px 0; }
.place-head .ref { display: flex; gap: 6px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); margin-bottom: 20px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 8px; }
.place-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .place-grid { grid-template-columns: 2fr 1fr; } }
.place-grid .chips { margin-bottom: 16px; }
.info-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; align-self: start; }
.info { list-style: none; padding: 0; margin: 0 0 16px; }
.info li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.info span { color: var(--muted); }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); }
.map-facade { width: 100%; height: 140px; border: 1px solid var(--green-line); border-radius: var(--radius); background: var(--green-soft); color: var(--green-dark); font: inherit; font-weight: 600; cursor: pointer; }
.map-facade:hover { border-color: var(--green); }
address { font-style: normal; margin-bottom: 12px; }
.rating { margin: 0 0 12px; font-weight: 600; color: #8a5a00; }
.prose { padding-bottom: 24px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 8px; padding: 8px 12px; }

/* Formulário */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 600; }
.form input, .form textarea, .form select { font: inherit; font-weight: normal; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--green); }
.form .button { justify-self: start; }

/* Rodapé */
.site-footer { margin-top: 40px; background: var(--green-dark); color: #dcefe3; padding: 32px 0 16px; }
.site-footer a { color: #dcefe3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .brand, .site-footer .brand strong, .site-footer .brand-mark { color: #fff; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: 1fr; font-size: .9rem; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.3fr repeat(5, 1fr); } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-title { font-weight: 700; margin: 0 0 6px; }
.footer-grid li { padding: 2px 0; }
.footer-note { font-size: .82rem; opacity: .8; margin-top: 20px; }

/* Selo Aberto agora / Fechado */
.open-badge { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: .86rem; color: var(--muted); }
.open-badge .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.open-badge.is-open strong { color: #17803d; }
.open-badge.is-open .dot { background: #1f9d4d; box-shadow: 0 0 0 3px #dcf3e3; }
.open-badge.is-closed strong { color: #b3261e; }
.open-badge.is-closed .dot { background: #c9372c; }
.place-head .open-badge { font-size: 1rem; margin: 0 0 10px; }

/* Separação clara antes de "Outras categorias" */
.block-sep { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

/* Ações da página do negócio: compactas, com ícone */
.act { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600;
  text-decoration: none; color: var(--green-dark); background: #fff; border: 1px solid var(--green-line); }
.act .ico { width: 18px; height: 18px; color: var(--green); }
.act:hover { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }
.act-main { background: var(--orange); border-color: var(--orange); color: #fff; }
.act-main .ico { color: #fff; }
.act-main:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
/* v8: botões cheios com ícone branco; WhatsApp na cor da marca (tom escuro para contraste do texto) */
.act { background: var(--orange); border-color: var(--orange); color: #fff; }
.act .ico { color: #fff; }
.act:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.act-wa { background: #1a8f4c; border-color: #1a8f4c; }
.act-wa:hover { background: #137a3f; border-color: #137a3f; }
/* Botões desativados (Instagram/Site): mostram que a opção existe */
.act-off, .act-off:hover { background: #b9c2bd; border-color: #b9c2bd; color: #fff; cursor: not-allowed; }
/* v10: botões de ação menores e menos arredondados */
.act { padding: 6px 11px; border-radius: 6px; font-size: .82rem; gap: 5px; }
.act .ico { width: 15px; height: 15px; }

/* Meu roteiro */
.add-route { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; padding: 8px; border: 0; border-top: 1px solid var(--line);
  background: #fff; color: var(--green-dark); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.add-route:hover { background: var(--green-soft); }
[data-roteiro-id] .when-on, [data-roteiro-id].on .when-off { display: none; }
[data-roteiro-id].on .when-on { display: inline-flex; align-items: center; gap: 5px; }
[data-roteiro-id] .when-off { display: inline-flex; align-items: center; gap: 5px; }
.add-route.on { background: var(--green-soft); color: var(--green); }
.act-route { background: var(--green); border-color: var(--green); cursor: pointer; font-family: inherit; }
.act-route:hover { background: var(--green-dark); border-color: var(--green-dark); }
.act-route.on { background: #fff; color: var(--green); }
.act-route.on .ico { color: var(--green); }
.act-off-btn { background: #fff; color: var(--muted); border-color: var(--line); cursor: pointer; font-family: inherit; }
.act-off-btn .ico { color: var(--muted); }
.act-off-btn:hover { background: var(--surface); color: var(--ink); border-color: var(--line); }
.roteiro-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 8; display: flex; align-items: center; gap: 10px;
  background: var(--green-dark); color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-size: .95rem; white-space: nowrap; }
.roteiro-bar:hover { color: #fff; background: var(--green); }
.roteiro-bar strong { background: var(--orange); padding: 4px 10px; border-radius: 6px; font-size: .85rem; }
.roteiro-bar[hidden] { display: none; }
.stops { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.stop { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.stop-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; }
.stop-body { flex: 1; min-width: 0; }
.stop-name { font-weight: 700; text-decoration: none; color: var(--ink); }
.stop-name:hover { color: var(--green); }
.stop-del { flex: none; border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; }
.stop-del:hover { color: #b3261e; }
.map-route { height: 420px; margin-top: 16px; }
.roteiro .actions { margin-bottom: 8px; }

/* Como funciona o roteiro */
.how { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.how li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.how-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; }
.how h2 { font-size: 1.1rem; margin: 4px 0 6px; color: var(--green-dark); }
.how p { margin: 0; }
.pill-demo { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid var(--green-line); border-radius: 6px; font-size: .85rem; font-weight: 600; color: var(--green-dark); white-space: nowrap; }
.pill-demo.on { background: var(--green-soft); }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--muted); }

/* Dica do roteiro abaixo da busca (home) */
.roteiro-tip { display: flex; align-items: center; gap: 12px; max-width: 760px; margin-top: 16px; padding: 12px 14px; background: #fff;
  border: 1px solid var(--green-line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: .93rem; }
.roteiro-tip:hover { border-color: var(--green); color: var(--ink); }
.roteiro-tip-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--orange); color: #fff; }
.roteiro-tip-more { flex: none; display: inline-flex; align-items: center; gap: 2px; font-weight: 600; color: var(--green); white-space: nowrap; }
@media (max-width: 599px) { .roteiro-tip { flex-wrap: wrap; } .roteiro-tip-more { margin-left: 48px; } }
/* Menu com mais itens: compacta no desktop */
@media (min-width: 980px) { .nav a { padding: 8px 8px; font-size: .9rem; } }
@media (max-width: 599px) {
  .roteiro-tip { display: grid; grid-template-columns: 36px 1fr; flex-wrap: nowrap; }
  .roteiro-tip-more { grid-column: 2; margin-left: 0; }
}

/* v15: chips menores e menos arredondados; dica do roteiro ocupando a largura, com botão */
.chip { padding: 5px 10px; border-radius: 6px; font-size: .84rem; }
.quick { gap: 6px; }
.roteiro-tip { max-width: none; }
.roteiro-tip-text { flex: 1; }
.roteiro-tip-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 6px;
  background: var(--orange); color: #fff; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.roteiro-tip:hover .roteiro-tip-btn { background: var(--orange-dark); }
@media (max-width: 599px) { .roteiro-tip-btn { grid-column: 2; justify-self: start; } }

/* Página "Como funciona o roteiro": largura total, respiro abaixo do breadcrumb */
.page-roteiro { padding-top: 24px; }
.page-roteiro h1 { display: flex; align-items: center; gap: 12px; }
.page-roteiro .lead { max-width: 820px; }
.area-icon-orange { background: var(--orange); }
@media (min-width: 860px) { .how { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .how { grid-template-columns: repeat(4, 1fr); } .how li { flex-direction: column; } }
.page-roteiro .faq { display: grid; gap: 0 32px; }
@media (min-width: 860px) { .page-roteiro .faq { grid-template-columns: repeat(2, 1fr); } }
.page-roteiro h2.faq-title { margin-top: 32px; }

/* ===== Cores por área (tom suave no fundo, tom escuro no ícone/título). Laranja fica só para ações. ===== */
:root, .tone-comprar { --tone: #1f7a45; --tone-soft: #eaf5ee; --tone-line: #cfe6d7; }
.tone-servicos { --tone: #1f5fa8; --tone-soft: #e8f0fa; --tone-line: #c9daf0; }
.tone-comer    { --tone: #b3392f; --tone-soft: #fbeceA; --tone-line: #f1cdc9; }
.tone-feira    { --tone: #866700; --tone-soft: #fbf3d9; --tone-line: #eedfa6; }
.area-icon { background: var(--tone); }
.area-icon.area-icon-orange { background: var(--orange); }
.block-head h2 { color: var(--tone); }
.cat-icon { background: var(--tone-soft); color: var(--tone); }
.cat-head:hover .cat-name { color: var(--tone); }
.count { color: var(--tone); background: var(--tone-soft); }
.cat-tile { border-top: 3px solid var(--tone); }
.card-cat { color: var(--tone); }
.card-img-empty { background: var(--tone-soft); color: var(--tone); }
[class*="tone-"] .chip { border-color: var(--tone-line); color: var(--tone); }
[class*="tone-"] .chip:hover { background: var(--tone-soft); border-color: var(--tone); }
[class*="tone-"] .chip.active { background: var(--tone); border-color: var(--tone); color: #fff; }
.see-all { color: var(--tone); }

/* Roteiro com a cor da área de cada loja */
.stop { border-left: 4px solid var(--tone); }
.stop .stop-n { background: var(--tone); }
.stop .card-cat { margin: 0 0 2px; }
.stop-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 4px 10px; border: 1px solid var(--tone-line);
  border-radius: 6px; font-size: .82rem; font-weight: 600; color: var(--tone); text-decoration: none; background: var(--tone-soft); }
.stop-more:hover { border-color: var(--tone); color: var(--tone); }

/* Home: mais respiro entre as áreas */
.area-block + .area-block { margin-top: 28px; padding-top: 32px; border-top: 1px solid var(--line); }
.page-feira h1 { display: flex; align-items: center; gap: 12px; }
.page-feira .facts { margin: 12px 0 14px; }
.page-feira .facts li { display: inline-flex; align-items: center; gap: 6px; }
.gallery-feira { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery-feira { grid-template-columns: repeat(4, 1fr); } }
.gallery-feira a { display: block; border-radius: 8px; overflow: hidden; }
.gallery-feira img { transition: transform .2s; }
.gallery-feira a:hover img { transform: scale(1.03); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(10,15,12,.92); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-size: 2rem; line-height: 1;
  width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: #dfe; font-size: .9rem; margin: 0; }
@media (max-width: 599px) { .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } .lb-count { bottom: 22px; } }

/* Barra do roteiro: ir para o percurso (laranja) + limpar (contorno, cor neutra) */
.roteiro-bar { padding: 8px; gap: 8px; }
.roteiro-bar:hover { background: var(--green-dark); }
.roteiro-bar-go { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 2px 4px 2px 8px; }
.roteiro-bar-go:hover { color: #fff; }
.roteiro-bar-go:hover strong { background: var(--orange-dark); }
.roteiro-bar-clear { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 6px; cursor: pointer;
  background: transparent; color: #e6f1ea; border: 1px solid rgba(255,255,255,.45); font: inherit; font-size: .82rem; white-space: nowrap; }
.roteiro-bar-clear:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 480px) { .roteiro-bar { left: 8px; right: 8px; transform: none; justify-content: space-between; } .roteiro-bar-go em { display: none; } }
.roteiro-bar-go em { font-style: normal; }

/* Logo */
.brand .logo { display: block; height: 30px; width: auto; }
@media (max-width: 380px) { .brand .logo { height: 26px; } }
.site-footer .brand .logo { height: 28px; }
/* Logo +20% */
.brand .logo { height: 36px; }
@media (max-width: 380px) { .brand .logo { height: 31px; } }
.site-footer .brand .logo { height: 34px; }
/* Header mais alto no desktop */
@media (min-width: 980px) { .header-row { min-height: 80px; } }
/* Logo +20% (2) */
.brand .logo { height: 43px; }
@media (max-width: 380px) { .brand .logo { height: 34px; } }
.site-footer .brand .logo { height: 41px; }

/* ===== Menu móvel em destaque ===== */
.nav-toggle .when-open, .nav-toggle[aria-expanded="true"] .when-closed { display: none; }
.nav-toggle[aria-expanded="true"] .when-open, .nav-toggle .when-closed { display: inline-flex; align-items: center; gap: 6px; }
.nav-ico { display: none; }
@media (max-width: 979px) {
  .nav-toggle { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; padding: 9px 14px; border-radius: 8px; }
  .nav-toggle[aria-expanded="true"] { background: var(--green-dark); border-color: var(--green-dark); }
  .nav-toggle .ico { width: 20px; height: 20px; }
  .nav.open { padding: 6px 0 16px; border-top: 1px solid var(--line); margin-top: 4px; }
  .nav a { display: flex; align-items: center; gap: 12px; padding: 10px 2px; font-size: 1.05rem; font-weight: 600; border-top: 0; border-bottom: 1px solid var(--line); }
  .nav-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--tone-soft); color: var(--tone); flex: none; }
  .nav-ico .ico { width: 20px; height: 20px; }
  .nav a.nav-walk .nav-ico { background: var(--orange-soft); color: var(--orange); }
  .nav a.nav-cta { margin-top: 12px; border: 0; border-radius: 10px; background: var(--orange); color: #fff; justify-content: center; padding: 12px; }
  .nav a.nav-cta .nav-ico { background: rgba(255,255,255,.2); color: #fff; width: 30px; height: 30px; }
}
/* Celular: nome das categorias menor e sem negrito */
@media (max-width: 599px) { .cat-head { font-size: .84rem; font-weight: 400; } }

/* Rodapé enxuto */
.site-footer { margin-top: 40px; padding: 24px 0 14px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; }
.footer-brand p { margin: 0; font-size: .88rem; }
.footer-brand .brand { margin-bottom: 4px; }
.site-footer .footer-brand .logo { height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; opacity: .85; }
.footer-bottom span:last-child { margin-left: auto; }
@media (max-width: 599px) { .footer-bottom span:last-child { margin-left: 0; } }
/* Página legal */
.page-legal { padding-top: 16px; max-width: 860px; }
.page-legal h2 { margin-top: 24px; font-size: 1.1rem; color: var(--green-dark); }
.page-sobre .slogan { font-size: 1.4rem; font-weight: 700; color: var(--orange); margin: 24px 0; }

/* Player da música */
.music { display: flex; align-items: stretch; gap: 14px; margin-top: 10px; padding: 12px; background: #fff; border: 1px solid var(--green-line); border-radius: var(--radius); }
.music-cover { flex: none; width: 72px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), #e0832f); color: #fff; display: grid; place-items: center; }
.music-cover .ico { width: 30px; height: 30px; }
.music-main { flex: 1; min-width: 0; display: grid; gap: 8px; align-content: center; }
.music-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.music-title { margin: 0; font-weight: 700; color: var(--green-dark); line-height: 1.2; }
.music-sub { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.music-tools { display: flex; gap: 6px; flex: none; }
.music-tool { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--green-line); background: #fff; color: var(--green); cursor: pointer; text-decoration: none; }
.music-tool:hover { background: var(--green-soft); color: var(--green-dark); }
.music .when-muted, .music.muted .when-sound { display: none; }
.music.muted .when-muted { display: grid; }
.music-controls { display: flex; align-items: center; gap: 10px; }
.music-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; }
.music-btn:hover { background: var(--green-dark); }
.music-btn .ico { width: 18px; height: 18px; }
.music .when-playing, .music.playing .when-paused { display: none; }
.music.playing .when-playing { display: grid; }
.music-cur, .music-dur { flex: none; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.music-bar { flex: 1; display: block; height: 6px; border-radius: 3px; background: var(--green-soft); cursor: pointer; overflow: hidden; }
.music-bar:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.music-fill { display: block; height: 100%; width: 0; background: var(--orange); transition: width .2s linear; }
@media (max-width: 420px) { .music-cover { width: 52px; } .music-sub { display: none; } }
.music-credit { margin: 0; font-size: .72rem; color: var(--muted); }
.music-credit a { color: inherit; }
.music-cover.has-img { background: none; overflow: hidden; }
.music-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Faixa discreta do jingle */
.jingle { margin-top: 12px; }
.jingle-bar { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; background: transparent; border: 1px dashed var(--line);
  border-radius: 8px; font: inherit; color: var(--muted); cursor: pointer; text-align: left; }
.jingle-bar:hover { border-color: var(--green-line); background: var(--surface); color: var(--ink); }
.jingle-play { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--green-line); color: var(--green); display: grid; place-items: center; background: #fff; }
.jingle-text { font-size: .9rem; font-weight: 600; color: var(--green-dark); }
.jingle-meta { margin-left: auto; font-size: .78rem; }
.jingle .music { margin-top: 0; }
.music[hidden], .jingle-bar[hidden] { display: none; }
/* Faixa do jingle em verde com texto branco */
.jingle-bar { background: var(--green); border: 0; color: #e3f2e8; padding: 10px 14px; }
.jingle-bar:hover { background: var(--green-dark); color: #fff; border: 0; }
.jingle-bar .jingle-text { color: #fff; }
.jingle-bar .jingle-meta { color: rgba(255,255,255,.8); }
.jingle-bar .jingle-play { background: #fff; border: 0; color: var(--green); }

/* Conheça o bairro */
.page-bairro { padding-top: 24px; }
.page-bairro h1 { display: flex; align-items: center; gap: 12px; }
.page-bairro .lead { max-width: 820px; }
.stats { list-style: none; padding: 0; margin: 20px 0 6px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stats li { background: var(--green-soft); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stats strong { font-size: 2rem; line-height: 1.1; color: var(--green-dark); }
.stats span { font-size: .85rem; color: var(--muted); }
.bairro-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 860px) { .bairro-grid { grid-template-columns: repeat(3, 1fr); } }
.bairro-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--tone); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.bairro-card h2 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-top: 0; color: var(--tone); }
.bairro-card p:last-child { margin-top: auto; margin-bottom: 0; }
.bairro-foto { width: calc(100% + 36px); max-width: none; margin: -18px -18px 14px; height: 160px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.section-title { margin-top: 28px; }
.ref-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .ref-list { grid-template-columns: repeat(3, 1fr); } }
.ref-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.ref-list strong { flex: 1; min-width: 140px; }
.ref-ico { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.stats li { flex-direction: column; }
@media (max-width: 599px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; } .stats li { padding: 10px; } .stats strong { font-size: 1.3rem; } .stats span { font-size: .72rem; } }

/* Ilustração do roteiro */
.roteiro-hero { display: grid; gap: 16px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .roteiro-hero { grid-template-columns: 1fr 520px; gap: 32px; } }
.roteiro-ilustracao { width: 100%; height: auto; border-radius: var(--radius); }
.roteiro .roteiro-ilustracao, .page-head .roteiro-ilustracao { max-width: 520px; margin: 8px 0 12px; }
/* Selo "grátis" no Cadastre seu negócio */
.badge-free { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #fff; color: var(--orange); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; vertical-align: 1px; }
.free-note { display: inline-block; margin: 0 0 10px; padding: 6px 12px; border-radius: 8px; background: var(--orange-soft); color: var(--orange-dark); font-size: .92rem; }
@media (min-width: 980px) { .nav a { white-space: nowrap; } }
@media (min-width: 980px) and (max-width: 1139px) { .nav a { padding: 8px 6px; font-size: .84rem; } .brand .logo { height: 36px; } .badge-free { margin-left: 4px; } }

/* ===== Faixa clara no topo das páginas (como a busca da home), na cor da área ===== */
.band { background: var(--tone-soft); box-shadow: 0 0 0 100vmax var(--tone-soft); clip-path: inset(0 -100vmax); }
.breadcrumbs.band { padding-top: 14px; padding-bottom: 2px; }
.page-head.band, .place-head.band { padding-top: 14px; padding-bottom: 22px; margin-bottom: 0; }
.page-head.band h1, .place-head.band h1 { color: var(--tone); }
.page-head.band + .refine.band { margin-top: -22px; }
.refine.band { padding-top: 0; padding-bottom: 22px; }
.page-head.band .lead { color: var(--ink); opacity: .8; }
.page-legal, .page-bairro, .page-roteiro { padding-top: 0; }
.page-legal .page-head.band h1, .page-bairro .page-head.band h1 { margin-top: 0; }
.band .search input { border-color: var(--tone-line); }
.band .card-cat a { color: var(--tone); }
/* Itens do menu sem cor própria mantêm o verde, mesmo em páginas de outra área */
.nav a:not([class*="tone-"]) { --tone: #1f7a45; --tone-soft: #eaf5ee; --tone-line: #cfe6d7; }
.site-footer { --tone: #1f7a45; }
.breadcrumbs.band a { color: var(--tone); }

/* Faixa final do rodapé: verde bem escuro, fonte menor */
.site-footer { padding-bottom: 0; }
.footer-bottom { background: #0d3a20; box-shadow: 0 0 0 100vmax #0d3a20; clip-path: inset(0 -100vmax); border-top: 0;
  margin-top: 20px; padding-top: 10px; padding-bottom: 10px; font-size: .72rem; opacity: 1; color: #a9c9b4; }
.footer-bottom a { color: #cfe3d6; }
.footer-bottom a:hover { color: #fff; }
/* Rodapé sempre no fim da tela, mesmo em páginas curtas */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

/* Sobre o bairro: jingle ao lado do título */
.bairro-hero { display: grid; gap: 14px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .bairro-hero { grid-template-columns: 1fr 440px; gap: 32px; } }
.bairro-hero-jingle .jingle { margin-top: 0; }
/* Menu de navegação em negrito */
.nav a { font-weight: 700; }

/* ===== Sugestões da busca sempre por cima do conteúdo =====
   A faixa colorida passa a usar um fundo em ::before (sem clip-path, que cortava a lista de sugestões). */
html, body { overflow-x: clip; }
.band { box-shadow: none; clip-path: none; position: relative; z-index: 3; }
.band::before { content: ''; position: absolute; top: 0; bottom: 0; left: -100vmax; right: -100vmax; background: var(--tone-soft); z-index: -1; }
.breadcrumbs.band { z-index: 5; }
.page-head.band, .place-head.band { z-index: 6; }
.refine.band { z-index: 4; }
.home-search { position: relative; z-index: 6; }
.search { z-index: 10; }
.suggest { z-index: 20; max-height: 70vh; overflow-y: auto; }
/* Rodapé: faixa final também sem clip-path */
.footer-bottom { box-shadow: none; clip-path: none; position: relative; }
.footer-bottom::before { content: ''; position: absolute; top: 0; bottom: 0; left: -100vmax; right: -100vmax; background: #0d3a20; z-index: -1; }
.site-footer { position: relative; z-index: 0; }
.page-head.band + .refine.band { margin-top: 0; }
.page-head.band:has(+ .refine.band) { padding-bottom: 4px; }
.band + .band::before, .breadcrumbs.band + main .band:first-child::before { top: -6px; }
