/* =====================================================================
   ITAPOANET — tokens e componentes
   Identidade do site atual: verde-mata, amarelo-sol, praia de Itapoá.
   Abril Fatface nos títulos de destaque, Poppins no resto.
   Base técnica do projeto OndeCarregar (mobile-first, contraste AA).
   ===================================================================== */

:root {
  --green-dark: #2e5e1e; --green-mid: #4a8c2a; --green-light: #72b83e;
  --sun: #f5c518; --sun-warm: #e8a415; --sun-ink: #3a2c00;
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f4f7f2; --ink: #1c2e14; --muted: #4a5e3a; --line: #dfe7d8; --mist: #eef4ea;
  --verde: #3d7a22; --verde-esc: #2e5e1e; --on-verde: #ffffff;
  --btn-bg: #3d7a22; --btn-ink: #ffffff;
  --ouro: #e8a415; --erro: #B42318; --erro-bg: #FDE7E5; --ok-bg: #E2F2D8; --ok-ink: #24521A; --info-bg: #EAF2FA; --info-ink: #174A6E;
  --shadow: 0 1px 2px rgba(28,46,20,.06), 0 18px 40px -22px rgba(28,46,20,.35);
  --shadow-sm: 0 1px 2px rgba(28,46,20,.08), 0 6px 16px -10px rgba(28,46,20,.3);
  --raio: 18px; --raio-sm: 12px;
  --display: 'Abril Fatface', Georgia, serif;
  --text: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --top-h: 68px; --abas-h: 62px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--abas-h) + env(safe-area-inset-bottom)); overflow-x: hidden }
h1, h2, h3, h4 { font-family: var(--text); font-weight: 700; letter-spacing: -.01em; line-height: 1.18; margin: 0 }
.titulo-display, .sec h2, .titulo-pag h1, .hero h1, .pag-topo h1 { font-family: var(--display); font-weight: 400; letter-spacing: 0 }
p { margin: 0 }
a { color: var(--verde) }
img { max-width: 100%; display: block }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 3px solid var(--sun-warm); outline-offset: 2px; border-radius: 6px }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600 }
.skip:focus { top: 10px }
.ico { width: 20px; height: 20px; flex: none; vertical-align: middle }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.muted { color: var(--muted) }
[hidden] { display: none !important }
.so-escuro { display: none }

/* ---------- tipografia de seção ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: var(--verde) }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--sun) }
.eyebrow.claro { color: var(--sun) }
.sec { padding: clamp(44px, 7vw, 84px) 0 }
.sec.cinza { background: var(--surface-2) }
.sec h2 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); margin-top: 10px; color: var(--green-dark) }
.sec-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px }
.lead { margin-top: 12px; color: var(--muted); font-size: 1.05rem; max-width: 44em }
.titulo-pag { padding: 24px 0 8px }
.titulo-pag h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); color: var(--green-dark) }
.titulo-pag .lead { margin-top: 8px }

/* topo verde das páginas internas (como no site atual) */
.pag-topo { position: relative; color: #fff; background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); padding: 34px 0 54px; overflow: hidden }
.pag-topo::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 80px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0 }
.pag-topo h1 { font-size: clamp(2rem, 6vw, 3rem); margin-top: 6px }
.pag-topo h1 span { color: var(--sun) }
.pag-topo .lead { color: rgba(255,255,255,.9) }
.pag-topo .migalhas ol, .pag-topo .migalhas a { color: rgba(255,255,255,.8) }
.pag-topo.foto { background: linear-gradient(135deg, rgba(46,94,30,.92), rgba(74,140,42,.82)), url("../img/praia-itapoa.jpg?v=1") center 60% / cover }

/* ---------- marca ---------- */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-dark); min-width: 0 }
.brand .marca { flex: none }
.brand b { display: block; font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: .01em }
.brand b em { font-style: normal; color: var(--green-mid) }
.brand small { display: block; font-weight: 600; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px }
.brand.claro, .brand.claro b em { color: #fff }
.brand.claro b em { color: var(--sun) }
.brand.claro small { color: rgba(255,255,255,.7) }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 3px solid var(--sun); box-shadow: 0 2px 14px rgba(28,46,20,.06) }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--top-h); gap: 12px }
.nav { display: none; align-items: center; gap: 2px; font-weight: 500; font-size: .92rem }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px }
.nav a:hover, .nav a[aria-current] { background: var(--mist); color: var(--verde-esc) }
.top-acoes { display: flex; align-items: center; gap: 8px }
.btn-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer }
.btn-ico:hover { border-color: var(--verde); color: var(--verde) }
.menu-conta { position: relative }
.menu-conta summary { list-style: none; cursor: pointer }
.menu-conta summary::-webkit-details-marker { display: none }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: grid; z-index: 50 }
.menu-nome { padding: 8px 12px; font-weight: 700; border-bottom: 1px solid var(--line); margin-bottom: 4px }
.menu-pop a, .menu-pop button { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); background: none; border: 0; width: 100%; text-align: left; cursor: pointer; font-weight: 500 }
.menu-pop a:hover, .menu-pop button:hover { background: var(--mist) }
.menu-pop form { margin: 0 }

