/*
 * Dra. Stefânia Pediatra — Agendamento público v0.63.0
 */
.stef-booking,.stef-booking *{box-sizing:border-box}
.stef-booking{
  --green:#4A8C84;--green-dark:#7A5230;--green-soft:rgba(74,140,132,.12);
  --nude:#E8BFB3;--cream:#F0EDE6;--paper:#F0EDE6;--ink:#2C2C2C;--muted:#66615D;
  --line:rgba(122,82,48,.16);--danger:#7A5230;
  width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  min-height:100vh;background:var(--cream);color:var(--ink);font-family:"Lato",Arial,sans-serif;
}
.stef-booking button,.stef-booking input,.stef-booking select,.stef-booking textarea{font:inherit}
.stef-booking__intro{
  width:min(1440px,100%);margin:0 auto;padding:70px clamp(24px,5vw,72px) 48px;
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:54px;align-items:end
}
.stef-booking__intro h1{
  max-width:760px;margin:0;color:var(--green);font-family:"Nunito",Arial,sans-serif;
  font-size:clamp(52px,5vw,76px);line-height:.94;font-weight:600;letter-spacing:-.035em
}
.stef-booking__intro>div:first-child>p:last-child{max-width:700px;margin:24px 0 0;color:#4e5d55;font-size:17px;line-height:1.68}
.stef-booking__eyebrow{margin:0 0 18px;color:var(--green);font-size:10px;line-height:1;font-weight:700;letter-spacing:.17em}
.stef-booking__secure{
  padding:20px;display:grid;grid-template-columns:34px 1fr;gap:14px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.48)
}
.stef-booking__secure>span{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--green);color:#fff;font-weight:700}
.stef-booking__secure p{margin:0;color:#5c6a62;font-size:12px;line-height:1.55}.stef-booking__secure strong{color:var(--green)}
.stef-booking__admin-note{width:min(1296px,calc(100% - 48px));margin:0 auto 24px;padding:16px 20px;border:1px solid #d8b57a;border-radius:14px;background:#fff7e9}.stef-booking__admin-note strong{display:block;color:#76511d}.stef-booking__admin-note p{margin:4px 0 0;color:#775f3e;font-size:13px}
.stef-booking__layout{
  width:min(1440px,100%);margin:0 auto;padding:0 clamp(24px,5vw,72px) 90px;
  display:grid;grid-template-columns:260px minmax(0,1fr);gap:38px;align-items:start
}
.stef-booking__progress{position:sticky;top:24px;padding:12px 0}
.stef-booking__progress>div{
  position:relative;display:grid;grid-template-columns:42px 1fr;gap:13px;min-height:86px;opacity:.35;transition:opacity .3s ease
}
.stef-booking__progress>div:not(:last-child)::after{content:"";position:absolute;left:20px;top:42px;bottom:0;width:1px;background:rgba(28,83,63,.18)}
.stef-booking__progress>div.is-current,.stef-booking__progress>div.is-done{opacity:1}
.stef-booking__progress>div>span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--green);font-size:10px;font-weight:700}
.stef-booking__progress>div.is-current>span,.stef-booking__progress>div.is-done>span{background:var(--green);border-color:var(--green);color:#fff}
.stef-booking__progress strong{display:block;margin-top:3px;color:var(--green);font-size:13px}.stef-booking__progress small{display:block;margin-top:4px;color:#718078;font-size:10px;line-height:1.4}
.stef-booking__workspace{min-width:0}
.stef-booking__step,.stef-booking__success{
  padding:clamp(28px,4vw,54px);border:1px solid var(--line);border-radius:28px;background:rgba(255,253,249,.94);
  box-shadow:0 26px 70px rgba(42,67,55,.07)
}
.stef-booking__step[hidden],.stef-booking__success[hidden],.stef-booking [hidden]{display:none!important}
.stef-booking__step-head{max-width:760px;margin-bottom:34px}.stef-booking__step-head h2,.stef-booking__success h2{
  margin:0;color:var(--green);font-family:"Nunito",Arial,sans-serif;font-size:clamp(39px,3.8vw,55px);line-height:.98;font-weight:600;letter-spacing:-.03em
}
.stef-booking__step-head>p:last-child,.stef-booking__success>p{max-width:680px;margin:18px 0 0;color:#5d6a63;font-size:14px;line-height:1.68}
.stef-booking__auth-tabs{display:inline-flex;margin-bottom:26px;padding:4px;border-radius:12px;background:#ebe5dc}
.stef-booking__auth-tabs button{min-height:42px;padding:9px 16px;border:0;border-radius:9px;background:transparent;color:#6c7771;font-size:12px;font-weight:700;cursor:pointer}
.stef-booking__auth-tabs button.is-active{background:#F7F4EF;color:var(--green);box-shadow:0 4px 16px rgba(28,83,63,.06)}
.stef-booking__form label,.stef-booking__subsection label,.stef-booking__schedule label{display:flex;flex-direction:column;gap:8px;color:#34463d;font-size:11px;font-weight:700}
.stef-booking input,.stef-booking select,.stef-booking textarea{
  width:100%;min-height:48px;padding:11px 13px;border:1px solid rgba(28,83,63,.16);border-radius:10px;background:#F7F4EF;color:#26352e;outline:none
}
.stef-booking textarea{min-height:94px;resize:vertical}
.stef-booking input:focus,.stef-booking select:focus,.stef-booking textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(28,83,63,.08)}
.stef-booking label small{color:#87928c;font-size:9px;font-weight:500}
.stef-booking__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.stef-booking__full{grid-column:1/-1}
.stef-booking__actions{margin-top:30px;display:flex;justify-content:flex-end;gap:10px}.stef-booking__actions--split{justify-content:space-between}
.stef-booking__primary,.stef-booking__secondary{
  min-height:52px;padding:13px 19px;display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:10px;cursor:pointer;text-decoration:none!important;font-size:13px;font-weight:700
}
.stef-booking__primary{border:1px solid var(--green);background:var(--green);color:#fff!important}.stef-booking__primary:hover{background:var(--green-dark);border-color:var(--green-dark)}
.stef-booking__secondary{border:1px solid var(--line);background:#F7F4EF;color:var(--green)!important}
.stef-booking__message{min-height:20px;margin-top:14px;color:var(--danger);font-size:12px;font-weight:600}.stef-booking__message.is-ok{color:var(--green)}
.stef-booking__subsection{margin-top:26px;padding-top:26px;border-top:1px solid var(--line)}
.stef-booking__subhead{margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.stef-booking__subhead span{color:#8a9890;font-size:9px;font-weight:700;letter-spacing:.14em}.stef-booking__subhead strong{color:var(--green);font-size:13px}
.stef-booking__children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.stef-booking__child,.stef-booking__new-child{
  width:100%;padding:15px;border:1px solid var(--line);border-radius:13px;background:#F7F4EF;color:#365044;text-align:left;cursor:pointer
}
.stef-booking__child strong{display:block;font-size:13px}.stef-booking__child small{display:block;margin-top:4px;color:#7b8881;font-size:10px}
.stef-booking__child.is-active,.stef-booking__new-child.is-active{border-color:var(--green);background:var(--green-soft);box-shadow:0 0 0 1px rgba(28,83,63,.08)}
.stef-booking__new-child{margin-top:10px;text-align:center;font-size:11px;font-weight:700}
.stef-booking__new-patient{margin-top:18px;padding:20px;border-radius:16px;background:#f8f4ee}
.stef-booking__insurance{margin-top:16px}
.stef-booking__types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stef-booking__type{
  min-height:150px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:16px;background:#F7F4EF;color:#34463d;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease
}
.stef-booking__type:hover{transform:translateY(-2px)}.stef-booking__type.is-active{border-color:var(--green);background:#edf3ef}
.stef-booking__type>span{color:#829088;font-size:9px;font-weight:700;letter-spacing:.08em}.stef-booking__type strong{margin-top:9px;color:var(--green);font-family:"Nunito",Arial,sans-serif;font-size:26px;line-height:1}.stef-booking__type small{margin-top:10px;color:#69766f;font-size:10px;line-height:1.55}
.stef-booking__schedule{margin-top:26px;padding-top:26px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;border-top:1px solid var(--line)}
.stef-booking__slots-wrap>span{display:block;margin-bottom:10px;color:#34463d;font-size:11px;font-weight:700}.stef-booking__slots{display:flex;flex-wrap:wrap;gap:8px}.stef-booking__slots p{margin:5px 0;color:#7c8982;font-size:11px}
.stef-booking__slot{min-width:76px;min-height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#F7F4EF;color:var(--green);font-size:12px;font-weight:700;cursor:pointer}.stef-booking__slot.is-active{background:var(--green);border-color:var(--green);color:#fff}
.stef-booking__review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stef-booking__review article{padding:18px;border:1px solid var(--line);border-radius:14px;background:#F7F4EF}.stef-booking__review span{display:block;color:#8a9790;font-size:8px;font-weight:700;letter-spacing:.13em}.stef-booking__review strong{display:block;margin-top:7px;color:var(--green);font-size:14px}.stef-booking__review small{display:block;margin-top:5px;color:#6d7972;font-size:10px;line-height:1.5}
.stef-booking__success{text-align:center}.stef-booking__success-icon{width:62px;height:62px;margin:0 auto 22px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--green);color:#fff;font-size:25px;font-weight:700}
.stef-booking__success>p{margin-left:auto;margin-right:auto}.stef-booking__success-summary{margin-top:28px}
#stef-booking-success-summary{max-width:620px;margin:28px auto 0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#F7F4EF;color:#4e5d55;font-size:13px;line-height:1.65}
.stef-booking__success-actions{margin-top:28px;display:flex;justify-content:center;gap:10px}
@media(max-width:900px){
 .stef-booking__intro{grid-template-columns:1fr;gap:24px}.stef-booking__layout{grid-template-columns:1fr}.stef-booking__progress{position:relative;top:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:0}.stef-booking__progress>div{display:block;min-height:0;text-align:center}.stef-booking__progress>div:not(:last-child)::after{display:none}.stef-booking__progress>div>span{margin:0 auto}.stef-booking__progress>div div{display:none}
}
@media(max-width:650px){
 .stef-booking__intro{padding:48px 20px 34px}.stef-booking__intro h1{font-size:47px}.stef-booking__intro>div:first-child>p:last-child{font-size:15px}.stef-booking__layout{padding:0 20px 64px;gap:22px}.stef-booking__step,.stef-booking__success{padding:24px 18px;border-radius:20px}.stef-booking__step-head h2,.stef-booking__success h2{font-size:38px}.stef-booking__grid,.stef-booking__children,.stef-booking__types,.stef-booking__review{grid-template-columns:1fr}.stef-booking__schedule{grid-template-columns:1fr}.stef-booking__actions--split{flex-direction:column-reverse}.stef-booking__actions--split>*{width:100%}.stef-booking__success-actions{flex-direction:column}.stef-booking__success-actions>*{width:100%}.stef-booking__subhead{align-items:flex-start;flex-direction:column;gap:4px}
}


/* v0.64.0 — Agendamento com identidade oficial */
.stef-booking{
  background:#F0EDE6!important;
  color:#2C2C2C!important;
  font-family:"Lato",Arial,sans-serif!important;
}

.stef-booking h1,
.stef-booking h2,
.stef-booking h3,
.stef-booking__type strong{
  font-family:"Nunito",Arial,sans-serif!important;
  font-weight:800!important;
}

.stef-booking__eyebrow{
  font-family:"Lato",Arial,sans-serif!important;
  font-weight:700!important;
  letter-spacing:.16em!important;
}

.stef-booking__step,
.stef-booking__success,
.stef-booking__type,
.stef-booking__review article,
.stef-booking input,
.stef-booking select,
.stef-booking textarea{
  background:#F7F4EF!important;
}

.stef-booking__primary,
.stef-booking__progress>div.is-current>span,
.stef-booking__progress>div.is-done>span,
.stef-booking__success-icon{
  background:#4A8C84!important;
  border-color:#4A8C84!important;
}

.stef-booking__primary:hover{
  background:#7A5230!important;
  border-color:#7A5230!important;
}

.stef-booking__type.is-active,
.stef-booking__child.is-active,
.stef-booking__new-child.is-active{
  background:rgba(232,191,179,.30)!important;
  border-color:#7A5230!important;
}


/* v0.64.1 — refinamento de formulários e estados do agendamento */
.stef-booking__step,
.stef-booking__success{
  border-color:rgba(122,82,48,.14)!important;
  box-shadow:0 20px 58px rgba(44,44,44,.05)!important;
}

.stef-booking__progress>div>span{
  border-color:rgba(122,82,48,.18)!important;
  background:#F7F4EF!important;
}

.stef-booking__progress>div.is-current>span,
.stef-booking__progress>div.is-done>span{
  background:#4A8C84!important;
  color:#fff!important;
}

.stef-booking__auth-tabs{
  background:rgba(232,191,179,.28)!important;
}

.stef-booking__auth-tabs button.is-active{
  background:#F7F4EF!important;
  color:#7A5230!important;
}

.stef-booking input:focus,
.stef-booking select:focus,
.stef-booking textarea:focus{
  border-color:#4A8C84!important;
  box-shadow:0 0 0 3px rgba(74,140,132,.11)!important;
}

.stef-booking__slot{
  background:#F7F4EF!important;
  border-color:rgba(122,82,48,.17)!important;
  color:#4A8C84!important;
}

.stef-booking__slot:hover{
  border-color:#E8BFB3!important;
  background:rgba(232,191,179,.24)!important;
  color:#7A5230!important;
}

.stef-booking__slot.is-active{
  background:#4A8C84!important;
  border-color:#4A8C84!important;
  color:#fff!important;
}

.stef-booking__next{
  background:#4A8C84!important;
}


/* v0.64.2 — títulos mais amigáveis e compactos */
.stef-booking__intro h1{
  max-width:840px!important;
  font-size:clamp(42px,3.6vw,58px)!important;
  line-height:1.02!important;
  letter-spacing:-.028em!important;
}

.stef-booking__step-head h2,
.stef-booking__success h2{
  font-size:clamp(34px,2.8vw,46px)!important;
  line-height:1.04!important;
  letter-spacing:-.025em!important;
}

.stef-booking__type strong{
  font-size:23px!important;
  line-height:1.05!important;
}

@media(max-width:650px){
  .stef-booking__intro h1{
    font-size:40px!important;
  }

  .stef-booking__step-head h2,
  .stef-booking__success h2{
    font-size:34px!important;
  }
}


/* ==========================================================
   v0.65.4 — confirmação de agendamento em largura correta
   ========================================================== */

/*
 * Ao esconder a barra de progresso, o CSS Grid recolocava o workspace
 * automaticamente na primeira coluna de 260px. A confirmação agora
 * transforma o layout explicitamente em uma única coluna.
 */
.stef-booking__layout.is-booking-success{
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}

.stef-booking__layout.is-booking-success .stef-booking__workspace{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}

.stef-booking__layout.is-booking-success .stef-booking__success{
  width:min(900px,100%)!important;
  max-width:900px!important;
  margin:0 auto!important;
  padding:clamp(34px,5vw,62px)!important;
}

.stef-booking__layout.is-booking-success #stef-booking-success-summary{
  width:min(620px,100%)!important;
  max-width:620px!important;
}

.stef-booking__layout.is-booking-success .stef-booking__success-actions{
  width:min(620px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:650px){
  .stef-booking__layout.is-booking-success .stef-booking__success{
    width:100%!important;
    max-width:none!important;
    padding:30px 20px!important;
  }
}


/* v0.78.2 — Agendamento: leitura e campos touch-friendly */
.stef-booking p,.stef-booking li{font-size:13px!important;line-height:1.6!important}
.stef-booking small,.stef-booking [class*="eyebrow"],.stef-booking label>span{font-size:11px!important;line-height:1.4!important}
.stef-booking input,.stef-booking select,.stef-booking textarea{font-size:14px!important;min-height:44px!important}
.stef-booking button,.stef-booking a{font-size:12px!important}
@media(max-width:650px){
 .stef-booking p,.stef-booking li{font-size:14px!important}
 .stef-booking small,.stef-booking [class*="eyebrow"],.stef-booking label>span{font-size:12px!important}
 .stef-booking input,.stef-booking select,.stef-booking textarea{font-size:16px!important;min-height:48px!important}
 .stef-booking button,.stef-booking a{font-size:13px!important;min-height:44px}
 .stef-booking__progress{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .stef-booking__layout{padding-left:16px!important;padding-right:16px!important}
}


/* ==========================================================
   v0.79.0 — pagamento antes da confirmação da agenda
   ========================================================== */
.stef-booking__payment-required,
.stef-booking__paid-result{
  margin:18px auto 0;width:min(1180px,calc(100% - 32px));padding:20px 22px;border:1px solid rgba(74,140,132,.18);border-radius:16px;background:rgba(74,140,132,.06)
}
.stef-booking__payment-required strong{color:#4A8C84;font:800 17px Nunito,Arial,sans-serif}.stef-booking__payment-required p{margin:5px 0 0;color:#5f6662;font-size:13px;line-height:1.55}
.stef-booking__payment-card{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;padding:18px;border:1px solid rgba(74,140,132,.16);border-radius:13px;background:rgba(74,140,132,.05)}
.stef-booking__payment-card>div:first-child>span{color:#7A5230;font-size:11px;font-weight:700;letter-spacing:.12em}.stef-booking__payment-card strong{display:block;margin-top:5px;color:#4A8C84;font:800 26px Nunito,Arial,sans-serif}.stef-booking__payment-card p{margin:6px 0 0;color:#5f6662;font-size:13px;line-height:1.5}
.stef-booking__payment-methods{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;max-width:380px}.stef-booking__payment-methods>span{padding:7px 9px;border-radius:999px;background:#F0EDE6;color:#7A5230;font-size:10px;font-weight:700}.stef-booking__payment-methods small{width:100%;margin-top:5px;color:#6e7571;font-size:11px;line-height:1.4;text-align:right}
.stef-booking__reason{display:block;margin-top:14px}.stef-booking__reason>span{display:block;margin-bottom:6px;color:#7A5230;font-size:12px;font-weight:700}.stef-booking__reason textarea{width:100%}
.stef-booking__paid-result{text-align:center;padding:38px 28px}.stef-booking__paid-result>span{width:54px;height:54px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:#4A8C84;color:#F0EDE6;font-size:25px}.stef-booking__paid-result h2{margin:7px auto 0;max-width:760px;color:#4A8C84;font:800 32px/1.1 Nunito,Arial,sans-serif}.stef-booking__paid-result>p:not(.stef-booking__eyebrow){max-width:690px;margin:12px auto 0;color:#5f6662;font-size:14px;line-height:1.6}.stef-booking__paid-result .stef-booking__success-actions{justify-content:center;margin-top:22px}
@media(max-width:700px){.stef-booking__payment-card{grid-template-columns:1fr}.stef-booking__payment-methods{justify-content:flex-start;max-width:none}.stef-booking__payment-methods small{text-align:left}.stef-booking__paid-result{padding:28px 18px}.stef-booking__paid-result h2{font-size:28px}}

/* v0.79.1 — Agendamento mobile centralizado */
@media(max-width:650px){
  .stef-booking{
    text-align:center!important;
  }
  .stef-booking h1,
  .stef-booking h2,
  .stef-booking h3,
  .stef-booking p,
  .stef-booking small,
  .stef-booking [class*="eyebrow"],
  .stef-booking label>span{
    text-align:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .stef-booking button,
  .stef-booking a{
    margin-left:auto!important;
    margin-right:auto!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .stef-booking input,
  .stef-booking select,
  .stef-booking textarea{
    text-align:left!important;
  }
}


/* ==========================================================
   v0.79.3 — Agendamento mobile sem faixa vazia e sem overflow
   ========================================================== */
.stef-booking{
  max-width:100%!important;
  overflow-x:hidden!important;
}
.stef-booking__intro,
.stef-booking__layout,
.stef-booking__workspace,
.stef-booking__step,
.stef-booking__success{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
@media(max-width:700px){
  .stef-booking{
    width:100%!important;
    margin:0!important;
  }
  .stef-booking__intro{
    width:100%!important;
    padding-top:18px!important;
    padding-left:20px!important;
    padding-right:20px!important;
    margin-top:0!important;
  }
  .stef-booking__layout{
    width:100%!important;
    padding-left:20px!important;
    padding-right:20px!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}
