* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.5;
}
html,
body {
  max-width: 100vw;
  min-height: 100vh;
  font-size: 62.5%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-variant: tabular-nums;
  line-height: 1.5715;
  background-color: #fff;
  font-feature-settings: "tnum", "tnum";
  background: #333;
}

header {
  width: 100%;
  height: 70px;
  background-color: #333;
  box-sizing: border-box;
  margin: 0;
}
header .header {
  max-width: 1125px;
  width: 100%;
  height: 70px;
  margin: 0 auto;
}
.logo {
  max-width: 250px;
  box-sizing: border-box;
  width: 100%;
  float: left;
  margin-top: 19px;
}
.logo img {
  margin-left: 10px;
}
.nav {
  max-width: calc(912px - 250px);
  width: 100%;
  height: 70px;
  float: right;
  margin-right: 0;
  box-sizing: border-box;
}
.resposive {
  float: right;
  display: none;
}
nav button {
  display: none;
}
nav ul {
  list-style: none;
  float: right;
}
nav ul li {
  float: left;
  margin-top: 10px;
}

nav ul li a {
  float: left;
  margin-left: 5px;
  padding: 15px;
  font-size: 2em;
  color: #fff;
  text-decoration: none;
}
nav ul li a:hover {
  color: rgb(235, 31, 31);
  text-decoration: underline;
  cursor: pointer;
  transition: 0.3s ease-in; /*geral*/
  -webkit-transition: 0.3s ease-in; /* navegadores webkit, como Safari e Chrome*/
  -moz-transition: 0.3s ease-in; /*Firefox*/
  -o-transition: 0.3s ease-in; /*Opera*/
}

/* main */
main {
  width: 100%;
  float: left;
  box-sizing: border-box;
  min-height: 65vh;
  float: left;
  background-color: #fff;
}
.midia {
  width: 100%;
  min-height: 40vh;
  height: 70vh;
  max-height: calc(100vh - 150px);
  float: left;
  background-color: #000;
}
.midia iframe {
  width: 100%;
  height: 70%;
  position: absolute;
  top: 83;
  left: 0;
  float: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Barlow, Helvetica !important;
}
h1 {
  font-weight: 900;
  font-size: 4.5em;
  line-height: 1em;
}
.headers {
  width: 100%;
  margin: 0;
  text-align: center;
  float: left;
  padding: 20px 0;
  background-color: #f2f3f8;
}
.headers h1 {
  color: brown;
  text-transform: uppercase;
}
.headers h2 {
  font-size: 2.5em;
  color: rgb(48, 46, 46);
}
.headers h2 a {
  color: rgb(13, 124, 13);
}
.headers h2 a:hover {
  color: rgb(60, 117, 60);
}
.cards-bg {
  width: 100%;
  float: left;
}

