@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --darkGreen: #1F4143;
  --green: #3F989F;
  --white: #fff;
  --black: #000;
  --grey: #EAEFF5;
  --boxShadow: 0 0 20px 0 rgba(25, 63, 88, 0.30);
}

html,
body {
  margin: 0;
  padding: 0 !important;
  font-family: "Work Sans";
  font-weight: 400;
  color: var(--darkGreen);
  font-style: normal;
  font-size: 16px;
  line-height: 1.1;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
}

a:hover {
  color: #000000;
}

/* header */
.header {
  padding: 40px 0 60px;
}

.logo {
  max-width: 130px;
}

.header-content {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  height: auto;
}

.progressDiv {
  background-color: var(--grey);
  max-width: 300px;
  height: 60px;
  padding: 15px 25px;
  border-radius: 30px;
}

.progressDiv h4 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
}

.progress {
  height: 10px;
  background-color: var(--white);
}

.progress-bar {
  background-color: var(--green);
}

.header-content h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 30px;
}

.header-content h5 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
}

.header-container {
  margin-top: 40px;
  box-shadow: var(--boxShadow);
  padding: 45px 55px 50px;
  display: flex;
  border-radius: 30px;
}

/* form */
#contactform {
  width: 100%;
  margin: 0 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 99;
}

#contactform h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  color: var(--green);
}

#contactform h6 {
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  color: var(--green);
  margin: 5px 0 20px 0;
}

.form-step img {
  margin-right: 13px;
  max-width: 30px;
  max-height: 30px;
}

.form-step h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--darkGreen);
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 25px;
}

.form-step {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form-step.active {
  display: flex;
  width: 100%;
  align-items: baseline;
}

.radio-opt {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.radio-buton {
  width: 100%;
  margin: 8px 0;
}

.radio-buton input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-container {
  width: 100%;
}

.radio-buton label {
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  height: 50px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
  align-items: center;
  color: var(--darkGreen);
  font-size: 20px;
}

.radio-opt-normal .radio-buton label {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 0 10px;
}

.radio-buton label:hover,
.radio-buton input[type="radio"]:checked+label {
  background: #DAEEEF;
  border: 1px solid var(--darkGreen);
}

.radio-buton label:hover {
  transform: scale(1.05);
}

.form-input {
  margin: 5px 0;
}

.form-input label {
  text-align: left;
  margin: 0 0 5px 0;
  padding-left: 17px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  width: 280px;
  max-width: 100%;
}

.form-input input {
  width: 280px;
  max-width: 100%;
  height: 45px;
  border-radius: 50px;
  border: 2px solid var(--green);
  font-size: 16px;
  color: var(--green) !important;
  font-weight: 400 !important;
  padding: 0 15px;
  -webkit-appearance: none;
  text-align: left !important;
  line-height: 1;
  margin: 0 auto;
}

.form-input input:focus-visible {
  outline: none !important;
}

::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

:-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

::-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

::placeholder {
  color: #C1C1C1;
}

:focus-visible {
  outline: var(--darkGreen) auto 1px;
}

.input-container {
  width: 100%;
}

.input-container .form-input {
  width: 100%;
  min-height: 50px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.form-input input {
  border-radius: 20px;
  height: 50px;
  border: 1px solid #C1C1C1;
  width: 100%;
}

input[name="nome"] {
  background-image: url('/img/icons/nome.svg');
  background-position: 15px center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding: 0 0 0 45px;
}

input[name="email"] {
  background-image: url('/img/icons/email.svg');
  background-position: 15px center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding: 0 0 0 45px;
}

input[name="telefone"] {
  background-image: url('/img/icons/telefone.svg');
  background-position: 15px center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding: 0 0 0 45px;
}

.form-check {
  text-align: left;
  padding: 0;
  margin-top: 5px;
}

.form-check label {
  margin: 0;
  position: relative;
  padding-left: 18px;
  cursor: pointer;
  line-height: 1;
  color: var(--darkGreen);
  font-size: 14px;
  font-weight: 400;
}

.form-check input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  margin-bottom: 0;
}

.checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 12px;
  width: 12px;
  background-color: transparent;
  border: 1px solid var(--darkGreen);
  border-radius: 3px;
  padding-right: 5px;
  color: var(--darkGreen);
}

.form-check input[type=checkbox]:checked+.checkmark::after {
  content: "\2713";
  display: block;
  text-align: center;
  line-height: 12px;
  margin-left: 0px;
  margin-top: 0px;
  font-size: 14px;
}

#politica-link {
  position: relative;
  color: var(--darkGreen);
  z-index: 1000;
}

#politica-link:hover {
  color: var(--green);
  text-decoration: underline;
}

