@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --white: #fff;
  --black: #000;
  --gradient: linear-gradient(0deg, var(--lightgrey) 0%, var(--white) 100%);;
  --gradient2: linear-gradient(102deg, var(--lightblue) 0.63%, var(--blue) 49.5%, var(--red) 98.38%);
  --backgradient: linear-gradient(0deg, var(--blue) 14%, rgba(255, 255, 255, 0.0) 10%);
  --lightgrey: #F4F4F4;
  --mediumgrey: #A2A2A2;
  --grey: #747474;
  --lightblue: #295ec1;
  --blue: #1d458e;
  --red: #E30613;
  --orange: #E30613;
}

html, body{
  margin: 0;
  padding: 0 !important;
  font-family: "Raleway", serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  overflow-x: hidden !important;
}
a:hover {
  color: #000000;
}     
.message-title img {
  width: 16px;
  cursor: pointer;
}
.message-title {
  position: relative;
}
.tooltip-title {
   width: 410px;
    font-size: 12px;
    text-align: left;
    font-weight: 500;
    color: var(--black);
    background: #e1e1e1;
    padding: 10px 20px;
    border-radius: 10px;
    bottom: -5px;
    right: 35px;
    position: absolute;
    visibility: hidden;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}
 .tooltip-2{
  width: 490px;   
 }
.message-title img:hover + .tooltip-title {
  visibility: visible;
  opacity: 1;
}
.progress-img {
  margin: 20px auto;
}
.progress-img img {
  max-width: 100%;
}
.form-input, .form-input-slider {
  margin-bottom: 20px;
}
.form-input .dropdown-toggle, .form-input input {
  background: var(--white);
  color: var(--mediumgrey);
  width: 100%;
  height: 50px;
  padding: 0 15px;
  font-size: 14px;
  border: 2px solid var(--blue);
  border-radius: 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-input input {
  color: var(--black);
}
.form-input input:focus-visible {
  outline: none;
}
::-webkit-input-placeholder {
  color: var(--mediumgrey);
}
:-moz-placeholder {
  color: var(--mediumgrey);
  opacity: 1;
}
::-moz-placeholder {
  color: var(--mediumgrey);
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--mediumgrey);
}
::-ms-input-placeholder {
  color: var(--mediumgrey);
}
::placeholder {
  color: var(--mediumgrey);
}
.dropdown-toggle::after {
  display:  none;
}
.form-input .dropdown-toggle:active, .form-input .dropdown-toggle:focus-visible, .form-input .dropdown-toggle:focus {
  box-shadow: none;
  background: var(--white);
  color: var(--mediumgrey);
}
.form-input .dropdown-menu {
  width: 100%;
  overflow-y: auto;
  max-height: 200px;
  cursor: pointer;
}
.form-option:hover {
  background: var(--blue);
  color: var(--white);
} 
body{
  min-height: 100vh;
}
#section-ads{
  display: none;
}
#section-ads a{
  padding: 10px 0;
  text-align: center;
}
/* Nav */
#nav{
  box-shadow: -10px 8px 16px 0px #0000004e;
  position: relative;
  --gradient-height: 0;
}
#nav::before{
  display: none;
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--gradient-height);
  height: 5px;
  background: linear-gradient(90deg, #1d458e, #295ec1 49%, #1d458e 100%);
  transition: width 0.3s ease-in-out;
} 
/* Main part */
#contactform{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  min-width: 600px;
}
.form-input .dropdown-toggle,
.form-input input {
  background: var(--white);
  color: #000;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  font-size: 14px;
  border: 2px solid var(--blue);
  border-radius: 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3 ease;
}
.tipoContrato .radio-group label, .tempoContrato .radio-group label{
    font-size: 14px;
}
fieldset{
  display: none;
}
fieldset.active{
  display: flex;
  flex-direction: column; 
  width: 100%;
  max-width: 700px;
  margin-left: 15%;
  margin-right: auto;
}
fieldset h2, fieldset h1, fieldset h3{
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 20px;
} 
fieldset h3{ 
  font-size: 20px; 
} 

fieldset h1{ 
  font-size: 30px; 
} 
.resume_step{
  margin-top: 15px;
}
.resume_step p{
  margin: 0;
  font-size: 13px;
  font-family: 'Poppins';
}
.resume_step img{
  width: 25px;
  height: 25px;
  margin-right: 10px;
}
.resume_step h6{
  color: var(--blue);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0;
}
.radio-group{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.radio-group label{
  display: flex;
  max-width: 330px;
  justify-content: center;
  align-items: center;
  height: 50px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  border: 2px solid var(--blue);
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}
.radio-group label:hover{
  background-color: var(--blue);
  color: var(--white);
}
.radio-group input[type="radio"]:checked + label{
  background-color: var(--blue);
  box-shadow: 5px 5px 4px 0px var(--lightblue);
  color: var(--white);
}
.dropdown-toggle::after {
  display: none;
} 
.form-input .dropdown-toggle:active,
.form-input .dropdown-toggle:focus-visible,
.form-input .dropdown-toggle:focus {
  box-shadow: none;
  background: var(--white);
  color: var(--mediumgrey);
}
.money{
  font-family: 'Poppins';
  font-size: 18px;
}
.form-input .dropdown-menu {
  width: 100%;
  overflow-y: auto;
  max-height: 200px;
  cursor: pointer;
}
.form-button {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  width: 230px;
  height: 60px;
  border-radius: 20px;
  background: var(--blue);
  border: none;
  margin-top: 60px;
  transition: all 0.4s ease;
}

.form-button:hover {
  background: var(--red);
  color: var(--white);
  transform: scale(1.1);
}
.message-title img {
  width: 16px;
  cursor: pointer;
}

.message-title {
  position: relative;
}
 

.message-title img:hover~.tooltip-title {
  visibility: visible;
  opacity: 1;
}
/*Term animation */
.termContainer {
  width: 100%;
  font-size: 12px;
  color: #1E1E1E;
  margin-top: 20px;
  cursor: pointer;
}

.termContainer a {
  color: #1E1E1E;
  font-weight: 700;
}

.termContainer input {
  display: none;
}

.termContainer a:hover {
  color: var(--red) !important;
}

.termContainer svg {
  overflow: visible;
  max-height: 15px;
  max-width: 15px;
  margin-right: 5px;
  margin-top: 1px;
  vertical-align: baseline;
  translate: 0 2px;
}

.path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
  stroke-dasharray: 241 9999999;
  stroke-dashoffset: 0;
}

