.popupCupom{
  position:fixed;
  inset:0;
  z-index:99990;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:
    opacity .28s ease,
    visibility .28s ease;
}

.popupCupom.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.popupCupom__overlay{
  position:absolute;
  inset:0;
  border:0;
  margin:0;
  padding:0;
  background:rgba(19, 25, 33, 0.62);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  cursor:pointer;
}

.popupCupom__dialog{
  position:relative;
  z-index:1;
  width:min(100%, 470px);
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border:1px solid rgba(19, 25, 33, 0.08);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.24),
    0 10px 24px rgba(0,0,0,0.10);
  transform:translateY(18px) scale(.96);
  transition:transform .30s ease;
}

.popupCupom.is-open .popupCupom__dialog{
  transform:translateY(0) scale(1);
}

.popupCupom__top{
  position:relative;
  padding:24px 24px 18px;
  text-align:center;
  background:
    radial-gradient(circle at top center, rgba(255, 153, 0, 0.28), transparent 56%),
    linear-gradient(180deg, #fff4de 0%, #ffe7ba 100%);
  border-bottom:1px solid rgba(19,25,33,0.06);
}

.popupCupom__close{
  position:absolute;
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,0.95);
  color:#131921;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.10);
}

.popupCupom__seal{
  width:92px;
  height:92px;
  margin:0 auto 14px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:40px;
  background:linear-gradient(180deg, #ffb84d 0%, #ff9900 100%);
  color:#131921;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.45),
    0 16px 28px rgba(255,153,0,.22);
}

.popupCupom__eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  color:#a15c00;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 4px 10px rgba(0,0,0,.04);
}

.popupCupom__body{
  padding:22px 24px 26px;
  text-align:center;
}

.popupCupom__step{
  display:none;
}

.popupCupom__step.is-active{
  display:block;
  animation:popupCupomFade .22s ease;
}

@keyframes popupCupomFade{
  from{
    opacity:0;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.popupCupom__title{
  margin:0 0 10px;
  font-size:clamp(26px, 5vw, 34px);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-0.03em;
  color:#131921;
}

.popupCupom__title strong{
  color:#ff9900;
}

.popupCupom__title--small{
  font-size:clamp(24px, 4.5vw, 30px);
}

.popupCupom__text{
  margin:0 auto 18px;
  max-width:360px;
  font-size:15px;
  line-height:1.55;
  color:#4b5563;
}

.popupCupom__benefits{
  display:grid;
  gap:10px;
  margin:0 0 20px;
  padding:0;
  list-style:none;
  text-align:left;
}

.popupCupom__benefits li{
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 14px;
  border-radius:16px;
  background:#f6f7f8;
  color:#232f3e;
  font-size:14px;
  font-weight:800;
  border:1px solid rgba(19,25,33,0.04);
}

.popupCupom__benefits li::before{
  content:"✓";
  width:22px;
  height:22px;
  flex:0 0 22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#ff9900;
  color:#ffffff;
  font-size:13px;
  font-weight:900;
  box-shadow:0 6px 12px rgba(255,153,0,0.22);
}

.popupCupom__form{
  display:grid;
  gap:10px;
  text-align:left;
}

.popupCupom__label{
  font-size:13px;
  font-weight:800;
  color:#374151;
}

.popupCupom__input{
  width:100%;
  min-height:56px;
  border:1.5px solid #d5d9d9;
  border-radius:16px;
  padding:0 16px;
  background:#ffffff;
  color:#111827;
  font-size:15px;
  font-weight:600;
  outline:none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.popupCupom__input:focus{
  border-color:#ff9900;
  box-shadow:0 0 0 4px rgba(255,153,0,0.14);
  background:#fffdf9;
}

.popupCupom__input.is-invalid{
  border-color:#dc2626;
  box-shadow:0 0 0 4px rgba(220,38,38,0.08);
}

.popupCupom__error{
  min-height:18px;
  margin:-2px 0 0;
  font-size:13px;
  font-weight:700;
  color:#dc2626;
}

.popupCupom__actions{
  display:grid;
  gap:10px;
  margin-top:6px;
}

.popupCupom__btn{
  width:100%;
  min-height:56px;
  border:0;
  border-radius:18px;
  padding:14px 18px;
  background:linear-gradient(180deg, #232f3e 0%, #131921 100%);
  color:#ffffff;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  letter-spacing:.02em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-shadow:0 14px 28px rgba(19,25,33,0.22);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease,
    filter .18s ease;
  cursor:pointer;
}

.popupCupom__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(19,25,33,0.28);
  filter:brightness(1.03);
}

.popupCupom__btn:active{
  transform:translateY(0);
}

.popupCupom__subbtn{
  width:100%;
  min-height:48px;
  border:1px solid #d5d9d9;
  border-radius:16px;
  background:#ffffff;
  color:#232f3e;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}

.popupCupom__footer{
  margin-top:12px;
  font-size:12px;
  line-height:1.5;
  color:#6b7280;
}

body.popupCupom-open,
html.popupCupom-open{
  overflow:hidden;
}

.popupCupom__gainToast{
  position:fixed;
  left:50%;
  bottom:110px;
  z-index:100001;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:14px 18px;
  border-radius:999px;
  background:linear-gradient(180deg, #ffb84d 0%, #ff9900 100%);
  color:#131921;
  font-size:15px;
  font-weight:900;
  box-shadow:0 18px 38px rgba(255,153,0,0.28);
  transform:translate(-50%, 20px) scale(.92);
  opacity:0;
  transition:
    transform .26s ease,
    opacity .26s ease;
  pointer-events:none;
}

.popupCupom__gainToast.is-visible{
  transform:translate(-50%, 0) scale(1);
  opacity:1;
}

.popupCupom__gainToastEmoji{
  font-size:18px;
  line-height:1;
}

.bottomBar.bottomBar--success{
  background:linear-gradient(180deg, #ffb84d 0%, #ff9900 100%);
  box-shadow:0 14px 30px rgba(255,153,0,0.26);
}

.bottomBar.bottomBar--success .bottomBar__title,
.bottomBar.bottomBar--success .bottomBar__icon{
  color:#131921;
}

@media (max-width:640px){
  .popupCupom{
    padding:16px;
    align-items:center;
    justify-content:center;
  }

  .popupCupom__dialog{
    width:100%;
    max-width:430px;
    border-radius:24px;
    margin:0 auto;
  }

  .popupCupom__top{
    padding:22px 18px 16px;
  }

  .popupCupom__body{
    padding:18px 18px 22px;
  }

  .popupCupom__seal{
    width:82px;
    height:82px;
    font-size:34px;
  }

  .popupCupom__text{
    font-size:14px;
  }

  .popupCupom__benefits li{
    font-size:13px;
    padding:11px 12px;
  }

  .popupCupom__gainToast{
    bottom:96px;
    font-size:14px;
    padding:13px 16px;
  }
}

.popupCupom__gainToast {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  color: #fff;
}

.bottomBar.bottomBar--success {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
}

.bottomBar.bottomBar--success .bottomBar__title,
.bottomBar.bottomBar--success .bottomBar__icon {
  color: #fff;
}

.popupCupom__form{
  display:grid;
  gap:6px;
  text-align:left;
}

.popupCupom__error{
  min-height:0;
  height:0;
  margin:0;
  font-size:13px;
  font-weight:700;
  color:#dc2626;
  overflow:hidden;
}

.popupCupom__error:not(:empty){
  height:auto;
  min-height:18px;
  margin:2px 0 0;
}

.popupCupom__actions{
  display:grid;
  gap:10px;
  margin-top:2px;
}