@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;  
}

body {
  background: #f8f7f7;
}

.titulo h2 {
  max-width: 140px;
  font-size: 24px;
  color: #484848;
  text-align: center; 
  margin-top: 30px; 
  margin-bottom: 30px;
  margin-left: 60px;
  border-bottom: 5px solid green;
}


/* tab-img */

.tab-img {
  background: #f8f8f8;
  padding: 40px calc((100% - 1400px) / 2);
  display: flex;
  flex-wrap: wrap; 
  border-top: 1px solid green; 
  justify-content: center;
  padding: 10px;   
} 

.tab-img .box2 {
  /* max-width: 1700px; */
  background: #f8f8f8;
  padding: 10px calc((100% - 1200px) / 2);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  transition: all .9s;
  display: none;
  padding-top: 50px;
  padding-bottom: 50px;
  
}

.tab-img label{
  width: 400px;
  font-size: 24px; 
  text-align: center;
  color: #111111; 
  /* padding-bottom: 20px; */
  font-weight: bold;  
  background: #f8f7f7;
  padding: 10px;
  padding-bottom: 15px;
  /* border-radius: 7px; */
}

.tab-img label:hover{
  color: green;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

.tab-img h2 {
  font-size: 1.5em;
  margin: 0 auto;
  padding: 10px 0;
  color: #222222;
  text-align: left;
  font-weight: bold;
  margin-top: 10px;
}

.tabs-oficial-img {
  max-width: 600px;
  flex: 1 1 600px;
  margin: 0 auto;
  align-items: center;
  /* box-shadow: #eb511f;
  box-shadow: 1px 1px 5px #706f6f; */
  padding-bottom: 40px;  
}

.servico-1 {
  border-top: 3px solid green;
}

.servico-2 {
  border-top: 3px solid green;
}

.servico-3 {
  border-top: 3px solid green;
}

.box2 p {
  color: #222222;
  font-size: 16px;
  padding-bottom: 10px;
}

.box2 img {
  margin: 0 auto;  
  margin-top: 40px;
  margin-bottom: 60px;
}

.tabs-oficial-img img {
  box-shadow: 1px 1px 5px #706f6f;
}

.tabs-oficial-img2 img {
  box-shadow: 1px 1px 5px #706f6f;
}

.tab-img input[type="radio"] {
  visibility: hidden;
}

.tab-img input[type="radio"]:checked + label{
  color: white;
  text-align: center;
  font-weight: bold;
  background: green;
}

#servico-1:checked ~ .servico-1,
#servico-2:checked ~ .servico-2,
#servico-3:checked ~ .servico-3,
#servico-4:checked ~ .servico-4 {
  display:block;
}

.modulo-item {
  background: #ffffff;
  padding: 10px calc((100% - 1400px) / 2);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #cececf;
  margin-top: 40px;
  box-shadow: 1px 1px 5px #b6b4b4;
}

.modulo-item h2 {
  font-size: 1.5em;
  margin: 0 auto;
  padding: 10px 0;
  color: white;
  background: rgb(1, 112, 1);
  text-align: center;
  margin-bottom: 10px;
}

.modulo-info {
  flex: 2 1 800px;
  margin: 0 10px;
}

.modulo-info h2 {
  font-size: 1.5em;
  margin: 0 auto;
  padding: 10px 0;
  color: green;
  text-align: left;
  background: #ffffff;
  font-weight: bold;
  margin-top: 10px;
}

.modulo-info h3 {
  font-size: 1.20em;
  line-height: 1;
  margin-bottom: 1.20em;
  margin-top: .5em;
  color: #797676;
}

.modulo-info p {
  font-size: 1.10em;
  line-height: 1.20em;
  color: #504f4f;
} 

.modulo-info span{
  font-size: 1em;
  line-height: 1.4;
  margin-bottom: 1em;
  margin-top: 1em;
  color: #111111;
  font-weight: bold;
}