/* abas inferiores (celular) */
.abas { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); height: calc(var(--abas-h) + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(28,46,20,.06) }
.abas a { display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 600; min-height: 48px }
.abas a .ico { width: 22px; height: 22px }
.abas a[aria-current] { color: var(--verde) }
.abas a[aria-current] .ico { color: var(--green-mid) }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid transparent; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: .96rem; text-decoration: none; cursor: pointer; background: var(--btn-bg); color: var(--btn-ink); transition: transform .15s ease, filter .15s ease; white-space: nowrap }
.btn:hover { filter: brightness(1.08) }
.btn:active { transform: translateY(1px) }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line) }
.btn.ghost:hover { border-color: var(--verde); color: var(--verde); filter: none }
.btn.sol { background: var(--sun); color: var(--sun-ink); box-shadow: 0 6px 16px -8px rgba(232,164,21,.8) }
.btn.claro { background: #fff; color: var(--green-dark) }
.btn.whats { background: #1f9d55; color: #fff }
.btn.perigo { background: var(--erro); color: #fff }
.btn.sm { min-height: 42px; padding: 8px 16px; font-size: .88rem }
.btn.xs { min-height: 36px; padding: 6px 12px; font-size: .84rem }
.btn.bloco { width: 100% }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; pointer-events: none }
.btn-link { background: none; border: 0; color: var(--verde); font-weight: 600; cursor: pointer; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; min-height: 44px }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px }
.cta-anunciar span { display: none }

/* ---------- cartões e grades ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--raio); padding: 22px; box-shadow: var(--shadow) }
.card h2, .card h3 { font-size: 1.2rem }
.card > p + p { margin-top: 8px }
.grid2, .grid3, .grid4 { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px }
.pilha > * + * { margin-top: 16px }

/* ---------- avisos ---------- */
.aviso { border-radius: var(--raio-sm); padding: 12px 14px; margin: 12px 0; font-weight: 500; background: var(--info-bg); color: var(--info-ink) }
.aviso.sucesso, .aviso.ok { background: var(--ok-bg); color: var(--ok-ink) }
.aviso.erro, .aviso.danger { background: var(--erro-bg); color: var(--erro) }
.aviso.info, .aviso.warning { background: var(--info-bg); color: var(--info-ink) }
.flash { padding-top: 12px }

/* ---------- hero (tela inicial): foto da praia ---------- */
.hero { position: relative; color: #fff; background: linear-gradient(180deg, rgba(14,40,24,.55) 0%, rgba(14,40,24,.35) 40%, rgba(14,40,24,.75) 100%), url("../img/praia-itapoa.jpg?v=1") center 65% / cover, #2e5e1e; padding: clamp(40px, 9vw, 110px) 0 clamp(48px, 9vw, 110px) }
.hero .wrap { position: relative }
.hero-selo { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600 }
.hero-selo i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun) }
.hero h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); line-height: 1.06; margin-top: 16px; max-width: 12em; text-shadow: 0 2px 18px rgba(0,0,0,.25) }
.hero h1 span { color: var(--sun) }
.hero .lead { color: rgba(255,255,255,.92); max-width: 34em; margin-top: 18px }
.hero-qtd { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; background: var(--sun); color: var(--sun-ink); font-weight: 700; font-size: .86rem; border-radius: 999px; padding: 5px 14px }
.hero-qtd .ico { width: 16px; height: 16px }
.hero-busca { margin-top: 22px; max-width: 640px }
.busca-campo { position: relative; display: flex; align-items: center; background: #fff; border-radius: 16px; box-shadow: 0 16px 40px -14px rgba(0,0,0,.55); padding: 6px 6px 6px 16px; color: var(--ink) }
.busca-campo > .ico { color: var(--green-mid) }
.busca-campo input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 10px; font-size: 1rem; color: var(--ink) }
.busca-campo .btn { min-height: 46px; padding: 8px 22px; border-radius: 12px; background: var(--green-mid) }
.hero-cats { margin-top: 18px }
.hero-cats p { font-size: .84rem; color: rgba(255,255,255,.85); margin-bottom: 8px }
.pilulas { display: flex; flex-wrap: wrap; gap: 8px }
.pilula { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 14px; font-size: .86rem; font-weight: 600; text-decoration: none; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); min-height: 40px }
.pilula:hover { background: var(--sun); color: var(--sun-ink); border-color: var(--sun) }
.pilula .ico { width: 17px; height: 17px }
.pilulas.escuras .pilula { color: var(--ink); background: var(--surface); border-color: var(--line); backdrop-filter: none }
.pilulas.escuras .pilula:hover, .pilulas.escuras .pilula[aria-current] { background: var(--green-mid); color: #fff; border-color: var(--green-mid) }
.pilula small { font-weight: 500; opacity: .75 }

/* sugestões da busca */
.sugestoes { position: absolute; z-index: 600; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; color: var(--ink); text-align: left; animation: sug-abre .16s ease }
@keyframes sug-abre { from { opacity: 0; transform: translateY(-4px) } to { opacity: 1; transform: none } }
.sugestoes li { padding: 10px 12px; border-radius: 10px; cursor: pointer }
.sugestoes li.sug { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px }
.sugestoes li[aria-selected="true"], .sugestoes li.sug:hover { background: var(--mist) }
.sug { --sug-cor: var(--green-mid) }
.sug-categoria, .sug-sub { --sug-cor: var(--sun-warm) }
.sug-termo { --sug-cor: var(--muted) }
.sug-noticia { --sug-cor: var(--info-ink) }
.sug-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--sug-cor); background: color-mix(in srgb, var(--sug-cor) 14%, transparent) }
.sug-ico .ico { width: 20px; height: 20px }
.sug-txt { min-width: 0 }
.sug-txt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.sug-txt mark { background: none; color: var(--verde); font-weight: 800; padding: 0 }
.sug-txt small { display: block; font-size: .8rem; color: var(--muted) }
.sug-tag { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--sug-cor); border: 1px solid color-mix(in srgb, var(--sug-cor) 35%, transparent); border-radius: 999px; padding: 3px 8px; white-space: nowrap }
.sugestoes li.sug-titulo, .sugestoes li.sug-vazio { display: block; cursor: default; background: none }
.sug-titulo { padding: 10px 12px 4px; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted) }
.sug-vazio small { display: block; color: var(--muted); margin-top: 2px }
@media (max-width: 380px) { .sug-tag { display: none } .sugestoes li.sug { grid-template-columns: 36px minmax(0, 1fr) } }

