/* Página pública /agendar — mesma identidade do site */
:root { --gold: #bb9a5c; --gold-light: #e3d2a6; --gold-deep: #8a6f3f; --ink: #0e0c0a; --ivory: #fbf7f0; --sand: #efe6d8; }
* { box-sizing: border-box; }
body.thuana-agendar { margin: 0; background: var(--ivory); color: #2a241f; font-family: "Manrope", -apple-system, sans-serif; font-size: 16px; line-height: 1.55; }
.ag-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 24px; background: var(--ink); }
.ag-topo__marca { font-family: "Fraunces", Georgia, serif; color: var(--gold-light); font-size: 20px; text-decoration: none; }
.ag-topo__whats { color: #e8dfd1; font-size: 13.5px; }
.ag-principal { max-width: 760px; margin: 0 auto; padding: 32px 18px 60px; }
.ag-principal h1 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 36px; margin: 0 0 10px; color: var(--ink); }
.ag-aviso { background: #fff; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 10px; font-size: 14.5px; margin: 0 0 22px; }
.ag-bloco { background: #fff; border: 1px solid var(--sand); border-radius: 18px; padding: 22px; margin-bottom: 16px; box-shadow: 0 14px 30px -26px rgba(14,12,10,.5); }
.ag-bloco h2 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 21px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.ag-bloco h2 span { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ag-procedimentos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ag-opcao { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid #e3d8c6; border-radius: 12px; cursor: pointer; }
.ag-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.ag-opcao:has(input:checked) { border-color: var(--gold); background: #fbf3e3; box-shadow: 0 0 0 2px rgba(187,154,92,.25); }
.ag-opcao__nome { font-weight: 600; }
.ag-opcao__tempo { font-size: 12.5px; color: #8b8178; }
.ag-cal__topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ag-cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e3d8c6; background: #fff; font-size: 20px; cursor: pointer; }
.ag-cal__nav:disabled { opacity: .3; cursor: default; }
.ag-cal__grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.ag-cal__semana { font-size: 12px; color: #8b8178; text-transform: uppercase; padding-bottom: 4px; }
.ag-cal__dia { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; color: #c9c0b4; font-size: 15px; font-family: inherit; }
.ag-cal__dia.is-livre { background: #f7efdf; color: var(--ink); font-weight: 600; cursor: pointer; }
.ag-cal__dia.is-livre:hover { background: var(--gold-light); }
.ag-cal__dia.is-escolhido { background: var(--gold) !important; color: var(--ink); }
.ag-cal__legenda { font-size: 12.5px; color: #8b8178; margin: 10px 0 0; }
.ag-horarios__dia { margin: 0 0 10px; font-weight: 600; }
.ag-horarios { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-horarios .ag-horarios__dia { flex-basis: 100%; }
.ag-horario { padding: 10px 16px; border: 1px solid #e3d8c6; border-radius: 999px; background: #fff; font-family: inherit; font-size: 15px; cursor: pointer; }
.ag-horario:hover { border-color: var(--gold); }
.ag-horario.is-escolhido { background: var(--gold); border-color: var(--gold); font-weight: 700; }
.ag-resumo { background: #fbf3e3; padding: 10px 14px; border-radius: 10px; font-weight: 600; margin: 0 0 14px; }
.ag-campo { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.ag-campo input { display: block; width: 100%; margin-top: 5px; padding: 12px 14px; font-size: 16px; font-family: inherit; border: 1px solid #ddd0bb; border-radius: 10px; background: #fffdf9; }
.ag-campo input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(187,154,92,.2); }
.ag-campo--escondido { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ag-lgpd { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #5a5048; margin: 6px 0 14px; }
.ag-lgpd input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.ag-erro { background: #fbeceb; color: #a4463c; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.ag-botao { display: inline-block; width: 100%; padding: 14px 18px; border: 0; border-radius: 999px; text-align: center; text-decoration: none; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink); background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep)); cursor: pointer; }
.ag-botao:disabled { opacity: .6; cursor: wait; }
.ag-botao--claro { background: #fff; border: 1px solid var(--gold); width: auto; padding: 12px 22px; }
.ag-lembrete { text-align: center; font-size: 12.5px; color: #8b8178; margin: 10px 0 0; }
.ag-carregando, .ag-vazio { color: #8b8178; margin: 0; }
.ag-sucesso h2 { font-size: 26px; }
@media (max-width: 560px) {
  .ag-principal h1 { font-size: 28px; }
  .ag-bloco { padding: 16px; }
  .ag-procedimentos { grid-template-columns: 1fr; }
}

/* Especialidade (opcional, só com vários profissionais) */
.ag-opcao[hidden] { display: none; }
.ag-especialidade { margin-bottom: 16px; }
.ag-especialidade small { font-weight: 400; color: #8b8178; }
.ag-especialidade select { display: block; width: 100%; margin-top: 5px; padding: 12px 14px; font-size: 16px; font-family: inherit; border: 1px solid #ddd0bb; border-radius: 10px; background: #fffdf9; }
.ag-especialidade select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(187,154,92,.2); }
