:root{
  --coral: #ff4b40;
  --roxo: #1d023c;
  --roxo-faixa: #3b1c56;
  --branco: #ffffff;
  --fonte: 'termina', sans-serif;
}

*, *::before, *::after{
  box-sizing: border-box;
}

html, body{
  margin: 0;
  padding: 0;
}

body{
  font-family: var(--fonte);
  color: var(--branco);
  background: var(--roxo);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p{
  margin: 0;
}

.page{
  position: relative;
  overflow: hidden;
  background: var(--roxo) url('../img/bg.jpg') center -90px / 1920px auto no-repeat;
}

.faixa-topo{
  position: absolute;
  top: 0;
  left: 0;
  width: 453px;
  z-index: 2;
  pointer-events: none;
}

.hero{
  position: relative;
  padding-top: 100px;
}

.hero__inner{
  position: relative;
  width: 640px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.hero__logo img{
  width: 100%;
  animation: surgir 1s ease-out both;
}

.selo{
  position: absolute;
  top: -100px;
  left: 668px;
  width: 300px;
  font-size: 10px;
  transform-origin: 50% 0;
  animation: balancar 4s ease-in-out infinite;
}

.selo img{
  width: 100%;
}

.selo span{
  position: absolute;
  left: 0;
  width: 95.4%;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
  color: var(--branco);
}

.selo .selo__ate{
  top: 7.15em;
  font-size: 2.81em;
}

.selo .selo__valor{
  top: 4.12em;
  font-size: 5.84em;
}

.selo .selo__off{
  top: 8.77em;
  font-size: 3.51em;
}

.chamada{
  text-align: center;
  padding: 0 16px;
}

.chamada__titulo{
  margin-top: 92px;
  font-size: 25.3px;
  font-weight: 700;
  line-height: 38px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(22, 11, 46, .68), 0 0 12px rgba(22, 11, 46, .5);
}

.chamada__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 299px;
  max-width: 100%;
  height: 38px;
  margin-top: 22px;
  padding-left: .38em;
  border: 2px solid #ff6f66;
  border-radius: 11px;
  background: var(--coral);
  font-size: 17.4px;
  font-weight: 700;
  letter-spacing: .38em;
  text-transform: uppercase;
}

.chamada__data{
  margin-top: 24px;
  font-size: 37.3px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.chamada__texto{
  margin-top: 96px;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  text-shadow: 0 0 30px rgba(22, 11, 46, .68), 0 0 12px rgba(22, 11, 46, .5);
}

.chamada__parques{
  margin-top: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 30px;
  color: var(--coral);
  text-shadow: 0 0 30px rgba(22, 11, 46, .65), 0 0 12px rgba(22, 11, 46, .5);
}

.chamada__local{
  width: 180px;
  margin: 16px auto 0;
}

.cadastro{
  padding: 0 16px;
  margin-top: 46px;
}

.card{
  display: flex;
  align-items: flex-start;
  width: 1171px;
  max-width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35));
}

.card__foto{
  flex: 0 0 620px;
  height: 609px;
  overflow: hidden;
  border-radius: 40px 0 0 40px;
}

