* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialised;
  -moz-osx-smoothing: grayscale;
}

:root {
  font-size: 62.5%;
  --verde: rgb(8, 105, 67);
  --amarelo: #f2cb3f;
  --amarelo2: #c7a62e;

  --header-height: 4.5rem;

  /* colors */
  --hue: 159;
  /* HSL color mode */
  --base-color: hsl(var(--hue) 36% 57%);
  --base-color-second: hsl(var(--hue) 65% 88%);
  --base-color-alt: hsl(var(--hue) 57% 53%);
  --title-color: hsl(var(--hue) 41% 10%);
  --text-color: hsl(0 0% 46%);
  --text-color-light: hsl(0 0% 98%);
  --body-color: hsl(0 0% 98%);

  /* fonts */
  --title-font-size: 1.875rem;
  --subtitle-font-size: 1rem;

  --title-font: "Poppins", sans-serif;
  --body-font: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #0f0f0f;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body,
textarea {
  font-size: 1.6rem;
  font-family: "Hind", sans-serif;
}

main {
  max-width: 192rem;
  width: 100%;
  margin: 2rem;
  background-color: #fff;

  border-radius: 1.2rem;
  overflow: hidden;
}

.flex {
  display: flex;
  gap: 2.8rem;
}

.flex-col {
  flex-direction: column;
}

.al-center {
  align-items: center;
}

.container {
  max-width: 128rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

p {
  margin: 0 0 1.5rem 0;
}

.header {
  height: 12rem;
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

  width: 100%;

  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 5px 5px 20px rgb(0 0 0 / 25%);
}

.header nav {
  justify-content: space-between;
  align-items: center;
}

.header nav ul {
  display: flex;
  gap: 2.8rem;
}

.header nav ul li {
  display: inline;
}

.header nav ul li a {
  font-size: 2rem;
  color: black;
  font-weight: 700;

  text-decoration: none;
  text-transform: uppercase;

  transition: all ease-in 0.2s;
}

.header nav ul .menu-servicos:hover ul.sub-menu {
  display: flex;
}

.header nav ul.sub-menu {
  max-width: 20rem;
  background-color: #e8e7e7;
  border: 0.1rem solid #b1b0b0;
  border-radius: 0.8rem;
  padding: 20px 0;
  flex-direction: column;
  position: absolute;
  gap: 0;
  display: none;
}

.header nav .sub-menu li {
  padding: 1rem 2rem;
  transition: 0.2s;
}

.header nav .sub-menu a {
  font-size: 1.4rem;
  line-height: 1.4rem;
  text-transform: none;
  display: inline-block;
}

.header nav .sub-menu li:hover {
  background-color: #cacaca;
}

nav .logo {
  width: 10rem;
}

/* .header nav ul li a:hover {
  content: "";
  border-bottom: 0.4rem solid var(--amarelo);
  color: var(--verde);
} */

.banner {
  width: 100%;
  height: 60rem;

  background: url(assets/banner1.png) no-repeat right;
  background-size: cover;

  margin-top: 12rem;
  position: relative;
}

.banner::after,
.banner::before,
.title-page::after,
.title-page::before {
  content: "";
  width: 46vw;
  height: 1.4rem;
  background-color: var(--amarelo);
  position: absolute;
}

.banner::after,
.title-page::after {
  right: 0;
  bottom: 0;
  animation: aparecer 3s cubic-bezier(0.4, 0, 1, 1);
}

.banner::before,
.title-page::before {
  left: 0;
  top: 0;
  animation: aparecer 3s cubic-bezier(0.4, 0, 1, 1);
}

@keyframes aparecer {
  0% {
    width: 0vw;
  }
}

.banner .container {
  width: 95%;
  max-width: 100%;
  display: flex;
  gap: 3.2rem;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.banner h1 {
  /* text-transform: uppercase; */
  font-size: 4rem;

  color: #ececec;
  text-shadow: 1px 1px 6px black;
}

.banner img {
  width: 50%;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translatey(0);
  }
  50% {
    transform: translatey(-1rem);
  }
}

.col-2 {
  align-items: center;
  margin: 3.2rem auto;
}
.chamada h2 {
  font-size: 2.8rem;
  color: var(--amarelo);
  margin-bottom: 2.8rem;
}

.bloco {
  min-width: 20rem;
  width: 25%;
  padding: 2rem;
  border-radius: 1rem;

  font-size: 1.4rem;
  line-height: 1.4;
  color: #808080;
  border: 1px solid #fff;

  transition: all 0.5s ease-in-out;
}

.bloco:hover {
  border: 1px solid #8a8a8a;
  background: #ececec;
}

.bloco h2 {
  color: var(--verde);
  margin-bottom: 2rem;
  letter-spacing: 0.1rem;
  font-size: 2.5rem;
}

.destaque {
  background: linear-gradient(45deg, rgb(8, 105, 67) 0%, rgb(3, 65, 40)) 100%;

  color: white;
  padding-bottom: 2.8rem;
  transition: background 5s ease-in-out;
}

.destaque:hover {
  background: linear-gradient(-90deg, rgb(8, 105, 67) 0%, rgb(3, 65, 40)) 100%;

  color: white;
}

.destaque h2 {
  color: white;
  margin-left: 1rem;
}

.bloco.destaque ul li {
  list-style: none;
  position: relative;
  padding: 1.3rem 0.2rem;
  word-wrap: break-word;
  display: flex;
  gap: 2.4rem;
  align-items: center;
}

.bloco.destaque ul li ion-icon {
  font-size: 2.5rem;
}

.bloco.destaque ul li::after {
  content: "";
  display: block;
  width: 100%;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  left: -30px;
  bottom: 0;
}

.map {
  height: 50rem;
  margin: 3.2rem 0;
}

.footer {
  background: linear-gradient(45deg, rgb(8, 105, 67) 0%, rgb(3, 65, 40)) 100%;
  color: white;
  width: 100%;
}

.footer .col-2 {
  justify-content: center;
  align-items: normal;
}

.footer ul {
  /* background: rgba(255, 255, 255, 0.1); */
  padding: 2.2rem 1.6rem 2.2rem 1.4rem;
  border-radius: 1rem;
  flex-direction: column;
  gap: 1.5rem;
  width: fit-content;
}

.footer nav ul li {
  list-style: none;
}

.footer nav ul li a {
  text-decoration: none;
  color: white;
}

.footer nav ul li a:hover,
.footer nav ul li a:active {
  text-decoration: underline;
  color: white;
}

.footer .contato {
  align-items: center;
}

.footer .contato div {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer .contato div div {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
}

.footer .contato img {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  width: 15rem;
}

.footer .media4web {
  text-align: center;
}

.footer .media4web a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
}

.footer .media4web span {
  font-weight: bold;
}

.title-page {
  background: #ececec url("assets/bg-title.jpg") no-repeat;
  background-size: cover;
  padding: 3rem 0 2rem;
  margin-top: 12rem;

  display: flex;
  align-items: center;
  position: relative;
}

.title-page .container {
  text-align: center;
}

.title-page .container h1 {
  color: var(--verde);
  font-size: 5rem;
  line-height: 5rem;
}

/* .title-page .container::after {
  content: " ";
  background: var(--amarelo);
  display: block;
  width: 18rem;
  height: 0.6rem;
  margin: 0.8rem auto;
} */

.page {
  background: #ececec;
  padding-top: 4rem;
}

.page .container {
  padding-bottom: 8rem;
}

.contato .container {
  align-items: center;
}

.form {
  width: 50%;
  padding: 2rem;
}

.form form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.form form .input label {
  display: block;
}

.form form .input input,
.form form .input textarea {
  padding: 1.2rem 1.6rem;
  border: 0.1rem solid #a3a3a3;
  border-radius: 0.8rem;
  width: 100%;
}

.form form .input textarea {
  height: 16rem;
}

.form form .input button {
  padding: 1.2rem 1.8rem;
  border: 0.1rem solid #a3a3a3;
  border-radius: 0.8rem;
  background-color: var(--verde);
  color: #fff;
  font-weight: 700;
}

.info {
  padding: 2rem;
  width: 50%;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.info > div {
  display: grid;
  gap: 1.8rem;
  align-items: center;
  grid-template-columns: 3rem 1fr;
}

.info div ion-icon {
  font-size: 24px;
}

.icon-inner,
.ionicon,
svg {
  display: block;
  height: 100%;
  /* width: 100%; */
}

/* .info.destaque ion-icon div{
  border: 1px solid red;
} */

.page h3 {
  font-size: 3.2rem;
  color: var(--verde);
  margin: 2.8rem 0 1.6rem 0;
}

.locacao h3 {
  color: var(--title-color);
}

.artigos .flex {
  flex-wrap: wrap;
  justify-content: center;
}

.artigo {
  width: 30rem;
  height: 26rem;
  padding: 2rem;
  border-radius: 0.8rem;
  background: linear-gradient(45deg, var(--verde) 0%, var(--verde)) 100%;
  color: #f0f0f0;
  text-decoration: none;
  text-align: center;
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  transition: background ease-in 0.2s;
}

.artigo:hover {
  background: linear-gradient(45deg, rgb(8, 105, 67) 0%, rgb(3, 65, 40)) 100%;
}

.artigo h3 {
  font-size: 2.4rem;
  line-height: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #fff;
}

.artigo p.autor {
  display: grid;
  align-items: center;
  grid-template-columns: 2.4rem 1fr;
  justify-content: center;
  align-self: center;
}

.servico .flex {
  flex-wrap: wrap;
  gap: 8rem 4rem;
  align-items: center;
}

.servico .flex .texto {
  width: 60%;
}

.servico .flex .texto ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.servico .flex .texto ul li {
  list-style: disc outside;
  margin-left: 2.4rem;
  padding: 0;
}

.imgs {
  width: 33%;
}

.img-serv {
  overflow: hidden;
  flex: 1;
  height: fit-content;
  min-width: 30rem;
  margin: 0;
  padding: 0;
}

.servico .flex div > img {
  width: 100%;
  height: 100%;
  transition: 0.8s;
}

.servico .flex div > img:hover {
  transform: scale(1.2);
}

.item {
  align-items: center;
}

.btn-whatsapp {
  background-color: var(--verde);
  padding: 1rem;
  border-radius: 1rem;
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  margin-top: 5rem;
  transition: all 0.2s;
}

.btn-whatsapp:hover {
  background-color: #026e18;
}

.btn-whatsapp ion-icon {
  font-size: 3rem;
}

/*====  NAVIGATION ============================ */
.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header nav ul li {
  text-align: center;
}

.header nav ul li a {
  transition: color 0.2s;
  position: relative;
}

.header nav ul li a:hover,
.header nav ul li a.active {
  color: var(--verde);
}

.header nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: var(--verde);

  position: absolute;
  left: 0;
  bottom: -1.5rem;

  transition: width 0.2s;
}

.header nav ul li a:hover::after,
.header nav ul li a.active::after {
  width: 100%;
}

.header nav .menu {
  opacity: 0;
  visibility: hidden;
  top: -20rem;
  transition: 0.2s;
}

/* Mostrar menu */
.header nav.show .menu {
  opacity: 1;
  visibility: visible;

  height: 100vh;
  width: 100vw;

  position: fixed;
  top: 0;
  left: 0;

  display: grid;
  place-content: center;
}

.header nav.show .menu ul {
  display: grid;
}

.header nav.show ul.grid {
  gap: 4rem;
}

.items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.items .item {
  background: linear-gradient(45deg, var(--amarelo) 0%, var(--amarelo2)) 100%;
  border-radius: 3rem;
  padding: 2rem;
  width: fit-content;
  transition: background .15s cubic-bezier(.4,0,.2,1);
}

.items .item:nth-child(1) {
  background: linear-gradient(45deg, rgb(8, 105, 67) 0%, rgb(3, 65, 40)) 100%;
}



/* .items .item:hover {
  background: linear-gradient(45deg, var(--amarelo) 0%, var(--amarelo2)) 100%;
} */

.items .item .flex {
  justify-content: center;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  width: fit-content;
  padding: 0.6rem 1.2rem;
  border-radius: 12px 12px;
  /* margin: 0 auto 1rem auto; */

}
.items .item .item-content {
  font-size: 3rem;
  color: white;
  font-weight: 900;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

}

.items .item .item-content p {
  text-shadow:rgba(0, 0, 0, 0.6) 2px 2px 2px;
  margin: 0;
  padding: 0;
}

.items .item svg {
  width: 2.1rem;
  fill: var(--verde);
  stroke: var(--verde);
}

.items .item h3 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 0 0;
}

/* toggle menu */
.toggle {
  color: var(--verde);
  font-size: 2.5rem;
  cursor: pointer;

  position: absolute;
  top: 1.5rem;
  right: 1.5rem;

  transition: 0.2s;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;
  color: #fff;

  position: absolute;
  top: -1.5rem;
  right: 1.5rem;

  transition: 0.2s;
}

nav.show div.icon-close {
  visibility: visible;
  opacity: 1;
  top: 1.5rem;
}

nav.show div.icon-menu {
  visibility: hidden;
  opacity: 0;
}

@media (min-width: 800px) {
  .header,
  .title-page {
    height: 18rem;
    transition: all 0.4s;
  }

  .scroll {
    height: 12rem;
  }

  /* navigation */
  .header nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  .header nav .menu > ul {
    display: flex;
    gap: 2rem;
  }

  .header nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
    -webkit-font-smoothing: antialiased;
  }

  .header nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothing: auto;
  }

  .header nav .icon-menu {
    display: none;
  }

  .header nav .logo {
    width: 14rem;
  }

  .header nav .logo-menor {
    width: 10rem;
  }

  .title-page,
  .banner {
    margin-top: 18rem;
  }
}

