/* Grupo Cânyons: tema claro, fonte do sistema (SF no iPhone/Mac), cores chapadas.
   Destaque em preto, como o logo. Vermelho só para erro. Números de documento em SF Mono. */
:root {
  color-scheme: light;
  --fundo: #f5f5f7;
  --cartao: #ffffff;
  --texto: #17181b;
  --texto-2: #6b6d74;
  --texto-3: #8d8f96;
  --linha: #d4d5da;
  --linha-suave: #e8e8ec;
  --cinza: #f2f2f4;
  --cinza-2: #e8e8eb;
  --marca: #17181b;
  --marca-escura: #000000;
  --marca-suave: #ececef;
  --desenho: #86888f;
  --ok: #1d7f45;
  --ok-suave: #e6f4eb;
  --aviso: #925500;
  --aviso-suave: #fdf2df;
  --erro: #c62f2a;
  --erro-suave: #fbe9e8;
  --azul: #1f5fbf;
  --azul-suave: #e8f0fc;
  --raio: 18px;
  --raio-campo: 12px;
  --fonte: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 17px/1.47 var(--fonte);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.travado {
  overflow: hidden;
}
a {
  color: var(--marca);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--marca);
  outline-offset: 2px;
}
.ic {
  width: 20px;
  height: 20px;
  flex: none;
}
.escondido {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ───────────── topo ───────────── */
.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--linha-suave);
}
.topo-dentro {
  max-width: 680px;
  margin: 0 auto;
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topo-dentro.largo {
  max-width: 1180px;
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.logo {
  display: block;
  height: 22px;
  width: auto;
  flex: none;
}
.logo.grande {
  height: 34px;
  margin: 4px auto 22px;
}
.voltar {
  width: 36px;
  height: 36px;
  margin-left: -8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--marca);
}
.voltar:hover {
  background: var(--cinza);
}
.voltar .ic {
  width: 22px;
  height: 22px;
}
.salvo {
  margin-left: auto;
  font-size: 13px;
  color: var(--texto-3);
}
.salvo.erro {
  color: var(--erro);
}
.faixa-adm {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--texto);
}
.faixa-adm a {
  color: var(--texto);
}
.acoes-inicio.centro {
  justify-content: center;
}
.cabeca-acoes {
  margin-top: 0;
}
.videos-adm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 10px !important;
}
.videos-adm figure {
  margin: 0;
}
.videos-adm video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #000;
}
.videos-adm figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--texto-2);
}
.progresso {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 10px;
  display: flex;
  gap: 4px;
}
.progresso i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--linha-suave);
  transition: background 0.3s;
}
.progresso i.feito,
.progresso i.atual {
  background: var(--marca);
}
.progresso {
  align-items: center;
}
.barras {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}
/* cada etapa é tocável (área de toque maior que a barrinha de 4 px) */
.seg {
  flex: 1;
  display: block;
  padding: 9px 0;
  margin: -9px 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.seg i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--linha-suave);
  transition: background 0.2s;
}
.seg:hover i {
  background: var(--linha);
}
.seg.ok i {
  background: var(--texto);
}
.seg.atual i {
  height: 6px;
  border-radius: 3px;
  background: var(--texto);
}
.passo-n {
  margin-left: 10px;
  font: 500 12px/1 var(--mono);
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ───────────── página ───────────── */
.pagina {
  max-width: 680px;
  margin: 0 auto;
  padding: 30px 16px 140px;
}
.sobretitulo {
  font-size: 14px;
  font-weight: 500;
  color: var(--texto-2);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.titulo-grande {
  font-size: clamp(32px, 8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.04;
  margin-bottom: 12px;
}
.lead {
  font-size: 17px;
  line-height: 1.45;
  color: var(--texto-2);
  margin-bottom: 26px;
  max-width: 34em;
}
.sub {
  font-size: 15px;
  color: var(--texto-2);
}
.miudo {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 22px;
  font-size: 13px;
  color: var(--texto-3);
}
.miudo .ic {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.grupo {
  margin-top: 30px;
}
.grupo > h2,
.grupo-topo h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.grupo > .sub {
  margin-bottom: 12px;
}
.grupo > h2 + .cartao,
.grupo > h2 + .mapa {
  margin-top: 10px;
}
.grupo-topo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.contador {
  font: 500 13px/1.4 var(--mono);
  color: var(--texto-2);
  white-space: nowrap;
}
.cartao {
  background: var(--cartao);
  border-radius: var(--raio);
  padding: 20px;
}
.cartao > * + * {
  margin-top: 18px;
}
.cartao-titulo {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.cartao-titulo .ic {
  color: var(--texto-3);
}
.opcional {
  font-weight: 400;
  font-size: 13px;
  color: var(--texto-3);
}

/* ───────────── campos ───────────── */
label,
.rotulo {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
}
input:not([type='checkbox']):not([type='file']),
select,
textarea {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--linha);
  border-radius: var(--raio-campo);
  background: #fff;
  color: var(--texto);
  font: 17px var(--fonte);
  letter-spacing: -0.01em;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea {
  height: auto;
  min-height: 92px;
  padding: 12px 14px;
  line-height: 1.4;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #a7a7ac;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--marca);
  box-shadow: 0 0 0 3px rgba(23, 24, 27, 0.1);
}
input[readonly] {
  background: var(--cinza);
}
/* CPF, CNPJ, CEP e celular em fonte de números (dígito por dígito fica fácil de conferir) */
input[data-mascara] {
  font-family: var(--mono) !important;
  font-size: 16px !important;
  letter-spacing: 0 !important;
}
.campo.curto {
  max-width: 280px;
}
.dica {
  margin-top: 6px;
  font-size: 14px;
  color: var(--texto-3);
}
.erro {
  margin-top: 6px;
  font-size: 14px;
  color: var(--erro);
}
.erro:empty,
.link-estado:empty,
.mapa-status:empty,
.erro-txt:empty {
  display: none;
}
.com-erro input:not([type='checkbox']):not([type='file']),
.com-erro textarea,
.com-erro select {
  border-color: var(--erro);
}
.com-erro .segmentado {
  box-shadow: inset 0 0 0 1.5px var(--erro);
}
.com-erro .peca.vazia {
  --canto: var(--erro);
}
.com-erro .opcao {
  border-color: var(--erro-suave);
}
.com-prefixo {
  position: relative;
}
.com-prefixo span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--texto-3);
  pointer-events: none;
}
.com-prefixo input {
  padding-left: 32px !important;
}
.com-botao {
  display: flex;
  gap: 8px;
}
.com-botao input {
  flex: 1;
  min-width: 0;
}
.com-botao .btn {
  height: 50px;
  border-radius: var(--raio-campo);
}
.linha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.linha.cidade {
  grid-template-columns: 1fr 104px;
}
.select {
  position: relative;
}
.select::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.7px solid var(--texto-3);
  border-bottom: 1.7px solid var(--texto-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select {
  padding-right: 36px;
}
.select select:has(option[value='']:checked) {
  color: #a7a7ac;
}
.segmentado {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: #ececf0;
  border-radius: 11px;
}
.segmentado button {
  flex: 1;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.segmentado button[aria-checked='true'],
.segmentado button[aria-selected='true'] {
  background: #fff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1);
}
.segmentado.quebra {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* ───────────── botões ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, opacity 0.15s;
  -webkit-user-select: none;
  user-select: none;
}
.btn:active:not(:disabled) {
  transform: scale(0.98);
}
.btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.btn.primario {
  background: var(--marca);
  color: #fff;
}
.btn.primario:hover:not(:disabled) {
  background: var(--marca-escura);
}
.btn.secundario {
  background: var(--cinza-2);
  color: var(--texto);
}
.btn.secundario:hover:not(:disabled) {
  background: #e0e0e6;
}
.btn.texto {
  background: transparent;
  color: var(--marca);
  padding: 0 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--linha);
}
.btn.texto:hover:not(:disabled) {
  text-decoration-color: currentColor;
}
.btn.perigo {
  background: var(--erro);
  color: #fff;
}
.perigo-txt {
  color: var(--erro) !important;
}
.btn.grande {
  height: 52px;
  padding: 0 28px;
  font-size: 17px;
  font-weight: 600;
}
.btn.pequeno {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
}
.btn.pequeno .ic {
  width: 17px;
  height: 17px;
}
.btn.largura {
  width: 100%;
}
.btn.icone-so {
  width: 44px;
  padding: 0;
}
.btn.escuro {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.barra {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--linha-suave);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.barra-dentro {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}
.barra .btn {
  width: 100%;
}
@media (min-width: 720px) {
  .barra .btn {
    width: auto;
    min-width: 220px;
  }
}

/* ───────────── início ───────────── */
/* o que ter em mãos: lista simples, sem ícone */
.lista-mao {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lista-mao li {
  display: grid;
  gap: 1px;
  padding: 13px 0;
  border-top: 1px solid var(--linha-suave);
}
.lista-mao li:first-child {
  border-top: 0;
  padding-top: 0;
}
.lista-mao li:last-child {
  padding-bottom: 0;
}
.lista-mao strong {
  font-size: 16px;
  font-weight: 600;
}
.lista-mao span {
  font-size: 15px;
  color: var(--texto-2);
}
@media (min-width: 720px) {
  .lista-mao li {
    grid-template-columns: 210px 1fr;
    gap: 16px;
    align-items: baseline;
  }
}
.acoes-inicio {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (min-width: 720px) {
  .acoes-inicio {
    flex-direction: row;
    align-items: center;
  }
}

/* ───────────── fotos e arquivos ───────────── */
.vaga-itens {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.duas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cartao > .duas {
  margin-top: 10px;
}
.vaga.grade .vaga-itens {
  grid-template-columns: repeat(3, 1fr);
}
.vaga.docs .vaga-itens {
  grid-template-columns: repeat(2, 1fr);
}
.peca {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cinza);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.vaga.larga .peca {
  aspect-ratio: 16 / 10;
}
.vaga.grade .peca {
  aspect-ratio: 1;
}
.vaga.docs .peca {
  aspect-ratio: 4 / 5;
}
.cartao-doc .peca {
  aspect-ratio: 1.45;
}
.vaga.print .vaga-itens {
  max-width: 220px;
}
.vaga.print .peca {
  aspect-ratio: 4 / 5;
}
.vaga.print .desenho {
  width: 46%;
}
.vaga.selfie .vaga-itens {
  max-width: 280px;
}
.vaga.selfie .peca {
  aspect-ratio: 3 / 4;
}
/* Vaga vazia = visor da câmera: cantos de enquadramento e o desenho do que fotografar.
   (os "linear-gradient" de uma cor só desenham os 4 cantos; não é degradê) */
.peca.vazia {
  --canto: var(--texto);
  --c: 18px;
  --e: 2px;
  --m: 10px;
  padding: 22px 26px;
  background:
    linear-gradient(var(--canto), var(--canto)) left var(--m) top var(--m) / var(--c) var(--e) no-repeat,
    linear-gradient(var(--canto), var(--canto)) left var(--m) top var(--m) / var(--e) var(--c) no-repeat,
    linear-gradient(var(--canto), var(--canto)) right var(--m) top var(--m) / var(--c) var(--e) no-repeat,
    linear-gradient(var(--canto), var(--canto)) right var(--m) top var(--m) / var(--e) var(--c) no-repeat,
    linear-gradient(var(--canto), var(--canto)) left var(--m) bottom var(--m) / var(--c) var(--e) no-repeat,
    linear-gradient(var(--canto), var(--canto)) left var(--m) bottom var(--m) / var(--e) var(--c) no-repeat,
    linear-gradient(var(--canto), var(--canto)) right var(--m) bottom var(--m) / var(--c) var(--e) no-repeat,
    linear-gradient(var(--canto), var(--canto)) right var(--m) bottom var(--m) / var(--e) var(--c) no-repeat,
    var(--cinza);
}
/* Câmera (preto) e Galeria/Arquivo (branco) dentro da vaga vazia */
.peca-botoes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.peca-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: #fff;
  color: var(--texto);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.peca-btn.camera {
  background: var(--texto);
  border-color: var(--texto);
  color: #fff;
}
.peca-btn .ic {
  width: 16px;
  height: 16px;
}
.peca-btn:focus-within {
  outline: 2px solid var(--texto);
  outline-offset: 2px;
}
.peca-btn:active {
  transform: scale(0.97);
}
/* vagas pequenas: só os ícones */
.vaga.grade .peca-btn,
.duas .peca-btn,
.vaga.videos .peca-btn {
  width: 34px;
  padding: 0;
  justify-content: center;
}
.vaga.grade .peca-btn span,
.duas .peca-btn span,
.vaga.videos .peca-btn span {
  display: none;
}
.vaga.grade .peca-botoes {
  margin-top: 6px;
  gap: 4px;
}
.vaga.grade .peca-btn {
  width: 30px;
  height: 30px;
}
.vaga.grade .peca.vazia {
  --c: 12px;
  --m: 8px;
  padding: 10px;
}
/* vagas pequenas: só o nome (a dica já está no texto do grupo) */
.duas .peca.vazia,
.vaga.videos .peca.vazia {
  padding: 18px 12px;
}
.duas .peca-dica,
.vaga.videos .peca-dica {
  display: none;
}
.desenho {
  display: block;
  width: 64%;
  max-width: 220px;
  height: auto;
  margin-bottom: 10px;
  color: var(--desenho);
  stroke-width: 1.6;
}
.vaga.grade .desenho {
  width: 68%;
  margin-bottom: 4px;
}
.duas .vaga:not(.docs) .desenho {
  width: 80%;
}
.cartao-doc .desenho,
.vaga.docs .desenho {
  width: 58%;
}
.vaga.selfie .desenho {
  width: 56%;
}
.peca-ic {
  color: var(--texto);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.peca-ic .ic {
  width: 30px;
  height: 30px;
}
.peca.vazia strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.peca-dica {
  font-size: 13px;
  color: var(--texto-3);
  line-height: 1.3;
  margin-top: 2px;
}
.vaga.grade .peca-ic {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}
.vaga.grade .peca-dica {
  display: none;
}
.peca img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.peca figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vaga.videos .vaga-itens {
  grid-template-columns: repeat(2, 1fr);
}
.vaga.videos .peca {
  aspect-ratio: 16 / 10;
}
.selo-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
}
.selo-play .ic {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}
.selo-ok {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--texto);
  color: #fff;
  display: grid;
  place-items: center;
}
.selo-ok .ic {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}
.tirar {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.tirar .ic {
  width: 16px;
  height: 16px;
}
.trocar {
  position: absolute;
  right: 8px;
  top: 8px;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--marca);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.peca-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  color: var(--texto-2);
}
.peca-doc .ic {
  width: 30px;
  height: 30px;
}
.peca-doc span {
  font-size: 13px;
  line-height: 1.3;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.peca.subindo img {
  opacity: 0.55;
}
.peca.subindo figcaption {
  top: 8px;
  bottom: auto;
}
.barrinha {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}
.barrinha i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--marca);
  transition: width 0.2s;
}

/* ───────────── localização ───────────── */
.opcoes {
  display: grid;
  gap: 10px;
}
.opcao {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  text-align: left;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.opcao.ativa {
  border-color: var(--marca);
}
.opcao-ic {
  width: 28px;
  flex: none;
  color: var(--texto-2);
  display: grid;
  place-items: center;
}
.opcao-ic .ic {
  width: 24px;
  height: 24px;
}
.opcao.ativa .opcao-ic {
  color: var(--texto);
}
.opcao-txt strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.opcao-txt span {
  display: block;
  font-size: 14px;
  color: var(--texto-2);
}
.opcao-marca {
  margin-left: auto;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--linha);
  display: grid;
  place-items: center;
  color: #fff;
}
.opcao-marca .ic {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
  visibility: hidden;
}
.opcao.ativa .opcao-marca {
  background: var(--marca);
  border-color: var(--marca);
}
.opcao.ativa .opcao-marca .ic {
  visibility: visible;
}
.mapa-corpo {
  margin-top: 10px;
}
.mapa-corpo > * + * {
  margin-top: 14px;
}
.mapa-previa {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--cinza);
}
.mapa-previa iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.mapa-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mapa-info .dica {
  margin: 0;
}
.mapa-botoes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ok-txt {
  color: var(--texto);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ok-txt .ic {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
.erro-txt {
  color: var(--erro);
  display: flex;
  align-items: center;
  gap: 6px;
}
.link-estado {
  margin-top: 8px;
  font-size: 14px;
}
.mapa-status {
  font-size: 14px;
  color: var(--texto-2);
}
.passos-mapa {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  color: var(--texto-2);
}
.passos-mapa li + li {
  margin-top: 4px;
}

/* ───────────── contatos ───────────── */
.contato + .contato,
#contatos > .btn {
  margin-top: 12px;
}
.contato-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contato-topo h3 {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contato-topo h3 .ic {
  color: var(--texto-3);
}
.contato > .contato-topo + .campo {
  margin-top: 12px;
}

/* ───────────── revisão e fim ───────────── */
.pagina > .cartao + .cartao {
  margin-top: 12px;
}
.revisao > * + * {
  margin-top: 0;
}
.rev-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.rev-topo h2 {
  font-size: 18px;
  font-weight: 600;
}
.rev-aviso {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--erro);
  padding-bottom: 8px;
}
.rev-aviso .ic {
  width: 17px;
  height: 17px;
}
.rev-linha {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--linha-suave);
  font-size: 15px;
}
.rev-linha span {
  color: var(--texto-2);
  flex: none;
  max-width: 45%;
}
.rev-linha strong {
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}
.falta {
  color: var(--erro);
  font-style: normal;
  font-weight: 600;
}
.aceite-campo {
  margin-top: 24px;
  padding: 16px;
  background: #fff;
  border-radius: var(--raio);
}
.aceite {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--texto-2);
  cursor: pointer;
}
.aceite input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.caixa {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  border: 1.5px solid var(--linha);
  background: #fff;
  display: grid;
  place-items: center;
  color: #fff;
  margin-top: 1px;
}
.caixa .ic {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
  visibility: hidden;
}
.aceite input:checked + .caixa {
  background: var(--marca);
  border-color: var(--marca);
}
.aceite input:checked + .caixa .ic {
  visibility: visible;
}
.aceite input:focus-visible + .caixa {
  outline: 2px solid var(--marca);
  outline-offset: 2px;
}
.com-erro .caixa {
  border-color: var(--erro);
}
.fim {
  text-align: center;
}
.fim .lead {
  margin-bottom: 20px;
}
.selo-fim {
  width: 72px;
  height: 72px;
  margin: 28px auto 22px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid;
  place-items: center;
}
.selo-fim .ic {
  width: 36px;
  height: 36px;
  stroke-width: 2.2;
}
.protocolo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.protocolo span {
  font-size: 13px;
  color: var(--texto-3);
}
.protocolo strong {
  font: 600 34px/1.1 var(--mono);
  letter-spacing: 0;
}
.fim .miudo {
  justify-content: center;
  margin-bottom: 24px;
}

/* ───────────── avisos ───────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 300;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: #1d1d1f;
  color: #fff;
  font-size: 15px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s, transform 0.2s;
}
.toast.ver {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.erro {
  background: var(--erro);
}
.janela-fundo {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.janela {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
}
.janela h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.janela p {
  font-size: 15px;
  color: var(--texto-2);
}
.janela-acoes {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.janela-acoes .btn {
  flex: 1;
}
.carregando {
  min-height: 160px;
  display: grid;
  place-items: center;
}
.carregando::after,
.girando {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid var(--linha-suave);
  border-top-color: var(--marca);
  animation: gira 0.8s linear infinite;
  display: inline-block;
  flex: none;
}
.girando {
  width: 16px;
  height: 16px;
  border-width: 2px;
}
@keyframes gira {
  to {
    transform: rotate(360deg);
  }
}

/* ───────────── painel ───────────── */
.pagina.admin {
  max-width: 1180px;
  padding-bottom: 64px;
}
.marca-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  text-decoration: none;
}
.marca-sub {
  font-size: 15px;
  color: var(--texto-3);
  padding-left: 10px;
  border-left: 1px solid var(--linha);
}
.abas-topo {
  display: flex;
  gap: 2px;
  margin-left: 14px;
}
.abas-topo a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--texto-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.abas-topo a.ativo {
  background: var(--cinza);
  color: var(--texto);
}
.sair {
  margin-left: auto;
  color: var(--texto-2) !important;
}
.cabeca {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.aviso {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 14px;
  font-size: 15px;
}
.aviso > .ic {
  color: var(--marca);
}
.aviso .btn {
  margin-left: auto;
  flex: none;
}
.aviso.amarelo {
  background: var(--aviso-suave);
}
.aviso.amarelo > .ic {
  color: var(--aviso);
}
.filtros {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.segmentado.rolar {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.segmentado.rolar::-webkit-scrollbar {
  display: none;
}
.segmentado.rolar button {
  flex: none;
  padding: 0 12px;
}
.conta {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--texto-3);
  font-variant-numeric: tabular-nums;
}
.busca {
  flex: 1;
  min-width: 240px;
  position: relative;
  margin: 0;
}
.busca .ic {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--texto-3);
}
.busca input {
  height: 44px !important;
  padding-left: 40px !important;
  border-color: var(--linha-suave) !important;
}
.lista {
  background: #fff;
  border-radius: var(--raio);
  overflow: hidden;
}
.linha-cad {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: var(--texto);
  text-decoration: none;
  border-top: 1px solid var(--linha-suave);
}
.linha-cad:first-child {
  border-top: 0;
}
.linha-cad:hover {
  background: #fafafb;
}
.miniatura {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  background: var(--cinza);
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
}
.miniatura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.miniatura span {
  font-size: 16px;
  font-weight: 600;
  color: var(--texto-2);
}
.miniatura.grande {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  cursor: zoom-in;
}
.miniatura.grande:disabled {
  cursor: default;
}
.miniatura.grande span {
  font-size: 26px;
}
.lc-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lc-txt > * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-txt strong {
  font-size: 16px;
  font-weight: 600;
}
.lc-txt span {
  font-size: 14px;
  color: var(--texto-2);
}
.lc-txt .lc-quando {
  font-size: 13px;
  color: var(--texto-3);
}
.lc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.seta {
  color: var(--texto-3);
  width: 18px;
  height: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0;
}
.st-novo {
  background: var(--marca-suave);
  color: var(--marca-escura);
}
.st-analise {
  background: var(--azul-suave);
  color: var(--azul);
}
.st-pendencia,
.chip.aviso {
  background: var(--aviso-suave);
  color: var(--aviso);
}
.st-aprovado,
.chip.ok {
  background: var(--ok-suave);
  color: var(--ok);
}
.st-reprovado,
.chip.ruim {
  background: var(--erro-suave);
  color: var(--erro);
}
.st-rascunho,
.chip.neutro {
  background: #eeeef2;
  color: var(--texto-2);
}
.drive-ic {
  color: var(--texto-3);
  display: inline-grid;
  place-items: center;
}
.drive-ic .ic {
  width: 19px;
  height: 19px;
}
.drive-ic.dr-ok {
  color: var(--ok);
}
.drive-ic.dr-erro {
  color: var(--erro);
}
.drive-ic.grande {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cinza);
}
.drive-ic.grande .ic {
  width: 24px;
  height: 24px;
}
.vazio {
  padding: 56px 16px;
  text-align: center;
  color: var(--texto-2);
}
.vazio .ic {
  width: 32px;
  height: 32px;
  color: var(--texto-3);
  margin-bottom: 8px;
}
.voltar-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 16px -4px;
  color: var(--marca);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.det-cabeca {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.det-titulo {
  flex: 1;
  min-width: 220px;
}
.det-titulo .titulo-grande {
  margin-bottom: 4px;
}
.det-acoes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.det-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.det-principal > .cartao + .cartao {
  margin-top: 16px;
}
.det-principal .cartao > * + * {
  margin-top: 0;
}
.det-lado {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 76px;
}
.lado-cartao > * + * {
  margin-top: 12px;
}
.lin {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--linha-suave);
  font-size: 15px;
}
.cartao-titulo + .lin {
  margin-top: 8px;
}
.lin-rot {
  color: var(--texto-2);
}
.lin-val {
  overflow-wrap: anywhere;
}
.lin-val .chip {
  margin-left: 6px;
}
.lin-sub {
  display: block;
  font-size: 13px;
  color: var(--texto-3);
}
.lin a {
  text-decoration: none;
}
.link-forte {
  color: var(--marca);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-forte .ic {
  width: 18px;
  height: 18px;
}
.copiar {
  border: 0;
  background: transparent;
  color: var(--texto-3);
  padding: 2px 4px;
  cursor: pointer;
  vertical-align: middle;
}
.copiar .ic {
  width: 16px;
  height: 16px;
}
.det-principal .mapa-previa {
  margin: 4px 0 12px;
  max-width: 520px;
}
.fotos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px !important;
}
.foto {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cinza);
  border: 0;
  padding: 0;
  cursor: zoom-in;
}
.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.foto span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.foto.doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--texto);
  text-decoration: none;
  cursor: pointer;
  padding: 10px;
  text-align: center;
}
.foto.doc .ic {
  width: 28px;
  height: 28px;
  color: var(--marca);
}
.foto.doc span {
  position: static;
  background: none;
  white-space: normal;
  font-size: 13px;
  padding: 0;
}
.foto.doc small {
  font-size: 12px;
  color: var(--texto-3);
}
.mini-titulo {
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-2);
  margin-top: 14px !important;
}
.contato-lin {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--linha-suave);
}
.cartao-titulo + .contato-lin {
  margin-top: 8px;
}
.ct-nome {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 500;
}
.ct-nome small {
  font-size: 14px;
  font-weight: 400;
  color: var(--texto-2);
}
.status-lista {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.status-op {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-size: 15px;
  cursor: pointer;
  text-align: left;
}
.status-op:hover {
  background: var(--cinza);
}
.status-op.ativo {
  background: var(--cinza);
  font-weight: 600;
}
.status-op .ic {
  margin-left: auto;
  color: var(--marca);
  width: 18px;
  height: 18px;
}
.bolinha {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.bolinha.st-novo {
  background: var(--marca);
}
.bolinha.st-analise {
  background: var(--azul);
}
.bolinha.st-pendencia {
  background: #d68a00;
}
.bolinha.st-aprovado {
  background: var(--ok);
}
.bolinha.st-reprovado {
  background: var(--erro);
}
.lado-cartao textarea {
  font-size: 15px;
}
.backup-bloco {
  border-top: 1px solid var(--linha-suave);
  padding-top: 12px;
}
.backup-bloco > * + * {
  margin-top: 10px;
}
.backup-bloco .mini-titulo {
  margin-top: 0 !important;
}
.historico {
  list-style: none;
  margin: 0;
  padding: 0;
}
.historico li {
  padding: 8px 0;
  border-top: 1px solid var(--linha-suave);
}
.historico li:first-child {
  border-top: 0;
}
.historico span {
  display: block;
  font-size: 14px;
}
.historico time {
  font-size: 12px;
  color: var(--texto-3);
}
.espera {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drive-estado {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.drive-estado > div {
  flex: 1;
  min-width: 200px;
}
.drive-estado strong {
  display: block;
  font-size: 17px;
}
.drive-estado .sub {
  display: block;
}
.passos {
  border-top: 1px solid var(--linha-suave);
  padding-top: 14px;
}
.passos summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--marca);
}
.passos ol {
  margin: 12px 0 0;
  padding-left: 22px;
  font-size: 15px;
}
.passos li + li {
  margin-top: 10px;
}
.botoes-linha {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}
.codigo {
  margin: 10px 0 0;
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  border-radius: 12px;
  background: var(--fundo);
  font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre;
}
.form-drive,
.form-senha {
  border-top: 1px solid var(--linha-suave);
  padding-top: 16px;
}
.form-senha {
  border-top: 0;
  padding-top: 0;
  max-width: 420px;
}
.form-drive > * + *,
.form-senha > * + * {
  margin-top: 14px;
}
.admin .grupo:first-of-type {
  margin-top: 20px;
}
.entrar {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.entrar-cartao {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  text-align: center;
}
.entrar-cartao h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.entrar-cartao .campo {
  text-align: left;
  margin-top: 24px;
}
.entrar-cartao .erro-txt {
  justify-content: center;
  font-size: 14px;
}

/* ── visor de fotos ── */
.visor {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 12, 14, 0.95);
  display: flex;
  flex-direction: column;
}
.visor-topo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.visor-topo span {
  flex: 1;
  color: #fff;
  font-size: 15px;
}
.visor-palco {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px 20px;
}
.visor-palco img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.visor-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.visor-seta.esq {
  left: 10px;
}
.visor-seta.dir {
  right: 10px;
}
.visor-falha {
  color: #fff;
}

/* ───────────── telas menores ───────────── */
@media (max-width: 900px) {
  .det-grade {
    grid-template-columns: 1fr;
  }
  .det-lado {
    position: static;
  }
}
@media (max-width: 600px) {
  .lin {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .marca-sub,
  .sair span,
  .admin-topo .marca-nome {
    display: none;
  }
  .abas-topo {
    margin-left: 4px;
  }
  .linha-cad {
    gap: 12px;
  }
  .det-acoes {
    width: 100%;
    flex-wrap: nowrap;
  }
  .det-acoes .btn:not(.icone-so) {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
  }
}
@media (max-width: 480px) {
  .segmentado.quebra {
    grid-template-columns: repeat(2, 1fr);
  }
  .lead {
    font-size: 17px;
  }
  .cartao {
    padding: 18px 16px;
  }
  .linha.cidade {
    grid-template-columns: 1fr 92px;
  }
  .visor-palco {
    padding: 0 0 16px;
  }
  .visor-seta {
    top: auto;
    bottom: 24px;
    transform: none;
  }
}
@media (max-width: 360px) {
  .vaga.grade .vaga-itens {
    grid-template-columns: repeat(2, 1fr);
  }
  .marca-nome {
    font-size: 16px;
  }
}

/* ───────────── busca do cobrador (/buscar) ───────────── */
.busca-tela {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 16px 48px;
}
.busca-topo {
  display: flex;
  justify-content: flex-end;
  padding: 12px 0;
}
.busca-centro {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding-top: 20vh;
  transition: padding-top 0.25s ease;
}
.busca-tela.com-busca .busca-centro {
  padding-top: 3vh;
}
.logo.busca-logo {
  height: 48px;
  margin: 0 auto 30px;
}
.busca-caixa {
  position: relative;
}
.busca-caixa .ic {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--texto-2);
  pointer-events: none;
}
.busca-caixa input {
  height: 56px !important;
  padding: 0 22px 0 52px !important;
  border-radius: 999px !important;
  border: 1px solid var(--linha) !important;
  background: #fff !important;
  font-size: 18px !important;
}
.busca-caixa input:focus {
  border-color: var(--texto) !important;
  box-shadow: none !important;
}
.busca-caixa input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
#resultados {
  margin-top: 18px;
}
.busca-vazio {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  color: var(--texto-2);
}
.busca-grupo {
  margin: 22px 4px 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--texto-2);
}
#resultados > .busca-grupo:first-child {
  margin-top: 4px;
}
.pdf-mini svg {
  width: 24px;
  height: 24px;
  color: var(--texto);
}
.busca-ficha .det-cabeca {
  margin-bottom: 18px;
}
.busca-ficha > .cartao + .cartao {
  margin-top: 12px;
}
.sair-b {
  margin-left: auto;
}
.tel-lin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.fotos-cob {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.foto-cob {
  display: block;
  align-self: start; /* botão centraliza o conteúdo na altura da linha; aqui fica no topo */
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
  color: var(--texto-2);
  cursor: pointer;
}
.foto-cob > span:last-child {
  display: block;
  margin-top: 5px;
}
.midia-cob {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cinza);
}
.midia-cob img,
.video-cob-fundo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-cob-fundo {
  background: #1b1c1f;
}
.foto-cob:hover .midia-cob img {
  opacity: 0.88;
}
/* vídeos: miniatura pequena como as fotos; toca no visor (popup) */
.sub-cob {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-2);
}
.foto-cob .pdf-cob {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--cinza);
  color: var(--texto);
}
.pdf-cob .ic {
  width: 30px;
  height: 30px;
}
.pdf-cob b {
  font: 600 12px/1 var(--mono);
}
/* visor: vídeo e PDF além da foto */
.visor-midia {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visor-midia img,
.visor-midia video {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  object-fit: contain;
  border-radius: 6px;
  background: #000;
}
.visor-pdf {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #fff;
  text-align: center;
}
.visor-pdf > .ic {
  width: 48px;
  height: 48px;
}
.visor-audio audio {
  width: min(420px, 80vw);
}
@media (prefers-reduced-motion: reduce) {
  .busca-centro {
    transition: none;
  }
}

/* botão do WhatsApp ("Abrir no Zap"): pequeno e verde, a única cor fora do preto */
.btn.zap {
  height: 30px;
  padding: 0 11px;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  background: #168a43;
  color: #fff;
}
.btn.zap:hover:not(:disabled) {
  background: #11733a;
}
.btn.zap .ic {
  width: 15px;
  height: 15px;
}
.btn.zap.icone-so {
  width: 30px;
  padding: 0;
}
/* "Ligar" ao lado do Zap no mesmo tamanho */
.tel-lin .btn.icone-so,
.contato-lin .btn.icone-so {
  width: 30px;
  height: 30px;
  padding: 0;
}
.tel-lin .btn.icone-so .ic,
.contato-lin .btn.icone-so .ic {
  width: 15px;
  height: 15px;
}
/* vagas pequenas vazias crescem para caber desenho, nome e os botões Câmera/Galeria */
.duas .peca.vazia,
.vaga.videos .peca.vazia {
  aspect-ratio: auto;
  min-height: 170px;
  padding: 20px 12px 22px;
}
.vaga.grade .peca.vazia {
  aspect-ratio: auto;
  min-height: 150px;
  padding: 14px 8px 16px;
}

/* ── vídeo chamada e ligação (painel) ── */
.grav-lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.grav {
  margin: 0;
}
.grav-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #000;
}
.grav-audio {
  grid-column: 1 / -1;
}
.grav-audio audio {
  display: block;
  width: 100%;
}
.grav figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--texto-2);
}
.link-apagar {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--erro);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.grav-botoes {
  margin-top: 16px;
}
.grav-status {
  margin-top: 8px;
  font-size: 13px;
  color: var(--texto-2);
}
.grav-status:empty {
  display: none;
}

/* ───────────── página principal (logo + 3 botões) ───────────── */
.home {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
}
.home-logo {
  width: min(260px, 70vw);
  height: auto;
  display: block;
}
.home-botoes {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-botoes .btn {
  width: 100%;
  letter-spacing: 0.04em;
}

/* botões da página principal com degradê (pedido dele em 20/11) */
.home {
  background: radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #f5f5f7 55%, #ececef 100%);
}
.home-logo {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}
.home-botoes {
  gap: 14px;
}
.home-botoes .btn {
  height: 56px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.home-botoes .btn.primario {
  color: #fff;
  background: linear-gradient(180deg, #48484c 0%, #1d1d1f 55%, #0b0b0c 100%);
  border-color: #0b0b0c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px -8px rgba(0, 0, 0, 0.55);
}
.home-botoes .btn.secundario {
  color: #1d1d1f;
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f4 60%, #e2e2e7 100%);
  border-color: #d6d6dc;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(0, 0, 0, 0.35);
}
.home-botoes .btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.home-botoes .btn:active {
  transform: translateY(0) scale(0.99);
}
.home-logo {
  margin-top: -14vh; /* logo um pouco mais para cima (pedido dele) */
  margin-bottom: 4vh;
}
