/* ==========================================================================
   Agendamento: tipo de consulta, calendário, horários e dados
   ========================================================================== */
.booking { padding-top: clamp(32px, 6vw, 72px); padding-bottom: 96px; max-width: 760px; }
.booking-intro .display { font-size: clamp(2.2rem, 7vw, 4rem); }
.booking-intro .lead { margin-top: 20px; }
.notice { margin: 24px 0; padding: 14px 18px; background: var(--lime); border: 2px solid var(--ink); font-weight: 600; }
.notice a { text-decoration: underline; }
.hint { font-size: .92rem; color: var(--muted); margin-top: 8px; }

.step { border: 0; margin-top: 48px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; font: 800 clamp(1.4rem, 3.6vw, 1.9rem)/1.1 var(--display); font-variation-settings: "wdth" 85; letter-spacing: -.02em; margin-bottom: 18px; }
.step .n { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--ink); color: var(--lime); font-size: 1.2rem; }
.step:disabled { opacity: .4; pointer-events: none; }

.options { display: grid; gap: 12px; }
.opt { text-align: left; display: grid; gap: 4px; padding: 18px 20px; background: #fff; border: 2px solid var(--ink); }
.opt b { font: 700 1.2rem/1.2 var(--display); letter-spacing: -.01em; }
.opt small { font-size: .95rem; color: var(--muted); }
.opt:hover { background: var(--sand); }
.opt[aria-checked="true"] { background: var(--ink); color: var(--bone); box-shadow: 6px 6px 0 var(--lime); }
.opt[aria-checked="true"] small { color: var(--muted-dark); }
.opt:focus-visible, .day:focus-visible, .time:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }

.cal { max-width: 460px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head button { width: 48px; height: 48px; border: 2px solid var(--ink); background: var(--bone); font-size: 1.2rem; }
.cal-head button:hover:not(:disabled) { background: var(--lime); }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-week { font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.day { aspect-ratio: 1; min-height: 44px; font-weight: 600; background: #fff; border: 2px solid var(--ink); }
.day:hover:not(:disabled) { background: var(--lime); }
.day:disabled { border-color: var(--line-light); color: #7B857E; background: transparent; text-decoration: line-through; cursor: default; }
.day.today { box-shadow: inset 0 -4px 0 var(--forest); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--lime); }

.times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.time { min-width: 76px; min-height: 48px; padding: 8px 14px; font-weight: 700; background: #fff; border: 2px solid var(--ink); }
.time:hover { background: var(--lime); }
.time[aria-checked="true"] { background: var(--ink); color: var(--lime); }

.field { display: grid; gap: 6px; margin-top: 18px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 14px; font: 400 1.05rem/1.4 var(--sans); background: #fff; border: 2px solid var(--ink); border-radius: 0; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--forest); outline-offset: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--forest); }
.check a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.summary { margin-top: 22px; padding: 14px 18px; background: var(--sand); border: 2px solid var(--ink); font-weight: 600; }
.send { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }
.send .hint { margin: 0; }
.done { margin-top: 40px; }
.done p { margin-top: 18px; max-width: 34em; }
.done .lead { color: var(--forest); font-weight: 600; }
