/* =====================================================================
   1001 SERVICE — visual das telas (versão web: celular, tablet e computador)
   ===================================================================== */
:root {
  --navy: #0B1B32; --navy-2: #1B3A63; --navy-3: #26518a;
  --accent: #F2A93B; --accent-2: #f7c46c;
  --bg: #f3f5f9; --card: #fff; --text: #142033; --muted: #6b7686; --line: #e7eaf0;
  --ok: #16a34a; --wa: #1faa59; --danger: #dc2626;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 30, 54, .05), 0 6px 18px rgba(16, 30, 54, .07);
  --nav-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

html { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
body.travado { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.ic { flex-shrink: 0; }

/* ---------- telas de login/cadastro: cara de app ---------- */
body.tela-auth { min-height: 100dvh; background: linear-gradient(180deg, var(--navy) 0, var(--navy-2) 230px, var(--bg) 230px); }
.tela-auth .app { padding-top: calc(28px + var(--safe-t)); min-height: 100dvh; }
.tela-auth .brand-name { color: #fff; }
.tela-auth .brand-mark { background: rgba(255,255,255,.12); box-shadow: none; border: 1px solid rgba(255,255,255,.18); }
.tela-auth .card { box-shadow: var(--shadow); border-radius: 22px; }
.tela-auth .field input, .tela-auth .field select { font-size: 16px; }
.tela-auth .dev-banner { padding-top: calc(8px + var(--safe-t)); }

/* ---------- moldura do app ---------- */
body.tela-app { background: #e9edf3; min-height: 100dvh; }
.tela {
  position: relative; max-width: 560px; margin: 0 auto; min-height: 100dvh;
  background: var(--bg); padding-bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
}
.tela.sem-nav { padding-bottom: calc(24px + var(--safe-b)); }
@media (min-width: 600px) { .tela { box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(16,30,54,.12); } }
.conteudo { padding: 0 16px; }
.pad { padding-left: 0; padding-right: 0; }
.pad-topo { padding-top: 14px; }

.barra-carregando { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 100; transition: width 1.2s ease; }
.barra-carregando.ativa { width: 85%; }

/* ---------- topo da Home ---------- */
.topo-home {
  background: radial-gradient(120% 140% at 100% 0, var(--navy-3) 0, var(--navy-2) 35%, var(--navy) 80%);
  color: #fff; padding: calc(14px + var(--safe-t)) 16px 46px; border-radius: 0 0 28px 28px;
}
.topo-linha { display: flex; align-items: center; justify-content: space-between; }
.marca { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.marca-sel { background: #fff; color: var(--navy); border-radius: 10px; padding: 5px 8px; font-size: 15px; letter-spacing: -.3px; }
.marca-sel span { color: var(--accent); }
.marca-nome { font-size: 19px; letter-spacing: -.3px; }
.btn-perfil { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); }
.local-pill {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; max-width: 100%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.local-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.local-pill .ic:first-child { color: var(--accent); }

.topo-ola { margin: 18px 0 2px; font-size: 24px; letter-spacing: -.4px; }
.topo-sub-ola { margin: 0; opacity: .78; font-size: 14px; }

/* ---------- busca ---------- */
.busca { display: flex; gap: 10px; margin-top: -26px; position: relative; z-index: 2; }
.busca-campo {
  flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); color: var(--muted);
}
.busca-campo input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--text); height: 100%; }
.busca-campo input::-webkit-search-cancel-button { -webkit-appearance: none; }
.busca-campo:focus-within { box-shadow: 0 0 0 2px var(--navy-2), var(--shadow); }
.busca-filtro {
  position: relative; width: 52px; height: 52px; border-radius: 16px; border: 0; flex-shrink: 0;
  display: grid; place-items: center; background: var(--accent); color: var(--navy); box-shadow: var(--shadow);
}
.busca-filtro.ativo { background: var(--navy); color: #fff; }
.contador { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: var(--navy); font: 700 11px/20px Inter, sans-serif; font-style: normal; border: 2px solid #fff; }
.busca-exemplos { display: flex; gap: 8px; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
.busca-exemplos::-webkit-scrollbar { display: none; }
.busca-exemplos a { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--navy-2); }
.busca-exemplos.solto { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }

.topo-busca { position: sticky; top: 0; z-index: 20; background: var(--bg); margin: 0 -16px; padding: calc(12px + var(--safe-t)) 16px 6px; }
.busca-topo { margin-top: 0; }
.busca-topo .busca-campo, .busca-topo .busca-filtro { box-shadow: 0 1px 2px rgba(16,30,54,.06); border: 1px solid var(--line); }
.local-linha { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--navy-2); }
.local-linha a { display: inline-flex; align-items: center; gap: 4px; }
.sugestoes { position: absolute; left: 16px; right: 84px; top: calc(70px + var(--safe-t)); background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(16,30,54,.16); overflow: hidden; z-index: 30; }
.sug { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.sug:last-child { border: 0; }
.sug-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--cat); background: color-mix(in srgb, var(--cat) 14%, #fff); }

/* ---------- seções ---------- */
.secao { margin-top: 24px; }
.secao-compacta { margin-top: 14px; }
.secao-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.secao-topo h2 { margin: 0; font-size: 18px; letter-spacing: -.2px; color: var(--navy); }
.secao-sub { margin: -6px 0 12px; color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.ver-todas { font-size: 12px; font-weight: 700; color: var(--navy-2); letter-spacing: .4px; padding: 6px 10px; border-radius: 999px; background: #e7edf6; white-space: nowrap; }
.mini-titulo { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }

/* ---------- categorias ---------- */
.cat-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(16,30,54,.05); text-align: center; transition: transform .15s; }
.cat:active { transform: scale(.96); }
.cat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--cat); background: color-mix(in srgb, var(--cat) 13%, #fff); flex-shrink: 0; }
.cat-nome { font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
@media (max-width: 340px) { .cat-grade { grid-template-columns: repeat(3, 1fr); } }

.cat-lista { display: grid; gap: 8px; }
.cat-linha { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.cat-linha-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cat-linha-txt small { color: var(--muted); margin-top: 2px; }
.seta { color: #b6bdc8; }

.chips-cat { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-cat.pad { margin: 14px 0 0; }
.chip-cat { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.chip-cat span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--cat); background: color-mix(in srgb, var(--cat) 14%, #fff); }

/* ---------- cartão de localização ---------- */
.cartao-local { display: flex; gap: 12px; margin-top: 16px; padding: 14px; background: #fff7e8; border: 1px solid #fde4b5; border-radius: var(--r); }
.cartao-local-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--navy); flex-shrink: 0; }
.cartao-local b { color: var(--navy); }
.cartao-local p { margin: 4px 0 10px; font-size: 13px; color: #7a5a1c; line-height: 1.4; }
.cartao-local-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- avatar ---------- */
.avatar { position: relative; width: 56px; height: 56px; border-radius: 17px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--av, var(--navy-2)), color-mix(in srgb, var(--av, var(--navy-2)) 70%, #000)); color: #fff; }
.avatar b { font-size: 19px; font-weight: 700; letter-spacing: .3px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.avatar-lg { width: 64px; height: 64px; border-radius: 20px; }
.avatar-lg b { font-size: 22px; }
.avatar-xl { width: 92px; height: 92px; border-radius: 28px; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.avatar-xl b { font-size: 32px; }
.dot-online { position: absolute; right: -2px; bottom: -2px; width: 15px; height: 15px; border-radius: 50%; background: #22c55e; border: 3px solid #fff; }
.avatar-xl .dot-online { width: 22px; height: 22px; right: 0; bottom: 0; }

/* ---------- cartão do profissional ---------- */
.lista { display: grid; gap: 10px; }
.pro-card { position: relative; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px 8px; animation: entrar .25s ease both; }
.pro-card.saindo { opacity: 0; transform: scale(.96); transition: .25s; }
.pro-main { display: flex; gap: 12px; min-width: 0; grid-column: 1 / 2; }
.pro-info { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.pro-nome { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 15.5px; color: var(--text); line-height: 1.25; }
.pro-nome { overflow: hidden; }
.pro-titulo { font-size: 13.5px; color: var(--muted); }
.tag-online { font-style: normal; color: var(--ok); font-weight: 600; font-size: 12px; margin-left: 2px; }
.pro-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pro-meta .sep { font-style: normal; margin: 0 6px; color: #c4cad3; }
.nota { display: inline-flex; align-items: center; gap: 3px; color: var(--text); }
.nota .ic { color: #f5a623; }
.nota small { color: var(--muted); font-size: 12px; }
.nota.novo { font-weight: 700; color: var(--navy-2); background: #e7edf6; padding: 1px 7px; border-radius: 6px; font-size: 11.5px; }
.selo-verif { color: #1d9bf0; display: inline-flex; flex-shrink: 0; }
.pro-ver { grid-column: 1 / 3; justify-self: end; font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--navy); background: #eef2f8; padding: 8px 14px; border-radius: 999px; margin-top: -2px; }
.fav { align-self: start; width: 40px; height: 40px; border-radius: 12px; border: 0; background: #f4f6fa; color: #9aa3b0; display: grid; place-items: center; transition: transform .15s, color .15s; }
.fav.on { color: #ef4444; background: #fdecec; }
.fav.on svg path { fill: currentColor; }
.fav.pulsar { animation: pulsar .4s ease; }
.fav-claro { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.9); }
.fav-topo { background: rgba(255,255,255,.16); color: #fff; }
.fav-topo.on { background: #fff; color: #ef4444; }
@keyframes pulsar { 40% { transform: scale(1.25); } }
@keyframes entrar { from { opacity: 0; transform: translateY(6px); } }

/* ---------- destaques ---------- */
.carrossel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; }
.carrossel::-webkit-scrollbar { display: none; }
.dest-card { position: relative; flex: 0 0 74%; max-width: 280px; scroll-snap-align: start; background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; animation: entrar .25s ease both; }
.dest-link { display: block; }
.dest-capa { display: flex; align-items: flex-end; height: 86px; padding: 0 14px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); position: relative; }
.dest-capa::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0, rgba(242,169,59,.35), transparent 60%); }
.dest-capa .avatar { transform: translateY(26px); border: 3px solid #fff; z-index: 1; }
.dest-corpo { display: flex; flex-direction: column; gap: 3px; padding: 32px 14px 14px; }
.dest-ver { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--navy-2); }
.dest-rotulo { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--accent); color: var(--navy); font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: .2px; }

/* ---------- Espaço Freelancer ---------- */
.freela-banner { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, #1f2f4d 0, var(--navy) 60%), var(--navy); position: relative; overflow: hidden; }
.freela-banner::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(242,169,59,.18); }
.freela-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--accent); color: var(--navy); flex-shrink: 0; position: relative; }
.freela-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; position: relative; }
.freela-txt small { opacity: .8; font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.freela-btn { position: relative; font-size: 11px; font-weight: 700; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.14); white-space: nowrap; }
.freela-hero { text-align: center; margin: 16px 0 0; padding: 28px 20px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, var(--navy-2), var(--navy)); }
.freela-hero-ic { width: 72px; height: 72px; border-radius: 22px; display: inline-grid; place-items: center; background: var(--accent); color: var(--navy); }
.freela-hero h2 { margin: 12px 0 6px; font-size: 22px; }
.freela-hero p { margin: 0; opacity: .85; line-height: 1.5; }
.tag-breve { display: block; width: max-content; margin: 14px auto 0; background: rgba(255,255,255,.14); }
.passos { margin: 0; padding-left: 20px; display: grid; gap: 10px; line-height: 1.45; color: var(--text); }

/* ---------- topo das outras telas ---------- */
.topo-sub { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; margin: 0; padding: calc(10px + var(--safe-t)) 10px 10px; background: rgba(243,245,249,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.topo-sub h1 { flex: 1; margin: 0; font-size: 18px; text-align: center; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-voltar, .topo-esp, .btn-icone { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; border: 0; background: transparent; }
.btn-voltar { background: #fff; box-shadow: 0 1px 2px rgba(16,30,54,.08); color: var(--navy); }
.topo-sub.transparente { position: absolute; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.topo-sub.transparente .btn-voltar { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.topo-sub .fav { width: 42px; height: 42px; }

/* ---------- perfil do profissional ---------- */
.tela-perfil-pro .conteudo { padding-top: 0; }
.pro-capa { margin: 0 -16px; padding: calc(64px + var(--safe-t)) 20px 30px; text-align: center; color: #fff;
  background: radial-gradient(120% 120% at 50% -20%, color-mix(in srgb, var(--cat) 55%, var(--navy-2)) 0, var(--navy) 75%); border-radius: 0 0 30px 30px; }
.pro-capa .avatar { margin: 0 auto; }
.pro-capa h1 { margin: 14px 0 4px; font-size: 22px; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pro-capa h1 .selo-verif { color: #5cc2ff; }
.pro-capa-titulo { margin: 0; opacity: .85; font-size: 15px; }
.pro-capa-tags { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag-verif { background: rgba(92,194,255,.18); color: #bfe6ff; }
.tag-on { background: rgba(34,197,94,.2); color: #b6f3c9; }
.tag-claro { background: #e7edf6; color: var(--navy-2); }
.pro-resumo { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: -18px; position: relative; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.resumo-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 12px 6px; min-width: 0; }
.resumo-item + .resumo-item { border-left: 1px solid var(--line); }
.resumo-item b { display: flex; align-items: center; gap: 4px; font-size: 16px; color: var(--navy); }
.resumo-item small { color: var(--muted); font-size: 11.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.amarelo { color: #f5a623; }
.bloco { margin-top: 14px; background: #fff; border-radius: var(--r); padding: 16px; box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.bloco h2 { margin: 0 0 10px; font-size: 16px; color: var(--navy); }
.bloco-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.bloco-topo h2 { margin: 0; }
.texto { margin: 0; line-height: 1.55; color: #3a4658; }
.local-det { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.servicos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.servicos li { padding: 7px 12px; border-radius: 10px; background: #f1f4f9; font-size: 13.5px; font-weight: 500; }
.nota-grande { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.nota-grande small { color: var(--muted); }
.stars { display: inline-flex; gap: 1px; }
.stars i { display: inline-flex; color: #d9dee6; }
.stars i.on { color: #f5a623; }
.stars i.half { color: #f5a623; opacity: .55; }
.aval { padding: 12px 0; border-top: 1px solid var(--line); }
.aval:first-of-type { border-top: 0; }
.aval-topo { display: flex; align-items: center; gap: 10px; }
.aval-topo > div { flex: 1; display: flex; flex-direction: column; }
.aval-topo small { color: var(--muted); font-size: 12px; }
.aval-av { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #e7edf6; color: var(--navy-2); font-weight: 700; }
.aval p { margin: 8px 0 0 44px; color: #3a4658; line-height: 1.45; font-size: 14px; }
.aviso-modelo { margin: 16px 4px 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.45; }
.tela-perfil-pro .tela { padding-bottom: calc(96px + var(--safe-b)); }
.tela-perfil-pro .tela.sem-nav { padding-bottom: calc(96px + var(--safe-b)); }

.barra-contato { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; max-width: 560px; margin: 0 auto;
  padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.btn-wa, .btn-ligar { flex: 1; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; letter-spacing: .4px; font-size: 15px; }
.btn-wa { background: var(--wa); color: #fff; flex: 1.4; box-shadow: 0 8px 18px rgba(31,170,89,.3); }
.btn-ligar { background: #fff; color: var(--navy); border: 2px solid var(--navy); }

/* ---------- botões ---------- */
.btn-app { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 20px; border-radius: 15px; border: 0; font-weight: 700; letter-spacing: .4px; font-size: 14px; width: 100%; }
.btn-app:active { transform: scale(.985); }
.btn-app[disabled] { opacity: .6; }
.btn-app-pri { background: var(--navy); color: #fff; }
.btn-app-sec { background: #fff; color: var(--navy); border: 1.5px solid #cfd7e3; }
.btn-app-link { background: transparent; color: var(--navy-2); height: auto; padding: 8px; }
.btn-app-perigo { background: #fff; color: var(--danger); border: 1.5px solid #f6caca; margin-top: 20px; }
.btn-sm { height: 38px; font-size: 12.5px; padding: 0 14px; width: auto; border-radius: 12px; }
.btn-gps { margin-top: 14px; }

/* ---------- vazio / erro / carregando ---------- */
.vazio, .erro-conexao { text-align: center; padding: 30px 18px; background: #fff; border-radius: var(--r); box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.vazio-ic, .erro-conexao svg { color: #b6bfcc; }
.vazio h3 { margin: 12px 0 6px; font-size: 17px; color: var(--navy); line-height: 1.35; }
.vazio p, .erro-conexao p { margin: 8px auto 16px; color: var(--muted); line-height: 1.5; max-width: 320px; font-size: 14px; }
.vazio-acoes { display: grid; gap: 8px; max-width: 320px; margin: 16px auto 0; }
.vazio[hidden] { display: none; }
.sentinela { display: grid; place-items: center; padding: 16px; }
.spinner-app { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #dfe4ec; border-top-color: var(--navy); animation: spin .8s linear infinite; display: inline-block; }
.spinner-app.claro { width: 18px; height: 18px; border-width: 2px; border-color: rgba(255,255,255,.35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.sk { background: #fff; border-radius: var(--r); box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.sk i { display: block; border-radius: 8px; background: linear-gradient(90deg, #eef1f6 0, #f7f9fc 50%, #eef1f6 100%); background-size: 200% 100%; animation: brilho 1.2s infinite linear; }
.sk-card { display: flex; gap: 12px; padding: 14px; }
.sk-card span { flex: 1; display: grid; gap: 8px; align-content: center; }
.sk-av { width: 56px; height: 56px; border-radius: 17px !important; flex-shrink: 0; }
.sk-l { height: 11px; }
.w70 { width: 70%; } .w55 { width: 55%; } .w50 { width: 50%; } .w40 { width: 40%; }
.sk-dest { flex: 0 0 74%; max-width: 280px; height: 196px; padding: 16px; display: grid; gap: 10px; align-content: end; }
@keyframes brilho { to { background-position: -200% 0; } }

/* ---------- navegação inferior ---------- */
.nav-inferior { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-width: 560px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); user-select: none; -webkit-user-select: none; }
.nav-inferior a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8a94a3; font-size: 11px; font-weight: 600; position: relative; }
.nav-inferior a .ic { width: 24px; height: 24px; transition: transform .15s; }
.nav-inferior a.ativo { color: var(--navy); }
.nav-inferior a.ativo::before { content: ""; position: absolute; top: 0; width: 34px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent); }
.nav-inferior a.ativo .ic { transform: translateY(-1px); }
.nav-inferior a[href="favoritos.php"].ativo .ic path { fill: currentColor; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  z-index: 200; max-width: calc(100% - 32px); width: max-content; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: .25s; text-align: center; }
.toast.mostrar { opacity: 1; transform: translate(-50%, 0); }
.toast.erro { background: #b91c1c; }
.tela-auth .toast, .sem-nav ~ .toast { bottom: calc(24px + var(--safe-b)); }
.tela-perfil-pro .toast { bottom: calc(96px + var(--safe-b)); }

/* ---------- folha de filtros ---------- */
.folha-fundo { position: fixed; inset: 0; z-index: 90; background: rgba(8,18,34,0); transition: background .2s; display: flex; align-items: flex-end; justify-content: center; }
.folha-fundo.aberta { background: rgba(8,18,34,.45); }
.folha-fundo[hidden] { display: none; }
.folha { width: 100%; max-width: 560px; max-height: 88dvh; display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .22s ease; }
.folha-fundo.aberta .folha { transform: none; }
.folha-alca { width: 42px; height: 5px; border-radius: 3px; background: #d7dce4; margin: 10px auto 0; }
.folha-topo { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px 6px 20px; }
.folha-topo h2 { margin: 0; font-size: 19px; color: var(--navy); }
.folha-corpo { overflow-y: auto; padding: 4px 20px 10px; }
.folha-rodape { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 12px 20px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }
.filtro { padding: 12px 0; border-bottom: 1px solid var(--line); }
.filtro:last-child { border: 0; }
.filtro > label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, a.chip { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #d5dce6; font-size: 13.5px; font-weight: 600; color: #3a4658; background: #fff; }
.chip input:checked + span, a.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips-ativos { display: flex; gap: 8px; overflow-x: auto; margin: 6px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
.chips-ativos::-webkit-scrollbar { display: none; }
.chips-ativos .chip { flex-shrink: 0; padding: 6px 10px 6px 12px; font-size: 12.5px; }
.switch-linha { display: flex !important; align-items: center; justify-content: space-between; margin: 0 !important; cursor: pointer; }
.switch-linha input { position: absolute; opacity: 0; }
.switch { width: 46px; height: 28px; border-radius: 14px; background: #d5dce6; position: relative; transition: .2s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.switch-linha input:checked + .switch { background: var(--ok); }
.switch-linha input:checked + .switch::after { left: 21px; }
.select-app, .campo-app input { position: relative; }
.select-app select, .campo-app input { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid #d5dce6; background: #fff; padding: 0 40px 0 14px; font: inherit; font-size: 16px; color: var(--text); -webkit-appearance: none; appearance: none; outline: 0; }
.campo-app input { padding-right: 14px; }
.select-app select:focus, .campo-app input:focus { border-color: var(--navy-2); }
.select-app .ic { position: absolute; right: 14px; top: 16px; pointer-events: none; color: var(--muted); }
.campo-app { margin-bottom: 14px; }
.campo-app label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: var(--navy); }
.campo-app small { font-weight: 500; color: var(--muted); }
.nota-filtro { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 12px 0 0; }
.nota-filtro a { color: var(--navy-2); font-weight: 700; }
.divisor { display: flex; align-items: center; gap: 10px; margin: 20px 0 6px; color: var(--muted); font-size: 13px; }
.divisor::before, .divisor::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gps-status { margin: 12px 0 0; font-size: 14px; color: var(--ok); }
.gps-status.erro { color: var(--danger); }

/* ---------- perfil do usuário ---------- */
.perfil-topo { margin: 0 -16px; padding: calc(28px + var(--safe-t)) 16px 26px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--navy-2), var(--navy)); border-radius: 0 0 28px 28px; }
.perfil-av { width: 80px; height: 80px; border-radius: 26px; display: inline-grid; place-items: center; background: var(--accent); color: var(--navy); font-size: 28px; font-weight: 800; }
.perfil-topo h1 { margin: 12px 0 8px; font-size: 21px; }
.perfil-topo .tag-claro { background: rgba(255,255,255,.14); color: #fff; }
.menu-grupo { margin-top: 14px; background: #fff; border-radius: var(--r); box-shadow: 0 1px 2px rgba(16,30,54,.05); overflow: hidden; }
.menu-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; background: none; text-align: left; border-top: 1px solid var(--line); color: var(--navy-2); }
.menu-item:first-child { border-top: 0; }
.menu-item[hidden] { display: none; }
.menu-item > span { flex: 1; display: flex; flex-direction: column; min-width: 0; color: var(--text); font-weight: 600; font-size: 14.5px; word-break: break-word; }
.menu-item small { color: var(--muted); font-weight: 500; font-size: 12px; margin-bottom: 2px; }
.ok-ic { color: #1d9bf0; display: inline-flex; }
.versao { text-align: center; color: #a3acb9; font-size: 12px; margin: 16px 0 0; }

/* ---------- convite para instalar ---------- */
@keyframes aparecer { from { opacity: 0; } }
@keyframes subir { from { transform: translateY(40px); } }

/* ---------- celular pequeno / telas grandes ---------- */
@media (max-width: 360px) {
  .conteudo { padding: 0 12px; }
  .busca-exemplos, .carrossel, .chips-ativos { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .topo-busca, .pro-capa, .perfil-topo { margin-left: -12px; margin-right: -12px; }
  .btn-wa, .btn-ligar { font-size: 13.5px; }
}
@media (min-width: 600px) {
  .barra-contato, .nav-inferior { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* =====================================================================
   ADMINISTRAÇÃO
   ===================================================================== */
.adm-abas { position: sticky; top: calc(62px + var(--safe-t)); z-index: 15; display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 12px; padding: 6px 16px 10px; background: var(--bg); scrollbar-width: none; }
.adm-abas::-webkit-scrollbar { display: none; }
.adm-abas a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #3a4658; }
.adm-abas a.ativa { background: var(--navy); border-color: var(--navy); color: #fff; }
.adm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: #fff; border-radius: var(--r); padding: 14px; box-shadow: 0 1px 2px rgba(16,30,54,.05); display: flex; flex-direction: column; gap: 2px; }
.kpi b { font-size: 26px; color: var(--navy); letter-spacing: -.5px; }
.kpi small { font-weight: 700; font-size: 12.5px; color: var(--text); }
.kpi i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.adm-comecar { margin-top: 14px; padding: 16px; border-radius: var(--r); background: #fff7e8; border: 1px solid #fde4b5; }
.adm-comecar h2 { margin: 0 0 8px; font-size: 16px; color: var(--navy); }
.adm-comecar ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.adm-comecar a { color: var(--navy-2); }
.adm-dica { font-size: 13px; color: var(--muted); margin: 0 0 4px; line-height: 1.45; }
.mt { margin-top: 12px; }
.adm-lista { display: grid; gap: 8px; margin-top: 12px; }
.adm-linha { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.adm-linha .avatar { width: 46px; height: 46px; border-radius: 14px; }
.adm-linha .avatar b { font-size: 16px; }
.adm-linha-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.adm-linha-txt b { display: flex; align-items: center; gap: 4px; font-size: 14.5px; color: var(--text); }
.adm-linha-txt small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-linha-txt .pill { align-self: flex-start; margin-top: 4px; }
.pill { flex-shrink: 0; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #e7edf6; color: var(--navy-2); }
.pill-ativo { background: #e6f6ec; color: #15803d; }
.pill-pendente { background: #fff4dc; color: #a16207; }
.pill-inativo { background: #f1f2f4; color: #6b7280; }
.adm-mover { display: flex; flex-direction: column; gap: 4px; }
form.inline { display: inline; margin: 0; }
.btn-mini { width: 32px; height: 28px; border-radius: 9px; border: 1px solid var(--line); background: #f7f9fc; color: var(--navy-2); display: grid; place-items: center; }
.btn-mini.txt { width: auto; padding: 0 12px; height: 32px; font-size: 13px; font-weight: 600; }
.btn-mini.perigo { color: var(--danger); }
.adm-busca { display: flex; gap: 8px; }
.adm-busca .busca-campo { height: 48px; box-shadow: none; border: 1px solid var(--line); border-radius: 14px; }
.select-app.mini select { height: 48px; width: 120px; padding-right: 30px; font-size: 14px; }
.select-app.mini .ic { top: 16px; right: 10px; }
.adm-pag { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.adm-form .bloco { margin-top: 12px; }
.adm-form .bloco:first-child { margin-top: 0; }
.adm-form textarea { width: 100%; border-radius: 14px; border: 1.5px solid #d5dce6; padding: 12px 14px; font: inherit; font-size: 16px; resize: vertical; outline: 0; }
.adm-form textarea:focus { border-color: var(--navy-2); }
.dica { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.4; font-weight: 500; }
.bloco-dica { margin: 10px 0 0; }
.erro-campo { display: block; color: var(--danger); font-size: 13px; margin-top: 6px; }
.com-erro input, .com-erro select, .com-erro textarea { border-color: var(--danger) !important; }
.obrig { color: var(--danger); }
.dupla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.dupla > *, .campo-app input { min-width: 0; }
.campo-app input[type=datetime-local] { padding-right: 8px; font-size: 15px; }
.dupla-uf { grid-template-columns: minmax(0, 1fr) 80px; }
@media (max-width: 380px) { .dupla:not(.dupla-uf) { grid-template-columns: 1fr; } }
.adm-rodape { position: sticky; bottom: 0; z-index: 10; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin: 14px -16px 0; padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(243,245,249,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.foto-campo { display: flex; align-items: center; gap: 16px; }
.foto-campo > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.check-linha { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.adm-cats { display: grid; gap: 6px; }
.adm-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 12px; border: 1px solid var(--line); }
.adm-cat.inativa { opacity: .5; }
.adm-cat-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; flex: 1; }
.adm-cat-check input, .adm-cat-princ input { width: 18px; height: 18px; accent-color: var(--navy); }
.adm-cat-princ { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.cat-ic.mini { width: 30px; height: 30px; border-radius: 9px; }
.adm-icones { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; }
.adm-icones label { cursor: pointer; }
.adm-icones input { position: absolute; opacity: 0; }
.adm-icones .cat-ic { width: 48px; height: 48px; border: 2px solid transparent; }
.adm-icones input:checked + .cat-ic { border-color: var(--cat); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cat) 20%, transparent); }
.cor { width: 64px; height: 44px; border: 1.5px solid #d5dce6; border-radius: 12px; padding: 4px; background: #fff; }
.adm-filtro { margin-bottom: 4px; }
.adm-aval { margin-top: 0; }
.adm-aval.oculta { opacity: .6; }
.adm-aval p { margin: 8px 0 0; color: #3a4658; line-height: 1.45; font-size: 14px; }
.adm-acoes { display: flex; gap: 8px; margin-top: 10px; }
.adm-acoes form { margin: 0; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f1f2f4; font-size: 14px; }
.info-row span:first-child { color: var(--muted); }
.info-row span:last-child { font-weight: 600; text-align: right; word-break: break-word; }
.tela-admin .alert { margin-bottom: 12px; }

/* banner do topo da Home (cadastrado no admin) */
.banner-topo { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, var(--accent), #f7c46c); color: var(--navy); }
.banner-topo b { display: block; font-size: 15px; }
.banner-topo small { display: block; font-size: 12.5px; opacity: .85; margin-top: 2px; line-height: 1.35; }
.banner-topo .freela-btn { background: rgba(11,27,50,.12); }
.cartao-admin { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: var(--r); background: var(--navy); color: #fff; }
.cartao-admin small { display: block; opacity: .8; font-size: 12.5px; margin-top: 2px; }
.cartao-admin .freela-ic { width: 42px; height: 42px; }

/* =====================================================================
   MÓDULO 03 — busca, categorias, notificações, anúncio do prestador, propaganda
   ===================================================================== */
/* topo: sino de notificações */
.topo-botoes { display: flex; gap: 8px; }
.btn-sino { position: relative; color: #fff; }
.sino-n { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font: 700 11px/19px Inter, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--navy); }

/* autocompletar */
.busca-home { position: relative; margin-top: -26px; z-index: 5; }
.busca-home .busca { margin-top: 0; }
.busca-home .sugestoes { top: 60px; left: 0; right: 58px; }
.sug { font-weight: 500; }
.sug .sug-ic { --cat: var(--navy-2); flex-shrink: 0; }
.sug-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-txt b { color: var(--navy); font-weight: 800; }
.sug small { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

/* patrocinados na busca (item 7): em cima, marcados, sem tirar ninguém da lista */
.lista-patrocinada { margin-bottom: 10px; }
.pro-card.patrocinado { box-shadow: 0 0 0 1.5px var(--accent), var(--shadow); }
.pro-selo { position: absolute; top: -8px; left: 14px; background: var(--accent); color: var(--navy); font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }

/* banners de propaganda (carrossel abaixo do Espaço Freelancer) */
.propaganda { position: relative; margin-top: 14px; }
.prop-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; scrollbar-width: none; box-shadow: var(--shadow); background: #dfe5ee; }
.prop-trilho::-webkit-scrollbar { display: none; }
.prop-item { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 2 / 1; display: block; }
.prop-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-rotulo { position: absolute; top: 8px; right: 8px; background: rgba(11,27,50,.55); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; pointer-events: none; }
.prop-pontos { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.prop-pontos i { width: 7px; height: 7px; border-radius: 999px; background: #c9d1dd; cursor: pointer; transition: width .2s, background .2s; }
.prop-pontos i.on { width: 20px; background: var(--navy-2); }

/* cartão do prestador na Home */
.cartao-anuncio { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); color: var(--text); }
.cartao-anuncio .freela-ic { width: 42px; height: 42px; }
.cartao-anuncio b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cartao-anuncio small { color: var(--muted); }
.pill-reprovado { background: #fdecec; color: #b91c1c; }

/* categorias e subcategorias */
.cat-grupos { display: grid; gap: 10px; }
.cat-grupo { background: #fff; border-radius: 18px; box-shadow: 0 1px 2px rgba(16,30,54,.05); overflow: hidden; }
.cat-grupo-topo { display: flex; align-items: center; gap: 12px; padding: 12px; }
.cat-grupo-topo .seta { color: #b6bfcc; }
.cat-subs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px 12px; }
.cat-sub { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #f2f4f8; color: #4b5668; }
.cat-sub.tem { background: color-mix(in srgb, var(--cat) 12%, #fff); color: color-mix(in srgb, var(--cat) 75%, #000); }
.cat-linha-todos { margin-bottom: 14px; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--cat) 40%, #fff); }
.cat-linha.vazia .cat-linha-txt small { color: #9aa3b0; }
.cat-linha .seta { color: #b6bfcc; }

/* notificações */
.notif-lista { display: grid; gap: 8px; }
.notif { display: flex; gap: 12px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(16,30,54,.05); align-items: flex-start; }
.notif.nova { box-shadow: inset 3px 0 0 var(--accent), 0 1px 2px rgba(16,30,54,.05); background: #fffdf7; }
.notif-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: #eef2f8; color: var(--navy-2); }
.notif-encaminhamento { background: #e6f6ec; color: var(--wa); }
.notif-favorito { background: #fdecef; color: #d9488f; }
.notif-anuncio_aprovado { background: #e6f6ec; color: var(--ok); }
.notif-anuncio_reprovado { background: #fdecec; color: var(--danger); }
.notif-anuncio_novo { background: #fff4dc; color: #a16207; }
.notif-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13.5px; color: #3a4658; line-height: 1.4; }
.notif-txt b { color: var(--navy); font-size: 14.5px; }
.notif-det { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.notif-det .ic { vertical-align: -2px; margin-right: 2px; }

/* anúncio do prestador */
.anuncio-intro { display: flex; gap: 14px; margin-top: 14px; padding: 16px; border-radius: var(--r); background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.anuncio-intro h2 { margin: 2px 0 10px; font-size: 17px; }
.passos-compactos { gap: 6px; color: #dbe3ef; font-size: 13.5px; }
.passos-compactos b { color: #fff; }
.anuncio-cats { display: grid; gap: 8px; margin-top: 10px; }
.anuncio-cat { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.anuncio-cat summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
.anuncio-cat summary::-webkit-details-marker { display: none; }
.anuncio-cat summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 18px; }
.anuncio-cat[open] summary::after { content: "–"; }
.anuncio-cat-opcoes { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 12px; }
.anuncio-cat-opcoes .chip span { padding: 7px 12px; font-size: 13px; }
.nota-privacidade { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #e9f7ef; color: #1d6b40; font-size: 13px; line-height: 1.45; }
.nota-privacidade .ic { color: var(--ok); margin-top: 1px; }
.check-linha.com-erro { color: var(--danger); }
.anuncio-status { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.anuncio-status-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.anuncio-status-txt b { display: flex; align-items: center; gap: 4px; font-size: 16px; color: var(--navy); }
.anuncio-status-txt small { color: var(--muted); }
.anuncio-status-txt .pill { align-self: flex-start; margin-top: 4px; }
.anuncio-explica { margin: 10px 2px 0; font-size: 13.5px; line-height: 1.45; color: #3a4658; }
.anuncio-explica.reprovado { color: #b91c1c; font-weight: 600; }
.anuncio-acoes { display: grid; gap: 8px; margin-top: 14px; }
.btn-wa.enviando, .btn-ligar.enviando { opacity: .7; }

/* administração */
.adm-alerta { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 14px; border-radius: var(--r); background: #fff4dc; color: #7c4a03; }
.adm-alerta span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.adm-alerta small { font-size: 12.5px; opacity: .85; }
.adm-aprovacao { margin: 12px 0; padding: 16px; border-radius: var(--r); background: #fffaf0; border: 1.5px solid #f3d38a; }
.adm-aprovacao h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.adm-aprovacao p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; color: #5b4a22; }
.adm-reprovar { margin-top: 10px; }
.adm-reprovar summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--danger); padding: 6px 0; }
.adm-metricas { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f4f6fa; font-size: 12.5px; color: var(--muted); }
.adm-metricas b { color: var(--navy); font-size: 14px; }
.adm-cat.sub { margin-left: 22px; }
.adm-subs { margin: -4px 0 4px 18px; }
.adm-subs summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--navy-2); padding: 4px 0; }
.adm-subs .adm-linha-sub { margin-top: 6px; padding: 10px 12px; }
.adm-thumb { width: 72px; height: 36px; border-radius: 8px; overflow: hidden; background: #e7eaf0; flex-shrink: 0; }
.adm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-previa { aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; background: #eef1f6; margin: 8px 0 10px; display: grid; place-items: center; }
.banner-previa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-previa.vazia span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }

/* =====================================================================================
   MÓDULO 04 — PAINEL ADMINISTRATIVO (menu agrupado, tabelas, filtros, gráficos, alertas)
   ===================================================================================== */
.muted { color: var(--muted); }
.adm-layout { display: block; }
.adm-main { min-width: 0; }
.adm-menu { display: none; }
.adm-menu-mob { margin: 0 0 12px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.adm-menu-mob > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-size: 14px; color: var(--navy); }
.adm-menu-mob > summary::-webkit-details-marker { display: none; }
.adm-menu-mob > summary span { flex: 1; }
.adm-menu-mob[open] > summary { border-bottom: 1px solid var(--line); }
.adm-menu-mob-lista { padding: 6px 8px 10px; max-height: 70dvh; overflow-y: auto; }
.adm-menu-grupo h3 { margin: 12px 8px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.adm-menu-grupo a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #3a4658; }
.adm-menu-grupo a.ativa { background: var(--navy); color: #fff; }
.adm-menu-grupo a:not(.ativa):hover { background: #eef2f8; }
.adm-quem { padding: 10px; margin: 0 0 4px; border-radius: 12px; background: #fff7e8; display: flex; flex-direction: column; gap: 2px; }
.adm-quem b { font-size: 13px; color: var(--navy); }
.adm-quem small { font-size: 11.5px; color: var(--muted); }
.adm-h1 { margin: 4px 0 12px; font-size: 21px; color: var(--navy); letter-spacing: -.3px; }
.adm-h3 { margin: 16px 0 8px; font-size: 14px; color: var(--navy); }
.adm-sub { margin: -4px 0 12px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; }
.adm-agrup .chip { padding: 5px 10px; font-size: 12px; }
.adm-busca-global { margin: 0 0 10px; }
.adm-busca-global .busca-campo { height: 46px; box-shadow: none; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.adm-busca-global.grande .busca-campo { height: 54px; }
.adm-bloco { margin: 16px 0 0; }
.adm-bloco > h2, .adm-bloco-topo h2 { margin: 0 0 10px; font-size: 16.5px; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.adm-bloco-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.adm-bloco-topo a { font-size: 13px; font-weight: 700; color: var(--navy-2); white-space: nowrap; }
a.kpi { color: inherit; transition: box-shadow .15s; }
a.kpi:hover { box-shadow: 0 0 0 2px var(--navy-2) inset; }
.kpi-alerta { background: #fff7e8; }
.kpi-alerta b { color: #a16207; }
.adm-kpis + .adm-kpis { margin-top: 10px; }
.adm-graficos { display: grid; gap: 12px; margin-top: 12px; }
.adm-graf { margin: 12px 0 0; background: #fff; border-radius: var(--r); padding: 14px; box-shadow: 0 1px 2px rgba(16,30,54,.05); min-width: 0; }
.adm-graficos .adm-graf { margin: 0; }
.adm-graf figcaption { font-weight: 700; font-size: 13.5px; color: var(--navy); margin-bottom: 8px; }
.adm-graf-area { position: relative; height: 230px; }
.adm-graf.pizza .adm-graf-area { height: 210px; }
.adm-graf-vazio { margin: 0; padding: 30px 0; text-align: center; color: var(--muted); font-size: 13px; }
.adm-graf-area.sem-graf { height: auto; max-height: 230px; overflow-y: auto; }
.adm-graf-tabela { width: 100%; font-size: 12px; border-collapse: collapse; }
.adm-graf-tabela td { padding: 3px 4px; border-bottom: 1px solid #f1f2f4; }
.adm-listinha { background: #fff; border-radius: var(--r); padding: 14px; box-shadow: 0 1px 2px rgba(16,30,54,.05); min-width: 0; }
.adm-listinha h3 { margin: 0 0 6px; font-size: 13.5px; color: var(--navy); }
.adm-listinha h3 + .info-row, .adm-listinha .info-row { font-size: 13px; padding: 7px 0; }
.adm-listinha .adm-graf { box-shadow: none; padding: 0; margin: 0 0 8px; }
.adm-alertas { display: grid; gap: 8px; }
.adm-al { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,30,54,.05); font-size: 13.5px; color: var(--text); border-left: 4px solid; }
.adm-al span { flex: 1; line-height: 1.4; }
.adm-al i { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.adm-al-vermelho { border-color: #dc2626; } .adm-al-vermelho i { background: #dc2626; }
.adm-al-laranja { border-color: #ea580c; } .adm-al-laranja i { background: #ea580c; }
.adm-al-amarelo { border-color: #eab308; } .adm-al-amarelo i { background: #eab308; }
.adm-al-azul { border-color: #2563eb; } .adm-al-azul i { background: #2563eb; }
.adm-al-verde { border-color: #16a34a; } .adm-al-verde i { background: #16a34a; }
/* filtros */
.adm-filtros { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0 0 12px; padding: 12px; background: #fff; border-radius: var(--r); box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.adm-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 140px; max-width: 280px; }
.adm-f > span:first-child { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.adm-f .select-app.mini select { width: 100%; height: 42px; font-size: 14px; }
.adm-f .select-app.mini .ic { top: 13px; }
.adm-f input { height: 42px; border-radius: 12px; border: 1.5px solid #d5dce6; padding: 0 12px; font: inherit; font-size: 14px; width: 100%; min-width: 0; background: #fff; }
.adm-f-q { flex: 2 1 220px; max-width: none; }
.adm-datas { display: flex; gap: 8px; flex: 2 1 260px; }
.adm-datas[hidden] { display: none; }
.adm-filtros .btn-sm { height: 42px; }
/* tabelas (viram cartões no celular) */
.adm-tabela-wrap { margin-top: 10px; }
.adm-tabela { width: 100%; border-collapse: separate; border-spacing: 0; }
.adm-tabela thead { display: none; }
.adm-tabela tr { display: block; background: #fff; border-radius: 16px; padding: 10px 14px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.adm-tabela td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13.5px; text-align: right; border-bottom: 1px dashed #eef0f3; }
.adm-tabela td:last-child { border-bottom: 0; }
.adm-tabela td::before { content: attr(data-rot); color: var(--muted); font-size: 12px; text-align: left; flex-shrink: 0; max-width: 45%; }
.adm-tabela td[data-rot=""]::before { content: none; }
.adm-tabela td.td-pri { display: block; text-align: left; font-size: 14.5px; padding-bottom: 8px; }
.adm-tabela td.td-pri::before { content: none; }
.adm-tabela td.td-pri a { color: var(--navy); display: block; }
.adm-tabela small.sub { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.adm-tabela .pill { font-size: 11px; }
.td-av { display: flex; align-items: center; gap: 10px; }
.td-av .avatar { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; }
.td-av .avatar b { font-size: 14px; }
.adm-tabela tr.linha-alerta { box-shadow: inset 3px 0 0 #dc2626, 0 1px 2px rgba(16,30,54,.05); }
.vazio-mini { padding: 18px; margin-top: 10px; }
.vazio-mini p { margin: 0 auto; }
.adm-acoes-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin: 4px 0 0; }
.adm-pag { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.adm-pag > span:last-child { display: flex; gap: 8px; }
.adm-total { font-size: 12.5px; color: var(--muted); margin: 0; }
.adm-exportar { font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.adm-exportar a { font-weight: 700; color: var(--navy-2); }
/* fichas e abas */
.adm-ficha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; background: #fff; border-radius: var(--r); box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.adm-ficha > div:not(.adm-ficha-acoes) { flex: 1; min-width: 200px; }
.adm-ficha h2 { margin: 0 0 4px; font-size: 18px; color: var(--navy); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.adm-ficha p { margin: 2px 0; font-size: 13.5px; color: #3a4658; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.adm-ficha .perfil-av { width: 60px; height: 60px; border-radius: 18px; font-size: 22px; }
.adm-ficha-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-subabas { display: flex; gap: 6px; overflow-x: auto; margin: 12px 0 0; padding-bottom: 4px; scrollbar-width: none; }
.adm-subabas::-webkit-scrollbar { display: none; }
.adm-subabas a { flex-shrink: 0; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #3a4658; background: #fff; border: 1px solid var(--line); }
.adm-subabas a.ativa { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.adm-duas { display: grid; gap: 12px; }
.adm-duas > .bloco { margin-top: 12px; }
.adm-botoes { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-botoes .btn-app-perigo { margin-top: 0; }
.adm-form-linha .campo-app { margin-bottom: 10px; }
.adm-voltar-resumo { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; }
.adm-voltar-resumo a { color: var(--navy-2); }
.adm-chips-cont { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-chips-cont .chip { font-size: 12.5px; padding: 6px 10px; }
.adm-chips-cont .chip.vazia { border-color: #f6caca; color: #b91c1c; }
.adm-respostas { display: grid; grid-template-columns: 1fr; gap: 8px; }
.adm-respostas > div { background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.adm-respostas small { color: var(--muted); font-size: 12px; }
.adm-respostas b { color: var(--navy); font-size: 15px; }
.adm-planos { display: grid; gap: 12px; margin-top: 12px; }
.adm-plano { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: 0 1px 2px rgba(16,30,54,.05); display: flex; flex-direction: column; gap: 6px; }
.adm-plano.inativo { opacity: .75; }
.adm-plano header { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; color: var(--navy); }
.adm-plano .preco { margin: 0; font-size: 24px; font-weight: 800; color: var(--navy); }
.adm-plano .preco small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.adm-plano ul { margin: 0; padding-left: 18px; font-size: 13px; color: #3a4658; display: grid; gap: 3px; }
.adm-plano footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.adm-plano footer .adm-mover { flex-direction: row; }
.adm-funil { display: grid; gap: 8px; }
.funil-etapa { display: grid; grid-template-columns: 1fr; gap: 4px; }
.funil-rot { font-size: 13px; font-weight: 600; color: #3a4658; }
.funil-rot em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12px; }
.funil-barra { position: relative; height: 26px; background: #eef2f8; border-radius: 8px; overflow: hidden; }
.funil-barra i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--navy-2), #3b6fb0); border-radius: 8px; }
.funil-barra b { position: absolute; right: 10px; top: 4px; font-size: 13px; color: var(--navy); }
.adm-mensagens { display: grid; gap: 10px; margin-top: 12px; }
.adm-msg { max-width: 92%; padding: 10px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16,30,54,.05); font-size: 14px; line-height: 1.45; }
.adm-msg small { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.adm-msg.equipe { margin-left: auto; background: #e8eef8; }
.adm-msg p { margin: 0; white-space: pre-wrap; }
.adm-diff { font-size: 12px; display: grid; gap: 4px; }
.adm-diff div { display: grid; grid-template-columns: minmax(90px, 30%) 1fr 1fr; gap: 6px; padding: 4px 0; border-bottom: 1px dashed #eef0f3; }
.adm-diff del { color: #b91c1c; text-decoration: none; word-break: break-word; }
.adm-diff ins { color: #15803d; text-decoration: none; word-break: break-word; }
.adm-qr { display: grid; place-items: center; padding: 14px; background: #fff; border-radius: 14px; border: 1px solid var(--line); width: max-content; margin: 8px 0; }
.adm-segredo { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: 2px; word-break: break-all; background: #f4f6fa; padding: 8px 10px; border-radius: 10px; }
.adm-int { display: grid; gap: 8px; }
.adm-int > div { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(16,30,54,.05); }
.adm-int > div span { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.adm-int small { color: var(--muted); font-size: 12.5px; }
.adm-portao { max-width: 440px; margin: 20px auto 0; }
.adm-portao h2 { display: flex; gap: 8px; align-items: center; }
.pill-reprovado, .pill-recusado { background: #fdecec; color: #b91c1c; }
code { font-size: 12.5px; background: #f1f4f9; padding: 1px 5px; border-radius: 5px; }

@media (min-width: 700px) {
  .adm-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adm-graficos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-duas { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .adm-respostas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-planos { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .funil-etapa { grid-template-columns: 220px 1fr; align-items: center; }
}
@media (min-width: 980px) {
  body.tela-admin .tela { max-width: 1320px; }
  body.tela-admin .conteudo { padding-left: 20px; padding-right: 20px; }
  .adm-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 22px; align-items: start; }
  .adm-menu { display: block; position: sticky; top: calc(70px + var(--safe-t)); max-height: calc(100dvh - 90px); overflow-y: auto; padding: 8px; background: #fff; border-radius: var(--r); box-shadow: 0 1px 2px rgba(16,30,54,.05); scrollbar-width: thin; }
  .adm-menu-mob { display: none; }
  .adm-kpis-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adm-graficos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adm-graficos:has(> :nth-child(2):last-child) { grid-template-columns: 2fr 1fr; }
  .adm-respostas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* tabela de verdade no computador */
  .adm-tabela-wrap { overflow-x: auto; background: #fff; border-radius: var(--r); box-shadow: 0 1px 2px rgba(16,30,54,.05); }
  .adm-tabela { display: table; }
  .adm-tabela thead { display: table-header-group; }
  .adm-tabela th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fafbfd; }
  .adm-tabela tr { display: table-row; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
  .adm-tabela tbody tr:hover td { background: #f8fafc; }
  .adm-tabela td, .adm-tabela td.td-pri { display: table-cell; text-align: left; padding: 10px 12px; border-bottom: 1px solid #f1f2f4; vertical-align: middle; font-size: 13.5px; }
  .adm-tabela td::before { content: none; }
  .adm-tabela tr:last-child td { border-bottom: 0; }
  .adm-tabela tr.linha-alerta td:first-child { box-shadow: inset 3px 0 0 #dc2626; }
  .adm-rodape { margin-left: 0; margin-right: 0; border-radius: 16px; }
  .tela-admin .adm-form .bloco { max-width: 860px; }
}
/* Módulo 04 — telas do app: planos, suporte, denúncia */
.anuncio-plano { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 14px 16px; border-radius: var(--r); background: #fff7e8; border: 1px solid #fde4b5; color: var(--navy); }
.anuncio-plano span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.anuncio-plano small { color: #7c5a14; font-size: 12.5px; }
.planos-app { display: grid; gap: 12px; margin-top: 14px; }
.plano-app { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); color: var(--text); border: 2px solid transparent; }
.plano-app.atual { border-color: var(--accent); }
.plano-app > b { font-size: 17px; color: var(--navy); }
.plano-app .preco { font-size: 24px; font-weight: 800; color: var(--navy); }
.plano-app .preco s { font-size: 15px; color: var(--muted); font-weight: 600; }
.plano-app .preco small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.plano-app ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: #3a4658; display: grid; gap: 4px; }
.plano-app .btn-app { align-self: flex-start; }
.pag-instrucoes { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #eef6ff; color: #0B1B32; font-size: 14px; }
.pag-instrucoes p { margin: 6px 0 0; line-height: 1.5; }
.link-denunciar { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; color: var(--muted); text-decoration: underline; }
.texto-longo .texto + .texto { margin-top: 10px; }

.adm-filtros-box { margin: 0 0 12px; }
.adm-filtros-box > summary { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.adm-filtros-box > summary::-webkit-details-marker { display: none; }
.adm-filtros-box[open] > summary { margin-bottom: 8px; }
@media (min-width: 980px) { .adm-filtros-box > summary { display: none; } }


/* =====================================================================
   VERSÃO WEB — barra superior, tablet e computador
   Celular (até 1023px): navegação inferior, como antes.
   Computador (1024px+): barra superior com o menu, conteúdo largo,
   grades com mais colunas e filtros em janela central.
   ===================================================================== */
.web-topo { display: none; }

/* tablet: deixa de ser uma "coluna de celular" */
@media (min-width: 640px) and (max-width: 1023px) {
  .tela { max-width: 760px; }
  .nav-inferior, .barra-contato { max-width: 760px; }
  .cat-grade { grid-template-columns: repeat(4, 1fr); }
  .lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dest-card, .sk-dest { flex-basis: 46%; }
}

@media (min-width: 1024px) {
  :root { --web-h: 64px; --larg: 1200px; }
  body.tela-app { background: var(--bg); }

  /* barra superior */
  .web-topo { display: block; position: sticky; top: 0; z-index: 60; height: var(--web-h); color: #fff;
    background: linear-gradient(90deg, var(--navy) 0, var(--navy-2) 100%); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 20px rgba(11,27,50,.18); }
  .web-topo-in { max-width: var(--larg); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
  .web-topo .marca-nome { font-size: 18px; }
  body.tela-admin .web-topo-in { max-width: 1320px; padding: 0 20px; }
  .web-menu { display: flex; gap: 4px; flex: 1; }
  .web-menu a, .web-perfil { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px;
    font-size: 14px; font-weight: 600; color: rgba(255,255,255,.78); transition: background .15s, color .15s; }
  .web-menu a:hover, .web-perfil:hover { background: rgba(255,255,255,.08); color: #fff; }
  .web-menu a.ativo, .web-perfil.ativo { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
  .web-acoes { display: flex; align-items: center; gap: 10px; }
  .web-acoes .btn-sino { width: 40px; height: 40px; border-radius: 12px; }
  .web-perfil { border: 1px solid rgba(255,255,255,.16); }

  /* moldura: sem navegação inferior, conteúdo largo */
  .nav-inferior { display: none; }
  .tela, .tela.sem-nav { max-width: var(--larg); padding-bottom: 48px; background: transparent; box-shadow: none !important; }
  .conteudo { padding: 0 24px; }
  .tela-estreita .conteudo { max-width: 860px; margin: 0 auto; }
  .tela-estreita .topo-sub { max-width: 860px; margin: 0 auto; }
  .toast, .sem-nav ~ .toast, .tela-perfil-pro .toast { bottom: 28px; }
  .barra-carregando { top: var(--web-h); }

  /* cabeçalhos das telas: ficam abaixo da barra superior */
  .topo-sub { top: var(--web-h); padding: 14px 24px; background: rgba(243,245,249,.94); }
  .topo-sub h1 { font-size: 22px; text-align: left; padding-left: 4px; }
  .topo-sub:not(:has(.btn-voltar)) .topo-esp:first-child { display: none; }
  .topo-busca { top: var(--web-h); margin: 0 -24px; padding: 16px 24px 8px; }
  .adm-abas { top: calc(var(--web-h) + 70px); }
  .adm-menu { top: calc(var(--web-h) + 78px) !important; max-height: calc(100dvh - var(--web-h) - 96px) !important; }

  /* Home: faixa de boas-vindas em cartão */
  .topo-home { margin: 24px 24px 0; padding: 36px 40px 64px; border-radius: 28px; }
  .topo-home .topo-linha { display: none; }
  .topo-ola { margin-top: 0; font-size: 32px; letter-spacing: -.6px; }
  .topo-sub-ola { font-size: 16px; }
  .busca-home { max-width: 860px; margin-left: 40px; }
  .busca-campo { height: 58px; }
  .busca-exemplos { flex-wrap: wrap; overflow: visible; margin: 14px 0 0; padding: 0; }
  .busca-exemplos a:hover, .chip-cat:hover { border-color: var(--navy-2); }

  /* grades */
  .secao { margin-top: 32px; }
  .secao-topo h2 { font-size: 21px; }
  .cat-grade { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
  .cat { padding: 18px 8px 14px; transition: transform .15s, box-shadow .15s; }
  .cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .cat-ic { width: 54px; height: 54px; }
  .cat-nome { font-size: 13px; }
  .cat-lista, .cat-grupos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .lista { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
  .lista > .vazio, .lista > .erro-conexao, .lista > .sentinela, .lista > .lista-patrocinada { grid-column: 1 / -1; }
  .pro-card { transition: box-shadow .15s, transform .15s; }
  .pro-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16,30,54,.06), 0 14px 30px rgba(16,30,54,.10); }
  .carrossel { margin: 0; padding: 2px 0 10px; scroll-snap-type: none; flex-wrap: wrap; overflow: visible; }
  .dest-card, .sk-dest { flex: 0 0 calc((100% - 36px) / 4); max-width: none; }
  .chips-ativos { margin: 6px 0 0; padding: 0; flex-wrap: wrap; overflow: visible; }
  .propaganda .prop-item { aspect-ratio: 4 / 1; }
  .freela-banner, .cartao-local, .cartao-admin, .cartao-anuncio, .banner-topo { padding: 18px 22px; }
  .planos-app { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .adm-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* perfis */
  .perfil-topo, .pro-capa { margin: 20px 0 0; border-radius: 28px; }
  .pro-capa { padding-top: 72px; }
  .tela-perfil-pro .topo-sub.transparente { position: absolute; top: 20px; left: 0; right: 0; max-width: 860px; margin: 0 auto; padding: 14px 24px; }
  .tela-perfil-pro .tela, .tela-perfil-pro .tela.sem-nav { padding-bottom: 120px; }
  .barra-contato { max-width: 860px; bottom: 16px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 30px rgba(16,30,54,.14); padding: 12px 16px; }

  /* filtros: janela central em vez de folha que sobe */
  .folha-fundo { align-items: center; }
  .folha { max-width: 560px; border-radius: 24px; max-height: 84dvh; }
  .folha-alca { display: none; }

  /* botões e campos com cursor de computador */
  .btn-app:hover { filter: brightness(1.06); }
  .btn-app-sec:hover { border-color: var(--navy-2); }
  .menu-item:hover { background: #f7f9fc; }
}

@media (min-width: 1280px) {
  .lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===================== Módulo 05: modo gratuito x plano, endereço e Mercado Pago ===================== */
.propaganda.propaganda-topo { margin: 14px 0 4px; }
.alert-info { background: #eef6ff; color: #0B1B32; display: flex; gap: 8px; align-items: flex-start; }
.anuncio-alcance { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px 16px; border-radius: var(--r); background: #fff; border: 1px solid #e3e8f0; color: var(--navy); text-decoration: none; }
.anuncio-alcance span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.anuncio-alcance small { color: var(--muted); font-size: 12.5px; }
.anuncio-alcance.ativo { background: #e9f8f0; border-color: #bfe8d2; }
.anuncio-alcance.pendente { background: #fff7e8; border-color: #fde4b5; }
.anuncio-alcance.reprovado { background: #fdecec; border-color: #f6c7c7; color: #b91c1c; }
.plano-app.plano-gratis { background: #f7f9fc; border: 2px dashed #cfd8e5; }
.plano-app.plano-gratis.atual { border-style: solid; border-color: #cfd8e5; }
.plano-app.plano-gratis form { margin: 0; }
@media (min-width: 900px) {
  .planos-app { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: stretch; }
}
.anuncio-intro .anuncio-intro-sub { margin: 4px 0 0; font-size: 13.5px; color: rgba(255,255,255,.82); }
/* Módulo 05: escolha do plano no cadastro do anúncio */
.plano-opcoes { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 700px) { .plano-opcoes { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.plano-opcao { position: relative; display: block; cursor: pointer; margin: 0; }
.plano-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.plano-opcao-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px 14px 44px; border-radius: 14px; border: 2px solid #e3e8f0; background: #fff; transition: border-color .15s, background .15s; position: relative; }
.plano-opcao-box::before { content: ''; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b9c3d1; background: #fff; }
.plano-opcao-box > b { font-size: 15.5px; color: var(--navy); }
.plano-opcao-preco { font-size: 18px; font-weight: 800; color: var(--navy); }
.plano-opcao-preco small { font-size: 12px; color: var(--muted); font-weight: 600; }
.plano-opcao-box > small { font-size: 12.5px; color: #3a4658; line-height: 1.4; }
.plano-opcao:hover .plano-opcao-box { border-color: #b9c3d1; }
.plano-opcao input:checked + .plano-opcao-box { border-color: var(--navy-2); background: #f4f7fc; }
.plano-opcao input:checked + .plano-opcao-box::before { border-color: var(--navy-2); box-shadow: inset 0 0 0 4px #fff; background: var(--navy-2); }
.plano-opcao input:focus-visible + .plano-opcao-box { box-shadow: 0 0 0 3px rgba(240,165,40,.35); }

/* ---------- pagamento do plano dentro do app (Mercado Pago · Payment Brick) ---------- */
.mp-pagar { margin: 12px 0 6px; }
.mp-pagar #mpBrick { min-height: 40px; }
.mp-carregando, .mp-aguardando { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 14px 0; }
.mp-carregando[hidden] { display: none; }
.mp-giro { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #d6dde8; border-top-color: var(--navy-2); animation: mpGiro .8s linear infinite; flex: none; }
@keyframes mpGiro { to { transform: rotate(360deg); } }
.mp-res { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; padding: 6px 0; }
.mp-res-tit { font-size: 18px; color: var(--navy); }
.mp-res-txt { margin: 0; color: var(--text); font-size: 14px; line-height: 20px; }
.mp-res-nota { margin: 0; color: var(--muted); font-size: 13px; }
.mp-qr { width: 220px; height: 220px; max-width: 70vw; max-height: 70vw; align-self: center; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.mp-codigo { width: 100%; resize: none; font: 12px/16px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px; border: 1.5px solid #cfd7e3; border-radius: 10px; background: #f8fafc; color: var(--text); word-break: break-all; }
.mp-res .btn-app { width: 100%; justify-content: center; }
.mp-res .mp-aguardando { justify-content: center; }
.mp-ok { padding: 18px 0; }
.mp-ok b { font-size: 17px; color: var(--ok); }
.mp-ok p { margin: 0; color: var(--muted); }
.mp-ok-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 30px; line-height: 56px; align-self: center; }
.mp-doc { text-align: left; }
.mp-doc .mp-res-tit { text-align: center; }
.mp-doc-campo { width: 100%; height: 50px; padding: 0 14px; font-size: 18px; letter-spacing: .5px; border: 1.5px solid #cfd7e3; border-radius: 12px; background: #fff; color: var(--text); }
.mp-doc-campo:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(27,58,99,.12); }
.mp-doc-erro { margin: 0; color: var(--danger); font-size: 13px; }
.mp-doc-erro[hidden] { display: none; }