.termContainer input:checked~svg .path {
  stroke-dasharray: 70.5096664428711 9999999;
  stroke-dashoffset: -262.2723388671875;
}
input.error{
  border: 0;
  background-color: #FDEBEC;
  box-shadow: 0px 4px 0px 0px var(--red);
}
input.valid-input{
  border: 0px;
  background: #EFFBFC;
  box-shadow: 0px 4px 0px 0px #37CDD7;
}
.error,
#term-error {
    width: 100%;
  font-size: 12px;
  font-weight: 300;
  color: var(--red);
  margin-top: 10px;
}
/* Resume */
#resume{
  background: #F4F4F4;
  min-height: 100vh;
  padding: 30px 40px;
  position: relative;
  --gradient-height: 5%;
}
#resume::before{
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 10px;
  height: var(--gradient-height);
  background: linear-gradient(180deg, #1d458e, #295ec1 49%, #1d458e 100%);
  transition: height 0.3s ease-in-out; 
}
.TCH, .CPC, .CNC, 
.tipoContrato,
.tipoContrato2,
.tempoContrato,
.tempoContrato2,
.tipoRenda,
.titular2{
    display: none;
}
#resume_content{
    height: 80vh;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
}
.resume_step{
    height: auto;
}
#resume h1{
    font-size: 25px;
    position: relative;
    z-index: 2;
    font-weight: 700;
    margin-bottom: 30px;
} 
/* Thank you page */
.simulation {
  min-height: 120vh;
  background: url('/typeform/img/resumo.png');
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.content-blur {
  filter: blur(10px);
}

.modal-message {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.message-content {
  margin: 0 auto;
  padding: 20px;
  background: var(--white);
  width: 670px;
  height: 370px;
  text-align: center;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.message-content h3 {
  color: var(--blue);
  font-size: 40px;
  font-weight: 700;
}

.message-content p {
  color: var(--black);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.1;
  max-width: 80%;
  margin: 30px auto 0px auto;
}
.final-input label.error{
    margin-top: -15px;
    display: block;
}
.final-input label#trems-error{
    margin-top: 0;
}
@media (max-width: 1300px){
    .radio-group label{
        width: 45%;
    }
    fieldset.active{
        margin-left: auto;
    }
    .formContainer{
        padding: 20px;
    }
} 
@media (max-width: 992px){
  #nav .row{
    justify-content: center;
  }
  #nav::before{
    display: block;
  }
  #nav img{
    max-width: 200px;
  } 
  #contactform{
    margin-top: 25px;
    min-width: 100%;
    min-height: 65vh;
  }
  .radio-group label{
    width: 48%;
  }
  .message-content p {
    max-width: 90%;
  }

  .simulation {
    min-height: 90vh;
  }
}
@media (max-width: 550px){
    .message-title{
        font-size: 28px;
    }
    .radio-group label{
        font-size: 15px;
    }
    
    .tooltip-title{
        bottom: -45px;
        right: -25px;
    }
    .tooltip-2{ 
    bottom: -60px;
     right: 0px;
    }
    
      .tooltip-title, .tooltip-2{
          width: 100%;
        right: 0px;
      }
}
@media (max-width: 500px){
  .message-title{
    text-align: center;
    font-size: 22px;
    max-width: 360px;
    margin: 20px auto 15px;
  }
  .final-input label.error{
      margin-top: 5px;
  }
  .form-button{
      margin: 30px auto 0;
      display: block;
  }
  .radio-group label, .form-input .dropdown-toggle,
  .form-input input {
      width: 100%;
      max-width: 300px; 
      font-size: 16px;
      margin: auto;
    }
    fieldset h2{
        max-width: 370px;
    }
      .error,
    #term-error{
        
      margin: 10px auto 0;
    }
    fieldset h2, .termContainer, .form-input h6, .error,
    #term-error{
      text-align: center;
    } 
}
@media (max-width: 425px){
  .message-title{
    font-size: 22px;
    max-width: 400px;
  }
    .message-content {
      padding: 40px 20px;
      margin-left: 15px;
      margin-right: 15px;
      height: 250px;
    }
  
    .message-content h3 {
      font-size: 24px;
    }  
    .message-content p {
      font-size: 14px;
      max-width: 100%;
      margin: 20px auto 0 auto;
    }
  fieldset h2.mb-3{
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}