:root {
  --bg: #080b10;
  --bg-2: #0d121a;
  --surface: #111823;
  --surface-2: #16202d;
  --linha: #1f2b3a;
  --texto: #e9eef7;
  --suave: #94a3b8;
  --laranja: #ff6a00;
  --laranja-2: #ff8a3d;
  --verde: #22c55e;
  --vermelho: #ef4444;
  --amarelo: #f59e0b;
  --wa-bg: #0b141a;
  --wa-bolha-bot: #1f2c34;
  --wa-bolha-cliente: #005c4b;
  --raio: 16px;
  --sombra: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(255, 106, 0, 0.16), transparent 60%),
    radial-gradient(700px 400px at 90% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.topo {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(8, 11, 16, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topo__linha {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.topo__logo {
  height: 26px;
  width: auto;
  display: block;
}

.topo__produto {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--suave);
  padding-left: 14px;
  border-left: 1px solid var(--linha);
}

.topo__espaco {
  flex: 1;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--linha);
  background: var(--surface);
  color: var(--suave);
  white-space: nowrap;
}

.chip--teste {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
}

.chip__ponto {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

/* ------------------------------------------------------------------ herói */

.heroi {
  padding: 56px 0 20px;
}

.heroi__grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
}

.heroi h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.heroi h1 span {
  color: var(--laranja);
}

.heroi p {
  margin: 0;
  color: var(--suave);
  font-size: 16px;
  max-width: 620px;
}

.heroi__acoes {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.heroi__selos {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
  color: var(--suave);
  font-size: 13px;
}

.heroi__selos b {
  color: var(--texto);
  font-weight: 600;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}

.botao:active {
  transform: translateY(1px);
}

.botao--forte {
  background: linear-gradient(180deg, var(--laranja-2), var(--laranja));
  color: #1a0d02;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.28);
}

.botao--forte:hover {
  filter: brightness(1.05);
}

.botao--fraco {
  background: var(--surface);
  border-color: var(--linha);
  color: var(--texto);
}

.botao--fraco:hover {
  background: var(--surface-2);
}

.botao:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cartao-vaga {
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.12), rgba(17, 24, 35, 0.9));
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: var(--raio);
  padding: 18px;
}

.cartao-vaga__rotulo {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--laranja-2);
  font-weight: 700;
}

.cartao-vaga__numero {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
}

.cartao-vaga__texto {
  font-size: 13px;
  color: var(--suave);
}

.barra {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 14px;
}

.barra__preenche {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--laranja), var(--laranja-2));
  transition: width 0.4s ease;
}

/* ------------------------------------------------------------------ palco */

.palco {
  padding: 26px 0 10px;
}

.palco__grade {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 980px) {
  .heroi__grade,
  .palco__grade {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ celular */

.celular {
  position: sticky;
  top: 88px;
  display: flex;
  justify-content: center;
}

.celular__corpo {
  width: 356px;
  height: 720px;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(180deg, #20262f, #0a0d12);
  box-shadow: var(--sombra), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.celular__tela {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--wa-bg);
  display: flex;
  flex-direction: column;
}

.celular__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: 99px;
  background: #05070a;
  z-index: 5;
}

.wa-topo {
  padding: 34px 12px 10px;
  background: #1f2c34;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-topo__voltar {
  color: #a7c1cd;
  font-size: 18px;
  line-height: 1;
}

.wa-topo__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--laranja), #b84600);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #1a0d02;
  flex: none;
}

.wa-topo__nome {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
}

.wa-topo__status {
  font-size: 12px;
  color: #8fb0bd;
}

.wa-corpo {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
  scrollbar-width: thin;
}

.wa-corpo::-webkit-scrollbar {
  width: 6px;
}

.wa-corpo::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.bolha {
  max-width: 86%;
  padding: 8px 10px 6px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  animation: surgir 0.18s ease both;
}

@keyframes surgir {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.bolha--bot {
  align-self: flex-start;
  background: var(--wa-bolha-bot);
  border-top-left-radius: 3px;
}

.bolha--cliente {
  align-self: flex-end;
  background: var(--wa-bolha-cliente);
  border-top-right-radius: 3px;
}

.bolha__hora {
  display: block;
  text-align: right;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.wa-digitando {
  align-self: flex-start;
  background: var(--wa-bolha-bot);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 4px;
}

.wa-digitando i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9fb6c1;
  animation: piscar 1s infinite;
}

.wa-digitando i:nth-child(2) {
  animation-delay: 0.15s;
}

.wa-digitando i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes piscar {
  0%,
  60%,
  100% {
    opacity: 0.3;
  }
  30% {
    opacity: 1;
  }
}

.wa-acoes {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0e1a20;
}

.wa-acoes__titulo {
  padding: 9px 12px;
  font-size: 12px;
  color: #8fb0bd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-opcao {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 11px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #53bdeb;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.wa-opcao:hover {
  background: rgba(83, 189, 235, 0.08);
}

.wa-opcao small {
  color: #7f97a3;
  font-weight: 400;
  font-size: 11.5px;
}

.wa-rodape {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 14px;
  background: #0e1a20;
}

.wa-campo {
  flex: 1;
  height: 36px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a262e;
  color: #d7e3ea;
  padding: 0 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.wa-campo:focus {
  border-color: rgba(83, 189, 235, 0.5);
}

.wa-enviar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--laranja);
  color: #1a0d02;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.wa-enviar:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ------------------------------------------------------------------ painéis */

.painel {
  background: var(--surface);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: 20px;
}

.painel + .painel {
  margin-top: 18px;
}

.painel__cabeca {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.painel__titulo {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.painel__dica {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--suave);
}

.erps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 640px) {
  .erps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.erp {
  text-align: left;
  padding: 14px;
  border-radius: 13px;
  border: 1px solid var(--linha);
  background: var(--bg-2);
  cursor: pointer;
  font-family: inherit;
  color: var(--texto);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.erp:hover {
  border-color: rgba(255, 106, 0, 0.45);
}

.erp.is-ativo {
  border-color: var(--laranja);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.14), rgba(13, 18, 26, 0.9));
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.35) inset;
}

