@font-face{
  font-family:'New Order';
  src:url('assets/fonnts.com-New_Order_Light.otf') format('opentype');
  font-weight:300;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'New Order';
  src:url('assets/fonnts.com-New_Order_Regular.otf') format('opentype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'New Order';
  src:url('assets/fonnts.com-New_Order_Medium.otf') format('opentype');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'New Order';
  src:url('assets/fonnts.com-New_Order_Semibold.otf') format('opentype');
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'New Order';
  src:url('assets/fonnts.com-New_Order_Bold.otf') format('opentype');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

:root{
  --orange:#D9702E;
  --orange-dark:#B25A22;
  --dark:#2C2C2A;
  --gray:#5F5E5A;
  --gray-light:#B4B2A9;
  --cream:#FBF9F4;
  --line:#E7E3D8;
}

*{box-sizing:border-box;margin:0;padding:0;}

body{
  font-family:'New Order', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:var(--cream);
  color:var(--dark);
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.card{
  width:100%;
  max-width:480px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:32px 28px;
  position:relative;
  overflow:hidden;
}

/* ===== progresso ===== */
.topbar{
  height:4px;
  background:var(--line);
  border-radius:4px;
  margin-bottom:24px;
  overflow:hidden;
}
.topbar.hidden{display:none;}
.progress{
  height:100%;
  background:var(--orange);
  width:20%;
  transition:width .3s ease;
}

/* ===== 1. CAPA (full-bleed, bottom-sheet) ===== */
#coverStep{
  display:none;
  position:fixed;
  inset:0;
  width:100vw;
  height:100dvh;
  z-index:50;
  flex-direction:column;
  justify-content:flex-end;
}
#coverStep.active{display:flex;}

.cover-media{
  position:absolute;
  inset:0;
  z-index:0;
  background:url('assets/capa-bg.jpg') 100% 60%/260% auto no-repeat;
  background-color:var(--dark);
}
.cover-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
}

.cover-hero-text{
  position:relative;
  z-index:2;
  padding:0 24px 20px;
  color:#fff;
}
.cover-hero-text h1{
  color:#fff;
  font-size:28px;
  margin-bottom:8px;
  text-shadow:0 2px 14px rgba(0,0,0,.4);
}
.cover-hero-text p{
  color:rgba(255,255,255,0.92);
  font-size:15px;
  line-height:1.5;
  text-shadow:0 1px 10px rgba(0,0,0,.35);
}

.cover-sheet{
  position:relative;
  z-index:2;
  background:#fff;
  border-radius:24px 24px 0 0;
  padding:24px 24px calc(24px + env(safe-area-inset-bottom));
  box-shadow:0 -8px 24px rgba(0,0,0,.14);
}
.cover-logo{
  display:block;
  height:40px;
  width:auto;
  margin:0 auto 18px;
}
.cover-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom:20px;
}
.cover-badge{
  font-size:12px;
  color:var(--orange-dark);
  background:#FDF3EC;
  border:1px solid #F2D9C3;
  padding:6px 10px;
  border-radius:20px;
  font-weight:600;
}
.btn-cover{
  width:100%;
  background:var(--orange);
  color:#fff;
  border:none;
  padding:16px;
  border-radius:10px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  font-family:inherit;
}
.btn-cover:hover{background:var(--orange-dark);}
.cover-note{
  text-align:center;
  font-size:12px;
  color:var(--gray-light);
  margin-top:10px;
}

/* ===== textos gerais ===== */
.brand-logo{
  display:block;
  height:24px;
  width:auto;
  margin:0 0 16px;
}
h1{
  font-size:22px;
  font-weight:600;
  line-height:1.3;
  margin-bottom:6px;
}
.sub{
  font-size:14px;
  color:var(--gray);
  margin-bottom:24px;
}

/* ===== 2. PERGUNTAS ===== */
.step{display:none;}
.step.active{display:block;}

.option{
  display:block;
  border:1px solid var(--line);
  border-radius:10px;
  padding:14px 16px;
  margin-bottom:10px;
  cursor:pointer;
  font-size:15px;
  transition:border-color .15s ease, background .15s ease;
}
.option:hover{border-color:var(--gray-light);}
.option input{display:none;}
.option.selected{
  border-color:var(--orange);
  background:#FDF3EC;
  font-weight:600;
  color:var(--orange-dark);
}