/* números (faixa abaixo do hero) */
.numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--raio); overflow: hidden; margin-top: -34px; position: relative; z-index: 2; box-shadow: var(--shadow) }
.numeros div { background: var(--surface); padding: 16px 14px; text-align: center }
.numeros b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--green-dark); line-height: 1.1 }
.numeros span { font-size: .84rem; color: var(--muted) }

/* categorias (grade de atalhos) */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px }
.cat { display: grid; gap: 10px; align-content: start; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--raio); text-decoration: none; color: var(--ink); background: var(--surface); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease }
.cat:hover { transform: translateY(-2px); border-color: var(--green-light); box-shadow: var(--shadow-sm) }
.cat-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--green-mid) }
.cat:nth-child(even) .cat-ico { background: #fff6d6; color: var(--sun-warm) }
.cat-ico .ico { width: 26px; height: 26px }
.cat b { font-size: 1rem }
.cat small { color: var(--muted); font-size: .82rem }

/* ---------- migalhas ---------- */
.migalhas ol { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .84rem; color: var(--muted) }
.migalhas li + li::before { content: "›"; margin-right: 4px }
.migalhas a { color: var(--muted) }

/* ---------- chips e tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 600; background: var(--mist); color: var(--ink); white-space: nowrap }
.tag { display: inline-block; border-radius: 8px; padding: 2px 8px; font-size: .74rem; font-weight: 700; background: var(--mist); color: var(--verde-esc) }
.selo-parceiro { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; color: var(--sun-ink); background: var(--sun); border-radius: 999px; padding: 2px 9px; white-space: nowrap }
.selo-parceiro .ico { width: 13px; height: 13px }

/* ---------- cartão da empresa ---------- */
.lista-emp { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px }
.cartao-emp { position: relative }
.cartao-emp > a:first-child { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--raio); padding: 16px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease }
.cartao-emp > a:first-child:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); transform: translateY(-1px) }
.cartao-emp.parceiro > a:first-child { border: 2px solid var(--sun); background: linear-gradient(180deg, #fffbea, var(--surface) 60%) }
.ce-topo { display: flex; gap: 12px; align-items: center; padding-right: 44px }
.ce-tit { min-width: 0 }
.ce-tit h3 { font-size: 1.02rem; line-height: 1.25 }
.ce-cat { font-size: .8rem; color: var(--verde); font-weight: 600; margin-top: 2px }
.ce-resumo { color: var(--muted); font-size: .88rem; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.ce-rodape { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: auto; padding-top: 10px; font-size: .8rem; color: var(--muted) }
.ce-end { display: inline-flex; align-items: center; gap: 4px; min-width: 0 }
.ce-end .ico { width: 15px; height: 15px; color: var(--green-mid) }
.ce-whats { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; color: #fff; box-shadow: 0 6px 14px -6px rgba(31,157,85,.8) }
.ce-whats .ico { width: 22px; height: 22px }
.logo-emp { flex: none; border-radius: 14px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px }
.logo-ini { display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #fff; border: 0; padding: 0 }
.logo-ini.c0 { background: #4a8c2a } .logo-ini.c1 { background: #e8a415 } .logo-ini.c2 { background: #2e5e1e }
.logo-ini.c3 { background: #2f7d9c } .logo-ini.c4 { background: #72b83e } .logo-ini.c5 { background: #b5651d }

.esqueleto { border-radius: var(--raio); height: 128px; background: linear-gradient(90deg, var(--mist) 0%, var(--surface) 50%, var(--mist) 100%); background-size: 200% 100%; animation: brilho 1.2s linear infinite }
@keyframes brilho { from { background-position: 200% 0 } to { background-position: -200% 0 } }
.vazio { text-align: center; color: var(--muted); padding: 28px 12px; border: 1px dashed var(--line); border-radius: var(--raio) }
.vazio b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px }

/* ---------- guia (lista com filtros) ---------- */
.guia-barra { display: grid; gap: 12px; margin-top: 18px }
.guia-barra .busca-campo { box-shadow: var(--shadow-sm); border: 1px solid var(--line) }
.guia-grade { display: grid; gap: 20px; margin-top: 8px }
.guia-filtros { display: grid; gap: 14px; align-content: start }
.filtro-bloco b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px }
.filtro-lista { display: flex; flex-wrap: wrap; gap: 6px }
.filtro-lista a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .86rem; background: var(--surface); min-height: 38px }
.filtro-lista a:hover { border-color: var(--green-mid) }
.filtro-lista a[aria-current] { background: var(--green-mid); border-color: var(--green-mid); color: #fff }
.filtro-lista small { opacity: .7 }
.guia-resumo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem }
.guia-resumo b { color: var(--ink) }

/* ---------- página da empresa ---------- */
.emp-topo { padding: 18px 0 8px }
.emp-cab { display: flex; gap: 16px; align-items: center; margin-top: 12px }
.emp-cab .logo-emp { width: 88px; height: 88px; border-radius: 20px }
.emp-cab h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--green-dark) }
.emp-cab .ce-cat { font-size: .92rem }
.emp-grade { display: grid; gap: 20px; margin-top: 16px; padding-bottom: 20px }
.emp-acoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px }
.emp-acoes .btn { width: 100% }
.emp-desc { white-space: pre-line }
.emp-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px }
.emp-info li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start }
.emp-info li:last-child { border-bottom: 0 }
.emp-info .ico { color: var(--green-mid); margin-top: 2px }
.emp-info a { word-break: break-word }
.emp-info small { display: block; color: var(--muted) }
.galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px }
.galeria a { display: block; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--mist) }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease }
.galeria a:hover img { transform: scale(1.04) }
.galeria a:first-child { grid-column: 1 / -1; aspect-ratio: 16/9 }
.video { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin-top: 12px; background: #000 }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }
.mini-mapa { height: 260px; border-radius: 14px; overflow: hidden; margin-top: 12px; border: 1px solid var(--line); z-index: 0 }
.dono-box { background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--raio); padding: 16px; font-size: .92rem }
.dono-box b { display: block; color: var(--green-dark) }
.redes-emp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px }
.redes-emp a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--green-dark) }
.redes-emp a:hover { background: var(--green-mid); color: #fff }

/* visualizador de fotos */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,20,8,.92); display: grid; place-items: center; padding: 16px }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1 }
.lb-fechar { top: 14px; right: 14px }
.lb-ant { left: 10px; top: 50% }
.lb-prox { right: 10px; top: 50% }

