/* Variables */
:root {
  --color-blue: #1C364D;
  --color-title: #007493;
  --color-green: #379726;
}

body {
  font-family: 'Helvetica', 'Aria', sans-serif;
}

.header {
  display: flex;
  align-items: center; 
  margin: 0 auto;
  background-color: var(--color-green);
  height: 5.125rem; 
}

.header .nav-button {
  background: transparent; 
  border: 0;
  outline: 0; 
  color: white; 
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

.header .nav-button::before { 
  content: '';
  display: inline-block;
  height: 2px;
  width: 17px;
  background-color: white;
  box-shadow: 0 6px white, 0 -6px white; 
}

.pages-header { 
  background: linear-gradient(110deg, rgba(28,54,77,1) 40%, rgba(232,241,243,1) 40%);
  padding: 100px 0; 
  position: relative;
}

.pages-header::before {
  content: '';
  width: 353px;
  height: 326px;
  background: url('../img/bg-header.png');
  position: absolute;
  bottom: 0;
} 

.pages-header .title {
  color: var(--color-blue);
  font-size: 2.5rem;
  padding-left: 4rem;
}

.pages-header .subtitle {
  color: var(--color-green);
  font-size: 1.5rem;
  padding-left: 4rem;
  margin: 20px 0;
}

.pages-header .text {
  color: var(--color-blue);
  font-size: 1rem;
  margin-bottom: 0;
  padding-left: 4rem;
}

.about { 
  /* background: linear-gradient(90deg, rgba(255,255,255,1) 43%, transparent 43%),
  linear-gradient(180deg, rgba(232,241,243,1) 10%, rgba(255, 255, 255, 1) 30%); */
  padding: 60px 0;
}

.about .title {
  font-size: 2.125rem;
  color: var(--color-title);
  margin: 0 0 20px;
}

.about .text {
  font-size: 1rem;
  color: var(--color-blue);
}

.about .text span {
  color: #00BCFF; 
}
 
.about .box-form {
  background: white;
  max-width: 80%;
  display: block;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  border: 1px solid #E4E5ED;
  position: relative;
  min-height: 543px;
}

.about .box-form .error {
  color: red;
  margin: 0;
}

.about .box-form .step {
  display: none; 
}

.about .box-form .step.active {
  display: block;
  opacity: 1;
  animation: fadein .5s;
}

@keyframes fadein {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.about .box-form .title {
  color: var(--color-blue);
  font-size: 1.5rem;
}

.about .box-form label {
  display: block;
  color: var(--color-blue);
  font-size: 0.875rem;  
  margin: 15px 0 0;
  padding: 0;
}

.about .box-form input,
.about .box-form select {
  border: 1px solid #7A457F;
  width: 100%;
  margin: 5px 0 0 0;
  padding: 0.3rem;
}

.about .box-form input:focus,
.about .box-form select:focus {
  border-radius: none;
  outline: none;
}

.about .box-form select {
  height: 35px;
}

.about .box-form .next-step {
  background: linear-gradient(110deg, rgba(16,56,79,1) 67%, rgba(13,51,74,1) 67%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  color: white;
  font-size: 1rem;
  width: 136px;
  height: 42px;
  position: absolute;
  bottom: 20px;
  right: 48px;
}

.about .box-form .next-step img {
  margin-left: 30px;
}

.about .box-form .next-step:disabled {
  opacity: 0.5;
}

.about .box-form .finish-step { 
  background: linear-gradient(110deg, rgba(55,151,38,1) 67%, rgba(39,121,24,1) 67%);
  border: none; 
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  color: white;
  font-size: 1rem;
  width: 136px;
  height: 42px;
  position: absolute;
  right: 48px;
}

.about .box-form .finish-step img {
  margin-left: 30px;
}

.about .box-form .finish-step:disabled {
  opacity: 0.5;
}

.about .box-form .steps ul {
  padding: 0;
  margin: 10px 0 0 0;
}

.about .box-form .steps li {
  list-style: none;
  margin: 0 5px 0 0;
}

.about .box-form .steps .step-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #D6D6D6;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #D6D6D6;
}

.about .box-form .steps .step-bullet.active {
  border: 3px solid var(--color-green);
  background-color: var(--color-green);
  background-image: url('../img/check-btn.png');
  background-repeat: no-repeat;
  background-position: 4px;
  color: transparent !important;
}

.about .box-form .steps .step-progress {
  width: 46px;
  height: 2px;
  background-color: #D6D6D6;
  display: block;
  position: relative;
}

.about .box-form .steps .step-progress.active::before {  
  content: '';
  width: 46px;
  height: 2px;
  background-color: var(--color-green);
  position: absolute;
  left: 0;
} 


[data-step="2"] .text {
  margin: 1.5rem 0 0;
}

.about .box-form .indicar {
  display: none;
}

.about .box-form .corretora {
  display: none;
}

.radio input {
  display: none;
} 

.radio label {
  display: inline-block;
  padding: 5px 10px;
  cursor: pointer;
}
 

.radio label span {
  position: relative;
  line-height: 22px;
}
 
.radio label span:before,
.radio label span:after {
  content: '';
} 

.radio label span:before {
  border: 1px solid #7A457F;
  width: 21px;
  height: 21px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: top;
}

.radio label span:after {
  content: '';
  background: url('../img/check.png');  
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 5px;
  left: 7px;
  transition: 300ms;
  opacity: 0;
}

.radio label input:checked+span:after {
  opacity: 1;
}

.benefits {
  background-color: var(--color-blue);  
  padding: 2.7rem 0;
  display: flex;
  align-items: center;
}

.benefits .title {
  text-align: center;
  color: white;
  font-size: 1.5rem;
}

.benefits .title a {
  color: #89D329;
  font-weight: bold;
  text-decoration: underline;
}


/* Responsive mobile */
@media (max-width: 768px) {
  .pages-header { 
    background: #E8F1F3;
    padding: 50px 0; 
  }

  .pages-header .title {
    font-size: 1.5rem;
  }

  .pages-header .subtitle {
    font-size: 1.2rem;
  }

  .pages-header::before {
    background-image: none;
  }

  .pages-header .text,
  .pages-header .title,
  .pages-header .subtitle {
    padding-left: 15px;
  }

  .pages-header .title {
    margin-top: 20px;
  }

  .about {
    background: white;
  }

  .about .title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .about .mobile-space {
    padding-top: 40px;
  }

  .about .box-form {
    max-width: 100%;
    padding: 2rem 1.5rem 4rem;
  }

  .about .box-form .next-step { 
    right: inherit;
    bottom: 10px;
  }

  .about .box-form .title {
    font-size: 1.2rem;
  }

  .benefits .title {
    font-size: 1.2rem;
  }

}

/* Responsive tablet */
@media (min-width: 769px) and (max-width: 1180px) {

  .pages-header {
    background: linear-gradient(180deg, rgba(28,54,77,1) 35%, rgba(232,241,243,1) 20%) !important;
  }

  .pages-header .title,
  .pages-header .subtitle,
  .pages-header .text {
    padding-left: 0;
  }

  .pages-header img {
    margin: 0 0 20px -10px;
  }

  .box-form {
    max-width: 100% !important;
  }
  .about {
    background: white !important;
  }
  .about .mobile-space {
    padding-top: 40px !important;
  }
  .about .box-form {
    max-width: 100%;
    padding: 2rem 1.5rem 4rem;
  }
  .about .box-form .next-step {
    right: inherit;
    bottom: 10px;
  }
}


/* 
@media (min-width: 1350px) {
  .about {
    background: linear-gradient(90deg, rgba(255,255,255,1) 45%, transparent 45%), linear-gradient(180deg, rgba(232,241,243,1) 10%, rgba(255, 255, 255, 1) 30%);
  }
} */
