/* Páginas de conta do Quick (entrar, assinar, minha conta, painel). Usa as fontes e as cores do quick.css. */

/* Botão de acesso no topo do site */
.hero { position: relative; }
.topo-entrar {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font-family: var(--font-d); font-weight: 600; font-size: 0.85rem; text-decoration: none;
  color: var(--white); border: 1px solid rgba(255,255,255,0.28); padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.06);
}
.topo-entrar:hover { background: rgba(255,255,255,0.16); }
.plan .anual { font-size: 0.85rem; opacity: 0.75; margin: 2px 0 10px; }
.plan .anual b { font-family: var(--font-d); }
.setup-card .r .cortado { text-decoration: line-through; font-weight: 500; opacity: 0.5; margin-right: 4px; }
.setup-card .r .gratis { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-cta { margin-top: 22px; justify-content: center; width: 100%; }

/* ---------- páginas de aplicação ---------- */
body.app { background: var(--paper); min-height: 100vh; }
.app main { max-width: 620px; margin: 0 auto; padding: 28px 20px 64px; }
.app main.larga { max-width: 780px; }
.app main.tabela { max-width: 1180px; }
.app h1 { font-size: 1.9rem; margin-bottom: 8px; }
.app h2 { font-size: 1.15rem; margin: 0 0 4px; }
.app .lead { opacity: 0.75; margin-bottom: 22px; }
.app .cartao { background: var(--white); border: 1px solid var(--line-dark); border-radius: 20px; padding: 24px; margin-bottom: 16px; }
.app .cartao > h2 + .ajuda { margin-bottom: 14px; }
.app .ajuda { font-size: 0.86rem; opacity: 0.62; line-height: 1.45; }
.app .exemplo { font-size: 0.82rem; opacity: 0.5; font-style: italic; margin-top: 4px; }

.app label.campo { display: block; margin-bottom: 16px; font-family: var(--font-d); font-weight: 600; font-size: 0.92rem; }
.app label.campo .req { color: var(--orange); }
.app input[type=text], .app input[type=email], .app input[type=password], .app input[type=tel], .app textarea, .app select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 1rem var(--font-b); color: var(--ink);
  background: #fff; border: 1.5px solid rgba(7,12,26,0.16); border-radius: 12px; outline: none;
}
.app textarea { min-height: 88px; resize: vertical; line-height: 1.45; }
.app input:focus, .app textarea:focus, .app select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(102,51,255,0.16); }
.app .duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .app .duas { grid-template-columns: 1fr; } }

.app .btn { font-size: 1rem; }
.app .btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.app .btn-escuro { background: var(--ink); color: var(--white); }
.app .btn-claro { background: transparent; color: var(--ink); border: 1.5px solid rgba(7,12,26,0.2); }
.app .btn-cheio { width: 100%; justify-content: center; }
.app .acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.app a.link { color: var(--purple); font-weight: 600; text-decoration: none; cursor: pointer; }
.app a.link:hover { text-decoration: underline; }

.app div.campo { margin-bottom: 18px; }
.app .aviso { padding: 12px 16px; border-radius: 12px; font-size: 0.92rem; line-height: 1.45; margin-bottom: 16px; }
.app .aviso.erro { background: #FFE9EC; color: #8A1230; }
.app .aviso.ok { background: #E6F7EC; color: #145A2C; }
.app .aviso.info { background: var(--paper-2); color: var(--ink); }
.app .oculto { display: none !important; }

/* escolha em cartões (planos, contrato, tom e estilo) */
.app .escolhas { display: grid; gap: 10px; margin-bottom: 16px; }
.app .escolhas.grade { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.app .opcao { position: relative; display: block; cursor: pointer; }
.app .opcao input { position: absolute; opacity: 0; pointer-events: none; }
.app .opcao > span {
  display: block; padding: 14px 16px; border: 1.5px solid rgba(7,12,26,0.16); border-radius: 14px; background: #fff;
  font-size: 0.93rem; line-height: 1.4;
}
.app .opcao b { font-family: var(--font-d); font-size: 1rem; display: block; }
.app .opcao .preco { font-family: var(--font-d); font-weight: 700; font-size: 1.35rem; display: block; margin: 2px 0 4px; }
.app .opcao input:checked + span { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(102,51,255,0.16); background: #FBF9FF; }
.app .opcao input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.app .resumo { background: var(--paper-2); border-radius: 14px; padding: 14px 16px; margin: 4px 0 16px; font-size: 0.95rem; }
.app .resumo b { font-family: var(--font-d); }
.app .aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 18px; line-height: 1.45; }
.app .aceite input { margin-top: 4px; }

/* área do cliente */
.app .especialista { border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; border-radius: 20px; padding: 18px 20px; margin-bottom: 16px; position: sticky; top: 8px; z-index: 5; box-shadow: 0 10px 30px -18px rgba(7,12,26,0.5); }
.app .especialista label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.app .especialista input { margin-top: 5px; width: 20px; height: 20px; flex: none; accent-color: var(--purple); }
.app .especialista b { font-family: var(--font-d); font-size: 1.02rem; }
.app .especialista p { font-size: 0.9rem; opacity: 0.75; margin-top: 4px; }
.app .esmaecido { opacity: 0.55; }
.app .etiqueta { display: inline-block; font-size: 0.75rem; font-weight: 700; font-family: var(--font-d); padding: 3px 10px; border-radius: 100px; background: var(--paper-2); }
.app .etiqueta.ok { background: #E6F7EC; color: #145A2C; }
.app .etiqueta.alerta { background: #FFF1DB; color: #7A4A00; }
.app .cores { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.app .cores label { display: flex; gap: 10px; align-items: center; font-size: 0.9rem; font-weight: 600; font-family: var(--font-d); }
.app input[type=color] { width: 46px; height: 38px; padding: 2px; border: 1.5px solid rgba(7,12,26,0.16); border-radius: 10px; background: #fff; cursor: pointer; }
.app .envio { border: 2px dashed rgba(7,12,26,0.2); border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.app .envio h3 { font-family: var(--font-d); font-size: 1rem; margin-bottom: 2px; }
.app .miniaturas { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.app .mini { position: relative; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line-dark); display: grid; place-items: center; font-size: 0.7rem; text-align: center; padding: 4px; }
.app .mini img { width: 100%; height: 100%; object-fit: cover; }
.app .mini button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(7,12,26,0.78); color: #fff; cursor: pointer; line-height: 1; }
.app .barra-envio { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--paper) 30%); padding: 22px 0 12px; }

/* tabela do painel */
.app table.dados { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 0.9rem; }
.app table.dados th, .app table.dados td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.app table.dados th { background: var(--paper-2); font-family: var(--font-d); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.app table.dados .peq { font-size: 0.8rem; opacity: 0.62; }
.app .acoes-linha { display: flex; gap: 6px; flex-wrap: wrap; }
.app .acoes-linha button, .app .acoes-linha a { font: 600 0.8rem var(--font-d); padding: 6px 12px; border-radius: 100px; border: 1.5px solid rgba(7,12,26,0.2); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.app .rodape-app { text-align: center; font-size: 0.8rem; opacity: 0.5; padding: 20px; }

/* Barra de ferramentas das telas da equipe: rótulo e campo na mesma linha, todos alinhados */
.app .ferramentas label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; margin: 0; }
.app .ferramentas label select, .app .ferramentas label input { margin: 0; }