/* ---------- notícias ---------- */
.not-grade { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px }
.cartao-not a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--raio); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease }
.cartao-not a:hover { box-shadow: var(--shadow); transform: translateY(-2px) }
.cn-capa { position: relative; aspect-ratio: 16/10; background: var(--mist); overflow: hidden }
.cn-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.cn-capa.vazia { display: grid; place-items: center; color: var(--green-light) }
.cn-capa.vazia .ico { width: 40px; height: 40px }
.cn-txt { padding: 14px 16px 18px; display: grid; gap: 6px }
.cn-txt time { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em }
.cn-txt h3 { font-size: 1.02rem; line-height: 1.3 }
.cn-txt p { color: var(--muted); font-size: .9rem }
.artigo { max-width: 780px }
.artigo-capa { border-radius: var(--raio); overflow: hidden; margin-top: 18px; background: var(--mist) }
.artigo-capa img { width: 100%; max-height: 560px; object-fit: cover }
.artigo-meta { color: var(--muted); font-size: .9rem; margin-top: 10px }
.artigo-texto { margin-top: 20px; font-size: 1.04rem }
.artigo-texto p { margin: 0 0 14px }
.artigo-texto h2 { font-size: 1.4rem; margin: 26px 0 10px }
.artigo-texto h3 { font-size: 1.15rem; margin: 20px 0 8px }
.artigo-texto ul, .artigo-texto ol { margin: 0 0 14px; padding-left: 22px }
.artigo-texto img { max-width: 100%; height: auto; border-radius: var(--raio-sm); display: block }
.artigo-texto figure { margin: 20px 0 }
.artigo-texto figcaption { color: var(--muted); font-size: .85rem; margin-top: 6px; text-align: center }
.artigo-texto blockquote { margin: 18px 0; padding: 10px 16px; border-left: 4px solid var(--sun); background: var(--surface-2); border-radius: 0 var(--raio-sm) var(--raio-sm) 0 }
.artigo-texto hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0 }
.filtros-not { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px }
.filtros-not .busca-campo { flex: 1; min-width: 240px; box-shadow: none; border: 1px solid var(--line) }