label.error,
#terms-error {
  width: 100%;
  font-size: 10px;
  color: red;
  font-weight: 400;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.form-button {
  width: 200px;
  max-width: 100%;
  height: 60px;
  border-radius: 50px;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  color: var(--white);
  background: var(--darkGreen);
  transition: all 0.4s ease;
  margin-top: 35px;
}

.prev.form-button {
  width: 150px;
  background-color: var(--white);
  color: var(--darkGreen);
  border: 1px solid var(--darkGreen);
}

.form-button:hover {
  transform: scale(1.05);
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: var(--boxShadow);
}

/* Vantagens */
section.advantages {
  padding-bottom: 90px;
}

.card {
  width: 290px;
  height: 290px;
  background-color: var(--green);
  padding: 35px 35px 25px 35px;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.card:hover {
  background-color: var(--darkGreen);
  box-shadow: var(--boxShadow);
  transform: scale(1.04);
}

.card-img {
  width: 70px;
  height: 70px;
  background-color: var(--white);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-txt {
  margin-top: auto;
  height: 90px;
}

.card-txt h1 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.card-txt p {
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0;
}

.card img {
  max-width: 40px;
  max-width: 40px;
}

/* Footer section */
.footer-container {
  background-color: var(--grey);
  border-radius: 40px;
  height: 230px;
  flex-wrap: nowrap;
}

.footer-container h1 {
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.footer-container .form-button {
  margin: 30px auto 0;
  display: block;
  z-index: 500;
}

.footer-container .form-button:hover {
  transform: scale(1.15);
  position: relative;
  background-color: var(--green);
}

.footer-container .align-content-center {
  z-index: 5;
}

.footer-container .img-right {
  position: relative;
  top: -50px;
}

.footer-container .img-left {
  display: flex;
  position: relative;
  z-index: 0;
}

.footer-container .img-left img {
  position: absolute;
  bottom: 0;
  z-index: 0;
  left: 0;
  left: -50%;
  width: 480px;
}

.card-slider::before {
  height: 100%;
  width: 75px;
  position: absolute;
  content: '';
  background: linear-gradient(90deg, #fff 0%, transparent 75%, transparent 100%);
  left: 0px;
  top: 0;
  z-index: 5;
}

.card-slider::after {
  height: 100%;
  width: 75px;
  position: absolute;
  content: '';
  background: linear-gradient(90deg, transparent 0%, transparent 25%, #ffffffd7 100%);
  right: 0px;
  top: 0;
}
/* TY page */
.message-box{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}
.message-box h3{
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}
.message-box p {
  font-size: 20px;
  margin-bottom: 0;
  font-weight: 500;
  text-align: center;
  text-wrap: balance;
}
/* Adstrategy */
#section-ads {
  text-align: center;
  padding: 30px 0;
}

/* Media Queries */
@media only screen and (max-width: 1200px) {
  .card {
    margin: auto;
  }

  .card-container {
    padding: 20px;
  }

  .footer-container .img-left img {
    width: 300px;
    left: -20%;
  }

  .footer-container h1 {
    font-size: 22px;
  }

  .form-button {
    width: 180px;
  }

  .prev.form-button {
    width: 130px;
  }

}

@media (max-width: 992px) {
  .form-button {
    width: 150px;
    font-size: 18px;
  }

  .prev.form-button {
    width: 100px;
    font-size: 18px;
  }

  .footer-container .img-right img {
    width: 270px;
  }

  .footer-container .img-left img {
    width: 270px;
    left: -30%;
  }
}

@media(max-width: 768px) {
  .footer-container .img-right img {
    display: none;
  }

  .footer-container .img-left img {
    width: 200px;
    left: -100%;
  }

  .footer-container .align-content-center h1 {
    text-wrap: balance;
  }

  .footer-container .align-content-center {
    width: 80%;
  }

  .header-content {
    text-align: center;
    margin-bottom: 30px;
    min-height: 200px;
  }

  .progressDiv {
    margin: auto;
    width: 100%;
  }

  .header-content h1 {
    text-wrap: balance;
    margin-bottom: 20px;
    font-size: 32px;
  }

  .header-content h5 {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .form-step.active {
    align-items: center;

  }

  .form-step.active h3 {
    text-align: center;
  }
}

@media (max-width:500px) {
  .header-content h1 {
    font-size: 28px;
  }

  .header-container,
  .footer-container {
    width: 95%;
    padding: 50px 30px;
    margin-top: 25px;
  }

  section.advantages {
    padding: 0 0 20px 0;
  }

  .header {
    padding: 25px 0 20px;
  }

  .footer-container {
    padding: 0;
  }

  .form-button {
    margin: 20px auto 0;
  }

  .footer-container .img-left img {
    width: 160px;
  }
}

@media (max-width: 375px) {

  .header-container,
  .footer-container {
    width: 100%;
  }

  .card {
    width: 100%;
    height: 250px;
  }

  .radio-buton label {
    font-size: 16px;
  }
}