/* Back to top */
.back-to-top {
  background: var(--base-color);
  color: var(--text-color-light);

  position: fixed;
  right: 1rem;
  bottom: 1rem;

  padding: 0.5rem;
  clip-path: circle();

  font-size: 1.5rem;
  line-height: 0;

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
  transform: translateY(100%);
}

@media (max-width: 1920px) {
  main {
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 1100px) {
  .locacao .container img {
    width: 100%;
  }
  .locacao .container .img,
  .locacao .container .detalhes {
    width: 50%;
  }
}

@media (max-width: 962px) {
  .title-page .container h1 {
    font-size: 4rem;
    line-height: 4rem;
  }

  .blocos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .bloco {
    width: 40%;
  }

  .work-1 {
    flex-direction: column;
  }

  .work-1 img {
    width: 100%;
  }

  .banner h1 {
    font-size: 3rem;
  }

  .servico .flex {
    flex-direction: column;
    gap: 2rem;
  }

  .servico .flex .texto {
    width: 100%;
  }

  .imgs {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .header nav.show .menu {
    background-color: var(--verde);
  }

  .header nav ul li a {
    color: #fff;
  }

  .header nav ul li a:hover,
  .header nav ul li a.active {
    color: var(--amarelo);
  }

  .header nav .sub-menu a {
    color: #000;
  }

  .header nav .sub-menu a:hover {
    color: var(--verde);
  }

  .banner h1 {
    font-size: 3rem;
    text-align: center;
  }

  .banner img {
    width: 80%;
  }

  .banner .container {
    flex-direction: column-reverse;
  }

  .contato .container {
    flex-direction: column;
  }

  .form,
  .info {
    width: 100%;
  }

  .footer .col-2 {
    flex-direction: column;
  }

  .footer nav ul {
    width: 100%;
  }

  /*********/
  .header nav ul.sub-menu {
    position: inherit;
  }

  .header nav ul li.menu-servicos > a:hover::after {
    width: 0;
  }

  .item {
    flex-direction: column;
    gap: 1.2rem;
    background-color: #fff;
    padding: 2rem;
  }

  .locacao .container .img,
  .locacao .container .detalhes {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
  }

  .items .item .item-content {
    flex-direction: column;
  }

  .items .item .item-content p {
    font-size: 2.4rem;
  }

}

@media (max-width: 545px) {
  .title-page .container h1 {
    font-size: 3rem;
    line-height: 3rem;
  }

  .blocos {
    flex-direction: column;
  }

  .bloco {
    width: 100%;
  }

  .footer .container .col-2 {
    flex-direction: column;
    gap: 4rem;
  }

  .footer ul.flex {
    width: 100%;
  }

  .contato {
    flex-direction: column;
  }
}