/* ---------- lugares ---------- */
.lugar { display: grid; gap: 0; overflow: hidden; padding: 0 }
.lugar-foto { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--green-mid), var(--green-light)); display: grid; place-items: center; color: #fff }
.lugar-foto img { width: 100%; height: 100%; object-fit: cover }
.lugar-foto .ico { width: 54px; height: 54px; opacity: .8 }
.lugar-txt { padding: 18px; display: grid; gap: 8px }
.lugar-txt .tag { justify-self: start; background: #fff6d6; color: #7a5600 }

/* ---------- formulários ---------- */
.campo { display: grid; gap: 6px; margin-bottom: 14px }
.campo label, .rotulo { font-weight: 600; font-size: .92rem }
.campo small { color: var(--muted); font-size: .82rem }
.campo input, .campo select, .campo textarea, .entrada { width: 100%; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--raio-sm); padding: 12px 14px; min-height: 48px }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--green-mid); outline: 2px solid color-mix(in srgb, var(--green-mid) 30%, transparent) }
.campo textarea { min-height: 120px; resize: vertical }
.duas, .tres { display: grid; grid-template-columns: 1fr; gap: 0 12px }
.marcar { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; cursor: pointer }
.marcar input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green-mid); flex: none }
.form-estreito { max-width: 480px; margin: 0 auto }
.ou { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; margin: 18px 0 }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: var(--line) }
.g-botao { display: flex; justify-content: center; min-height: 44px }
.cf-turnstile { margin: 10px 0 14px }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }

