:root {
  --fundo: #f7f4f5; --superficie: #fff; --texto: #2a2027; --suave: #6f6170; --borda: #e6dde2;
  --primaria: #a3456f; --primaria-escura: #84345a; --primaria-fundo: #f8e9f0;
  --ok: #1e7b45; --ok-fundo: #e5f4ea; --erro: #b42318; --erro-fundo: #fdecea; --aviso: #8a5a00; --aviso-fundo: #fff4d6;
  --whats: #1d8f4e; --fora: #f0ebee;
  --c1: #a3456f; --c2: #2f6fb3; --c3: #2e8a5b; --c4: #b86b1f; --c5: #6b4fb3; --c6: #1f8a8a; --c7: #b3392f; --c8: #6f7a2a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #17131a; --superficie: #211b24; --texto: #ece5ea; --suave: #a698a5; --borda: #3a3040;
    --primaria: #e486ae; --primaria-escura: #cf6b96; --primaria-fundo: #3a2230;
    --ok: #5cc98a; --ok-fundo: #173323; --erro: #ff8a80; --erro-fundo: #3a1c1a; --aviso: #ffcc66; --aviso-fundo: #3a2f12;
    --whats: #4fcf85; --fora: #1c171f;
    --c1: #e486ae; --c2: #74a9e6; --c3: #6fd19d; --c4: #f0a35c; --c5: #a990ee; --c6: #5fcfcf; --c7: #f08378; --c8: #c0c96a;
  }
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--fundo); color: var(--texto); }
a { color: var(--primaria); }
h1 { font-size: 1.5rem; margin: 0 0 1rem; }
h1 small { display: block; font-size: .92rem; font-weight: 400; color: var(--suave); }
h2 { font-size: 1.1rem; margin: 1.8rem 0 .7rem; }
.cartao h2:first-child, .cartao h2:first-of-type { margin-top: 0; }
h3 { font-size: .95rem; margin: 1rem 0 .4rem; }