.card__foto img{
  width: 630px;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.card__form{
  position: relative;
  flex: 0 0 551px;
  min-height: 609px;
  padding: 89px 59px 0 44px;
  background: var(--coral);
  border-radius: 0 40px 40px 0;
  overflow: hidden;
  color: var(--roxo);
}

.card__faixa{
  position: absolute;
  top: 0;
  right: 0;
  width: 192px;
}

.form__titulo{
  font-size: 20.8px;
  font-weight: 600;
  line-height: 25px;
}

.form__campo{
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.form__titulo + .form__campo{
  margin-top: 30px;
}

.form__campo:nth-of-type(3){
  margin-top: 21px;
}

.form__campo label{
  margin-bottom: 12px;
  font-size: 17.2px;
  font-weight: 400;
  line-height: 17px;
}

.form__titulo + .form__campo label{
  margin-bottom: 16px;
}

.form__campo input{
  width: 100%;
  height: 43px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--branco);
  font-family: var(--fonte);
  font-size: 16px;
  color: var(--roxo);
  outline: none;
  transition: box-shadow .2s;
}

.form__campo input:focus{
  box-shadow: inset 0 0 0 2px var(--roxo);
}

.form__campo.erro input{
  background: #ffe3e0;
  box-shadow: inset 0 0 0 3px #8a0014;
}

.form__botao{
  display: block;
  width: 301px;
  height: 44px;
  margin: 33px auto 0;
  border: 0;
  border-radius: 22px;
  background: var(--roxo);
  font-family: var(--fonte);
  font-size: 17.9px;
  font-weight: 400;
  color: var(--branco);
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.form__botao:hover{
  background: #0d001d;
  transform: translateY(-2px);
}

.form__botao:disabled{
  opacity: .7;
  cursor: wait;
}

.form__aceite{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 36px;
  margin-left: 15px;
  cursor: pointer;
}

.form__aceite input{
  position: absolute;
  opacity: 0;
  width: 16px;
  height: 16px;
  margin: 0;
}

.form__check{
  position: relative;
  flex: 0 0 16px;
  height: 16px;
  background: var(--branco);
}

.form__aceite input:checked + .form__check::after{
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--roxo);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.form__aceite input:focus-visible + .form__check{
  outline: 2px solid var(--roxo);
  outline-offset: 2px;
}

.form__aceite.erro .form__check{
  box-shadow: 0 0 0 3px #8a0014;
}

.form__aceite-texto{
  font-size: 12.7px;
  line-height: 14px;
}

.form__isca{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__msg{
  position: absolute;
  left: 44px;
  right: 59px;
  bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.rodape{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px 74px;
  padding: 120px 16px 0;
}

.faixa{
  margin-top: 56px;
  padding-bottom: 16px;
  background: linear-gradient(var(--roxo-faixa) calc(100% - 16px), var(--roxo) calc(100% - 16px));
  overflow: hidden;
}

.faixa__trilho{
  display: flex;
  width: max-content;
  height: 22px;
  align-items: center;
  animation: rolar 40s linear infinite;
}

.faixa__trilho span{
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--coral);
  text-transform: uppercase;
  white-space: nowrap;
}

.faixa__trilho span::after{
  content: '';
  width: 5px;
  height: 5px;
  margin: 0 20px;
  border-radius: 50%;
  background: var(--coral);
}

@keyframes rolar{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@keyframes surgir{
  from{ opacity: 0; transform: translateY(-20px); }
  to{ opacity: 1; transform: translateY(0); }
}

@keyframes balancar{
  0%, 100%{ transform: rotate(-3deg); }
  50%{ transform: rotate(3deg); }
}

body.modal-aberto{
  overflow: hidden;
}

.modal{
  width: min(520px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: transparent;
  color: var(--branco);
  overflow: visible;
}

.modal::backdrop{
  background: rgba(12, 1, 26, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal[open]{
  animation: modal-entrar .4s cubic-bezier(.2, .9, .3, 1.1);
}

.modal[open]::backdrop{
  animation: fundo-entrar .35s ease;
}

.modal.fechando{
  animation: modal-sair .22s ease forwards;
}

.modal.fechando::backdrop{
  animation: fundo-sair .22s ease forwards;
}

.modal__caixa{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 44px 40px;
  border-radius: 32px;
  border: 1px solid rgba(255, 75, 64, .3);
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(255, 75, 64, .24), transparent 70%),
    var(--roxo);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  text-align: center;
  overflow: hidden;
}

.modal__fechar{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .3s;
}

.modal__fechar::before,
.modal__fechar::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--branco);
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__fechar::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__fechar:hover{
  background: var(--coral);
  border-color: var(--coral);
  transform: rotate(90deg);
}

.modal__icone{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--branco);
  box-shadow: 0 0 0 10px rgba(255, 75, 64, .16), 0 14px 40px rgba(255, 75, 64, .4);
}

.modal__icone::after{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--coral);
  opacity: 0;
}

.modal[open] .modal__icone{
  animation: icone-entrar .5s cubic-bezier(.2, .9, .3, 1.4) .1s both;
}

.modal[open] .modal__icone::after{
  animation: icone-onda 1.8s ease-out .5s infinite;
}

.modal__icone path{
  stroke-dasharray: 40;
  stroke-dashoffset: 0;
}

.modal[open] .modal__icone path{
  animation: icone-check .45s ease-out .45s both;
}

.modal__selo{
  display: inline-flex;
  align-items: center;
  height: 28px;
  margin-top: 34px;
  padding: 0 16px 0 calc(16px + .3em);
  border-radius: 14px;
  background: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--branco);
}

.modal__titulo{
  margin-top: 18px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.modal__texto{
  max-width: 380px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}

.modal__data{
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 26px;
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 75, 64, .4);
  background: rgba(255, 75, 64, .1);
}

.modal__data span{
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--coral);
}

.modal__data strong{
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.modal__ok{
  width: 240px;
  max-width: 100%;
  height: 47px;
  margin-top: 28px;
  border: 0;
  border-radius: 24px;
  background: var(--coral);
  font-family: var(--fonte);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--branco);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.modal__ok:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 75, 64, .35);
}