/* ---------- FAQ, links, paginação ---------- */
.faq { display: grid; gap: 10px; margin-top: 16px }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; background: var(--surface) }
.faq details[open] { border-color: var(--green-light) }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; min-height: 48px }
.faq details p { padding-bottom: 14px; color: var(--muted) }
.faq-grupo + .faq-grupo { margin-top: 28px }
.faq-grupo h2 { font-size: 1.3rem; font-family: var(--text); font-weight: 700; color: var(--green-dark) }
.links-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; list-style: none; padding: 0 }
.links-grade a { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface); min-height: 48px; align-items: center }
.links-grade a:hover { border-color: var(--green-mid) }
.links-grade small { color: var(--muted); white-space: nowrap }
.paginacao { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 28px 0; flex-wrap: wrap }
.pg { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--surface) }
a.pg:hover { border-color: var(--green-mid); color: var(--green-mid) }
.pg.atual { background: var(--green-mid); border-color: var(--green-mid); color: #fff }
.pg-res { color: var(--muted) }

/* ---------- anuncie / planos ---------- */
.stats-anuncie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px }
.stats-anuncie div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--raio); padding: 18px; text-align: center }
.stats-anuncie b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--green-mid) }
.stats-anuncie span { color: var(--muted); font-size: .88rem }
.planos { display: grid; gap: 16px; margin-top: 28px }
.plano { display: flex; flex-direction: column; gap: 12px }
.plano.destaque { border: 3px solid var(--sun); position: relative }
.plano.destaque::before { content: "Mais escolhido"; position: absolute; top: -14px; left: 20px; background: var(--sun); color: var(--sun-ink); font-weight: 700; font-size: .76rem; padding: 3px 12px; border-radius: 999px }
.plano .preco { font-family: var(--display); font-size: 2.6rem; color: var(--green-dark); line-height: 1.1 }
.plano .preco small { font-family: var(--text); font-size: 1rem; color: var(--muted); font-weight: 600 }
.plano ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.plano li { display: flex; gap: 8px; align-items: flex-start }
.plano li .ico { color: var(--green-mid); margin-top: 2px }
.plano li.nao { color: var(--muted) }
.plano li.nao .ico { color: var(--line) }
.plano .btn { margin-top: auto }

/* tabelas */
.tabela-rolagem { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface) }
table.tabela { width: 100%; border-collapse: collapse; font-size: .9rem }
.tabela th, .tabela td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top }
.tabela thead th { font-size: .84rem; background: var(--surface-2); position: sticky; top: 0 }
.tabela td.c, .tabela th.c { text-align: center }
.tabela td.n, .tabela th.n { text-align: right; white-space: nowrap }
.tabela tr:last-child td { border-bottom: 0 }

