:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #faf9f7;
  --border: #e5e4df;
  --border-forte: #d5d3cc;
  --texto: #1a1a18;
  --texto-2: #56554e;
  --texto-3: #8a887f;
  --dourado: #a1791a;
  --dourado-linha: #d4af37;
  --dourado-fraco: #faf4e3;
  --erro: #a53a20;
  --erro-fraco: #fdf4f1;
  --raio: 6px;
  --raio-g: 8px;
  --sombra-1: 0 1px 2px rgba(26, 26, 24, 0.04);
  --sombra-2: 0 4px 14px rgba(26, 26, 24, 0.07);
  --sombra-3: 0 16px 40px rgba(26, 26, 24, 0.16);
  --topo-altura: 56px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  background: var(--bg);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(212, 175, 55, 0.28);
}

a {
  color: var(--dourado);
}

img {
  max-width: 100%;
}

/* ---------- topo ---------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topo-interno {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1120px;
  height: var(--topo-altura);
  margin: 0 auto;
  padding: 0 24px;
}

.marca {
  display: flex;
  align-items: center;
}

.marca img {
  height: 30px;
  width: auto;
  display: block;
}

.topo-rotulo {
  padding-left: 14px;
  border-left: 1px solid var(--border);
  color: var(--texto-3);
  font-size: 12.5px;
}

.topo nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 100%;
  margin-left: auto;
}

.topo nav a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin-bottom: -1px;
  padding: 0 10px;
  border-bottom: 2px solid transparent;
  color: var(--texto-2);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.topo nav a:hover {
  color: var(--texto);
}

.topo nav a.ativo {
  color: var(--texto);
  font-weight: 500;
  border-bottom-color: var(--dourado-linha);
}

.topo nav a.selo-nucoins {
  margin-left: 10px;
  padding-left: 16px;
  border-bottom: 0;
  border-left: 1px solid var(--border);
  color: var(--texto-3);
  font-size: 12.5px;
}

.topo nav a.selo-nucoins:hover .nucoin-valor {
  color: #8a6614;
}

.nucoin-valor {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--dourado);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease;
}

.nucoin-numero {
  display: inline-block;
  min-width: 1.2em;
  text-align: right;
}

.nucoin-unidade {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texto-3);
}

.nucoin-valor.nucoin-animando {
  animation: nucoin-sobe 0.45s ease-out;
}

.nucoin-valor.nucoin-chegou {
  animation: nucoin-pop 0.42s ease-out;
}

@keyframes nucoin-sobe {
  from {
    transform: translateY(8px);
    opacity: 0.2;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes nucoin-pop {
  0% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-2px) scale(1.08);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.bolinha-msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 9px;
  background: var(--texto);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
}

.menu-mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px 9px;
  border: 1px solid var(--border-forte);
  border-radius: var(--raio);
  background: var(--surface);
  cursor: pointer;
}

.menu-mobile span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--texto);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.topo.menu-aberto .menu-mobile span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topo.menu-aberto .menu-mobile span:nth-child(2) {
  opacity: 0;
}

.topo.menu-aberto .menu-mobile span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.abrir-filtros {
  display: none;
}

/* ---------- botões ---------- */

.botao-enviar,
.botao-voltar,
.botao-proposta,
.chat-enviar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 500;
  border-radius: var(--raio);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.botao-enviar {
  width: 100%;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--texto);
  background: var(--texto);
  color: #fff;
  font-size: 13.5px;
}

.botao-enviar:hover {
  background: #000;
  border-color: #000;
}

.botao-voltar {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border-forte);
  background: var(--surface);
  color: var(--texto-2);
  font-size: 13.5px;
}

.botao-voltar:hover {
  background: var(--surface-2);
  color: var(--texto);
}

.botao-proposta {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--border-forte);
  background: var(--surface);
  color: var(--texto);
  font-size: 12.5px;
}

.botao-proposta:hover {
  background: var(--texto);
  border-color: var(--texto);
  color: #fff;
}

.botao-dourado,
.card:hover .botao-dourado {
  border-color: var(--dourado-linha);
  background: var(--dourado-linha);
  color: #2b220c;
  font-weight: 600;
}

.botao-dourado:hover {
  border-color: #c39c22;
  background: #c39c22;
  color: #2b220c;
}

.botao-tawk {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 46;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dourado-linha);
  color: #2b220c;
  box-shadow: var(--sombra-2);
  cursor: pointer;
}

.botao-tawk:hover {
  background: #c39c22;
}

.botao-tawk svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.caixa-tawk {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 46;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 24px));
  height: min(520px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  background: var(--surface);
  box-shadow: var(--sombra-3);
}

.caixa-tawk[hidden] {
  display: none !important;
}

.caixa-tawk-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--dourado-fraco);
}

.caixa-tawk-topo strong {
  color: #2b220c;
  font-size: 14px;
  font-weight: 600;
}

