:root{
  --agenda-bg:var(--itp-bg,#f3f2e7);
  --agenda-surface:var(--itp-surface,#faf9f2);
  --agenda-text:var(--itp-ink,#1b2319);
  --agenda-muted:var(--itp-muted,#606857);
  --agenda-olive:var(--itp-accent,#66734a);
  --agenda-olive-dark:var(--itp-deep,#293324);
  --agenda-line:var(--itp-line,rgba(41,51,36,.13));
  --agenda-soft:var(--itp-soft,#e7e7d6);
  --agenda-radius:24px;
}
.page-agendamento-v2{background:var(--agenda-bg);color:var(--agenda-text)}
.agenda-v2{overflow:hidden;background:var(--agenda-bg)}
.agenda-shell{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.agenda-hero{padding:clamp(64px,9vw,112px) 0 34px;background:var(--agenda-bg)}
.agenda-hero__inner{text-align:center;max-width:820px}
.agenda-kicker{display:inline-block;color:var(--agenda-olive);font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.agenda-hero h1{margin:14px 0 16px;font-size:clamp(2.5rem,7vw,5.5rem);line-height:.98;letter-spacing:-.055em;color:var(--agenda-text)}
.agenda-hero p{max-width:650px;margin:0 auto;color:var(--agenda-muted);font-size:clamp(1rem,2vw,1.18rem);line-height:1.65}
.agenda-flow{padding:28px 0 clamp(100px,12vw,150px)}
.agenda-progress{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 34px;color:#899083}
.agenda-progress i{width:52px;height:1px;background:var(--agenda-line)}
.agenda-progress__item{display:flex;align-items:center;gap:8px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.agenda-progress__item b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid var(--agenda-line);font-size:.73rem;background:rgba(255,255,255,.45)}
.agenda-progress__item.is-active,.agenda-progress__item.is-done{color:var(--agenda-text)}
.agenda-progress__item.is-active b{background:var(--agenda-olive-dark);border-color:var(--agenda-olive-dark);color:#fff}
.agenda-progress__item.is-done b{background:var(--agenda-soft);border-color:var(--agenda-olive);color:var(--agenda-olive-dark)}
.agenda-step{width:min(980px,100%);margin-inline:auto;background:var(--agenda-surface);border:1px solid var(--agenda-line);border-radius:var(--agenda-radius);padding:clamp(26px,5vw,54px)}
.agenda-step[hidden]{display:none!important}
.agenda-step__head{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;margin-bottom:30px}
.agenda-step__number{color:var(--agenda-olive);font:800 .78rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;padding-top:7px}
.agenda-step__head h2{margin:0;color:var(--agenda-text);font-size:clamp(1.75rem,4vw,2.7rem);line-height:1.05;letter-spacing:-.035em}
.agenda-step__head p{margin:10px 0 0;color:var(--agenda-muted);font-size:1rem;line-height:1.6;max-width:650px}
.agenda-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.agenda-service-card{position:relative;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:22px;border:1px solid var(--agenda-line);border-radius:20px;background:#fff;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.agenda-service-card:hover{transform:translateY(-1px);border-color:rgba(36,52,33,.3)}
.agenda-service-card:has(input:checked){border-color:var(--agenda-olive-dark);background:var(--agenda-soft);box-shadow:inset 0 0 0 1px var(--agenda-olive-dark)}
.agenda-service-card input{position:absolute;opacity:0;pointer-events:none}
.agenda-service-card__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f1f2e8;color:var(--agenda-olive-dark)}
.agenda-service-card__icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.agenda-service-card strong{display:block;color:var(--agenda-text);font-size:1rem;line-height:1.3}
.agenda-service-card small{display:block;margin-top:7px;color:var(--agenda-muted);font-size:.88rem;line-height:1.45}
.agenda-step__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:32px;padding-top:26px;border-top:1px solid var(--agenda-line)}
.agenda-step__actions--end{justify-content:flex-end}
.agenda-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:14px;border:1px solid var(--agenda-line);font-weight:800;font-size:.96rem;text-decoration:none;cursor:pointer;transition:filter .18s ease,transform .18s ease;background:#fff;color:var(--agenda-text)}
.agenda-btn:hover{transform:translateY(-1px)}
.agenda-btn:disabled{opacity:.42;cursor:not-allowed;transform:none}
.agenda-btn--primary{background:var(--agenda-olive-dark)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--agenda-olive-dark)}
.agenda-btn--ghost{background:transparent;color:var(--agenda-text)}
.agenda-btn--full{width:100%}
.agenda-alert{width:min(980px,100%);margin:0 auto 18px;padding:14px 16px;border-radius:14px;background:#fff4d9;color:#5b4712;border:1px solid rgba(91,71,18,.18);font-size:.9rem;line-height:1.5}
.agenda-schedule-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:28px;align-items:start}
.agenda-calendar-panel,.agenda-times-panel{min-width:0}
.agenda-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.agenda-calendar-heading strong{text-transform:capitalize;font-size:1rem;color:var(--agenda-text)}
.agenda-icon-btn{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;border:1px solid var(--agenda-line);background:#fff;color:var(--agenda-text);cursor:pointer}
.agenda-icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.agenda-weekdays,.agenda-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.agenda-weekdays{margin-bottom:6px;color:#858b81;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-align:center}
.agenda-weekdays span{padding:8px 0}
.agenda-day{position:relative;aspect-ratio:1/1;display:grid;place-items:center;border:1px solid transparent;border-radius:14px;background:transparent;color:#9aa095;font:700 .92rem/1 inherit;cursor:default}
.agenda-day.is-in-month{color:var(--agenda-text)}
.agenda-day.is-available{background:#fff;border-color:var(--agenda-line);cursor:pointer}
.agenda-day.is-available:hover{border-color:var(--agenda-olive)}
.agenda-day.is-selected{background:var(--agenda-olive-dark);color:#fff;border-color:var(--agenda-olive-dark)}
.agenda-day.is-past,.agenda-day.is-disabled{opacity:.35}
.agenda-mobile-days{display:none}
.agenda-selection-summary{padding:16px 18px;border:1px solid var(--agenda-line);border-radius:16px;background:#fff;margin-bottom:14px}
.agenda-selection-summary span{display:block;color:var(--agenda-olive);font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.agenda-selection-summary strong{display:block;margin-top:5px;color:var(--agenda-text);font-size:1rem}
.agenda-times{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.agenda-time{min-height:48px;border:1px solid var(--agenda-line);border-radius:13px;background:#fff;color:var(--agenda-text);font-weight:800;cursor:pointer}
.agenda-time:hover{border-color:var(--agenda-olive)}
.agenda-time.is-selected{background:var(--agenda-olive-dark);border-color:var(--agenda-olive-dark);color:#fff}
.agenda-time:disabled{opacity:.35;cursor:not-allowed;text-decoration:line-through}
.agenda-empty{grid-column:1/-1;margin:0;padding:22px 12px;color:var(--agenda-muted);text-align:center;line-height:1.55;border:1px dashed var(--agenda-line);border-radius:16px}
.agenda-booking-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:24px}
.agenda-booking-summary div{padding:15px 16px;border-radius:15px;background:var(--agenda-soft);border:1px solid var(--agenda-line)}
.agenda-booking-summary span{display:block;color:var(--agenda-olive);font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.agenda-booking-summary strong{display:block;margin-top:5px;color:var(--agenda-text);font-size:.94rem;line-height:1.35}
.agenda-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.agenda-field--full{grid-column:1/-1}
.agenda-field label{display:flex;justify-content:space-between;gap:12px;margin:0 0 9px;color:var(--agenda-text);font-size:.86rem;font-weight:800}
.agenda-field label span{color:#8a9086;font-weight:600}
.agenda-field input,.agenda-field select,.agenda-field textarea{width:100%;border:1px solid var(--agenda-line);border-radius:15px;background:#fff;color:var(--agenda-text);font:500 1rem/1.4 inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.agenda-field input,.agenda-field select{min-height:54px;padding:0 16px}
.agenda-field textarea{padding:15px 16px;resize:vertical;min-height:130px}
.agenda-field input:focus,.agenda-field select:focus,.agenda-field textarea:focus{border-color:var(--agenda-olive);box-shadow:0 0 0 3px rgba(105,119,72,.12)}
.agenda-success{text-align:center;max-width:720px}
.agenda-success__icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 22px;border-radius:50%;background:var(--agenda-olive-dark);color:#fff}
.agenda-success__icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.agenda-success h2{margin:12px 0 12px;color:var(--agenda-text);font-size:clamp(2.1rem,5vw,3.5rem);letter-spacing:-.045em}
.agenda-success>p{max-width:540px;margin:0 auto 24px;color:var(--agenda-muted);line-height:1.65}
.agenda-success__summary{margin:0 auto 22px;padding:18px;border:1px solid var(--agenda-line);border-radius:16px;background:var(--agenda-soft);color:var(--agenda-text);line-height:1.6}
.agenda-link-btn{margin-top:18px;border:0;background:none;color:var(--agenda-muted);font-weight:800;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:760px){
  .agenda-shell{width:min(100% - 36px,1120px)}
  .agenda-hero{padding:46px 0 22px}
  .agenda-hero h1{font-size:clamp(2.45rem,13vw,4rem)}
  .agenda-flow{padding-top:18px}
  .agenda-progress{justify-content:flex-start;overflow:hidden;margin-bottom:20px}
  .agenda-progress__item span{display:none}
  .agenda-progress i{width:34px}
  .agenda-step{border-radius:24px;padding:24px 20px}
  .agenda-step__head{grid-template-columns:1fr;gap:9px;margin-bottom:24px}
  .agenda-step__number{padding-top:0}
  .agenda-step__head h2{font-size:2rem}
  .agenda-service-grid{grid-template-columns:1fr;gap:10px}
  .agenda-service-card{padding:18px}
  .agenda-step__actions{position:sticky;bottom:calc(88px + env(safe-area-inset-bottom));z-index:3;margin-inline:-20px;margin-bottom:-24px;padding:16px 20px 20px;background:linear-gradient(180deg,rgba(251,251,244,0),var(--agenda-surface) 28%);border-top:0}
  .agenda-step__actions .agenda-btn{flex:1}
  .agenda-schedule-layout{grid-template-columns:1fr;gap:20px}
  .agenda-month{display:none}
  .agenda-calendar-heading{margin-bottom:12px}
  .agenda-calendar-heading #agendaPrevMonth,.agenda-calendar-heading #agendaNextMonth{display:none}
  .agenda-mobile-days{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:none;scroll-snap-type:x proximity}
  .agenda-mobile-days::-webkit-scrollbar{display:none}
  .agenda-mobile-date{min-width:72px;padding:12px 10px;border-radius:16px;border:1px solid var(--agenda-line);background:#fff;text-align:center;cursor:pointer;scroll-snap-align:start;color:var(--agenda-text)}
  .agenda-mobile-date span{display:block;color:#858b81;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
  .agenda-mobile-date strong{display:block;margin-top:4px;font-size:1.2rem}
  .agenda-mobile-date small{display:block;margin-top:3px;color:#858b81;font-size:.68rem;text-transform:uppercase}
  .agenda-mobile-date.is-selected{background:var(--agenda-olive-dark);border-color:var(--agenda-olive-dark);color:#fff}
  .agenda-mobile-date.is-selected span,.agenda-mobile-date.is-selected small{color:rgba(255,255,255,.72)}
  .agenda-times{grid-template-columns:repeat(3,1fr)}
  .agenda-time{min-height:46px}
  .agenda-booking-summary{grid-template-columns:1fr;gap:8px}
  .agenda-fields{grid-template-columns:1fr;gap:16px}
  .agenda-field--full{grid-column:auto}
  .agenda-success{padding-bottom:34px}
}

@media(max-width:410px){
  .agenda-times{grid-template-columns:repeat(2,1fr)}
  .agenda-btn{padding-inline:18px}
}


/* v4.12.0 — Agenda alinhada à família de fluxos públicos. */
@media (min-width:821px){
  .agenda-shell{width:min(1160px,calc(100% - 64px))}
  .agenda-hero{padding:64px 0 30px}
  .agenda-hero h1{font-size:clamp(3rem,4vw,4rem)}
  .agenda-hero p{font-size:1.06rem}
  .agenda-flow{padding:24px 0 96px}
  .agenda-progress{margin-bottom:24px}
  .agenda-step{width:min(960px,100%);padding:38px 40px;border-radius:24px}
  .agenda-step__head{gap:16px;margin-bottom:26px}
  .agenda-step__number{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    padding:0;
    border:1px solid var(--agenda-line);
    border-radius:50%;
    background:var(--agenda-soft);
    color:var(--agenda-olive-dark);
    font-size:.72rem;
    letter-spacing:.06em;
  }
  .agenda-step__head h2{font-size:clamp(1.65rem,2.4vw,2.1rem)}
  .agenda-step__head p{font-size:.96rem}
  .agenda-service-card{padding:20px;border-radius:18px}
  .agenda-step__actions{margin-top:28px;padding-top:22px}
  .agenda-btn{min-height:52px;border-radius:14px}
  .agenda-field input,.agenda-field select{min-height:54px}
  .agenda-field input,.agenda-field select,.agenda-field textarea{border-radius:14px}
}