.topo { display: flex; align-items: center; gap: 1.5rem; padding: .6rem 1.5rem; background: var(--superficie); border-bottom: 1px solid var(--borda); flex-wrap: wrap; }
.topo.publico { justify-content: space-between; }
.marca { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--primaria); }
.topo nav { display: flex; gap: 1rem; flex: 1; flex-wrap: wrap; }
.topo nav a { text-decoration: none; color: var(--suave); padding: .3rem 0; border-bottom: 2px solid transparent; }
.topo nav a.ativo, .topo nav a:hover { color: var(--texto); border-color: var(--primaria); }
.conta { display: flex; align-items: center; gap: .9rem; color: var(--suave); font-size: .88rem; }
.conta form { margin: 0; }
.abas { display: flex; gap: .4rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.abas a { padding: .35rem .8rem; border-radius: 999px; text-decoration: none; color: var(--suave); border: 1px solid var(--borda); background: var(--superficie); }
.abas a.ativo { background: var(--primaria); border-color: var(--primaria); color: #fff; }

.conteudo { max-width: 1280px; margin: 0 auto; padding: 1.5rem; }
.conteudo.publico { max-width: 760px; }
.cartao { background: var(--superficie); border: 1px solid var(--borda); border-radius: 12px; padding: 1.25rem 1.4rem; margin-bottom: 1rem; }
.cartao.estreito { max-width: 460px; margin: 6vh auto 0; }
.cabecalho { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .8rem; }
input, select, textarea { display: block; width: 100%; margin-top: .25rem; padding: .5rem .6rem; font: inherit; font-weight: 400; color: var(--texto); background: var(--superficie); border: 1px solid var(--borda); border-radius: 8px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primaria); outline-offset: 0; }
input.curto { width: 6rem; margin: 0; }
label.check { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
label.check input { width: auto; margin: 0; }
fieldset { border: 1px solid var(--borda); border-radius: 12px; padding: 1rem 1.2rem .4rem; margin: 0 0 1.2rem; background: var(--superficie); }
legend { font-weight: 700; padding: 0 .4rem; }
.grade-campos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 1rem; }
.largo { grid-column: 1 / -1; }
.acoes { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.acoes form { margin: 0; }
.acoes.quebra { margin-top: 1rem; }
form.inline { display: inline; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button, .botao { display: inline-block; padding: .5rem 1rem; font: inherit; font-weight: 600; border-radius: 8px; border: 1px solid var(--borda); background: var(--superficie); color: var(--texto); cursor: pointer; text-decoration: none; line-height: 1.3; }
button:hover, .botao:hover { border-color: var(--primaria); }
button.primario, .botao.primario { background: var(--primaria); border-color: var(--primaria); color: #fff; }
button.primario:hover, .botao.primario:hover { background: var(--primaria-escura); }
button.perigo { color: var(--erro); border-color: var(--erro); }
button.grande { width: 100%; padding: .8rem; font-size: 1.05rem; margin-top: .5rem; }
.botao.whatsapp { background: var(--whats); border-color: var(--whats); color: #fff; }
button.link { border: 0; background: none; padding: 0; color: var(--primaria); font-weight: 400; text-decoration: underline; }
.login button { width: 100%; margin-top: .5rem; }

.alerta { padding: .75rem 1rem; border-radius: 10px; margin-bottom: 1rem; border: 1px solid transparent; }
.alerta.ok { background: var(--ok-fundo); color: var(--ok); border-color: var(--ok); }
.alerta.erro { background: var(--erro-fundo); color: var(--erro); border-color: var(--erro); }
.alerta.aviso { background: var(--aviso-fundo); color: var(--aviso); border-color: var(--aviso); }
.nota { color: var(--suave); font-size: .85rem; font-weight: 400; }
.vazio { color: var(--suave); font-style: italic; }
.texto { white-space: pre-wrap; }
.grande { font-size: 1.1rem; }

table { width: 100%; border-collapse: collapse; background: var(--superficie); border: 1px solid var(--borda); border-radius: 10px; overflow: hidden; font-size: .92rem; }
th, td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--borda); vertical-align: top; }
thead th { background: var(--fundo); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--suave); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.saida { color: var(--erro); }
table.compacta { max-width: 560px; }
.rolagem { overflow-x: auto; }
table.jornada td { padding: .3rem; }
table.jornada input { margin: 0; min-width: 6.5rem; }

.tag { display: inline-block; padding: .05rem .5rem; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--fundo); border: 1px solid var(--borda); white-space: nowrap; }
.st-confirmado { color: var(--ok); border-color: var(--ok); }
.st-concluido { color: var(--suave); }
.st-cancelado, .st-faltou { color: var(--erro); border-color: var(--erro); }
.st-agendado { color: var(--primaria); border-color: var(--primaria); }
.st-pendente { color: var(--aviso); border-color: var(--aviso); }

.indicadores { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.indicador { background: var(--superficie); border: 1px solid var(--borda); border-radius: 12px; padding: .8rem 1rem; text-decoration: none; color: var(--texto); }
.indicador strong { display: block; font-size: 1.4rem; }
.indicador span { color: var(--suave); font-size: .85rem; }
.indicador.destaque strong { color: var(--primaria); }

.filtros { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1rem; }
.filtros select, .filtros input { width: auto; margin: 0; }
.filtros label { margin: 0; }
.filtros label input, .filtros label select { margin-top: .2rem; }
.ficha { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.2rem; margin: 0 0 1rem; }
.ficha dt { color: var(--suave); }
.ficha dd { margin: 0; }
.colunas { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; align-items: start; }

/* Cores das profissionais */
.cor-1 { --cor: var(--c1); } .cor-2 { --cor: var(--c2); } .cor-3 { --cor: var(--c3); } .cor-4 { --cor: var(--c4); }
.cor-5 { --cor: var(--c5); } .cor-6 { --cor: var(--c6); } .cor-7 { --cor: var(--c7); } .cor-8 { --cor: var(--c8); }
.ponto { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--cor, var(--primaria)); margin-right: .4rem; vertical-align: middle; }
.cores { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; flex-wrap: wrap; }
.cores .rotulo { font-size: .88rem; font-weight: 600; margin-right: .4rem; }
.cor-opcao { position: relative; margin: 0; cursor: pointer; }
.cor-opcao input { position: absolute; opacity: 0; }
.cor-opcao .ponto { width: 1.6rem; height: 1.6rem; margin: 0; border: 3px solid transparent; }
.cor-opcao input:checked + .ponto { border-color: var(--texto); }
.cor-opcao input:focus-visible + .ponto { outline: 2px solid var(--primaria); }

/* Grade do dia */
.grade-rolagem { overflow-x: auto; margin-bottom: 1.5rem; border-radius: 10px; }
table.grade { table-layout: fixed; min-width: 100%; font-size: .85rem; }
table.grade th, table.grade td { border-right: 1px solid var(--borda); padding: 0; height: 1.6rem; }
table.grade thead th { padding: .5rem; min-width: 160px; text-transform: none; font-size: .88rem; color: var(--texto); border-bottom: 3px solid var(--cor, var(--borda)); }
table.grade .col-hora { width: 4rem; min-width: 4rem; text-align: right; padding: 0 .5rem; color: var(--suave); font-weight: 400; font-size: .78rem; background: var(--superficie); position: sticky; left: 0; z-index: 1; }
table.grade tr:not(.cheia) .col-hora { color: transparent; }
table.grade tr.cheia > * { border-top: 1px solid var(--borda); }
table.grade td { border-bottom: 1px dashed var(--borda); }
td.fora { background: var(--fora); }
td.fora .mini { padding: 0 .4rem; }
td.livre a { display: block; height: 100%; min-height: 1.5rem; text-align: center; text-decoration: none; color: transparent; }
td.livre a:hover, td.livre a:focus { color: var(--primaria); background: var(--primaria-fundo); }
td.ag { vertical-align: top; padding: 2px; }
td.ag a { display: block; height: 100%; padding: .25rem .45rem; border-radius: 6px; text-decoration: none; color: var(--texto);
  background: color-mix(in srgb, var(--cor) 16%, var(--superficie)); border-left: 4px solid var(--cor); overflow: hidden; }
td.ag a:hover { background: color-mix(in srgb, var(--cor) 26%, var(--superficie)); }
td.ag strong { display: block; font-size: .78rem; }
td.ag .cli { display: block; font-weight: 600; }
td.ag .srv { display: block; color: var(--suave); font-size: .8rem; }
td.st-confirmado a { border-left-style: double; border-left-width: 6px; }
td.st-concluido a { opacity: .6; }
.mini { font-size: .72rem; color: var(--suave); }

.lista-dia { display: none; }
.item-ag { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: .6rem; align-items: center; padding: .6rem .8rem; margin-bottom: .5rem; background: var(--superficie); border: 1px solid var(--borda); border-left: 4px solid var(--cor); border-radius: 10px; text-decoration: none; color: var(--texto); }
@media (max-width: 760px) {
  .grade-rolagem { display: none; }
  .lista-dia { display: block; }
  .conteudo { padding: 1rem; }
  .topo { padding: .6rem 1rem; gap: .4rem 1rem; }
  .topo:not(.publico) nav { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; gap: .9rem; }
  .topo:not(.publico) nav a { white-space: nowrap; }
  .conta { margin-left: auto; gap: .6rem; }
  .conta > span { display: none; }
  .indicadores { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .indicador { padding: .6rem .8rem; }
  .indicador strong { font-size: 1.15rem; }
  .linha-pag { grid-template-columns: 1fr; }
}

/* Escolha de horários */
.grupo-horarios h3 { margin-top: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.chip { position: relative; margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: .4rem .75rem; border: 1px solid var(--borda); border-radius: 8px; background: var(--superficie); font-weight: 600; font-variant-numeric: tabular-nums; }
.chip input:checked + span { background: var(--primaria); border-color: var(--primaria); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--primaria); outline-offset: 2px; }
.chip:hover span { border-color: var(--primaria); }
details { margin: .8rem 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--primaria); }
details.encaixe { padding: .6rem .9rem; border: 1px dashed var(--borda); border-radius: 10px; }
.linha-pag { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }

/* Público */
.servicos-publicos { display: grid; gap: .7rem; }
.servico-card { display: block; padding: 1rem 1.2rem; background: var(--superficie); border: 1px solid var(--borda); border-radius: 12px; text-decoration: none; color: var(--texto); }
.servico-card:hover { border-color: var(--primaria); }
.servico-card strong { display: block; font-size: 1.05rem; }
.servico-card .desc { display: block; color: var(--suave); font-size: .9rem; margin: .2rem 0; }
.servico-card .meta { color: var(--primaria); font-weight: 600; font-size: .9rem; }
.dias { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .3rem; }
.dia { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; min-width: 3.2rem; padding: .35rem .4rem; border: 1px solid var(--borda); border-radius: 10px; text-decoration: none; color: var(--texto); background: var(--superficie); }
.dia span { font-size: .72rem; color: var(--suave); text-transform: uppercase; }
.dia b { font-size: 1.1rem; }
.dia.ativo { background: var(--primaria); border-color: var(--primaria); color: #fff; }
.dia.ativo span { color: #fff; }
.comprovante h1 { color: var(--primaria); }

/* Fotos */
.com-foto { display: flex; align-items: center; gap: .6rem; }
.mini-foto { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 8px; object-fit: cover; background: var(--fora); border: 1px solid var(--borda); display: inline-block; }
.mini-foto.grande { width: 3.6rem; height: 3.6rem; }
.foto-campo { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: .6rem; }
.foto-campo > div:last-child { flex: 1; min-width: 220px; }
.foto-previa { width: 9rem; height: 9rem; border-radius: 12px; border: 1px dashed var(--borda); background: var(--fora); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--suave); font-size: .85rem; }
.foto-previa img { width: 100%; height: 100%; object-fit: cover; }
.foto-grande { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; margin-bottom: 1rem; object-fit: cover; }
.servico-card.com-imagem { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: center; padding: .7rem; }
.servico-card img { width: 6.5rem; height: 6.5rem; border-radius: 10px; object-fit: cover; }
.servico-card .texto-card { display: block; }
.capa-servico { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin-bottom: 1rem; }

/* Foto das profissionais */
.avatar { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--cor, var(--borda)); background: color-mix(in srgb, var(--cor, var(--primaria)) 18%, var(--superficie));
  color: var(--cor, var(--primaria)); font-weight: 700; font-size: .9rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.qualquer { --cor: var(--suave); }
.cab-prof { display: flex; align-items: center; gap: .5rem; }
.foto-perfil { display: block; width: 7rem; height: 7rem; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.escolha-prof { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 .4rem; margin-top: .4rem; }
.prof-opcao { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 5rem; padding: .5rem .4rem;
  border: 1px solid var(--borda); border-radius: 12px; text-decoration: none; color: var(--texto); background: var(--superficie); font-size: .85rem; }
.prof-opcao .avatar { width: 3.2rem; height: 3.2rem; font-size: 1.2rem; }
.prof-opcao.ativo { border-color: var(--primaria); box-shadow: 0 0 0 2px var(--primaria); }
.rotulo-campo { display: block; font-size: .88rem; font-weight: 600; }
.escolha-prof + .campo-data, .prof-unica + .campo-data { margin-top: .8rem; }
.campo-data input { max-width: 14rem; }
.prof-unica { margin-bottom: .4rem; }

/* Dias de atendimento na lista de profissionais */
.semana { display: flex; gap: .25rem; flex-wrap: nowrap; }
.dia-sem { display: inline-block; flex: 0 0 auto; min-width: 2.3rem; padding: .1rem .35rem; text-align: center; border-radius: 999px; font-size: .76rem; font-weight: 600;
  border: 1px dashed var(--borda); color: var(--suave); opacity: .55; }
.dia-sem.atende { opacity: 1; border: 1px solid var(--primaria); background: var(--primaria); color: #fff; }

/* Jornada: dia de folga */
table.jornada .col-atende { width: 4rem; text-align: center; vertical-align: middle; }
table.jornada .col-atende input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--primaria); cursor: pointer; }
tr.folga th, tr.folga td:not(.col-atende) { opacity: .45; }
tr.folga input[type=time] { background: var(--fora); }
.rotulo-folga { font-weight: 400; }

/* Agenda: seletor de visão */
.visoes { display: inline-flex; border: 1px solid var(--borda); border-radius: 8px; overflow: hidden; background: var(--superficie); }
.visoes a { padding: .5rem .9rem; text-decoration: none; color: var(--suave); font-weight: 600; border-right: 1px solid var(--borda); }
.visoes a:last-child { border-right: 0; }
.visoes a.ativo { background: var(--primaria); color: #fff; }

/* Agenda: semana */
.semana-grade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1.5rem; }
.dia-col { background: var(--superficie); border: 1px solid var(--borda); border-radius: 10px; display: flex; flex-direction: column; min-height: 14rem; overflow: hidden; }
.dia-col.hoje { border-color: var(--primaria); box-shadow: 0 0 0 1px var(--primaria); }
.dia-col.folga { background: var(--fora); }
.dia-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; padding: .5rem .6rem; border-bottom: 1px solid var(--borda); text-decoration: none; color: var(--texto); }
.dia-cab span { font-size: .75rem; text-transform: uppercase; color: var(--suave); }
.dia-cab b { font-size: 1.15rem; }
.dia-cab small { flex-basis: 100%; font-size: .72rem; color: var(--suave); }
.dia-col.hoje .dia-cab { background: var(--primaria-fundo); }
.dia-itens { display: flex; flex-direction: column; gap: .3rem; padding: .4rem; flex: 1; }
.dia-itens .vazio { font-size: .8rem; margin: .3rem; }
.cartao-ag { display: block; padding: .3rem .45rem; border-radius: 6px; border-left: 4px solid var(--cor, var(--borda)); text-decoration: none; color: var(--texto);
  background: color-mix(in srgb, var(--cor, var(--borda)) 14%, var(--superficie)); font-size: .8rem; line-height: 1.3; overflow: hidden; }
.cartao-ag:hover { background: color-mix(in srgb, var(--cor, var(--borda)) 26%, var(--superficie)); }
.cartao-ag strong { display: block; font-size: .75rem; }
.cartao-ag .cli { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cartao-ag .srv { display: block; color: var(--suave); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cartao-ag.st-concluido { opacity: .6; }
.cartao-ag.st-confirmado { border-left-style: double; border-left-width: 6px; }
.cartao-ag.cancelado { background: none; border-left-color: var(--erro); color: var(--suave); font-size: .74rem; }
.dia-novo { display: block; padding: .35rem; text-align: center; font-size: .8rem; text-decoration: none; border-top: 1px dashed var(--borda); }

/* Agenda: mês */
.mes-grade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--borda); border: 1px solid var(--borda); border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem; }
.mes-semana-dia { background: var(--fundo); padding: .4rem; text-align: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--suave); }
.mes-dia { background: var(--superficie); min-height: 6.5rem; padding: .35rem .4rem; display: flex; flex-direction: column; gap: .15rem; text-decoration: none; color: var(--texto); overflow: hidden; }
.mes-dia:hover { background: var(--primaria-fundo); }
.mes-dia.fora-mes { background: var(--fundo); color: var(--suave); }
.mes-dia.fora-mes > :not(.mes-num) { opacity: .6; }
.mes-dia.folga:not(.fora-mes) { background: var(--fora); }
.mes-num { font-weight: 700; font-size: .9rem; }
.mes-dia.hoje .mes-num { background: var(--primaria); color: #fff; border-radius: 999px; width: 1.7rem; height: 1.7rem; display: inline-flex; align-items: center; justify-content: center; }
.mes-qtd { font-size: .72rem; color: var(--primaria); font-weight: 600; }
.mes-item { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: .35rem; border-left: 3px solid var(--cor); }
.mes-mais, .mes-canc { font-size: .7rem; color: var(--suave); }
.mes-canc { color: var(--erro); }

@media (max-width: 760px) {
  .semana-grade { grid-template-columns: 1fr; }
  .dia-col { min-height: 0; }
  .dia-cab small { flex-basis: auto; margin-left: auto; }
  .mes-dia { min-height: 3.6rem; padding: .25rem; }
  .mes-item, .mes-mais, .mes-canc { display: none; }
  .mes-qtd { font-size: .65rem; }
  .visoes a { padding: .45rem .7rem; }
}

/* Pacotes */
.sp-ativo { color: var(--ok); border-color: var(--ok); }
.sp-esgotado { color: var(--suave); }
.sp-vencido, .sp-cancelado { color: var(--erro); border-color: var(--erro); }
.destaque-pacote { border-color: var(--primaria); background: color-mix(in srgb, var(--primaria) 6%, var(--superficie)); }
.destaque-pacote label.check { margin-bottom: .5rem; }
.resumo-pacote { margin-top: 0; }
.venda-pacote { margin-top: .8rem; }

/* Relatórios */
.grafico h2 small { font-weight: 400; }
.grafico-mensal { display: block; width: 100%; height: auto; max-height: 300px; }
.grafico-mensal .grade-linha { stroke: var(--borda); stroke-width: 1; stroke-dasharray: 2 4; }
.grafico-mensal .base { stroke: var(--suave); stroke-width: 1; }
.grafico-mensal .eixo { fill: var(--suave); font-size: 11px; }
.grafico-mensal .valor { fill: var(--texto); font-size: 11px; font-weight: 600; }
.grafico-mensal .alvo { fill: transparent; }
.grafico-mensal .barra { fill: color-mix(in srgb, var(--primaria) 38%, var(--superficie)); }
.grafico-mensal .no-periodo .barra { fill: var(--primaria); }
.grafico-mensal .barra-mes:hover .barra { fill: var(--primaria-escura); }
.grafico-mensal .barra-mes:hover .alvo { fill: color-mix(in srgb, var(--primaria) 8%, transparent); }
.tabela-grafico { margin-top: .4rem; }
.tabela-rel .col-barra { width: 28%; min-width: 80px; vertical-align: middle; }
.mini-barra { display: block; width: 100%; height: 10px; }
.mini-barra rect { fill: var(--primaria); }

/* WhatsApp */
.sm-pendente { color: var(--aviso); border-color: var(--aviso); }
.sm-enviado { color: var(--ok); border-color: var(--ok); }
.sm-erro { color: var(--erro); border-color: var(--erro); }
.sm-descartado { color: var(--suave); }
.regra.inativa { opacity: .7; }
.regra-topo { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.regra-topo h3 { margin: 0; }
.regra legend label.check { margin: 0; font-weight: 700; }
.par-campos { display: flex; gap: .5rem; }
.par-campos input { max-width: 6rem; }
.qrcode { text-align: center; }
.qrcode img { width: 280px; max-width: 100%; image-rendering: pixelated; }
.lista-msgs { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.detalhe-msg { max-width: 360px; }
fieldset.provedor[hidden] { display: none; }
code { background: var(--fundo); padding: 0 .25rem; border-radius: 4px; font-size: .85em; }

/* Redes sociais */
.redes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0; padding: 0; }
.redes a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--borda); background: var(--superficie); color: var(--primaria); text-decoration: none; }
.redes a:hover, .redes a:focus-visible { background: var(--primaria); border-color: var(--primaria); color: #fff; }
.redes-previa { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; }
.redes-previa .redes { justify-content: flex-start; }
.rodape-publico { max-width: 760px; margin: 1rem auto 2rem; padding: 1.2rem 1rem 0; border-top: 1px solid var(--borda); text-align: center; color: var(--suave); font-size: .88rem; }
.rodape-publico p { margin: .8rem 0 0; }

/* Topo público */
.nav-publica { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.topo.publico { flex-wrap: nowrap; }
.topo.publico .marca { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .tel-topo { display: none; } }

/* Site (página inicial) */
.conteudo.home { max-width: 1080px; padding-top: 0; }
.hero { position: relative; margin: 1rem 0 2rem; border-radius: 14px; min-height: 340px; display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden; background: linear-gradient(135deg, var(--primaria-fundo), color-mix(in srgb, var(--primaria) 30%, var(--superficie))); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.com-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 18, .25), rgba(20, 10, 18, .6)); }
.hero-texto { position: relative; z-index: 1; padding: 3rem 1.5rem; max-width: 720px; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin: 0 0 .6rem; }
.hero.com-banner h1, .hero.com-banner .hero-sub { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-sub { font-size: 1.15rem; margin: 0 0 1.4rem; color: var(--suave); }
.grande-cta { padding: .85rem 1.8rem; font-size: 1.1rem; border-radius: 999px; }
.secao { margin: 0 0 2.6rem; }
.secao > h2 { font-size: 1.5rem; text-align: center; margin: 0 0 1.2rem; }
.secao.sobre .texto { margin: 0; font-size: 1.05rem; line-height: 1.7; text-align: justify; hyphens: auto; }
.cards-promo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.promo { background: var(--superficie); border: 1px solid var(--borda); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.promo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-corpo { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.promo-corpo h3 { margin: 0; font-size: 1.1rem; }
.promo-corpo p { margin: 0; }
.promo-corpo .botao { margin-top: auto; align-self: flex-start; }
.promo-destaque { align-self: flex-start; background: var(--primaria); color: #fff; font-weight: 700; font-size: .85rem; padding: .15rem .6rem; border-radius: 999px; }
.grade-servicos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards-equipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.membro { background: var(--superficie); border: 1px solid var(--borda); border-radius: 14px; padding: 1.4rem 1.1rem; text-align: center; }
.membro-foto { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto .8rem; display: block; }
span.membro-foto { display: flex; font-size: 2.6rem; }
.membro h3 { margin: 0; }
.membro-esp { margin: .2rem 0 .6rem; color: var(--primaria); font-weight: 600; font-size: .9rem; }
.membro-bio { margin: 0; font-size: .9rem; color: var(--suave); text-align: left; }
.endereco { text-align: center; margin: -.4rem 0 1rem; color: var(--suave); }
.mapa { border-radius: 14px; overflow: hidden; border: 1px solid var(--borda); aspect-ratio: 16 / 7; min-height: 260px; margin-bottom: 1rem; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.centro { justify-content: center; text-align: center; }
.cta-final { text-align: center; padding: 2rem 1rem; background: var(--primaria-fundo); border-radius: 14px; }
.pr-no\ ar { color: var(--ok); border-color: var(--ok); }
.pr-agendada { color: var(--primaria); border-color: var(--primaria); }
.pr-encerrada, .pr-desativada { color: var(--suave); }
@media (max-width: 760px) {
  .hero { margin: .5rem 0 1.5rem; min-height: 280px; }
  .secao.sobre .texto { text-align: left; }
  .mapa { aspect-ratio: 4 / 3; }
}

/* Banner sem texto: a arte aparece inteira, sem corte nem véu, e o botão fica logo abaixo */
.hero.sem-texto { display: block; min-height: 0; background: none; }
.hero.sem-texto::after { content: none; }
.hero.sem-texto .hero-img { position: static; display: block; width: 100%; height: auto; border-radius: 14px; }
.hero.sem-texto .hero-texto { margin: 0 auto; padding: 1.2rem 1rem 0; }
.so-leitor { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Site: seções com mostrar/ocultar */
.secoes-site { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem 1rem; margin-bottom: 1rem; }
.secao-site { border: 1px solid var(--borda); border-radius: 10px; padding: .6rem .8rem; }
.secao-site label.check { margin-bottom: .4rem; }
.secao-site input[type=text], .secao-site input:not([type]) { margin-top: 0; }
.secao-site.oculta { opacity: .55; }

/* Conta da cliente */
.link-conta { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 600; white-space: nowrap; }
.foto-conta { width: 1.9rem; height: 1.9rem; font-size: .8rem; --cor: var(--primaria); }
.quem-agenda { display: flex; align-items: center; gap: .7rem; background: var(--fundo); border-radius: 10px; padding: .6rem .8rem; }
.quem-agenda .foto-conta { width: 2.6rem; height: 2.6rem; font-size: 1rem; }
.convite-login { text-align: center; background: var(--primaria-fundo); border-radius: 12px; padding: 1rem; margin-top: 1rem; }
.convite-login p { margin-top: 0; }
.botao-google { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; background: var(--superficie); }
.botao-google svg { flex: 0 0 auto; }
.separador { display: flex; align-items: center; gap: .8rem; color: var(--suave); font-size: .85rem; margin: 1rem 0; }
.separador::before, .separador::after { content: ""; flex: 1; border-top: 1px solid var(--borda); }
.mini-foto.redonda { border-radius: 50%; }
.lista-ags { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.lista-ags li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; background: var(--superficie); border: 1px solid var(--borda); border-radius: 10px; padding: .7rem .9rem; }
.botao.grande-largo { display: block; width: 100%; text-align: center; padding: .65rem 1rem; }

/* Avaliações */
.estrelas { color: #e0a100; letter-spacing: .08em; }
.grande-estrela { font-size: 1.8rem; margin: .2rem 0; }
.escolha-estrelas { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.escolha-estrelas legend { font-weight: 600; font-size: .88rem; padding: 0; margin-bottom: .3rem; width: 100%; }
.escolha-estrelas input { position: absolute; opacity: 0; }
.escolha-estrelas label { font-size: 2.4rem; line-height: 1; color: var(--borda); cursor: pointer; margin: 0; }
.escolha-estrelas label:hover, .escolha-estrelas label:hover ~ label,
.escolha-estrelas input:checked ~ label { color: #e0a100; }
.escolha-estrelas input:focus-visible + label { outline: 2px solid var(--primaria); border-radius: 4px; }
.avaliar { text-align: center; }
.avaliar form { text-align: left; }
.avaliar .escolha-estrelas { justify-content: center; }
.convite-google { background: var(--primaria-fundo); border-radius: 12px; padding: 1rem; margin: 1rem 0; }
.cards-depoimentos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.depoimento { margin: 0; background: var(--superficie); border: 1px solid var(--borda); border-radius: 14px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.depoimento blockquote { margin: 0; font-style: italic; }
.depoimento figcaption { color: var(--suave); font-size: .88rem; margin-top: auto; }
.media-geral { text-align: center; margin: -.6rem 0 1.2rem; }
.membro-nota { margin: -.3rem 0 .6rem; font-weight: 600; }
.membro-nota .estrelas { letter-spacing: 0; }
.media-grande { font-size: 2.2rem; margin: 0 0 .6rem; }
.distribuicao td { padding: .25rem .5rem; border: 0; }
.lista-avaliacoes { display: grid; gap: .8rem; margin-top: 1rem; }
.avaliacao { margin: 0; }
.avaliacao.nota-baixa { border-left: 4px solid var(--erro); }
.avaliacao-topo { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.avaliacao p { margin: .4rem 0; }

/* Lista de espera */
.lista-espera { display: grid; gap: .8rem; margin-bottom: 1.2rem; }
.item-espera { margin: 0; }
.item-espera p { margin: .35rem 0; }
.item-espera.com-vaga { border-left: 4px solid var(--whats); }
.vaga-livre { color: var(--whats); }
.convite-espera { background: var(--primaria-fundo); border-radius: 12px; padding: .9rem 1rem; margin-top: .8rem; }
.convite-espera p { margin: 0 0 .6rem; }
.turnos { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.turnos legend { font-weight: 600; font-size: .88rem; padding: 0; margin-bottom: .3rem; }

/* Painel */
.indicador.atencao strong { color: var(--erro); }
.painel-colunas { margin-bottom: 1.2rem; align-items: start; }
.painel-colunas .cartao { margin: 0; }
.alertas-painel { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .45rem; }
.alertas-painel li { padding-left: 1.1rem; position: relative; }
.alertas-painel li::before { content: "●"; color: var(--erro); position: absolute; left: 0; font-size: .7rem; top: .3rem; }
.alertas-painel li.vazio::before { content: "✓"; color: var(--whats); font-size: .9rem; top: 0; }
.alertas-painel .nota { display: block; }
table.ocupacao { width: 100%; }
table.ocupacao td { border: 0; padding: .35rem .5rem; vertical-align: middle; }
table.ocupacao .col-barra { width: 40%; min-width: 90px; }
b.alta { color: var(--whats); }
b.queda { color: var(--erro); }

/* Abertura do caixa */
.destaque-caixa { border-left: 4px solid var(--primaria); }

/* Fidelidade */
.saldo-pontos { font-size: 1.1rem; margin: 0 0 .4rem; }
.saldo-pontos b { font-size: 2rem; color: var(--primaria); }
.lista-recompensas { list-style: none; padding: 0; margin: .6rem 0; display: grid; gap: .4rem; }
.lista-recompensas li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .5rem .7rem; border: 1px solid var(--borda); border-radius: 10px; }
.lista-recompensas li.alcancada { border-color: var(--whats); }

/* Planos e assinatura */
.lista-recursos { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .35rem; }
.lista-recursos li::before { content: "✓ "; color: var(--whats); font-weight: 700; }
.lista-recursos li.fora { color: var(--suave); text-decoration: line-through; }
.lista-recursos li.fora::before { content: "✗ "; color: var(--suave); }
.recursos-plano { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .3rem; }
.recursos-plano legend { font-weight: 600; font-size: .88rem; padding: 0; margin-bottom: .3rem; }

/* Cadastro self-service e primeiros passos */
.primeiros-passos ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .45rem; }
.primeiros-passos li.feito { color: var(--suave); text-decoration: line-through; }
.primeiros-passos li.feito a { color: inherit; }
.vitrine { text-align: center; padding: 1.5rem 0 1rem; }
.vitrine h1 { font-size: 2rem; margin-bottom: .4rem; }
.vitrine p { max-width: 640px; margin: 0 auto 1.2rem; color: var(--suave); }
.conteudo.plataforma-publica { max-width: 1080px; }
.planos-publicos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; align-items: stretch; }
@media (max-width: 820px) { .planos-publicos { grid-template-columns: 1fr; } }
.plano-publico { display: flex; flex-direction: column; gap: .5rem; margin: 0; }
.plano-publico .preco { font-size: 1.8rem; font-weight: 700; color: var(--primaria); margin: 0; }
.plano-publico .preco small { font-size: .9rem; font-weight: 400; color: var(--suave); }
.plano-publico ul { padding-left: 1.1rem; margin: .2rem 0 .6rem; }
.plano-publico .botao { margin-top: auto; text-align: center; }

.cartao.estreito.largo { max-width: 560px; }