.caixa-tawk-fechar {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: var(--raio);
  background: transparent;
  color: var(--texto-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.caixa-tawk-fechar:hover {
  background: var(--surface);
  color: var(--texto);
}

.caixa-tawk-corpo,
.caixa-tawk-corpo > div {
  flex: 1;
  min-height: 0;
  height: 100%;
}

.caixa-tawk-corpo {
  display: flex;
}

.botao-enviar:disabled,
.botao-proposta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-bloqueado-wrap {
  display: inline-block;
  cursor: not-allowed;
}

.botao-bloqueado,
.botao-bloqueado:hover {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--texto-3);
  cursor: not-allowed;
  pointer-events: none;
}

.botao-com-bolinha .bolinha-msg {
  margin-left: 2px;
}

/* ---------- formulários ---------- */

label {
  display: block;
}

.login-box label,
.campo {
  display: block;
  margin-bottom: 16px;
  color: var(--texto);
  font-size: 12.5px;
  font-weight: 500;
}

.login-box input:not(.choices__input),
.login-box select,
.login-box textarea,
.lista-espera input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 0 11px;
  border: 1px solid var(--border-forte);
  border-radius: var(--raio);
  background: var(--surface);
  color: var(--texto);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 400;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-box input:not(.choices__input),
.login-box select,
.lista-espera input {
  height: 38px;
}

.login-box select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%238a887f' d='M6 8.4 2.2 4.6l.9-.9L6 6.6l2.9-2.9.9.9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 28px;
}

.login-box textarea {
  min-height: 92px;
  padding: 9px 11px;
  line-height: 1.55;
  resize: vertical;
}

.login-box input::placeholder,
.login-box textarea::placeholder,
.lista-espera input::placeholder {
  color: var(--texto-3);
}

.login-box input:not(.choices__input):focus,
.login-box select:focus,
.login-box textarea:focus,
.lista-espera input:focus {
  outline: none;
  border-color: var(--texto-2);
  box-shadow: 0 0 0 3px rgba(26, 26, 24, 0.07);
}

.login-box input[readonly] {
  background: var(--surface-2);
  color: var(--texto-2);
}

.prazo-duplo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.prazo-duplo select {
  margin-top: 6px;
}

.login-box .campo-invalido,
.login-box .campo-invalido:focus,
.login-box select.campo-invalido,
.login-box select.campo-invalido:focus {
  border-color: var(--erro);
  box-shadow: 0 0 0 3px rgba(165, 58, 32, 0.1);
}

.aviso-campo {
  display: block;
  margin-top: 5px;
  color: var(--erro);
  font-size: 11.5px;
  font-weight: 400;
}

.aviso-campo:empty {
  display: none;
}

.erros-form,
#status-proposta {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #efd9d1;
  border-radius: var(--raio);
  background: var(--erro-fraco);
  color: var(--erro);
  font-size: 12.5px;
  text-align: left;
}

.erros-form ul {
  margin: 0;
  padding-left: 16px;
}

.erros-form li + li {
  margin-top: 4px;
}

#status-login,
#status-cadastro,
#status-documento,
#status-admin {
  display: block;
  width: 100%;
  margin-top: 10px;
  color: var(--erro);
  font-size: 12.5px;
  text-align: center;
}

#status-login:empty,
#status-cadastro:empty,
#status-documento:empty,
#status-admin:empty {
  display: none;
}

/* ---------- choices.js ---------- */

.choices {
  margin-bottom: 0;
  font-size: 13.5px;
}

.choices:last-child {
  margin-bottom: 0;
}

.choices__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 5px 7px;
  border: 1px solid var(--border-forte);
  border-radius: var(--raio);
  background: var(--surface);
  font-size: 13.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
  border-color: var(--texto-2);
  box-shadow: 0 0 0 3px rgba(26, 26, 24, 0.07);
}

.choices.is-open .choices__inner {
  border-radius: var(--raio);
}

.choices[data-type*="select-one"] .choices__inner {
  min-height: 38px;
  padding: 0 11px;
}

.choices[data-type*="select-one"]::after {
  right: 12px;
  border-color: var(--texto-3) transparent transparent;
}

.choices__list--single {
  padding: 0;
}

.choices__placeholder {
  color: var(--texto-3);
  opacity: 1;
}

.choices__list--multiple[data-vazio]:empty::before {
  content: attr(data-vazio);
  padding-left: 4px;
  color: var(--texto-3);
}

.choices__list--multiple {
  display: contents;
}

.choices__list--multiple .choices__item {
  display: inline-flex;
  align-items: center;
  padding: 2px 4px 2px 7px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #f2f1ec;
  color: var(--texto);
  font-size: 12px;
  font-weight: 400;
}

.choices__list--multiple .choices__item.is-highlighted {
  background: #e8e6df;
  border-color: var(--border-forte);
  color: var(--texto);
}

.choices[data-type*="select-multiple"] .choices__button {
  width: 16px;
  height: 16px;
  margin: 0 0 0 2px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px;
  background: none !important;
  background-image: none !important;
  font-size: 0;
  text-indent: 0;
  overflow: hidden;
  opacity: 1;
}