.cards {
  max-width: 1128px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.card,
.card-category {
  max-width: 260px !important;
  min-width: 240px;
  width: 100%;
  margin-top: 0;
  padding: 0;
  min-height: 400px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-wrap: wrap;
  border-bottom: 0.1em solid #f2f3f8;
  margin-bottom: 10px;
  margin-top: 10px;
}

.card img {
  width: 100%;
  min-height: 180px;
}
.card h2 {
  font-size: 2.1em;
  text-align: center;
  color: #333;
}
.card p {
  font-size: 2em;
  padding: 5px;
}
.card button {
  padding: 10px;
  float: right;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 1.5em;
  color: brown;
  font-weight: bold;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 5px;
  border: 0.1em solid #ccc;
  /* display: none; */
}
.card button:hover {
  color: red;
  border-color: #999;
  transition: 0.3s ease-in; /*geral*/
  -webkit-transition: 0.3s ease-in; /* navegadores webkit, como Safari e Chrome*/
  -moz-transition: 0.3s ease-in; /*Firefox*/
  -o-transition: 0.3s ease-in; /*Opera*/
}

.form-contato-bg {
  width: 100%;
  float: left;
  margin-top: 25px;
}
.form-contato {
  width: 95%;
  margin: 0 auto;
}
.form-contato h3 {
  font-family: Barlow, Helvetica !important;
  font-size: 3.5em;
  color: #333;
  text-align: center;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  color: brown;
}
.form-contato p {
  font-size: 2em;
  color: #333;
  text-align: center;
}

.form-group {
  max-width: 750px;
  width: 100%;
  position: relative;
  padding-top: 13px;
  margin: 2.5em auto;
}

.form-group input,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {  
  border-bottom: 2px solid lightgrey;
  outline: none;
  width: 100%;
  font-size: 2em;
  transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -webkit-appearance: none;
  border-radius: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:valid,
.form-group textarea:valid {
  border: 2px solid #70727a;
  border-radius: 5px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #333;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

.form-group label {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 13px;
  margin-left: 10px;
  transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  background-color: #fff;
  color: #333;
}

.form-group input:required:invalid + label,
.form-group textarea:required:invalid + label {
  color: #333;
}
.form-group input:focus:required:invalid,
.form-group textarea:focus:required:invalid {
  border: 2px solid brown;
  border-radius: 5px;
}
.form-group input:required:invalid + label:before,
.form-group textarea:required:invalid + label:before {
  content: "*";
}
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  font-size: 2em;
  margin-top: 2px;
  color: #70727a;
  background-color: #fff;
}
.form-contato .form-group button {
  padding: 20px;
  background-color: rgb(235, 232, 232);
  border-radius: 5px;
  border: 0.1em solid rgb(143, 87, 83);
  color: brown;
  font-size: 1.7em;
  font-weight: 900;
}
.form-contato .form-group button:hover {
  cursor: pointer;
  color: #fff;
  background-color: brown;
  transition: 0.5s ease-in; /*geral*/
  -webkit-transition: 0.5s ease-in; /* navegadores webkit, como Safari e Chrome*/
  -moz-transition: 0.5s ease-in; /*Firefox*/
  -o-transition: 0.5s ease-in; /*Opera*/
}

.address-bg {
  width: 100%;
  float: left;
  margin-top: 20px;
  background-color: rgb(240, 237, 237);
  box-sizing: border-box;
  padding: 20px 0 50px 0;
}
.address {
  max-width: 1128px;
  width: 100%;
  margin: 0 auto;
}
.address h3 {
  font-size: 3.5em;
  text-transform: uppercase;
  color: brown;
  text-align: center;
}
.address p {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 10px;
}

.footer-bg {
  width: 100%;
  float: left;
  background-color: #333;
  padding: 10px 0;
}
.footer {
  max-width: 1128px;
  margin: 0 auto;
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
}
.contatos {
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.falar,
.redes {
  max-width: 350px;
  width: 100%;
  margin-bottom: 5px;
}
.falar h4,
.redes h4 {
  font-size: 2em;
  margin-bottom: 0;
  margin-top: 10px;
}
.falar p,
.redes p {
  font-size: 2em;
  margin-bottom: 0;
}
.rs a {
  text-decoration: none;
}
.copy {
  width: 100%;
  float: left;
  border-top: 1px solid rgb(61, 60, 60);
  padding-top: 10px;
}
.copy p {
  font-size: 1.7em;
  color: #fff;
  text-align: center;
}
.copy p a {
  color: #fff;
}
/* /main */
/* produtos e serviços */
.content-bg {
  width: 100%;
  padding: 10px 0 0 0;
  float: left;
  box-sizing: border-box;
  display: flex;
}
.content {
  max-width: 1128px;
  margin: 0 auto 20px auto;
  padding: 5px;
}
.content p {
  font-size: 2.5em;
  color: #606164;
}

.content .list-content {
  display: block;
  width: 93%;
  margin-left: 5%;
  margin-top: 15px;
  margin-bottom: 15px;
}
.content .list-content li {
  font-size: 2.5em;
  color: #606164;
}
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-size: 2.5em;
  margin-top: 15px;
  color: #606164;
}
.title h2 {
  font-size: 2.5em;
  color: #606164;
  margin-bottom: 5px;
  margin-left: 5px;
}


.card-category {
  box-sizing: border-box;
  min-width: 300px;
  width: 30%;
  margin: 20px 0 0 0;
  min-height: 270px;
  border: 0.1em solid rgb(235, 233, 233);
  box-sizing: border-box;
}
.card-category:hover {
  border-bottom: 1px solid rgb(224, 165, 165);
  transition: 0.3s ease-in; /*geral*/
  -webkit-transition: 0.3s ease-in; /* navegadores webkit, como Safari e Chrome*/
  -moz-transition: 0.3s ease-in; /*Firefox*/
  -o-transition: 0.3s ease-in; /*Opera*/
}
.card-category a:hover > h2 {
  color: brown;
  transition: 0.3s ease-in; /*geral*/
  -webkit-transition: 0.3s ease-in; /* navegadores webkit, como Safari e Chrome*/
  -moz-transition: 0.3s ease-in; /*Firefox*/
  -o-transition: 0.3s ease-in; /*Opera*/
}
.card-category img {
  width: 100%;
}
.card-category a {
  text-decoration: none;
  color: #333;
}
/* .card-category a > h2:hover {
  cursor: pointer;
  color: brown;
  transition: 0.3s ease-in; /*geral*/
/*  -webkit-transition: 0.3s ease-in; /* navegadores webkit, como Safari e Chrome*/
/* -moz-transition: 0.3s ease-in; /*Firefox*/
/* -o-transition: 0.3s ease-in; /*Opera*/
/*}*/
.card-category h2 {
  font-size: 2.7em;
  text-align: left;
  color: #333;
  padding: 10px;
  margin: 10px 0;
  margin-left: 15px;
  margin-right: 15px;
}
.breadcrumb-bg {
  width: 100%;
  float: left;
  background-color: #fff;
}
.breadcrumb {
  max-width: 1128px;
  margin: auto;
  display: block;
  background-color: #fff !important;
}
.breadcrumb ul {
  list-style: none;
  float: right;
  display: block;
  padding: 10px;
}
.breadcrumb ul li {
  float: left;
  font-size: 2em;
}
.breadcrumb ul li a {
  color: #333;
}
.article {
  max-width: 1128px;
  width: 100%;
  box-sizing: border-box;
  margin: auto;
}

/******* ARTICLE *******/
.cover {
  width: 90%;
  height: auto;
  margin: 20px 5%;
  float: left;
  display: flex;
  box-sizing: border-box;
}
.cover img {
  width: 50%;
  margin: 0 auto;
}
.article {
  width: 90%;
  margin-bottom: 20px;
}
.article p {
  font-size: 2em;
  margin: 5px;
  color: #333;
}
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  font-size: 2.5em;
  margin: 10px 0 5px 5px;
  color: #333;
}
.article p a {
  color: brown;
}
.article p a:hover {
  cursor: pointer;
  color: #8b2e2e;
}
.article ul {
  list-style: none;
  width: 98%;
  float: right;
  margin-right: 5px;
  margin: 5px 0 10px 0;
}
.article ul li {
  font-size: 2em;
  color: #333;
}

.gallery {
  width: 100%;
  margin: 50px 0!important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}
.gallery ul {
  margin-bottom: 2em;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.gallery ul li {
  list-style: none;
  align-items: center;
  max-width: 200px;
  width: 100%;
  margin-bottom: 10px;
}
.gallery ul li img {
  width: 100%;
  float: left;
}

.img-gallery {
  max-width: 150px !important;
  width: 100%;
  box-sizing: border-box;
}
.img-gallery img {
  width: 100%;
}
/******* /ARTICLE *******/

/****** PAGINATION ******/
.pagination-bg{
  width: 100%;  
  padding: 10px 0;
  margin: 25px 0 10px 0;
  float: left;   
  
}
.pagination-bg nav{
  min-width: 1128px;  
  margin: 0 auto;  
  display: flex;
  align-items: center;  
}
.pagination-bg nav .pagination{
  max-width: 230px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.pagination-bg nav .pagination li a{
  border: 1px solid rgb(180, 179, 179);
  color:rgb(153, 152, 152);
  padding: 7px 10px;  
  
}
.pagination-bg nav .pagination li a:hover{
  color: #8b2e2e;
  border: 1px solid #8b2e2e;
}
/***** / PAGINATION *****/
/********** 404 *********/
.pg-error{
  max-width: 1128px;
  width: 100%;
  min-height: 50vh;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

}
.pg-error h5{  
  font-size: 3.5em;
  text-align: center;
  color: #606164;
}
.pg-error h4{
  font-size: 30em!important;
  text-align: center; 
  color:rgb(202, 198, 198)
}
.pg-error .back-home{
  width: 230px;
  font-size: 3em;
  font-weight: 900;
  font-family: Barlow, Helvetica !important;
  padding: 15px; 
  color: #f2dede; 
  background-color: #2e8b57;
  border: 1px solid #2e8b57;
  border-radius: 25px;
  cursor: pointer;
}
.pg-error .back-home:hover{
  color:#dff0d8;
  background-color: #287248;
  
}
/********* / 404 ********/
/********* ALERT ********/
.alert {
  width: 94.6%;
  padding: 15px;
  margin: 1.5% auto;
  display: table;
  text-align: center;
  border: 0.1em solid #f2dede;
}

.alert-success,
.alert-danger,
.alert-warning,
.alert-info{  
  text-align: center;
  font-size: 2.5em;
  border: 1px solid;
  border-radius: 3px;
}
.alert-success{
  background-color: #dff0d8;
  color: #2e8b57;  
  border-color: #bad8ba;
}
.alert-danger{
  background-color: #eec5c5;
  color: #881e1e;
  border-color: #e2b0b0;
}
.alert-info{
  background-color: #afe1e6;
  color: #1d428b; 
  border-color: #8ac9da; 
}
.alert-warning{
  background-color: #fff3cd;
  color: #7c641d;  
  border-color: #f3e7be;
}
/******** / ALERT *******/



@media screen and (max-device-width: 911px) {
  .header {
    height: 70px;
    width: 100vw !important;
    box-sizing: border-box;
    background-color: #333;
    float: left;
  }

  .logo {
    width: 200px;
    margin-top: 20px;
    margin-left: 5px;
    float: left;
  }
  .logo img {
    width: 200px;
  }
  .resposive {
    float: right;
    margin-top: 15px;
    margin-right: 10px;
    display: table;
  }
  .resposive button {
    font-size: 2.5em;
    padding: 7px;
    color: #fff;
    background-color: #333;
    border: 0;
  }
  .nav {
    max-width: 250px;
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: #333;
    right: 0;
    border-left: 0.2em solid brown;
    z-index: 10000;
    display: none;
  }
  .nav .buttton-close {
    width: 100%;
    display: block;
    float: left;
  }
  .nav .buttton-close button {
    font-size: 2em;
    padding: 5px;
    font-weight: 900;
    color: brown;
    float: right;
    display: table;
  }
  .nav ul {
    list-style: none;
    float: left;
  }
  .nav ul li {
    width: 100%;
    display: block;
    margin-top: 1px;
    float: left;
    margin-bottom: 2px !important;
  }
  .nav ul li a {
    width: 100%;
    padding: 10px;
    float: left;
    font-size: 2em;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
  }
  .nav ul li a:hover {
    color: brown;
  }
  .headers {
    padding: 10px 0;
  }
  h1 {
    font-weight: 900;
    font-size: 3.5em;
    line-height: 1em;
  }
  .headers h2 {
    font-size: 2em;
    color: rgb(92, 91, 91);
  }
  .form-contato h3 {
    font-size: 2.5em;
  }
  .form-contato p {
    font-size: 1.7em;
    color: #333;
    text-align: center;
  }
  .address h3 {
    font-size: 2.5em;
  }
  .address p {
    font-size: 1.7em;
  }
  .content p,
  .content .list-content li {
    font-size: 1.7em;
  }
  .title h2 {
    font-size: 2em;
    color: #606164;
  }
  .alert {
    font-size: 2.5em;
  }
  .cover img {
    width: 90%;
    margin: 0 auto;
  }
  .article p {
    font-size: 2em;
    margin: 5px;
    color: #333;
  }
  .article h2,
  .article h3,
  .article h4,
  .article h5,
  .article h6 {
    font-size: 2.5em;
    margin: 10px 0 5px 5px;
    color: #333;
  }
  .article p a {
    color: brown;
  }
  .article p a:hover {
    cursor: pointer;
    color: #8b2e2e;
  }
  .article ul {
    list-style: none;
    width: 95%;
    float: right;
    margin-right: 5px;
    margin: 5px 0 10px 0;
  }
  .article ul li {
    font-size: 2em;
    color: #333;
  }
}

@media screen and (max-device-width: 300px) {
  .card-category {
    box-sizing: border-box;
    max-width: 300px;
    min-width: 230px;
    width: 100%;
    margin: 20px 0 0 0;
    min-height: 180px;
    border: 0.1em solid rgb(235, 233, 233);
  }
  .breadcrumb ul li {
    font-size: 1.5em;
  }

  /******* ARTICLE *******/
  .cover {
    width: 90%;
    height: auto;
    margin: 20px 5%;
    float: left;
    display: flex;
    box-sizing: border-box;
  }
  .cover img {
    width: 100%;
  }
  .article {
    width: 90%;
    margin-bottom: 20px;
  }
  .article p {
    font-size: 1.7em;
    margin: 5px;
    color: #333;
  }
  .article h2,
  .article h3,
  .article h4,
  .article h5,
  .article h6 {
    font-size: 2em;
    margin: 10px 0 5px 5px;
    color: #333;
  }
  .article p a {
    color: brown;
  }
  .article p a:hover {
    cursor: pointer;
    color: #8b2e2e;
  }
  .article ul {
    list-style: none;
    width: 90%;
    float: right;
    margin-right: 5px;
    margin: 5px 0 10px 0;
  }
  .article ul li {
    font-size: 1.7em;
    color: #333;
  }
  /******* /ARTICLE *******/
  /********** 404 *********/
  .pg-error h5{  
    font-size: 3.3em;
    text-align: center;
    color: #606164;
  }
  .pg-error h4{
    font-size: 20em!important;
    text-align: center; 
    color:rgb(202, 198, 198)
  }
  /********* / 404 ********/
}

@media screen and (max-device-width: 240px) {
  .header {
    height: 70px;
    width: 100vw !important;
    box-sizing: border-box;
    background-color: #333;
    float: left;
  }
  .logo {
    width: 180px;
    margin-top: 20px;
    margin-left: 5px;
    float: left;
  }
  .logo img {
    width: 180px;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.75;
  }

  100% {
    opacity: 1;
  }
}
.fadeIn {
  -webkit-animation: fadeIn 1s ease-in-out;
  -moz-animation: fadeIn 1s ease-in-out;
  -o-animation: fadeIn 1s ease-in-out;
  animation: fadeIn 1s ease-in-out;
}


/***Banners***/
.banner-bg-100{
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  background-color: rgba(0,0,0 .5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}
.banner {
  background-color: #009688;  
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 80%;
  max-width: 600px;
}


.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  margin-top: -15px;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  padding-bottom: 25px;
}

input[type="text"], input[type="email"], input[type="tel"] {
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
}

input[type="submit"] {
  background-color: #ff5722;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5rem;
}

input[type="submit"]:hover {
  background-color: #e64a19;
}
.close-bg{
  background-color: #000;
  position: relative;
  top: -50px;
  right: 0;
  display: flex;
  justify-content: end;
}

.btn-close-bg{
  display: flex;
  flex-direction: row;
  justify-content: end;
}

.close-btn {
  position: relative;
  top:-35px;  /* Agora está alinhado com a borda interna superior */
  right: -15px; /* Alinhado com a borda interna direita */
  background-color: #ff5722;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.close-btn:hover {
  background-color: #e64a19;
}

#error-message{
    font-size:1.5rem;
    color:brown;
    text-align:center
    font-weight:bold;
    padding:5px;
}