.modulo-img {
  flex: 1 1 300px;
  margin: 0 20;
  padding: 10px;
  border-right: 1px solid grey;
}

  @media (max-width: 700px) {

    .tab-img label{
      margin: 0 auto;
    }

    .modulo-img {
      border-right: 0;
      border-bottom: 1px solid grey;
    }

    .servico-1 {
      border: 0;
    }
    
    .servico-2 {
      border: 0;
    }
    
    .servico-3 {
      border: 0;
    }

    .titulo {
      padding-top: 30px;
      padding-bottom: 30px;
    }

    .titulo h2 {     
      margin: 0 auto;
    }

    .modulo-info h2 {
      text-align: center;
    }

    .modulo-info p {
      text-align: center;
    }
    
  }

  /* formulário */

.container{  
  padding: 30px 30px 30px 30px;
    background: #fff;
    width: 1100px; 
    margin-left: 30px;     
    margin: 0 auto;
    margin-top: 20px; 
    margin-bottom: 20px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  }

  .container h2 {
    color: green;
  }

  .container form{
    padding: 0px 0 0 0;
  }
  .container form .form-row{
    display: flex;
    margin: 32px 0;
  }
  form .form-row .input-data{
    width: 1100px; 
    height: 40px;
    margin: 0 20px;
    position: relative;
  }
  form .form-row .textarea{
    height: 70px;
  }
  .input-data input,
  .textarea textarea{
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    font-size: 17px;
    border-bottom: 2px solid rgba(0,0,0, 0.12);
    background: #fff;
  }
  .input-data input:focus ~ label, .textarea textarea:focus ~ label,
  .input-data input:valid ~ label, .textarea textarea:valid ~ label{
    transform: translateY(-20px);
    font-size: 14px;
    color: green;
  }
  .textarea textarea{
    resize: none;
    padding-top: 10px;
  }
  .input-data label{
    position: absolute;
    pointer-events: none;
    bottom: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  .textarea label{
    width: 100%;
    bottom: 40px;
    background: #fff;
  }
  .input-data .underline{
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
  }
  .input-data .underline:before{
    position: absolute;
    content: "";
    height: 2px;
    width: 100%;
    background: green;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }
  .input-data input:focus ~ .underline:before,
  .input-data input:valid ~ .underline:before,
  .textarea textarea:focus ~ .underline:before,
  .textarea textarea:valid ~ .underline:before{
    transform: scale(1);
  }
  .submit-btn .input-data{
    overflow: hidden;
    height: 45px!important;
    width: 20%!important;
  }
  .submit-btn .input-data .inner{
    height: 100%;
    width: 300%;
    position: absolute;
    left: -100%;
    background: green;
    transition: all 0.4s;
  }
  .submit-btn .input-data:hover .inner{
    background: rgb(10, 156, 10);
    box-shadow: 0px 4px 15px rgba(0,0,0,0.8);
  }

  .submit-btn .input-data input{
    background: none;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer !important;
    position: relative;
    /* z-index: 2; */
  }

  #limpar {
    background-color: #eb511f;
  }
  #limpar:hover{
    background-color: #f06435;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.8);
    border: 1px solid #f36d41;
  }


  @media (max-width: 700px) {

        .contato {
      margin: 0 20px 0 20px;
      box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    }
    .contato-form {
      margin: 0 20px 0 20px;
    }

    .contato .contato-endereco:first-child {
      margin-right: 0px;
    }

    .contato .contato-endereco {
      padding-right: 0px;
    }


    .container {
      width: 100%;
      
    }
    .container .text{
      font-size: 30px;
    }
    .container form{
      padding: 10px 0 0 0;      
    }
    .container form .form-row{
       display: block;
      /* justify-content: space-evenly; */
    }

    .container form .form-row:last-child{
      display: flex;
     justify-content: space-evenly; 
   }
    form .form-row .input-data{
      margin: 35px 0!important;
      width: 100%;
    }
    .submit-btn .input-data{
      width: 40%!important;
    }
    
  }