/* ============ CIDADE ALTA ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --fundo: #f2f4f8;
  --card: #ffffff;
  --tinta: #1b1f27;
  --cinza: #6b7280;
  --acento: #d62828;      /* vermelho noticia */
  --acento-2: #14213d;    /* azul noite */
  --whats: #25d366;
  --ouro: #fca311;
  --borda: #e5e7eb;
  --raio: 14px;
}
body {
  background: var(--fundo);
  color: var(--tinta);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}
.container { max-width: 680px; margin: 0 auto; padding: 0 14px; }

/* ---------- palco: mural no meio, publicidade nas laterais ---------- */
.palco {
  display: grid;
  grid-template-columns: 300px minmax(0, 680px) 300px;
  gap: 20px; justify-content: center; align-items: start;
  max-width: 1360px; margin: 0 auto; padding: 0 10px;
}
.palco > .container { padding: 0; }
.lateral { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 16px; }

/* Cada anuncio tem o formato de um cartao de visitas (proporcao 9x5) */
.anuncio-lateral {
  background: var(--card); border: 1px solid var(--borda); border-radius: var(--raio);
  padding: 10px; box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.selo-ads {
  display: block; font-size: .6rem; letter-spacing: 2px; color: #a3adc0;
  margin-bottom: 7px; text-transform: uppercase; text-align: center;
}
.cartao {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  aspect-ratio: 9 / 5; width: 100%; overflow: hidden;
  border-radius: 10px; background: #f7f8fb; text-decoration: none;
  padding: 12px; text-align: center; color: var(--tinta);
}
.cartao img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cartao-texto {
  position: relative; font-size: .95rem; font-weight: 700; line-height: 1.35;
}
.cartao-foto .cartao-texto {
  align-self: stretch; margin-top: auto; color: #fff; font-size: .88rem;
  background: linear-gradient(transparent, rgba(10, 14, 25, .82));
  padding: 22px 10px 8px; margin-bottom: -12px; margin-left: -12px; margin-right: -12px;
}
a.cartao:hover { filter: brightness(.97); }

.anuncio-vago { border-style: dashed; }
.anuncio-vago .cartao { background: #fbfcfe; border: 1px dashed var(--borda); }
.anuncio-vago:hover .cartao { border-color: var(--ouro); background: #fffdf7; }
.vago-titulo { font-size: 1rem; font-weight: 700; color: var(--acento-2); }
.vago-texto { font-size: .78rem; color: var(--cinza); line-height: 1.45; }
.anuncie-cta { color: var(--acento); font-weight: 700; font-size: .8rem; margin-top: 2px; }

@media (max-width: 1300px) {
  .palco { grid-template-columns: 250px minmax(0, 660px) 250px; gap: 16px; }
}
@media (max-width: 1180px) {
  /* No celular o mural vem primeiro; a publicidade desce para depois dele */
  .palco { display: flex; flex-direction: column; max-width: 708px; }
  .palco > .container { order: 1; }
  .lateral-dir { order: 2; }
  .lateral-esq { order: 3; }
  .lateral { position: static; flex-direction: row; flex-wrap: wrap; margin: 16px auto 0; padding: 0 14px; }
  .lateral > * { flex: 1 1 280px; }
}

/* ---------- planos de anuncio ---------- */
.planos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 0 18px; }
.plano {
  position: relative; border: 1px solid var(--borda); border-radius: 12px;
  padding: 16px 12px 14px; text-align: center; background: #fafbfc;
}
.plano-destaque { border: 2px solid var(--ouro); background: #fffdf7; }
.plano-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--ouro); color: #3b2600; font-size: .62rem; font-weight: 800;
  letter-spacing: 1px; padding: 3px 9px; border-radius: 20px; white-space: nowrap;
}
.plano-nome { display: block; font-size: .9rem; color: var(--acento-2); }
.plano-preco { display: block; font-size: 1.35rem; font-weight: 800; color: var(--acento); margin: 4px 0; }
.plano-periodo { display: block; font-size: .76rem; color: var(--cinza); }
.plano-dia { display: block; font-size: .72rem; color: #9aa3b2; margin-top: 4px; }

/* ---------- topo ---------- */
.topo {
  background: var(--acento-2);
  color: #fff; padding: 0 0 10px; margin-bottom: 18px;
  border-bottom: 4px solid var(--ouro);
}
.banner { display: block; line-height: 0; }
.banner img {
  width: 100%; max-height: 280px; object-fit: cover;
  object-position: center 22%; display: block;
}
.logo { color: #fff; text-decoration: none; font-size: 1.7rem; letter-spacing: 1px; }
.logo span { font-weight: 300; } .logo b { color: var(--ouro); }
.slogan { text-align: center; padding-top: 8px; }
@media (max-width: 700px) { .banner img { max-height: 150px; } }
.logo i {
  font-style: normal; font-size: .48em; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--acento-2); background: var(--ouro);
  border-radius: 6px; padding: 2px 7px; margin-left: 8px; vertical-align: middle;
}
.slogan { color: #c8d0e0; font-size: .9rem; margin-top: 2px; }

.faixa-teste {
  background: #fff3cd; color: #7a5b00; text-align: center;
  padding: 8px 12px; font-size: .85rem; border-bottom: 1px solid #ffe08a; margin-bottom: 14px;
}

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--borda);
  border-radius: var(--raio); padding: 18px; margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}

/* ---------- composer ---------- */
.composer h2 { font-size: 1.15rem; margin-bottom: 12px; }
.selo-gratis {
  background: #16a34a; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: 1.5px;
  padding: 3px 9px; border-radius: 20px; vertical-align: middle; margin-left: 6px;
}
.composer textarea {
  width: 100%; border: 2px solid var(--borda); border-radius: 10px;
  padding: 12px; font: inherit; resize: vertical; min-height: 110px;
}
.composer textarea:focus { outline: none; border-color: var(--acento-2); }
.contadores { display: flex; justify-content: space-between; margin: 8px 0 12px; font-size: .88rem; color: var(--cinza); }
.preco { font-weight: 700; color: var(--acento); }
.anexos { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.btn-anexo {
  border: 1.5px dashed var(--borda); border-radius: 10px; padding: 9px 14px;
  cursor: pointer; font-size: .9rem; background: #fafbfc;
}
.btn-anexo:hover { border-color: var(--acento-2); }
.btn-anexo small { color: var(--cinza); }
.lista-anexos { font-size: .84rem; color: var(--cinza); margin-bottom: 10px; }
.lista-anexos span { display: inline-block; background: #eef1f6; border-radius: 8px; padding: 3px 9px; margin: 2px 4px 2px 0; }
.composer input[type=email],
.composer input[type=tel],
.composer input[type=text],
.composer input[type=url],
.composer input[type=number],
.composer input[type=password] {
  width: 100%; border: 2px solid var(--borda); border-radius: 10px;
  padding: 11px 12px; font: inherit; margin-bottom: 12px; background: #fff;
  color: var(--tinta);
}
.composer input[type=email]:focus,
.composer input[type=tel]:focus,
.composer input[type=text]:focus,
.composer input[type=url]:focus,
.composer input[type=number]:focus,
.composer input[type=password]:focus { outline: none; border-color: var(--acento-2); }

.btn-principal {
  display: inline-block; width: 100%; background: var(--acento); color: #fff;
  border: none; border-radius: 10px; padding: 14px; font-size: 1.05rem; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none; transition: filter .15s;
}
.btn-principal:hover { filter: brightness(1.08); }
.btn-principal:disabled { background: #b9bec9; cursor: wait; }
.mini { font-size: .78rem; color: var(--cinza); margin-top: 8px; text-align: center; }
.mini a { color: var(--cinza); }
.erro-form { background: #fde8e8; color: #9b1c1c; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; font-size: .9rem; }

/* ---------- modal pix ---------- */
.modal { position: fixed; inset: 0; background: rgba(10, 14, 25, .72); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal[hidden] { display: none; }
.modal-caixa { background: #fff; border-radius: 16px; padding: 24px; max-width: 380px; width: 100%; text-align: center; max-height: 92vh; overflow-y: auto; }
.modal-caixa h3 { margin-bottom: 6px; }
.preco-grande { font-size: 1.6rem; font-weight: 800; color: var(--acento); margin: 6px 0; }
.qr { width: 220px; height: 220px; margin: 8px auto; display: block; border: 1px solid var(--borda); border-radius: 10px; }
.modal-caixa textarea { width: 100%; font-size: .72rem; border: 1px solid var(--borda); border-radius: 8px; padding: 8px; margin: 6px 0; color: var(--cinza); }
.btn-secundario {
  display: inline-block; background: var(--acento-2); color: #fff; border: none;
  border-radius: 8px; padding: 9px 16px; font-size: .9rem; cursor: pointer; text-decoration: none;
}
.pix-status { margin-top: 12px; font-weight: 600; }
.btn-link { background: none; border: none; color: var(--cinza); cursor: pointer; text-decoration: underline; font-size: .85rem; margin-top: 8px; }

/* ---------- feed ---------- */
.titulo-feed { font-size: 1.1rem; margin: 22px 0 12px; }
.titulo-feed small { color: var(--cinza); font-weight: 400; font-size: .8rem; }
.vazio { text-align: center; color: var(--cinza); }
.post-meta { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--cinza); margin-bottom: 8px; flex-wrap: wrap; gap: 4px; }
.badge { background: #eef1f6; color: var(--acento-2); border-radius: 20px; padding: 2px 10px; font-weight: 600; }
.badge-publicado { background: #def7e4; color: #14532d; }
.badge-pendente { background: #fff3cd; color: #7a5b00; }
.badge-oculto { background: #fde8e8; color: #9b1c1c; }
.badge-revisao { background: #e0f2fe; color: #075985; }
.badge-recusado { background: #fde8e8; color: #9b1c1c; }
.campo-motivo {
  flex: 1 1 180px; min-width: 140px; border: 1px solid var(--borda);
  border-radius: 8px; padding: 8px 10px; font: inherit; font-size: .85rem;
}
.badge-cat { letter-spacing: .5px; font-size: .72rem; }
.cat-anuncio    { background: var(--ouro); color: #3b2600; }
.cat-denuncia   { background: #fde8e8; color: #9b1c1c; }
.cat-reclamacao { background: #fff3cd; color: #7a5b00; }
.cat-aviso      { background: #e0f2fe; color: #075985; }
.cat-opiniao    { background: #ede9fe; color: #4c1d95; }
.selo-publicidade, .selo-denuncia {
  font-size: .8rem; color: var(--cinza); background: #f7f8fb;
  border-left: 3px solid var(--borda); border-radius: 6px; padding: 8px 10px; margin-top: 10px;
}
.selo-denuncia { border-left-color: var(--acento); }
.regras-resumo {
  background: #f7f8fb; border: 1px solid var(--borda); border-radius: 10px;
  padding: 12px 14px; margin: 4px 0 10px; font-size: .82rem; line-height: 1.55;
}
.regras-resumo ul { margin: 8px 0 8px 4px; list-style: none; }
.regras-resumo li { margin-bottom: 5px; }
.regras-resumo a { color: var(--acento-2); font-weight: 600; }
.aceite {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: .84rem; margin: 4px 0 12px; cursor: pointer; line-height: 1.5;
}
.aceite input { margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.cortar-video {
  background: #fff8ec; border: 1px solid var(--ouro); border-radius: 10px;
  padding: 14px; margin: 4px 0 12px;
}
.cortar-video video { width: 100%; max-height: 240px; border-radius: 8px; background: #000; margin: 8px 0; }
.cortar-video input[type=range] { width: 100%; margin: 4px 0 2px; }
.aviso-identificacao {
  background: #f4f6fa; border-left: 4px solid var(--acento-2); border-radius: 8px;
  padding: 10px 12px; margin: 4px 0 8px; font-size: .82rem; color: #3c4351; line-height: 1.5;
}
.post-texto { white-space: pre-line; word-break: break-word; }
.post-midias { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.post-midias img, .post-midias video { width: 100%; border-radius: 10px; max-height: 340px; object-fit: cover; }
.post-aberto .post-midias img { object-fit: contain; max-height: none; }
.post-acoes { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; flex-wrap: wrap; gap: 8px; }
.btn-whats {
  background: var(--whats); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 24px; padding: 9px 18px; font-size: .9rem;
}
.btn-whats:hover { filter: brightness(1.06); }
/* ---------- curtir / comentar / compartilhar ---------- */
.reacoes {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--borda);
}
.rea {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f4f6fa; border: 1px solid var(--borda); border-radius: 22px;
  padding: 7px 14px; font-size: .86rem; font-weight: 600; color: var(--tinta);
  cursor: pointer; text-decoration: none; font-family: inherit;
  transition: background .15s, border-color .15s, transform .15s;
}
.rea:hover { background: #e9edf5; }
.rea.ativo { background: #dbeafe; border-color: #60a5fa; color: #1e40af; }
.rea-dislike.ativo { background: #fee2e2; border-color: #f87171; color: #991b1b; }
.rea.pulou { transform: scale(1.16); }
.rea-zap { margin-left: auto; background: var(--whats); border-color: var(--whats); color: #fff; }
.rea-zap:hover { background: #1fbe5a; }

.titulo-comentarios { font-size: 1.05rem; margin-bottom: 12px; }
.titulo-comentarios small { color: var(--cinza); font-weight: 400; font-size: .82rem; }
.comentario { border-top: 1px solid var(--borda); padding: 12px 0 4px; }
.comentario:first-child { border-top: none; }
.comentario p { white-space: pre-line; word-break: break-word; font-size: .93rem; }
.comentario-meta { display: block; font-size: .74rem; color: var(--cinza); margin-bottom: 4px; }
.comentario-novo { background: #f0fdf4; border-radius: 8px; padding: 12px 10px 4px; }
.vazio-comentarios { text-align: left !important; padding: 6px 0 12px; }
#form-comentario { border-top: 1px solid var(--borda); padding-top: 14px; margin-top: 8px; }
#form-comentario textarea { min-height: 78px; }

/* ---------- destaque: assunto do momento ---------- */
.destaques { margin-top: 4px; }
.destaque-item {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; margin-bottom: 8px; text-decoration: none;
  border-left: 4px solid var(--acento);
}
.destaque-item:hover { background: #fffaf9; }
.destaque-texto { flex: 1 1 220px; color: var(--tinta); font-size: .9rem; font-weight: 600; line-height: 1.4; }
.destaque-num { font-size: .8rem; color: var(--cinza); white-space: nowrap; }

.anuncio { text-align: center; color: #b9bec9; font-size: .8rem; letter-spacing: 3px; padding: 26px; border-style: dashed; }
.paginacao { display: flex; justify-content: space-between; margin: 18px 0; }
.paginacao a { color: var(--acento-2); font-weight: 600; text-decoration: none; }
.cta-publicar { text-align: center; }
.cta-publicar p { margin-bottom: 10px; font-weight: 600; }

/* ---------- admin ---------- */
.painel-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat { text-align: center; }
.stat b { font-size: 1.3rem; display: block; }
.stat span { color: var(--cinza); font-size: .8rem; }
.acoes-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.identificacao {
  background: #f4f6fa; border: 1px solid var(--borda); border-radius: 10px;
  padding: 12px 14px; margin: 18px 0; font-size: .84rem; color: var(--cinza); line-height: 1.7;
}
.aviso-legal { background: #fff4e5; border-color: var(--ouro); font-size: .9rem; }
.aviso-legal code { background: #fff; border-radius: 4px; padding: 1px 5px; font-size: .85em; }
.stat-alerta { border-color: var(--acento); background: #fff6f6; }
/* cards do painel que levam para a seção correspondente */
.stat-link {
  display: block; text-decoration: none; color: inherit; position: relative;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.stat-link:hover {
  transform: translateY(-2px); border-color: var(--acento-2);
  box-shadow: 0 4px 12px rgba(16, 24, 40, .12);
}
.stat-link.stat-alerta:hover { border-color: var(--acento); }
.stat-ir { display: block; font-size: .68rem; color: var(--acento-2); font-weight: 700; margin-top: 5px; }
.stat-alerta .stat-ir { color: var(--acento); }
.dados-autor {
  background: #f7f8fb; border: 1px solid var(--borda); border-radius: 10px;
  padding: 10px 12px; margin: 10px 0; font-size: .82rem;
}
.dados-autor summary { cursor: pointer; font-weight: 700; color: var(--acento-2); }
.tabela-autor { width: 100%; border-collapse: collapse; margin-top: 10px; }
.tabela-autor th, .tabela-autor td {
  text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--borda);
  vertical-align: top; font-weight: 400;
}
.tabela-autor th { width: 34%; color: var(--cinza); font-weight: 600; white-space: nowrap; }
.tabela-autor code { background: #fff; padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.tabela-autor .ua { font-size: .76rem; color: var(--cinza); word-break: break-all; }
.aviso-discreto {
  background: #f7f8fb; border: 1px solid var(--borda); border-radius: 10px;
  padding: 10px 14px; margin-bottom: 14px; font-size: .84rem; color: var(--cinza);
}
.aviso-discreto summary { cursor: pointer; font-weight: 600; }
.aviso-discreto p { margin-top: 8px; line-height: 1.55; }
.aviso-discreto code { background: #fff; border-radius: 4px; padding: 1px 5px; font-size: .9em; }
.tudo-em-dia {
  background: #f0fdf4; color: #14532d; border-radius: 8px;
  padding: 12px 14px; font-size: .9rem; font-weight: 600; margin-top: 6px;
}
.voltar-topo {
  float: right; font-size: .72rem; font-weight: 600; color: var(--cinza);
  text-decoration: none; padding: 2px 8px; border: 1px solid var(--borda); border-radius: 20px;
}
.voltar-topo:hover { border-color: var(--acento-2); color: var(--acento-2); }
html { scroll-behavior: smooth; }
.denuncias-painel { scroll-margin-top: 14px; }
.stat-alerta b { color: var(--acento); }
.denuncias-painel h2 { font-size: 1.05rem; margin-bottom: 6px; }
.denuncia-item { border-top: 1px solid var(--borda); padding-top: 12px; margin-top: 12px; }
.form-anuncio { border-top: 1px solid var(--borda); padding-top: 12px; margin-top: 10px; }
.grade-anuncio { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 12px; }
.grade-anuncio label { display: block; font-size: .78rem; font-weight: 600; color: var(--cinza); }
.grade-anuncio input, .grade-anuncio select {
  width: 100%; margin-top: 4px; border: 1px solid var(--borda); border-radius: 8px;
  padding: 8px 10px; font: inherit; font-size: .88rem; font-weight: 400; color: var(--tinta);
}
.btn-perigo { background: var(--acento); color: #fff; border: none; border-radius: 8px; padding: 9px 16px; font-size: .9rem; cursor: pointer; }
.status-oculto { opacity: .55; }

/* ---------- termos / regras / privacidade ---------- */
.termos h1 { font-size: 1.35rem; margin-bottom: 10px; }
.termos h2 { font-size: 1.08rem; margin: 20px 0 8px; color: var(--acento-2); }
.termos h3 { font-size: .95rem; margin: 16px 0 6px; color: var(--acento); }
.termos ol, .termos ul { margin: 10px 0 14px 20px; }
.termos li { margin-bottom: 8px; }
.leis { list-style: none; margin-left: 0 !important; }
.leis li { padding-left: 18px; position: relative; }
.leis li::before { content: '▸'; position: absolute; left: 0; color: var(--ouro); font-weight: 700; }
.aviso-forte {
  background: #fff4e5; border-left: 4px solid var(--ouro); border-radius: 8px;
  padding: 12px 14px; margin: 14px 0; font-size: .92rem;
}
.aviso-ok {
  background: #def7e4; border-left: 4px solid #15803d; border-radius: 8px;
  padding: 12px 14px; margin: 4px 0 14px; color: #14532d; font-weight: 600;
}
.trecho-denuncia {
  background: #f4f6fa; border-radius: 8px; padding: 10px 12px;
  margin-bottom: 12px; font-size: .88rem; color: var(--cinza);
}
.rotulo { display: block; font-size: .86rem; font-weight: 600; margin: 10px 0 4px; }
.campo-arquivo {
  width: 100%; border: 2px dashed var(--borda); border-radius: 10px;
  padding: 10px 12px; font-size: .88rem; margin-bottom: 12px; background: #fafbfc;
}
.composer select {
  width: 100%; border: 2px solid var(--borda); border-radius: 10px;
  padding: 11px 12px; font: inherit; background: #fff; margin-bottom: 4px;
}
.composer select:focus { outline: none; border-color: var(--acento-2); }
.acoes-dir { display: inline-flex; gap: 14px; align-items: center; }
.denunciar { color: #9b1c1c; text-decoration: none; font-weight: 600; }
.denunciar:hover { text-decoration: underline; }

/* ---------- rodape ---------- */
.rodape { background: var(--acento-2); color: #c8d0e0; padding: 24px 0; margin-top: 30px; font-size: .85rem; text-align: center; }
.rodape a { color: var(--ouro); }
.rodape p { margin: 3px 0; }
.rodape-links { margin: 10px 0 !important; line-height: 2; }
.rodape-links a { text-decoration: none; font-weight: 600; }
.rodape-links a:hover { text-decoration: underline; }
.mini-rodape { max-width: 560px; margin: 10px auto 0 !important; font-size: .76rem; color: #93a1bb; line-height: 1.5; }

@media (max-width: 480px) {
  .logo { font-size: 1.4rem; }
  .card { padding: 14px; }
}

/* ---------- Apoio ao site e Espaco Comunidade ---------- */
.valores-rapidos { display:flex; gap:.5rem; flex-wrap:wrap; margin:.4rem 0 .8rem; }
.btn-valor {
  flex:1 1 90px; padding:.7rem .4rem; font-size:1rem; font-weight:700; cursor:pointer;
  border:2px solid var(--borda,#d6d9de); border-radius:10px; background:#fff; color:inherit;
}
.btn-valor:hover { border-color:#2e7d32; }
.btn-valor.ativo { border-color:#2e7d32; background:#e8f5e9; color:#1b5e20; }

.aviso-box {
  border-left:4px solid #2e7d32; background:#f1f8f2;
  padding:.9rem 1rem; border-radius:0 10px 10px 0; margin:1rem 0;
}

.lista-apoiadores { line-height:2; }

.instituicao {
  border-top:1px solid var(--borda,#e3e6ea); padding:1rem 0;
}
.instituicao:first-of-type { border-top:0; }
.instituicao h3 { margin:0 0 .3rem; }
.necessidade {
  background:#fff8e1; border-left:4px solid #f9a825;
  padding:.6rem .8rem; border-radius:0 8px 8px 0;
}
.pix-instituicao {
  background:#f1f8f2; border-left:4px solid #2e7d32;
  padding:.6rem .8rem; border-radius:0 8px 8px 0; word-break:break-all;
}
.pix-instituicao code { font-size:1.02rem; }

/* Sem regra de modo escuro aqui de proposito: o resto do site e sempre claro.
   Se um dia o site ganhar tema escuro, ele tem que ser feito para TODAS as
   telas de uma vez — misturar deixa texto escuro sobre fundo escuro. */

/* ---------- Painel: apoios, instituicoes e repasses ---------- */
.linha-admin {
  border-top:1px solid var(--borda,#e3e6ea); padding:.65rem 0; line-height:1.6;
}
.linha-admin:first-of-type { border-top:0; }
.recado-apoio {
  margin:.4rem 0 0; padding:.5rem .7rem; border-radius:8px;
  background:rgba(127,127,127,.10); font-style:italic;
}
.form-admin {
  display:grid; gap:.5rem; margin:.8rem 0 1.2rem;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
}
.form-admin textarea, .form-admin button { grid-column:1 / -1; }
.form-admin input, .form-admin select, .form-admin textarea {
  border:2px solid var(--borda,#d6d9de); border-radius:10px;
  padding:10px 12px; font:inherit; background:transparent; color:inherit; width:100%;
}
.btn-mini {
  border:1px solid var(--borda,#d6d9de); background:transparent; color:inherit;
  border-radius:8px; padding:.25rem .6rem; font-size:.85rem; cursor:pointer; margin-left:.3rem;
}
.btn-mini:hover { border-color:#2e7d32; }
.btn-mini.perigo:hover { border-color:#c62828; color:#c62828; }

/* ---------- Formulario da pagina de apoio ---------- */
#form-apoio, #area-pix { text-align: left; }
#form-apoio label, #area-pix label {
  display: block; margin: 1rem 0 .35rem; font-weight: 700;
}
#form-apoio label .dica, #area-pix label .dica { font-weight: 400; }
#form-apoio input[type=text],
#form-apoio input[type=email],
#form-apoio textarea,
#area-pix textarea {
  display: block; width: 100%; box-sizing: border-box;
  border: 2px solid var(--borda, #d6d9de); border-radius: 10px;
  padding: 11px 12px; font: inherit; background: transparent; color: inherit;
}
#form-apoio textarea, #area-pix textarea { resize: vertical; }
#form-apoio .btn-principal, #area-pix .btn-principal { margin-top: 1.1rem; width: 100%; }
#form-apoio .erro { color: #c62828; font-weight: 600; margin-top: .6rem; }

/* ---------- Publicacao em destaque (escolha editorial do dono) ---------- */
.post-destaque {
  border: 2px solid #f9a825;
  box-shadow: 0 2px 14px rgba(249, 168, 37, .18);
}
.faixa-destaque {
  background: #fff8e1;
  border-bottom: 1px solid #f3d17a;
  margin: -1px -1px .8rem;
  padding: .5rem .9rem;
  border-radius: 10px 10px 0 0;
  font-size: .92rem;
  color: #6d4c00;
}
.faixa-destaque .dica {
  display: block;
  font-size: .8rem;
  color: #8a6d1f;
  margin-top: .1rem;
}
.form-destaque {
  margin-top: .5rem;
  gap: .4rem;
  flex-wrap: wrap;
}
.form-destaque input[type=text] {
  flex: 1 1 260px;
  border: 2px solid var(--borda, #e5e7eb);
  border-radius: 10px;
  padding: 8px 11px;
  font: inherit;
  background: transparent;
  color: inherit;
}
.marca-destaque {
  background: #fff8e1;
  color: #6d4c00;
  border-radius: 8px;
  padding: .3rem .6rem;
  font-size: .88rem;
}
