/* Área da cliente (conta da família), com cara de app. Protótipo aprovado em 31/10 (C1 a C6). */
/* "hidden" sempre esconde, mesmo em blocos com display próprio (flex, grid). */
.ac-app [hidden] {
  display: none !important;
}
.ac-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fundo-site);
  color: var(--preto-fonte);
}
.ac-topo {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 56px;
  padding: 0 12px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--branco);
  border-bottom: 1px solid #eef0f5;
}
.ac-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--lilas-escuro);
  text-decoration: none;
}
.ac-voltar {
  width: 44px;
  height: 44px;
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--preto-fonte);
}
.ac-topo-titulo {
  font-size: 17px;
  font-weight: 900;
}
.ac-nav-topo {
  display: none;
  margin-left: auto;
  gap: 4px;
}
.ac-nav-topo a {
  min-height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: #475569;
  text-decoration: none;
}
.ac-nav-topo a[aria-current='page'] {
  background: #f5f3ff;
  color: #5b21b6;
}
.ac-avatar {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
}
.ac-conteudo {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 16px 96px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ac-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 64px;
  display: flex;
  background: var(--branco);
  border-top: 1px solid #eef0f5;
  padding-bottom: env(safe-area-inset-bottom);
}
.ac-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-decoration: none;
}
.ac-nav a[aria-current='page'] {
  color: #6d28d9;
}
@media (min-width: 768px) {
  .ac-nav {
    display: none;
  }
  .ac-nav-topo {
    display: flex;
  }
  .ac-avatar {
    margin-left: 8px;
  }
  .ac-conteudo {
    padding-bottom: 40px;
  }
}

.ac-titulo {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 900;
}
.ac-titulo-centro {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}
.ac-carregando,
.ac-fraco {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}
.ac-forte {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}
.ac-oculto {
  position: absolute;
  left: -9999px;
}
.ac-seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #eef0f5;
  border-radius: 999px;
}
.ac-seg button {
  flex: 1;
  min-height: 40px;
  border: none;
  background: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
}
.ac-seg button[aria-selected='true'] {
  background: var(--branco);
  color: var(--preto-fonte);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.1);
}
.ac-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ac-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--branco);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  color: var(--preto-fonte);
  text-decoration: none;
}
.ac-card-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ac-card-linha {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ac-card-linha > div {
  flex: 1;
  min-width: 0;
}
.ac-icone {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ede9fe;
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ac-foto,
.ac-foto-grande {
  border-radius: 50%;
  background: #ede9fe;
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  object-fit: cover;
}
.ac-foto {
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.ac-foto-grande {
  width: 72px;
  height: 72px;
  font-size: 28px;
  align-self: center;
}
.ac-chip {
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.ac-chip-aberta,
.ac-chip-publicada {
  background: #dcfce7;
  color: #166534;
}
.ac-chip-em_analise {
  background: #fef3c7;
  color: #92400e;
}
.ac-chip-neutro {
  background: #f1f5f9;
  color: #334155;
}
.ac-card-rodape {
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ac-estrelas-mini {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 1px;
}
.ac-nova {
  min-height: 52px;
  border-radius: 18px;
  border: 2px dashed #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 900;
  color: #6d28d9;
  text-decoration: none;
}
.ac-vazio {
  text-align: center;
  padding: 24px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.ac-botao {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 18px;
  background: var(--lilas-escuro);
  color: var(--branco);
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.ac-botao:disabled {
  background: #cbd5e1;
  cursor: wait;
}
.ac-botao-mini {
  min-height: 44px;
  font-size: 15px;
  border-radius: 14px;
}
.ac-link {
  min-height: 44px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}
.ac-erro {
  margin: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 700;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Detalhe */
#ac-detalhe {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ac-bloco {
  background: var(--branco);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ac-centro {
  text-align: center;
  align-items: center;
}
.ac-rotulo {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ac-linha-tempo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ac-linha-tempo li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 900;
}
.ac-linha-tempo small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}
.ac-bola {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-bola.feito {
  background: var(--lilas-escuro);
  border-color: var(--lilas-escuro);
}
.ac-pendente {
  color: #64748b;
  font-weight: 800;
}
.ac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ac-tag {
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #334155;
}
.ac-pessoa {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
/* Ações do detalhe: presas embaixo da tela, como nos apps. */
.ac-rodape-fixo {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  background: var(--branco);
  border-top: 1px solid #eef0f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ac-rodape-fixo > * {
  max-width: 528px;
}
.ac-rodape-fixo[hidden] {
  display: none;
}
.ac-app[data-pagina='solicitacao'] .ac-conteudo {
  padding-bottom: 150px;
}
.ac-folha-fundo {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ac-folha-fundo[hidden] {
  display: none;
}
.ac-folha {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--branco);
  border-radius: 28px 28px 0 0;
  padding: 10px 16px 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ac-folha h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}
.ac-folha-alca {
  width: 40px;
  height: 5px;
  border-radius: 99px;
  background: #e2e8f0;
  align-self: center;
}
.ac-opcoes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-opcao {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  cursor: pointer;
}
.ac-opcao:has(input:checked) {
  border-color: var(--lilas-escuro);
  background: #f5f3ff;
}
.ac-opcao input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--lilas-escuro);
  flex-shrink: 0;
}

/* Avaliar */
.ac-avaliar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ac-estrelas {
  display: flex;
  justify-content: center;
  gap: 2px;
}
.ac-estrela {
  width: 48px;
  height: 48px;
  border: none;
  background: none;
  padding: 0;
  font-size: 38px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
}
.ac-estrela.on {
  color: #f59e0b;
}
.ac-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.ac-chips button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid #e2e8f0;
  background: var(--branco);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
}
.ac-chips button[aria-pressed='true'] {
  border-color: var(--lilas-escuro);
  background: #f5f3ff;
  color: #5b21b6;
}
.ac-campo {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: var(--branco);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--preto-fonte);
  box-sizing: border-box;
}
textarea.ac-campo {
  resize: vertical;
}
.ac-campo:focus {
  outline: none;
  border-color: var(--lilas);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.ac-cpf {
  background: #f5f3ff;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-cpf[hidden] {
  display: none;
}
.ac-cpf p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #4c1d95;
  line-height: 1.45;
}
.ac-rotulo-campo {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}
.ac-nome-linha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ac-check {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}
.ac-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--lilas-escuro);
}

/* Conta */
#ac-conta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ac-perfil {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ac-avatar-grande {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
}
.ac-grupo {
  background: var(--branco);
  border-radius: 20px;
  overflow: hidden;
}
.ac-item {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--preto-fonte);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.ac-item:last-child {
  border-bottom: none;
}
div.ac-item {
  cursor: default;
}
.ac-valor {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

/* Nova solicitação: o formulário da página inicial, dentro da área (sem a moldura da home). */
.ac-form-pedido .form-container {
  background: var(--branco);
  border-radius: 24px;
  padding: 20px 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

/* Excluir conta */
.ac-perigo span {
  color: #b91c1c;
}
.ac-botao-perigo {
  background: #b91c1c;
}