/* ---------- faixa "anuncie" e rodapé ---------- */
.faixa-anuncie { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); color: #fff; padding: 36px 0; margin-top: 48px }
.faixa-anuncie .wrap { display: grid; gap: 18px; align-items: center }
.faixa-anuncie h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 6px 0 8px }
.faixa-anuncie p { color: rgba(255,255,255,.9); max-width: 46em }
.faixa-anuncie b { color: var(--sun) }
.sem-faixa .faixa-anuncie { display: none }
.rodape { padding: 36px 0 20px; font-size: .9rem; color: rgba(255,255,255,.78); background: #1c2e14 }
.rodape-grade { display: grid; gap: 24px }
.rodape nav { display: grid; gap: 6px; align-content: start }
.rodape nav b { color: #fff; font-size: 1rem }
.rodape nav a { color: rgba(255,255,255,.78); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px }
.rodape nav a:hover { color: var(--sun) }
.rodape-txt { margin-top: 12px; max-width: 30em }
.rodape-base { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: .84rem }
.rodape-base a { color: rgba(255,255,255,.85) }
.credito { display: inline-flex; align-items: center; gap: 10px }
.credito a { display: inline-flex; background: #fff; border-radius: 10px; padding: 5px 10px }
.credito img { height: 26px; width: auto }
.whats-flutuante { position: fixed; z-index: 940; right: 14px; bottom: calc(var(--abas-h) + 14px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45) }
.whats-flutuante .ico { width: 30px; height: 30px }
.pg-mapa .whats-flutuante { display: none }

/* aviso de cookies, convite do app e toast */
.cookies { position: fixed; z-index: 1100; left: 12px; right: 12px; bottom: calc(var(--abas-h) + 12px + env(safe-area-inset-bottom)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 10px; font-size: .88rem; max-width: 560px }
.instalar { position: fixed; z-index: 1150; left: 12px; right: 12px; bottom: calc(var(--abas-h) + 12px + env(safe-area-inset-bottom)); background: var(--surface); border: 2px solid var(--sun); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px 12px; font-size: .9rem; max-width: 560px; animation: entra .25s ease }
.instalar img { width: 48px; height: 48px; border-radius: 12px }
.instalar-txt b { display: block; font-size: 1rem; line-height: 1.2; color: var(--green-dark) }
.instalar-txt p { margin-top: 4px; color: var(--muted) }
.instalar-txt p b { display: inline; font-size: inherit; color: var(--ink) }
.instalar-ico { display: inline-flex; vertical-align: -3px; color: var(--verde) }
.instalar-ico svg { width: 18px; height: 18px }
.instalar-acoes { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end }
@keyframes entra { from { transform: translateY(12px); opacity: 0 } to { transform: none; opacity: 1 } }
.toast { position: fixed; z-index: 1300; left: 50%; bottom: calc(var(--abas-h) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 18px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 24px); animation: sobe .25s ease }
.toast.erro { background: var(--erro) }
@keyframes sobe { from { transform: translate(-50%, 12px); opacity: 0 } to { transform: translate(-50%, 0); opacity: 1 } }

/* página de erro */
.erro-pag { padding: 48px 16px; max-width: 560px }
.erro-pag .card { text-align: center; display: grid; gap: 12px; justify-items: center }
.erro-cod { font-family: var(--display); font-size: 3.5rem; color: var(--green-mid); line-height: 1 }

/* ---------- mapa das empresas ---------- */
.mapa-app { position: relative; height: calc(100dvh - var(--top-h) - var(--abas-h)); display: grid; grid-template-rows: auto minmax(0, 1fr) }
.mapa-barra { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); align-items: center; z-index: 5 }
.mapa-barra .busca-campo { flex: 1 1 260px; box-shadow: none; border: 1px solid var(--line); padding: 2px 2px 2px 12px }
.mapa-barra .busca-campo .btn { min-height: 40px; padding: 6px 14px }
.mapa-barra select { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); padding: 6px 10px; max-width: 220px }
.mapa-corpo { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) }
.mapa { position: absolute; inset: 0; z-index: 1; background: var(--mist) }
.mapa-lista { display: none }
.mapa-info { position: absolute; z-index: 500; left: 12px; bottom: 12px; background: var(--surface); border-radius: 12px; padding: 6px 12px; font-size: .84rem; box-shadow: var(--shadow-sm); font-weight: 600 }
.mk-emp { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green-mid); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.35); display: grid; place-items: center }
.mk-emp svg { transform: rotate(45deg); width: 16px; height: 16px; color: #fff }
.mk-emp.parceiro { background: var(--sun); }
.mk-emp.parceiro svg { color: var(--sun-ink) }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(114,184,62,.35) !important }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--green-mid) !important; color: #fff; font-weight: 700; font-family: var(--text) }
.pop-emp { display: grid; gap: 6px; min-width: 200px; font-family: var(--text) }
.pop-emp b { font-size: 1rem; color: var(--green-dark) }
.pop-emp small { color: var(--muted) }
.pop-emp .acoes { margin-top: 6px; gap: 6px }
.pop-emp .btn { min-height: 36px; padding: 6px 12px; font-size: .82rem; color: #fff }
.pop-emp .btn.ghost { color: var(--ink) }
.leaflet-container { font-family: var(--text) }
.leaflet-popup-content-wrapper { border-radius: 14px }

/* ---------- conta ---------- */
.conta-grade { display: grid; gap: 16px; margin-top: 20px }

/* ---------- admin ---------- */
.admin-layout { display: grid; gap: 16px; padding: 16px 0 40px }
.admin-menu { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin }
.admin-menu a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .9rem; min-height: 44px }
.admin-menu a[aria-current] { background: var(--green-mid); color: #fff; border-color: var(--green-mid) }
.admin-menu .qtd { background: var(--erro); color: #fff; border-radius: 10px; padding: 0 7px; font-size: .75rem }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px }
.kpi b { display: block; font-size: 1.8rem; line-height: 1.1; color: var(--green-dark) }
.kpi span { color: var(--muted); font-size: .86rem }
.filtros-admin { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 12px 0 }
.filtros-admin .campo { margin: 0; min-width: 140px; flex: 1 }
.linha-acoes { display: flex; flex-wrap: wrap; gap: 6px }
.linha-acoes form { margin: 0 }
.mini-logo { width: 40px; height: 40px }
.mini-logo .logo-emp, .mini-logo.logo-emp { width: 40px; height: 40px; border-radius: 10px; font-size: 1rem }
.midia-logo { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 14px }
.midia-logo-img { width: 120px; height: 120px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 16px; background: #fff; overflow: hidden }
.midia-logo-img img { max-width: 100%; max-height: 100%; object-fit: contain }
.midia-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 12px }
.midia-item { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface) }
.midia-item > a { display: block; aspect-ratio: 4/3; background: var(--mist) }
.midia-item img { width: 100%; height: 100%; object-fit: cover; display: block }
.midia-acoes { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px 10px }
.sim { color: var(--ok-ink); font-weight: 700 }
.nao-pub { color: var(--muted) }
.barra-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: .88rem }
.barra-h i { grid-column: 1 / -1; display: block; height: 8px; border-radius: 4px; background: var(--green-mid); min-width: 2px }

