*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{background:#FBF8F5;-webkit-text-size-adjust:100%}
body{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:#2C2420;
  background:#FBF8F5;
  line-height:1.45;
  min-height:100dvh;
}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
img,video{display:block;max-width:100%}
[hidden]{display:none!important}

.page{
  min-height:100dvh;
  max-width:430px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  padding:0 20px 20px;
  padding-bottom:calc(20px + env(safe-area-inset-bottom));
}

.progress{
  height:4px;
  margin:0 -20px;
  background:#E8DFD6;
  position:relative;
}
.progress__bar{
  display:block;
  height:100%;
  width:8%;
  background:#8B5E3C;
  border-radius:0 2px 2px 0;
  transition:width .25s ease;
}

.top{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-height:56px;
  padding:10px 0 8px;
}
.back{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  background:none;
  border:0;
  padding:8px 2px;
  min-height:44px;
  color:#5C534C;
  font-size:.875rem;
}
.back:hover,.back:focus-visible{color:#2C2420}
.brand{text-align:center;padding:0 52px}
.brand__name{
  margin:0;
  font-family:Georgia,"Iowan Old Style","Palatino Linotype",serif;
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:.01em;
  color:#2C2420;
}
.brand__meta{
  margin:2px 0 0;
  font-size:.8125rem;
  color:#5C534C;
  white-space:nowrap;
}

.main{flex:1;display:flex;flex-direction:column}
.step{display:flex;flex-direction:column;padding:8px 0 16px;flex:1}
h1{
  margin:0 0 10px;
  font-size:1.55rem;
  line-height:1.2;
  font-weight:650;
  letter-spacing:-.02em;
}
.h-sm{font-size:1.15rem;margin-bottom:14px;text-align:center}
.lead{margin:0 0 22px;color:#5A504A;font-size:1rem}
.kicker{
  margin:0 0 6px;
  font-size:.75rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7A4F30;
  font-weight:600;
}

/* foto oficial da Dra. Beatriz, recorte do site drabeatrizdearruda.com.br */
.doc{text-align:center;margin:0 0 20px}
.doc__photo{
  width:176px;
  height:176px;
  margin:0 auto;
  border-radius:50%;
  object-fit:cover;
  object-position:center 18%;
  border:3px solid #fff;
  box-shadow:0 4px 18px rgba(44,36,32,.14);
  background:#E8DFD6;
}
.doc__name{
  margin:10px 0 0;
  font-size:.95rem;
  font-weight:650;
  color:#2C2420;
}
.doc__role{
  margin:2px 0 0;
  font-size:.75rem;
  color:#5C534C;
}

label{
  display:block;
  font-size:.875rem;
  font-weight:600;
  margin:0 0 6px;
}
input[type=text],input[type=tel]{
  width:100%;
  height:52px;
  border:1.5px solid #E0D6CC;
  border-radius:12px;
  background:#fff;
  padding:0 14px;
  font-size:16px;
  margin:0 0 14px;
  outline:none;
  appearance:none;
}
input:focus{border-color:#8B5E3C;box-shadow:0 0 0 3px rgba(139,94,60,.15)}
input.is-invalid{border-color:#A33;margin-bottom:4px}
.err{margin:0 0 12px;color:#A33;font-size:.8125rem}

.lgpd{
  margin:14px 0 0;
  font-size:.75rem;
  line-height:1.4;
  color:#5C534C;
  text-align:center;
}
.hint{margin:12px 0 0;font-size:.8125rem;color:#6B5E55;text-align:center}

.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:52px;
  padding:12px 18px;
  border:0;
  border-radius:28px;
  font-size:1rem;
  font-weight:650;
  letter-spacing:.01em;
  margin-top:8px;
  -webkit-tap-highlight-color:transparent;
}
.btn:focus-visible{outline:3px solid #8B5E3C;outline-offset:2px}
.btn:disabled{opacity:.4;cursor:not-allowed}
.btn--dark{background:#2F2925;color:#FBF8F5}
.btn--dark:hover:not(:disabled){background:#1F1A17}
.btn--green{background:#1C7A46;color:#fff;letter-spacing:.06em}
.btn--green:hover:not(:disabled){background:#16653A}

.player{
  position:relative;
  margin:0 auto 16px;
  width:min(100%, calc(62dvh * 9 / 16), 360px);
  aspect-ratio:9/16;
  max-height:62dvh;
  border-radius:16px;
  overflow:hidden;
  background:#3A322C;
}
.player__poster,.player video{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
}
.player__overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:0 16px 22px;
  border:0;
  background:linear-gradient(to top,rgba(28,22,18,.5),rgba(28,22,18,0) 42%);
}
.player__listen{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:56px;
  padding:14px 28px;
  border-radius:28px;
  background:#fff;
  color:#2C2420;
  font-size:1.0625rem;
  font-weight:700;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}
.player__listen::before{
  content:"";
  width:0;
  height:0;
  border-style:solid;
  border-width:8px 0 8px 13px;
  border-color:transparent transparent transparent #8B5E3C;
}
.player__overlay.is-sound-on{
  background:transparent;
  justify-content:flex-end;
  padding:12px;
}
.player__overlay.is-sound-on .player__listen{
  min-height:40px;
  padding:8px 12px;
  font-size:.75rem;
  background:rgba(28,22,18,.75);
  color:#fff;
  box-shadow:none;
}
.player__overlay.is-sound-on .player__listen::before{
  border-width:6px 0 6px 9px;
  border-color:transparent transparent transparent #fff;
}

.opts{display:flex;flex-direction:column;gap:10px;margin:8px 0 18px}
.opt{
  display:flex;
  align-items:flex-start;
  gap:12px;
  width:100%;
  text-align:left;
  background:#fff;
  border:1.5px solid #E0D6CC;
  border-radius:12px;
  padding:14px 14px;
  min-height:52px;
  color:#2C2420;
  transition:border-color .15s,background .15s;
}
.opt:hover,.opt:focus-visible{border-color:#C4A484}
.opt:focus-visible{outline:3px solid rgba(139,94,60,.35);outline-offset:1px}
.opt.is-on{
  border-color:#8B5E3C;
  background:#F6EFE8;
}
.opt__dot{
  flex:0 0 20px;
  width:20px;
  height:20px;
  margin-top:2px;
  border-radius:50%;
  border:1.5px solid #C4B8AC;
  background:#fff;
  position:relative;
}
.opt.is-on .opt__dot{
  border-color:#8B5E3C;
  background:#8B5E3C;
}
.opt.is-on .opt__dot::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#FBF8F5;
  transform:translate(-50%,-50%);
}
.opt__txt{flex:1;font-size:1rem;line-height:1.35}

.resumo{
  list-style:none;
  margin:0 0 20px;
  padding:14px 16px;
  background:#fff;
  border:1.5px solid #E0D6CC;
  border-radius:12px;
  color:#5A504A;
  font-size:.9375rem;
}
.resumo li{margin:0 0 8px}
.resumo li:last-child{margin:0}
.resumo strong{color:#2C2420;font-weight:650}

a.btn{text-decoration:none}
a.btn[aria-disabled="true"]{opacity:.4;pointer-events:none;cursor:not-allowed}

.foot{
  margin-top:auto;
  padding:14px 0 12px;
  text-align:center;
  color:#5C534C;
  font-size:.75rem;
  line-height:1.4;
}
.foot p{margin:0}
.foot__addr{
  margin-top:.35em;
  font-size:.6875rem;
  color:#5C534C;
}
@media (min-width:600px){
  .foot{
    position:relative;
    left:50%;
    width:max-content;
    max-width:calc(100vw - 48px);
    transform:translateX(-50%);
  }
  .foot__line{white-space:nowrap}
}

@media (prefers-reduced-motion:reduce){
  .progress__bar{transition:none}
}