.modal__fechar:focus-visible,
.modal__ok:focus-visible{
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

@keyframes modal-entrar{
  from{ opacity: 0; transform: translateY(30px) scale(.95); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes modal-sair{
  to{ opacity: 0; transform: translateY(20px) scale(.98); }
}

@keyframes fundo-entrar{
  from{ opacity: 0; }
}

@keyframes fundo-sair{
  to{ opacity: 0; }
}

@keyframes icone-entrar{
  from{ opacity: 0; transform: scale(.4); }
  to{ opacity: 1; transform: scale(1); }
}

@keyframes icone-check{
  from{ stroke-dashoffset: 40; }
  to{ stroke-dashoffset: 0; }
}

@keyframes icone-onda{
  from{ opacity: .8; transform: scale(1); }
  to{ opacity: 0; transform: scale(1.7); }
}

@media (max-width: 560px){
  .modal,
  .modal__caixa{
    border-radius: 26px;
  }

  .modal__caixa{
    padding: 46px 22px 28px;
  }

  .modal__icone{
    width: 78px;
    height: 78px;
  }

  .modal__icone svg{
    width: 40px;
    height: 40px;
  }

  .modal__titulo{
    font-size: 20px;
  }

  .modal__texto{
    font-size: 13px;
  }

  .modal__data strong{
    font-size: 18px;
  }

  .modal__ok{
    width: 100%;
  }
}

@media (min-width: 1921px){
  .page{
    background-size: 100% auto;
  }
}

@media (max-width: 1240px){
  .card{
    width: 100%;
  }

  .card__foto{
    flex: 1 1 auto;
  }

  .card__foto img{
    width: 100%;
  }
}

@media (max-width: 1320px){
  .selo{
    left: auto;
    right: -210px;
    width: 220px;
    font-size: 7.33px;
  }
}

@media (max-width: 1100px){
  .selo{
    right: -150px;
    width: 180px;
    font-size: 6px;
  }
}

@media (max-width: 900px){
  .page{
    background-size: 1500px auto;
  }

  .selo{
    top: -90px;
    right: -10px;
    width: 96px;
    font-size: 3.2px;
  }

  .faixa-topo{
    width: 230px;
  }

  .hero{
    padding-top: 90px;
  }

  .hero__inner{
    width: 380px;
  }

  .chamada__titulo{
    margin-top: 70px;
    font-size: 18px;
    line-height: 25px;
  }

  .chamada__pill{
    width: 230px;
    height: 32px;
    margin-top: 20px;
    border-radius: 9px;
    font-size: 13px;
  }

  .chamada__data{
    margin-top: 20px;
    font-size: 26px;
  }

  .chamada__texto{
    margin-top: 50px;
    font-size: 14px;
    line-height: 21px;
  }

  .chamada__parques{
    margin-top: 16px;
    font-size: 15px;
    line-height: 24px;
  }

  .chamada__titulo br{
    display: none;
  }

  .chamada__local{
    width: 160px;
  }

  .cadastro{
    margin-top: 50px;
  }

  .card{
    flex-direction: column;
    max-width: 560px;
  }

  .card__foto{
    flex: none;
    width: 100%;
    height: 260px;
    border-radius: 28px 28px 0 0;
  }

  .card__foto img{
    width: 100%;
    object-position: center;
  }

  .card__form{
    flex: none;
    width: 100%;
    min-height: 0;
    padding: 80px 24px 56px;
    border-radius: 0 0 28px 28px;
  }

  .card__faixa{
    width: 150px;
  }

  .form__titulo{
    font-size: 17px;
    line-height: 22px;
  }

  .form__titulo br{
    display: none;
  }

  .form__campo label{
    font-size: 15px;
  }

  .form__botao{
    width: 100%;
    max-width: 301px;
    font-size: 16px;
  }

  .form__aceite{
    margin-left: 0;
  }

  .form__msg{
    left: 24px;
    right: 24px;
    bottom: 18px;
  }

  .rodape{
    gap: 28px 40px;
    padding-top: 70px;
  }

  .rodape__logo{
    width: auto;
    height: 60px;
  }

  .faixa{
    margin-top: 50px;
  }
}

@media (max-width: 420px){
  .chamada__titulo{
    font-size: 16px;
  }

  .rodape{
    gap: 26px 32px;
  }

  .rodape__logo{
    height: 52px;
  }

  .form__aceite-texto br{
    display: none;
  }
}

@media (prefers-reduced-motion: reduce){
  .selo,
  .faixa__trilho,
  .hero__logo img,
  .modal[open],
  .modal[open]::backdrop,
  .modal[open] .modal__icone,
  .modal[open] .modal__icone::after,
  .modal[open] .modal__icone path{
    animation: none;
  }
}
