/* Zui: consultor nas páginas (plano Máquina de Vendas, MV2.2 e MV2.3). CSS escrito à mão, sem Tailwind, para funcionar em qualquer página
   (apresentação, home, setor, painel da vaga e checkout). Tudo com o prefixo zc-. HTML em zui_consultor.php; comportamento em zui-consultor.js. */
.zc, .zc * { box-sizing: border-box; }
.zc { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.zc [hidden] { display: none !important; }

/* Botão flutuante, discreto, no canto */
.zc-flutuante { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 8px;
  min-width: 52px; min-height: 52px; padding: 0 14px; border-radius: 999px; background: #1fa855; color: #fff; text-decoration: none; font-weight: 800; font-size: 14px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .18); transition: transform .2s ease, background .2s ease; }
.zc-flutuante:hover { background: #179a4b; transform: translateY(-2px); }
.zc-flutuante:focus-visible, .zc-botao:focus-visible, .zc-fechar:focus-visible, .zc-campo:focus-visible { outline: 3px solid #fb923c; outline-offset: 2px; }
.zc-flutuante svg { width: 26px; height: 26px; flex: none; }
.zc-flutuante .zc-flutuante-rotulo { display: none; white-space: nowrap; }
.zc-com-rotulo .zc-flutuante-rotulo { display: inline; }
.zc-flutuante:not(.zc-com-rotulo) { padding: 0; justify-content: center; width: 52px; }
/* Página com barra fixa no rodapé do celular (apresentação): a barra já tem o botão do consultor; o flutuante só aparece em tela larga. */
@media (max-width: 767px) { .zc-com-barra .zc-flutuante { display: none; } .zc-com-barra .zc-convite { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* Convite que sobe do canto */
.zc-convite { position: fixed; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 46; width: min(340px, calc(100vw - 32px));
  background: #0f172a; color: #e2e8f0; border: 1px solid rgba(251, 146, 60, .45); border-radius: 20px; padding: 16px 16px 14px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .85); transform: translateY(16px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.zc-convite.zc-visivel { transform: none; opacity: 1; }
.zc-convite-topo { display: flex; gap: 12px; align-items: center; padding-right: 36px; }
.zc-foto { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; border: 2px solid rgba(251, 146, 60, .6); flex: none; }
.zc-foto-grande { width: 112px; height: 112px; }
.zc-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #6ee7b7; }
.zc-status::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #34d399; }
.zc-status.zc-ausente { color: #fcd34d; }
.zc-status.zc-ausente::before { background: #fbbf24; }
.zc-texto { margin: 10px 0 12px; font-size: 14px; line-height: 1.45; color: #e2e8f0; font-weight: 600; }
.zc-fechar { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: transparent; color: #94a3b8; font-size: 22px; line-height: 1; border-radius: 999px; cursor: pointer; }
.zc-fechar:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.zc-acoes { display: flex; flex-direction: column; gap: 8px; }

/* Botões */
.zc-botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 14px; font-size: 14px; font-weight: 800;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; font-family: inherit; transition: background .2s ease, border-color .2s ease; }
.zc-botao svg { width: 20px; height: 20px; flex: none; }
.zc-verde { background: #1fa855; color: #fff; }
.zc-verde:hover { background: #179a4b; }
.zc-contorno { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
.zc-contorno:hover { border-color: #fb923c; }
.zc-laranja { background: #ea580c; color: #fff; }
.zc-laranja:hover { background: #f97316; }
.zc-botao[disabled] { opacity: .6; cursor: wait; }

/* "Prefiro que me chamem" (MV2.3) */
.zc-chame-det > summary { list-style: none; width: 100%; }
.zc-chame-det > summary::-webkit-details-marker { display: none; }
.zc-chame-det[open] > summary { display: none; }
.zc-chame-det[open] { flex-basis: 100%; width: 100%; }
.zc-chame { margin-top: 10px; }
.zc-chame label { display: block; font-size: 12px; font-weight: 700; color: #cbd5e1; margin-bottom: 6px; }
.zc-chame-linha { display: flex; flex-wrap: wrap; gap: 8px; }
.zc-chame-linha .zc-botao { flex: 1 0 auto; }
.zc-campo { flex: 1 1 170px; min-width: 0; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 1px solid #334155; background: #020617; color: #fff; font-size: 16px; font-family: inherit; }
.zc-campo::placeholder { color: #64748b; }
.zc-msg { margin-top: 8px; font-size: 13px; line-height: 1.4; }
.zc-msg.zc-erro { color: #fda4af; }
.zc-msg.zc-ok { color: #6ee7b7; font-weight: 700; }
.zc-aviso { margin-top: 6px; font-size: 11px; color: #64748b; line-height: 1.4; }

@media (prefers-reduced-motion: reduce) { .zc-convite, .zc-flutuante, .zc-botao { transition: none; } .zc-convite { transform: none; } }
@media print { .zc { display: none !important; } }
.zc-nome { display: block; color: #fff; font-size: 15px; font-weight: 800; }

/* Oferta na saída (MV5.1): janela no centro, só no computador. Fecha com Esc, clique fora e no ×. */
.zc-saida { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(2, 6, 23, .78); opacity: 0; transition: opacity .25s ease; }
.zc-saida.zc-visivel { opacity: 1; }
.zc-saida-caixa { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #0f172a; color: #e2e8f0;
  border: 1px solid rgba(251, 146, 60, .45); border-radius: 20px; padding: 22px 20px 18px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); }
.zc-saida-titulo { margin: 0 36px 4px 0; color: #fff; font-size: 18px; line-height: 1.35; font-weight: 800; }
.zc-saida-texto { margin: 8px 0 14px; font-size: 14px; line-height: 1.45; color: #cbd5e1; }
.zc-saida .zc-convite-topo .zc-saida-titulo { margin: 0; }
.zc-saida-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0; border: 0; background: transparent; color: #fdba74;
  font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.zc-saida-link::-webkit-details-marker { display: none; }
.zc-saida-link:hover { color: #fff; }
.zc-saida-link:focus-visible { outline: 3px solid #fb923c; outline-offset: 2px; }
.zc-saida-email-det[open] > summary { display: none; }
.zc-saida .zc-acoes { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .zc-saida { transition: none; } }
.zc-saida[hidden] { display: none !important; }