/* editor visual (notícias) */
.editor { border: 1px solid var(--line); border-radius: var(--raio-sm); background: var(--surface); overflow: hidden }
.editor-barra { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--mist); position: sticky; top: 0; z-index: 2 }
.editor-bt { min-height: 34px; padding: 4px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: .85rem; cursor: pointer }
.editor-bt:hover, .editor-bt.ativo { background: var(--surface); border-color: var(--line) }
.editor-bt:disabled { opacity: .4; cursor: default }
.editor-sep { width: 1px; background: var(--line); margin: 4px 2px }
.editor-area { min-height: 320px; max-height: 70vh; overflow-y: auto; padding: 14px 16px; outline: none }
.editor-area:focus { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--green-mid) 50%, transparent) }
.editor-area h2 { font-size: 1.4rem; margin: 18px 0 8px }
.editor-area h3 { font-size: 1.15rem; margin: 14px 0 6px }
.editor-area a { text-decoration: underline }
.editor-codigo { width: 100%; min-height: 320px; border: 0; padding: 14px 16px; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: var(--surface); color: var(--ink) }
.editor-status { margin: 0; padding: 0 12px; font-size: .85rem; min-height: 1.4em }

/* ---------- telas maiores ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 24px }
  .grid2, .duas { grid-template-columns: 1fr 1fr }
  .tres { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .numeros { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .lista-emp { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .not-grade { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .galeria { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .links-grade { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .stats-anuncie { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .emp-acoes { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .faixa-anuncie .wrap { grid-template-columns: 1fr auto }
  .cookies, .instalar { left: 20px; right: auto }
  .cta-anunciar span { display: inline }
}
@media (min-width: 960px) {
  body { padding-bottom: 0 }
  .abas { display: none }
  .nav { display: flex }
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .not-grade { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .not-grade.destaque { grid-template-columns: 2fr 1fr 1fr }
  .not-grade.destaque .grande { grid-row: span 2 }
  .not-grade.destaque .grande .cn-capa { aspect-ratio: auto; flex: 1; min-height: 260px }
  .not-grade.destaque .grande .cn-txt h3 { font-size: 1.3rem }
  .planos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px }
  .rodape-grade { grid-template-columns: 1.5fr 1fr 1fr 1fr }
  .guia-grade { grid-template-columns: 270px minmax(0, 1fr); align-items: start }
  .guia-filtros { position: sticky; top: calc(var(--top-h) + 16px) }
  .lista-emp { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .lista-emp.larga { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .emp-grade { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start }
  .emp-grade > .lateral { position: sticky; top: calc(var(--top-h) + 16px) }
  .conta-grade { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .whats-flutuante { bottom: 22px; right: 22px }
  .cookies, .instalar { bottom: 20px }
  .toast { bottom: 28px }
  .mapa-app { height: calc(100dvh - var(--top-h)) }
  .mapa-corpo { grid-template-columns: 380px minmax(0, 1fr) }
  .mapa { position: relative; inset: auto; grid-column: 2 }
  .mapa-lista { display: block; grid-column: 1; overflow-y: auto; border-right: 1px solid var(--line); padding: 12px; background: var(--surface-2) }
  .mapa-lista .cartao-emp + .cartao-emp { margin-top: 10px }
  .mapa-info { left: 396px }
}
@media (max-width: 400px) {
  .brand small { display: none }
  .brand b { font-size: 1.08rem }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
}
@media print { .top, .abas, .rodape, .cookies, .whats-flutuante, .faixa-anuncie { display: none } body { padding: 0 } }

/* barras simples (admin > Estatísticas): valor escrito ao lado */
.barras { display: grid; gap: 8px }
.barra { display: grid; grid-template-columns: 9.5em 1fr 2.5em; gap: 10px; align-items: center; font-size: .9rem }
.barra i { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden }
.barra i::before { content: ""; display: block; height: 100%; width: var(--p); background: var(--green-mid); border-radius: 4px }
