:root{
  --verde: #00db00;
  --verde-escuro: #0b1f13;
  --verde-faixa: #002d01;
  --verde-fundo: #00240b;
  --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(--verde-escuro);
  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(--verde-fundo) url('../img/bg.jpg') center top / 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: 107px;
}

.hero__inner{
  position: relative;
  width: 539px;
  margin: 0 auto;
}

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

.selo{
  position: absolute;
  top: -144px;
  left: 624px;
  width: 297px;
  transform-origin: 50% 0;
  animation: balancar 4s ease-in-out infinite;
}

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

.chamada__titulo{
  margin-top: 83px;
  font-size: 26.3px;
  font-weight: 700;
  line-height: 31px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.chamada__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 299px;
  height: 38px;
  margin-top: 77px;
  padding-left: .38em;
  border-radius: 19px;
  background: var(--verde);
  font-size: 17.4px;
  font-weight: 700;
  letter-spacing: .38em;
  text-transform: uppercase;
}

.chamada__data{
  margin-top: 20px;
  font-size: 36.4px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.chamada__texto{
  margin-top: 33px;
  font-size: 15.8px;
  font-weight: 500;
  line-height: 23.7px;
}

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

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

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

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

.card__form{
  position: relative;
  flex: 0 0 554px;
  min-height: 612px;
  padding: 91px 58px 0 44px;
  background: var(--verde);
  border-radius: 0 40px 40px 0;
  overflow: hidden;
  color: var(--verde-escuro);
}

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

.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: 31px;
}

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

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

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

.form__campo.erro input{
  box-shadow: inset 0 0 0 2px #d10000;
}

.form__botao{
  display: block;
  width: 304px;
  height: 47px;
  margin: 30px auto 0;
  border: 0;
  border-radius: 24px;
  background: var(--verde-escuro);
  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: #000;
  transform: translateY(-2px);
}

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

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

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

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

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

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

.form__aceite.erro .form__check{
  box-shadow: 0 0 0 2px #d10000;
}

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

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

.form__msg.erro-msg{
  color: #8a0000;
}

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

.rodape{
  text-align: center;
  padding-top: 205px;
}

.rodape__logo{
  width: 368px;
  margin: 0 auto;
}

.faixa{
  margin-top: 67px;
  padding-top: 35px;
  padding-bottom: 14px;
  background: linear-gradient(var(--verde-fundo) 35px, var(--verde-faixa) 35px, var(--verde-faixa) calc(100% - 14px), var(--verde-escuro) calc(100% - 14px));
  overflow: hidden;
}

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

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

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

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

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

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

@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: 1100px){
  .selo{
    left: auto;
    right: -250px;
    width: 220px;
    top: -120px;
  }
}

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

  .faixa-topo{
    width: 260px;
  }

  .hero{
    padding-top: 90px;
  }

  .hero__inner{
    width: 340px;
    max-width: calc(100% - 32px);
  }

  .hero__logo img{
    width: 100%;
  }

  .selo{
    right: -30px;
    top: -100px;
    width: 96px;
  }

  .hero__inner{
    padding-top: 20px;
  }

  .chamada__titulo{
    margin-top: 110px;
    font-size: 18px;
    line-height: 23px;
  }

  .chamada__pill{
    width: 230px;
    height: 32px;
    margin-top: 40px;
    font-size: 13px;
  }

  .chamada__data{
    font-size: 26px;
  }

  .chamada__texto{
    font-size: 13px;
    line-height: 20px;
  }

  .chamada__texto br,
  .chamada__titulo br{
    display: none;
  }

  .cadastro{
    margin-top: 80px;
  }

  .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: 70px 24px 56px;
    border-radius: 0 0 28px 28px;
  }

  .card__faixa{
    width: 220px;
  }

  .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: 304px;
    font-size: 16px;
  }

  .form__aceite{
    margin-left: 0;
  }

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

  .rodape{
    padding-top: 90px;
  }

  .rodape__logo{
    width: 240px;
  }

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

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

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

@media (prefers-reduced-motion: reduce){
  .selo,
  .faixa__trilho,
  .hero__logo img{
    animation: none;
  }
}