label.field{
  display:block;
  font-size:13px;
  color:var(--gray);
  margin-bottom:6px;
  margin-top:16px;
}
input[type=text], input[type=tel], input[type=email]{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  font-size:15px;
  font-family:inherit;
}
input:focus{outline:none;border-color:var(--orange);}

.actions{
  display:flex;
  gap:10px;
  margin-top:28px;
}
button{
  flex:1;
  padding:14px;
  border-radius:10px;
  border:none;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  font-family:inherit;
}
.btn-next{background:var(--dark);color:#fff;}
.btn-next:disabled{background:var(--gray-light);cursor:not-allowed;}
.btn-back{background:#fff;color:var(--gray);border:1px solid var(--line);flex:0 0 90px;}

/* ===== 4. AGENDAMENTO (alto destaque) ===== */
.agenda-highlight{
  background:#FDF3EC;
  border:1.5px solid var(--orange);
  border-radius:14px;
  padding:20px;
  margin-bottom:22px;
  text-align:center;
}
.agenda-badge{
  display:inline-block;
  background:var(--orange);
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.5px;
  padding:5px 10px;
  border-radius:20px;
  margin-bottom:10px;
  text-transform:uppercase;
}
.agenda-highlight h1{margin-bottom:6px;}
.agenda-highlight .sub{margin-bottom:0;}

.agenda-label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:var(--gray);
  margin:0 0 8px;
}

.date-grid{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:6px;
  margin-bottom:18px;
}
.date-chip{
  flex:0 0 auto;
  min-width:56px;
  text-align:center;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 6px;
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.date-chip .dow{
  display:block;
  font-size:11px;
  color:var(--gray);
  text-transform:uppercase;
  margin-bottom:4px;
}
.date-chip .dnum{
  display:block;
  font-size:16px;
  font-weight:700;
}
.date-chip:hover{border-color:var(--gray-light);}
.date-chip.selected{
  border-color:var(--orange);
  background:#FDF3EC;
  color:var(--orange-dark);
}

.time-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-bottom:18px;
}
.time-chip{
  text-align:center;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 6px;
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  transition:border-color .15s ease, background .15s ease;
}
.time-chip:hover{border-color:var(--gray-light);}
.time-chip.selected{
  border-color:var(--orange);
  background:#FDF3EC;
  color:var(--orange-dark);
}

.agenda-hours-info{
  font-size:12px;
  color:var(--gray);
  text-align:center;
}

/* ===== 3. CONCLUSÃO ===== */
.success{text-align:center;padding:20px 0;}
.success h2{font-size:20px;margin-bottom:8px;}
.success p{color:var(--gray);font-size:15px;line-height:1.5;}
.whatsapp-btn{
  display:block;
  margin-top:20px;
  background:#25D366;
  color:#fff;
  text-decoration:none;
  padding:18px 24px;
  border-radius:12px;
  font-weight:700;
  font-size:17px;
  text-align:center;
  box-shadow:0 4px 14px rgba(37,211,102,0.35);
}
.whatsapp-btn:hover{background:#1FB855;}

/* ===== pulso — chama atenção pros botões ===== */
@keyframes pulse-orange{
  0%,100%{box-shadow:0 0 0 0 rgba(217,112,46,.5);}
  50%{box-shadow:0 0 0 10px rgba(217,112,46,0);}
}
@keyframes pulse-dark{
  0%,100%{box-shadow:0 0 0 0 rgba(44,44,42,.35);}
  50%{box-shadow:0 0 0 10px rgba(44,44,42,0);}
}
@keyframes pulse-white{
  0%,100%{box-shadow:0 0 0 0 rgba(95,94,90,.3);}
  50%{box-shadow:0 0 0 8px rgba(95,94,90,0);}
}
@keyframes pulse-green{
  0%,100%{box-shadow:0 4px 14px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,.55);}
  50%{box-shadow:0 4px 14px rgba(37,211,102,.35), 0 0 0 14px rgba(37,211,102,0);}
}

.btn-cover{animation:pulse-orange 2.2s infinite;}
.btn-back{animation:pulse-white 2.2s infinite;}
.btn-next:not(:disabled){animation:pulse-dark 2.2s infinite;}
.whatsapp-btn{animation:pulse-green 1.8s infinite;}