.choices[data-type*="select-multiple"] .choices__button::after {
  content: "×";
  display: block;
  color: var(--texto-3);
  font-size: 13px;
  line-height: 16px;
  text-align: center;
}

.choices[data-type*="select-multiple"] .choices__button:hover::after {
  color: var(--texto);
}

.choices__inner .choices__input--cloned {
  flex: 1 1 40px;
  width: auto !important;
  min-width: 40px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 3px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--texto);
  font-size: 13px;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  margin-top: 5px;
  border: 1px solid var(--border);
  border-radius: var(--raio);
  background: var(--surface);
  box-shadow: var(--sombra-3);
  overflow: hidden;
}

.choices__list--dropdown .choices__input {
  width: 100% !important;
  min-width: 100% !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: var(--surface) !important;
  box-shadow: none !important;
  font-size: 13px;
}

.choices__list--dropdown .choices__list {
  max-height: 260px;
}

.choices__list--dropdown .choices__item--selectable,
.choices__list[aria-expanded] .choices__item--selectable {
  padding: 8px 11px;
  font-size: 13px;
  color: var(--texto-2);
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: #f4f3ee;
  color: var(--texto);
}

/* ---------- layout de listagem ---------- */

.pagina {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 36px;
  max-width: 1120px;
  min-height: calc(100vh - var(--topo-altura));
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.menu {
  position: sticky;
  top: calc(var(--topo-altura) + 24px);
  align-self: start;
}

.menu section + section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.menu h3 {
  margin-bottom: 8px;
  color: var(--texto-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.busca-campo {
  margin-bottom: 12px;
}

.busca-campo input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--border-forte);
  border-radius: var(--raio);
  background: var(--surface);
  color: var(--texto);
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.busca-campo input::placeholder {
  color: var(--texto-3);
}

.busca-campo input:focus {
  outline: none;
  border-color: var(--texto-2);
  box-shadow: 0 0 0 3px rgba(26, 26, 24, 0.07);
}

.conteudo {
  min-width: 0;
}

.conteudo-topo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.conteudo-topo h1,
.titulo-pagina {
  color: var(--texto);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- card ---------- */

.card {
  position: relative;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  background: var(--surface);
  padding: 15px 17px;
  box-shadow: var(--sombra-1);
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--border-forte);
  box-shadow: var(--sombra-2);
  transform: translateY(-1px);
}

.card:hover .botao-proposta:not(.botao-bloqueado) {
  border-color: var(--texto-3);
}

.card-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.card-topo > * {
  min-width: 0;
}

.card h2 {
  color: var(--texto);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.card-destaques {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
  text-align: right;
}

.preco {
  margin: 0;
  max-width: 100%;
  color: var(--texto);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.interessados {
  margin: 0;
  color: var(--texto-3);
  font-size: 12px;
  white-space: nowrap;
}

.meta {
  margin-top: 3px;
  color: var(--texto-3);
  font-size: 12px;
}

.desc {
  margin-top: 9px;
  color: var(--texto-2);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.projeto-detalhe .desc {
  white-space: pre-line;
}

.lista .card .desc,
.lista-propostas .card .desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-skills {
  margin-top: 9px;
  color: var(--texto-3);
  font-size: 12px;
}

.taja-novo {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--dourado-fraco);
  color: var(--dourado);
  font-size: 11px;
  font-weight: 500;
  vertical-align: 1px;
  white-space: nowrap;
}

.lista .card:has(.taja-novo) {
  overflow: hidden;
  padding-top: 42px;
  border-color: var(--dourado-linha);
}

.lista .card .taja-novo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  margin: 0;
  padding: 6px 14px 6px 17px;
  border-radius: 0;
  background: var(--dourado);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: unset;
  white-space: nowrap;
  box-shadow: 1px 2px 0 rgba(26, 26, 24, 0.12);
}

.lista .card .taja-novo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  border: 5px solid transparent;
  border-top-color: #7a5c12;
  border-left-color: #7a5c12;
}

.lista-propostas .card {
  overflow: hidden;
}

.lista-propostas .card-msg-nova {
  border-color: var(--dourado-linha);
}

.lista-propostas .meta-msg {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

@keyframes card-entra {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card-novo {
  animation: card-entra 0.32s ease-out;
}

.card-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 12px 24px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}

.card-info dt,
.info-rotulo {
  color: var(--texto-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-info dd,
.info-valor {
  margin: 3px 0 0;
  color: var(--texto);
  font-size: 13px;
  line-height: 1.5;
}

.card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.cliente {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eeece5;
  color: var(--texto-2);
  font-size: 11px;
  font-weight: 600;
}

.nome {
  color: var(--texto-2);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acao {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.card footer .acao {
  margin-top: 0;
}

.card-acoes {
  justify-content: flex-end;
}

/* ---------- páginas de formulário ---------- */

.login-pagina {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - var(--topo-altura));
  padding: 56px 24px 72px;
}

.login-box {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--sombra-1);
}

.login-box h1 {
  color: var(--texto);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.login-box > h1 + p,
.passo-texto {
  margin: 6px 0 20px;
  color: var(--texto-2);
  font-size: 13px;
}

.form-vaga {
  max-width: 540px;
}

.passo-texto {
  margin-bottom: 0;
}

.passos-barra {
  display: flex;
  gap: 8px;
  margin: 18px 0 22px;
}

.passo-item {
  flex: 1;
  padding-top: 8px;
  border-top: 2px solid var(--border);
  color: var(--texto-3);
  font-size: 11.5px;
  font-weight: 500;
}

.passo-item.ativo {
  border-top-color: var(--texto);
}

.passo-item.atual {
  color: var(--texto);
  font-weight: 600;
}

.passo {
  display: none;
}

.passo.ativo {
  display: block;
}

.passo label:last-child {
  margin-bottom: 0;
}

.passos-acoes {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.passos-acoes .botao-enviar {
  width: auto;
  min-width: 132px;
  margin-left: auto;
}

.troca-auth {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--texto-2);
  font-size: 12.5px;
  text-align: center;
}

.troca-auth button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--dourado);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.troca-auth button:hover {
  text-decoration: underline;
}

/* ---------- conta ---------- */

.area-conta {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
  height: 100%;
}

.botao-conta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  height: 36px;
  padding: 0 4px 0 2px;
  border: 0;
  border-radius: 18px;
  background: none;
  color: var(--texto-2);
  font-family: inherit;
  cursor: pointer;
}

.botao-conta:hover {
  color: var(--texto);
  background: var(--surface-2);
}

.avatar-topo,
.avatar-padrao,
.avatar-perfil,
.avatar-editar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #eeece5;
  object-fit: cover;
  max-width: none;
}

.avatar-padrao svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nome-conta {
  color: inherit;
  font-size: 12.5px;
  font-weight: 500;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-conta {
  border: 0;
  padding: 0;
  background: none;
  color: var(--texto-3);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.link-conta:hover {
  color: var(--texto);
}

.menu-conta {
  position: absolute;
  top: calc(100% - 8px);
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  min-width: 196px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  background: var(--surface);
  box-shadow: var(--sombra-3);
}

.menu-conta a,
.menu-conta button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--raio);
  background: none;
  color: var(--texto);
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.menu-conta a:hover,
.menu-conta button:hover {
  background: var(--surface-2);
}

.menu-conta-sair {
  margin-top: 4px;
  border-top: 1px solid var(--border) !important;
  border-radius: 0 0 var(--raio) var(--raio) !important;
  color: var(--texto-2) !important;
}

.conta-abas {
  display: flex;
  gap: 4px;
  margin: 18px 0 18px;
  border-bottom: 1px solid var(--border);
}

.conta-abas button {
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 8px 10px;
  background: none;
  color: var(--texto-3);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.conta-abas button.ativo {
  color: var(--texto);
  font-weight: 500;
  border-bottom-color: var(--dourado-linha);
}

/* O mesmo formulário do login, só que dentro de um popup. */
.login-box.sem-caixa {
  max-width: none;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  box-shadow: none;
}

.popup-conta {
  max-width: 400px;
}

.login-box input.campo-codigo {
  height: 52px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 10px;
  text-align: center;
  text-indent: 10px;
}

.login-box input.campo-codigo::placeholder {
  color: var(--border-forte);
  letter-spacing: 10px;
}

/* ---------- detalhe do projeto ---------- */

.popup-detalhe {
  max-width: 580px;
  max-height: min(720px, calc(100vh - 48px));
  overflow-y: auto;
}

.popup-detalhe .card-topo {
  gap: 16px;
  padding-right: 28px;
}

.popup-detalhe h2 {
  font-size: 17px;
  line-height: 1.35;
}

/* .popup-caixa p é mais específico que .meta e .preco, então repetimos aqui. */
.popup-detalhe .meta {
  margin: 4px 0 0;
  color: var(--texto-3);
  font-size: 12px;
}

.popup-detalhe .preco {
  margin: 0;
  color: var(--texto);
  font-size: 15px;
  font-weight: 600;
}

.popup-detalhe .desc {
  margin-top: 14px;
  white-space: pre-line;
}

.popup-detalhe .card-acoes {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.nota-cliente {
  color: var(--dourado);
  letter-spacing: 1px;
}

.pagina-proposta[data-painel="form-proposta"] #projeto-detalhe,
.pagina-proposta[data-painel="projeto-detalhe"] #form-proposta {
  display: none;
}

.menu-ancora {
  position: sticky;
  top: var(--topo-altura);
  z-index: 35;
  background: rgba(246, 246, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.menu-ancora-interno {
  display: flex;
  max-width: 680px;
  height: 44px;
  margin: 0 auto;
  padding: 0 24px;
}

.menu-ancora a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  margin-bottom: -1px;
  padding: 0 10px;
  border-bottom: 2px solid transparent;
  color: var(--texto-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.menu-ancora a:hover {
  color: var(--texto);
}

.menu-ancora a.ativo {
  color: var(--texto);
  border-bottom-color: var(--dourado-linha);
}

.form-projeto-titulo {
  margin: 0 0 18px;
}

/* ---------- proposta / detalhe ---------- */

.proposta-pagina {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.proposta-pagina .card,
.proposta-pagina .login-box {
  width: 100%;
  max-width: none;
}

.form-proposta {
  max-width: none;
  padding: 24px;
}

.form-proposta h1 {
  margin-bottom: 6px;
}

.projeto-detalhe h2 {
  font-size: 16px;
}

.projeto-detalhe .preco {
  font-size: 15px;
}

.custo-proposta {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--raio);
  background: var(--surface-2);
  color: var(--texto-2);
  font-size: 12.5px;
}

.custo-proposta strong {
  color: var(--dourado);
  font-weight: 700;
}

.lista-propostas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vazio-propostas {
  margin: 0;
  border: 1px dashed var(--border-forte);
  border-radius: var(--raio-g);
  background: var(--surface);
  padding: 36px 20px;
  color: var(--texto-3);
  font-size: 13px;
  text-align: center;
}

.admin-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-numeros {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 8px;
}

.dash-card {
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  background: var(--surface);
  padding: 14px 16px;
}

.dash-card strong {
  display: block;
  color: var(--texto);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.dash-card span {
  color: var(--texto-3);
  font-size: 12px;
}

.dash-bloco {
  margin-top: 22px;
}

.dash-bloco h2 {
  margin-bottom: 8px;
  color: var(--texto);
  font-size: 14px;
  font-weight: 600;
}

.admin-job {
  max-width: 860px;
}

.tabela-job-caixa {
  overflow-x: auto;
}

.tabela-job {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  overflow: hidden;
  font-size: 13px;
}

.tabela-job th,
.tabela-job td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}

.tabela-job th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texto-3);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.tabela-job td {
  color: var(--texto);
  border-bottom: 1px solid var(--border);
}

.tabela-job tr:last-child td {
  border-bottom: none;
}

.tabela-job .hora {
  white-space: nowrap;
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
}

.selo-job {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.selo-job.ok {
  background: #eaf6ea;
  color: #1f6b2c;
}

.selo-job.pulou {
  background: var(--surface-2);
  color: var(--texto-3);
}

.selo-job.erro {
  background: #fdeeee;
  color: #9b1c1c;
}

.selo-job.previa {
  background: var(--dourado-fraco);
  color: var(--dourado);
}

.selo-job.msg {
  background: #e8eef8;
  color: #1f4b8a;
}

/* ---------- planos ---------- */

.planos-pagina {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.planos-topo {
  max-width: 620px;
  margin-bottom: 26px;
}

.planos-topo h1 {
  color: var(--texto);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.planos-lead {
  margin: 8px 0 0;
  color: var(--texto-2);
  font-size: 13.5px;
  line-height: 1.6;
}

.planos-lead strong {
  color: var(--texto);
  font-weight: 600;
}

.planos-saldo {
  margin: 12px 0 0;
  color: var(--texto-2);
  font-size: 13.5px;
}

.planos-saldo strong {
  color: var(--dourado);
  font-weight: 700;
}

.planos-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 36px 20px;
  border: 1px dashed var(--border-forte);
  border-radius: var(--raio-g);
  background: var(--surface);
  color: var(--texto-3);
  font-size: 13px;
  text-align: center;
}

.planos-grade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plano {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--sombra-1);
  overflow-wrap: anywhere;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.plano:hover {
  border-color: var(--border-forte);
  box-shadow: var(--sombra-2);
  transform: translateY(-1px);
}

.plano-destaque {
  border-color: var(--border-forte);
}

.plano-cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.plano h2 {
  color: var(--texto);
  font-size: 14px;
  font-weight: 600;
}

.plano-taja {
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--dourado-fraco);
  color: var(--dourado);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plano-preco {
  margin: 14px 0 0;
  color: var(--texto);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.plano-nucoins {
  margin: 4px 0 0;
  color: var(--texto-2);
  font-size: 13px;
}

.plano-itens {
  list-style: none;
  margin: 16px 0 20px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  color: var(--texto-2);
  font-size: 13px;
}

.plano-itens li {
  position: relative;
  padding: 4px 0 4px 18px;
}

.plano-itens li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--dourado);
  font-size: 11px;
}

.plano .botao-enviar {
  margin-top: auto;
}

.planos-rodape {
  margin: 26px 0 0;
  font-size: 13px;
}

.planos-rodape a {
  color: var(--texto-2);
  text-decoration: none;
}

.planos-rodape a:hover {
  color: var(--texto);
  text-decoration: underline;
}

/* ---------- página do app ---------- */

.app-pagina {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.app-intro {
  max-width: 620px;
  margin-bottom: 44px;
}

.app-selo {
  margin-bottom: 12px;
  color: var(--dourado);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-intro h1 {
  color: var(--texto);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.app-lead {
  max-width: 540px;
  margin-top: 12px;
  color: var(--texto-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.lista-espera {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 460px;
  margin-top: 24px;
}

.lista-espera input {
  flex: 1 1 220px;
  width: auto;
  margin-top: 0;
}

.lista-espera .botao-enviar {
  width: auto;
  flex: 0 0 auto;
  padding: 0 18px;
}

.lista-espera .meta {
  flex-basis: 100%;
  margin-top: 2px;
}

.app-fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.app-fotos figure {
  flex: 0 1 200px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  background: var(--surface);
  padding: 7px;
  box-shadow: var(--sombra-1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.app-fotos figure:hover {
  border-color: var(--border-forte);
  box-shadow: var(--sombra-2);
  transform: translateY(-2px);
}

.app-fotos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ---------- modais ---------- */

.popup-fundo {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(22, 22, 20, 0.45);
}

.popup-caixa {
  position: relative;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 22px 24px;
  box-shadow: var(--sombra-3);
  text-align: left;
}

.popup-caixa h1,
.popup-caixa h2 {
  color: var(--texto);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.popup-caixa p {
  margin: 8px 0 0;
  color: var(--texto-2);
  font-size: 13.5px;
  line-height: 1.55;
}

.popup-acoes {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.popup-convite {
  text-align: center;
}

.popup-convite-logo {
  display: block;
  height: 36px;
  width: auto;
  margin: 4px auto 16px;
}

.popup-convite .popup-acoes {
  justify-content: center;
}

.checkout-form {
  margin-top: 18px;
}

.checkout-form label {
  display: block;
  margin-bottom: 14px;
  color: var(--texto);
  font-size: 12.5px;
  font-weight: 500;
}

.checkout-form input {
  display: block;
  width: 100%;
  height: 38px;
  margin-top: 6px;
  padding: 0 11px;
  border: 1px solid var(--border-forte);
  border-radius: var(--raio);
  background: var(--surface);
  color: var(--texto);
  font-family: inherit;
  font-size: 13.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-form .popup-acoes {
  margin-top: 6px;
}

#erro-cpf-checkout {
  color: var(--erro);
}

.erro-checkout:empty {
  display: none;
}

.erro-checkout {
  margin-top: 12px;
  color: var(--erro);
}

.checkout-formas-titulo {
  margin: 0 0 10px;
  color: var(--texto);
  font-size: 13px;
  font-weight: 600;
}

.checkout-formas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.checkout-forma {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border-forte);
  border-radius: var(--raio);
  background: var(--surface);
  color: var(--texto-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.checkout-forma:hover {
  border-color: var(--texto-2);
  color: var(--texto);
}

.checkout-forma.ativo {
  border-color: var(--texto);
  background: var(--texto);
  color: #fff;
}

.checkout-forma.ativo:hover {
  color: #fff;
}

.checkout-pix {
  margin-top: 18px;
  text-align: center;
}

.checkout-pix img {
  width: 190px;
  height: 190px;
  border: 1px solid var(--border);
  border-radius: var(--raio);
  padding: 6px;
  background: var(--surface);
}

.checkout-pix textarea {
  width: 100%;
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid var(--border-forte);
  border-radius: var(--raio);
  background: var(--surface-2);
  color: var(--texto-2);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  resize: none;
}

.checkout-pix .popup-acoes {
  justify-content: center;
  margin-top: 12px;
}

.popup-acoes .botao-enviar,
.popup-acoes .botao-voltar {
  width: auto;
  min-width: 92px;
}

.fechar-popup {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--raio);
  background: none;
  color: var(--texto-3);
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fechar-popup:hover {
  background: #f2f1ec;
  color: var(--texto);
}

/* ---------- chat ---------- */

.popup-chat {
  display: flex;
  flex-direction: column;
  max-width: 520px;
  height: min(600px, calc(100vh - 48px));
  padding: 0;
  overflow: hidden;
}

.popup-chat-topo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 48px 14px 18px;
  border-bottom: 1px solid var(--border);
}

.popup-chat h2 {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-lista {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: #f3f3f0;
  overflow-y: auto;
}

.chat-lista > .meta {
  margin: auto;
  text-align: center;
}

.vazio-chat {
  margin: auto;
  color: var(--texto-3);
  font-size: 13px;
  text-align: center;
}

.balao {
  max-width: 78%;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--sombra-1);
  overflow-wrap: anywhere;
}

.balao p {
  margin: 0;
  color: var(--texto);
  font-size: 13px;
  line-height: 1.5;
}

.balao-quem {
  margin-bottom: 3px;
  color: var(--texto-3);
  font-size: 11px;
  font-weight: 600;
}

.balao-hora {
  display: block;
  margin-top: 4px;
  color: var(--texto-3);
  font-size: 10.5px;
}

.balao.eu {
  align-self: flex-end;
  border-color: var(--texto);
  background: var(--texto);
}

.balao.eu p,
.balao.eu .balao-quem {
  color: #fff;
}

.balao.eu .balao-quem,
.balao.eu .balao-hora {
  color: rgba(255, 255, 255, 0.62);
}

.balao.outro {
  align-self: flex-start;
}

.chat-rodape {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 12px;
}

.chat-enviando {
  margin: 0 0 8px;
  color: var(--texto-3);
  font-size: 12px;
}

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.chat-form textarea {
  flex: 1;
  height: 44px;
  min-height: 44px;
  max-height: 120px;
  padding: 11px 12px;
  border: 1px solid var(--border-forte);
  border-radius: var(--raio);
  background: var(--surface);
  color: var(--texto);
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.4;
  resize: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-form textarea::placeholder {
  color: var(--texto-3);
}

.chat-form textarea:focus {
  outline: none;
  border-color: var(--texto-2);
  box-shadow: 0 0 0 3px rgba(26, 26, 24, 0.07);
}

.chat-enviar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin-bottom: 4px;
  padding: 0;
  border: 1px solid var(--texto);
  background: var(--texto);
  color: #fff;
}

.chat-enviar svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.chat-enviar:hover {
  background: #000;
  border-color: #000;
}

.chat-form textarea:disabled,
.chat-enviar:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- responsivo ---------- */

@media (hover: none) {
  .card:hover,
  .plano:hover {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .planos-grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .pagina {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 24px;
  }

  .menu {
    position: static;
  }

  .menu section + section {
    margin-top: 16px;
    padding-top: 16px;
  }

  .topo-interno {
    height: var(--topo-altura);
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0 16px;
  }

  .menu-mobile {
    display: flex;
  }

  .topo.menu-aberto::after {
    content: "";
    position: fixed;
    top: var(--topo-altura);
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(22, 22, 20, 0.28);
    z-index: 41;
  }

  .topo nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 46;
    width: 100%;
    height: auto;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--sombra-2);
  }

  .topo.menu-aberto nav {
    display: flex;
  }

  .topo nav a,
  .topo nav a.selo-nucoins {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
  }

  .topo nav a.ativo {
    color: var(--texto);
    font-weight: 500;
    border-bottom-color: var(--border);
  }

  .topo nav a.selo-nucoins {
    margin-left: 0;
    padding-left: 4px;
  }

  .area-conta {
    margin-left: 8px;
    padding-left: 0;
    border-left: 0;
    height: auto;
  }

  .botao-conta {
    max-width: 44px;
    padding: 0;
  }

  .botao-conta .nome-conta {
    display: none;
  }

  .abrir-filtros {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    margin-bottom: 12px;
    padding: 0 12px;
    border: 1px solid var(--border-forte);
    border-radius: var(--raio);
    background: var(--surface);
    color: var(--texto);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
  }

  .abrir-filtros::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 1.5px solid var(--texto-2);
    border-bottom: 1.5px solid var(--texto-2);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.15s ease;
  }

  .pagina.filtros-abertos .abrir-filtros::after {
    transform: rotate(225deg) translateY(-2px);
  }

  .pagina > .menu {
    display: none;
  }

  .pagina.filtros-abertos > .menu {
    display: block;
    margin-bottom: 8px;
  }

  .planos-pagina {
    padding: 28px 20px 56px;
  }

  .popup-fundo {
    padding: 16px;
  }
}

@media (max-width: 720px) {
  .topo-interno {
    padding: 12px 16px;
  }

  .pagina,
  .proposta-pagina,
  .planos-pagina,
  .app-pagina,
  .login-pagina,
  .perfil-pagina {
    padding-left: 16px;
    padding-right: 16px;
  }

  .menu-ancora-interno {
    padding: 0 16px;
  }

  .planos-grade {
    grid-template-columns: 1fr;
  }

  .dash-numeros {
    grid-template-columns: 1fr;
  }

  .planos-topo h1 {
    font-size: 20px;
  }

  .plano {
    padding: 18px 16px;
  }

  .plano-preco {
    font-size: 22px;
  }

  .login-pagina {
    padding-top: 32px;
  }

  .app-pagina {
    padding-top: 40px;
  }

  .app-intro h1 {
    font-size: 24px;
  }

  .card-topo {
    flex-direction: column;
    gap: 6px;
  }

  .card-destaques {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    text-align: left;
  }

  .card footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .card footer .acao,
  .lista .card .acao {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .card footer .botao-proposta,
  .lista .card .botao-proposta {
    width: 100%;
    min-height: 42px;
  }

  .lista .card .taja-novo {
    font-size: 9px;
    letter-spacing: 0.06em;
    padding: 5px 12px 5px 14px;
  }

  .popup-fundo {
    align-items: flex-end;
    padding: 0;
  }

  .popup-caixa {
    max-width: none;
    max-height: min(92vh, 760px);
    overflow-y: auto;
    border-radius: 12px 12px 0 0;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .popup-acoes {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .popup-acoes .botao-enviar,
  .popup-acoes .botao-voltar {
    width: 100%;
    min-height: 42px;
  }

  .checkout-pix img {
    width: min(190px, 70vw);
    height: auto;
    aspect-ratio: 1;
  }

  .popup-chat {
    height: calc(78vh - env(safe-area-inset-top, 0px));
    border-radius: 0;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .form-proposta {
    padding: 18px 16px;
  }
}

/* ---------- perfil ---------- */

.perfil-pagina {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.perfil-cartao {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--raio-g);
  background: var(--surface);
  box-shadow: var(--sombra-1);
}

.perfil-capa {
  height: 92px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(250, 244, 227, 0.9) 46%, #f3f1eb);
}

.perfil-identidade {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 0 28px 22px;
  margin-top: -42px;
}

.avatar-perfil,
.avatar-perfil.avatar-padrao {
  width: 96px;
  height: 96px;
  border: 3px solid #fff;
  box-shadow: var(--sombra-1);
}

.perfil-identidade h1 {
  margin: 0 0 2px;
  color: var(--texto);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.perfil-identidade-form {
  align-items: center;
  padding: 0;
  margin: 0 0 8px;
}

.perfil-identidade-form .perfil-foto-acoes {
  margin-top: 10px;
}

.perfil-email {
  margin: 0;
  color: var(--texto-2);
  font-size: 13.5px;
}

.perfil-meta {
  margin: 6px 0 0;
  color: var(--texto-3);
  font-size: 12.5px;
}

.perfil-corpo {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 28px 28px;
}

.perfil-bloco {
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}

.perfil-bloco h2 {
  margin: 0 0 8px;
  color: var(--texto);
  font-size: 13px;
  font-weight: 600;
}

.perfil-bloco p {
  margin: 0;
  color: var(--texto-2);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.perfil-vazio {
  color: var(--texto-3);
  font-size: 13.5px;
}

.perfil-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.perfil-form .perfil-skills {
  margin-top: 10px;
}

.perfil-skill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--dourado-fraco);
  color: #8a6614;
  font-size: 12.5px;
  font-weight: 500;
}

.perfil-skill button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a6614;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.perfil-skill button:hover {
  background: rgba(161, 121, 26, 0.12);
}

.perfil-dados {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.perfil-dado dt {
  color: var(--texto-3);
  font-size: 12px;
  font-weight: 500;
}

.perfil-dado dd {
  margin: 3px 0 0;
  color: var(--texto);
  font-size: 13.5px;
}

.perfil-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.perfil-acoes .botao-enviar,
.perfil-acoes .botao-voltar {
  width: auto;
  min-width: 140px;
}

.perfil-form {
  max-width: none;
  padding: 28px;
}

.perfil-form h1 {
  margin-bottom: 6px;
}

.perfil-form > p.meta {
  margin: 0 0 20px;
}

.perfil-foto-campo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.avatar-editar,
.avatar-editar.avatar-padrao {
  width: 72px;
  height: 72px;
}

.perfil-foto-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.perfil-foto-acoes .botao-voltar,
.perfil-foto-acoes .botao-enviar {
  width: auto;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
}

.perfil-ajuda {
  margin: 8px 0 0;
  color: var(--texto-3);
  font-size: 12px;
  font-weight: 400;
}

.perfil-contador {
  display: block;
  margin-top: 6px;
  color: var(--texto-3);
  font-size: 12px;
  font-weight: 400;
}

.habilidade-entrada {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.login-box .habilidade-entrada input {
  flex: 1;
  margin-top: 0;
}

.habilidade-entrada .botao-voltar {
  flex-shrink: 0;
}

.perfil-sugestoes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.perfil-sugestao {
  padding: 4px 9px;
  border: 1px solid var(--border-forte);
  border-radius: 999px;
  background: var(--surface);
  color: var(--texto-2);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.perfil-sugestao:hover {
  border-color: var(--dourado-linha);
  color: var(--texto);
}

.perfil-status {
  margin: 12px 0 0;
  min-height: 18px;
  color: var(--texto-2);
  font-size: 13px;
}

.perfil-status.erro {
  color: var(--erro);
}

.popup-marco-fundo {
  z-index: 80;
  background: rgba(22, 22, 20, 0.28);
}

.popup-marco {
  z-index: 2;
  text-align: center;
}

.canhao-confete {
  position: fixed;
  inset: 0;
  z-index: 79;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.perfil-login {
  max-width: 420px;
  margin: 48px auto 0;
  text-align: center;
}

@media (max-width: 720px) {
  .perfil-pagina {
    padding-top: 24px;
  }

  .perfil-identidade,
  .perfil-corpo,
  .perfil-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .perfil-identidade {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .perfil-dados {
    grid-template-columns: 1fr;
  }

  .perfil-acoes .botao-enviar,
  .perfil-acoes .botao-voltar {
    width: 100%;
  }
}