.erp__nome {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.erp__marca {
  font-size: 11px;
  color: var(--suave);
  margin-top: 6px;
  line-height: 1.35;
}

.erp__ponto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--linha);
  flex: none;
}

.erp.is-ativo .erp__ponto {
  background: var(--verde);
  box-shadow: 0 0 10px var(--verde);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.campo--largo {
  grid-column: 1 / -1;
}

.campo span {
  font-size: 12px;
  font-weight: 600;
  color: var(--suave);
  letter-spacing: 0.02em;
}

.campo input,
.campo select {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--linha);
  background: var(--bg-2);
  color: var(--texto);
  padding: 0 12px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
}

.campo input:focus,
.campo select:focus {
  border-color: rgba(255, 106, 0, 0.55);
}

.campo__dica {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--suave);
  line-height: 1.5;
  margin: 0;
}

.acoes {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.teste {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.teste input {
  flex: 1;
  min-width: 190px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--linha);
  background: var(--bg-2);
  color: var(--texto);
  padding: 0 12px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
}

.resultado {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid var(--linha);
  background: var(--bg-2);
  padding: 14px;
  font-size: 13px;
  color: var(--suave);
  line-height: 1.6;
}

.resultado.is-ok {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.06);
  color: #cbeed6;
}

.resultado.is-erro {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.07);
  color: #ffd4d4;
}

.resultado strong {
  color: var(--texto);
  font-size: 14px;
}

.resultado ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.resultado li {
  margin-bottom: 2px;
}

/* ------------------------------------------------------------------ whatsapp */

.wa-caixa {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px dashed var(--linha);
  border-radius: 12px;
  padding: 14px;
  margin-top: 14px;
  background: var(--bg-2);
}

.wa-caixa__texto {
  flex: 1;
  min-width: 220px;
  font-size: 13px;
  color: var(--suave);
}

.wa-caixa__texto b {
  color: var(--texto);
}

/* ------------------------------------------------------------------ atendimento */

.abas {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.aba {
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--linha);
  background: var(--surface);
  color: var(--suave);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.aba.is-ativa {
  color: #1a0d02;
  background: var(--laranja);
  border-color: var(--laranja);
}

.mesa {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 260px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  overflow: hidden;
  min-height: 420px;
  background: var(--surface);
}

@media (max-width: 980px) {
  .mesa {
    grid-template-columns: minmax(0, 1fr);
  }
}

.mesa__lista {
  border-right: 1px solid var(--linha);
  background: var(--bg-2);
}

.mesa__cabeca {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--suave);
  border-bottom: 1px solid var(--linha);
}

.conversa {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: var(--texto);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.conversa:hover {
  background: rgba(255, 255, 255, 0.03);
}

.conversa.is-ativa {
  background: rgba(255, 106, 0, 0.1);
  box-shadow: inset 3px 0 0 var(--laranja);
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: #22303f;
  color: #cfe0ef;
  flex: none;
}

.conversa__texto {
  min-width: 0;
  flex: 1;
}

.conversa__nome {
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.conversa__nome > span,
.conversa__nome > b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversa__nome small {
  color: var(--suave);
  font-weight: 400;
  font-size: 11px;
  white-space: nowrap;
}

.conversa__ultima {
  font-size: 12px;
  color: var(--suave);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mesa__chat {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-height: 420px;
}

.mesa__chat-topo {
  padding: 12px 16px;
  border-bottom: 1px solid var(--linha);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mesa__chat-corpo {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mesa__lateral {
  border-left: 1px solid var(--linha);
  background: var(--bg-2);
  padding: 16px;
}

.lateral__bloco + .lateral__bloco {
  margin-top: 18px;
}

.lateral__rotulo {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--suave);
  font-weight: 700;
  margin-bottom: 8px;
}

.lateral__valor {
  font-size: 13px;
  color: var(--texto);
  word-break: break-word;
}

.lateral__valor + .lateral__valor {
  margin-top: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 106, 0, 0.14);
  color: var(--laranja-2);
  border: 1px solid rgba(255, 106, 0, 0.3);
  margin: 0 6px 6px 0;
}

.tag--verde {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.3);
}

.tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tabela th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--suave);
  padding: 10px 12px;
  border-bottom: 1px solid var(--linha);
  font-weight: 700;
}

.tabela td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.resumo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

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

.resumo__item {
  border: 1px solid var(--linha);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--bg-2);
}

.resumo__numero {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.resumo__rotulo {
  font-size: 12px;
  color: var(--suave);
}

/* ------------------------------------------------------------------ rodapé */

.rodape {
  margin-top: 46px;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--suave);
  font-size: 12.5px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.rodape img {
  height: 34px;
  opacity: 0.85;
}

.secao {
  padding: 34px 0 6px;
}

.secao__titulo {
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.secao__texto {
  margin: 0 0 20px;
  color: var(--suave);
  font-size: 14px;
  max-width: 760px;
}

.aviso {
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.07);
  color: #fcd34d;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  margin-top: 14px;
}

.aviso b {
  color: #fde68a;
}
