@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&display=swap');

:root {
  --white: #fff;
  --black: #242424;
  --gray: #6e6e6e;
  --off-white: #f8f8f8;
  --custom-primary: #0f9932;
  --custom-primary-hover: #0f9931d0;
  --light-green: #98bf0b;
  --font-family: 'Poppins', var(--bs-font-sans-serif);
}

.btn-custom-primary {
  background-color: var(--custom-primary);
  border-color: var(--custom-primary);
  color: var(--white);
  transition: all 0.3s ease;
}

.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: var(--custom-primary-hover) !important;
  border-color: var(--custom-primary) !important;
  color: var(--white) !important;
  filter: brightness(0.9) !important;
}

body {
  font-family: var(--font-family);
}

h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 700;
}

h2 {
  color: var(--gray);
  font-size: 38px;
  font-weight: 600;
}

h3 {
  color: var(--light-green);
  font-size: 24px;
  font-weight: 500;
}

p {
  color: var(--black);
}

section {
  padding: 120px 10px;
}

section:nth-of-type(odd) {
  background-color: var(--white);
}

section:nth-of-type(even) {
  background-color: var(--off-white);
}

.bt {
  display: grid;
  place-items: center;

  a {
    display: block;
    text-decoration: none;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 22px;
    background-color: var(--custom-primary);
    padding: 12px 72px;
    width: fit-content;
    transition: all 0.3s ease-in;
  }

  a:hover {
    transform: translateY(-8px);
    background-color: var(--custom-primary-hover);
  }
}

#mobile {
  display: none;
}

#desktop {
  display: block;
}

@media (max-width: 1024px) {
  #mobile {
    display: block;
  }

  #desktop {
    display: none;
  }
}

/* nav */
.navbar {
  background-color: var(--white);
}

.logo {
  max-width: 100%;
  width: 220px;
}

.nav-link {
  color: var(--black);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--black);
  border-bottom: 2px solid var(--custom-primary);
}
/* end nav */

/* hero */
.hero-section {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('../images/banner-scherer-principal.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home {
  padding: 160px 10px;

  .content {

    p {
      color: var(--white);
    }
  }
}
/* end hero */

/* beneficios */
.Beneficios {
  .box-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;

    img {
      max-width: 100%;
      width: 140px;
    }
  }
}
/* end beneficios */

/* produtos */
.produtos {

  .box {
    display: grid;
    place-items: center;
    gap: 8px;
    text-align: center;
    height: 370px;
    border: none;
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: 5px 5px 15px 12px rgba(0,0,0,0.10);
    padding: 16px;
    margin: 16px;
    transition: all 0.3s ease-in;
    position: relative;
    z-index: 0;

    img {
      max-width: 100%;
      width: 90%;
    }

    h3 {
      font-weight: 600;
      text-transform: uppercase;
    }
  }

  .box:hover {
    transform: translateY(-10px);
    z-index: 1;
  }
}
/* end produtos */

/* about */
.about {
  .content {
    h2 {
      font-size: 40px;
    }

    h3 {
      font-size: 20px;
      text-transform: uppercase;
    }

    .bt {
      place-items: start;
    }
  }

  .img-about {
    display: grid;
    place-items: center;

    img {
      max-width: 100%;
      width: 90%;
      border: none;
      border-radius: 38px;
    }
  }
}
/* end about */

/* footer */
footer {
  color: var(--white);
  background-color: var(--custom-primary);
  width: 100%;
}

footer ul li {
  padding-left: 0px !important;
}

footer span {
  color: var(--white);
  padding-left: 14px;
}

.footer-link {
  text-decoration: none;
}

#footer_content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 50px 20px 0px 50px;
}

.footer-logo img {
  max-width: 100%;
  width: 220px;
}

#footer_social_media {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media screen and (max-width: 768px) {
  #footer_social_media {
    align-items: left;
    justify-content: left;
  }
}

#footer_social_media .footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  color: var(--white);
  background-color: transparent;
  border: 2px solid var(--white);
  border-radius: 50%;
  transition: all 0.4s;
}

#footer_social_media .footer-link:hover {
  color: var(--custom-primary-hover);
  background-color: var(--white);
  border: 2px solid var(--off-white);
}

#footer_social_media .footer-link i {
  font-size: 1.25rem;
}

#instagram,
#facebook,
#whatsapp-footer {
  background-color: transparent;
}

#contacts li i {
  color: var(--off-white);
  font-size: 16px;
  padding-right: 4px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-list h3 {
  color: var(--custom-white);
  font-weight: 600;
  font-size: 24px;
  gap: 100px;
}

.footer-list .footer-link {
  color: var(--custom-white);
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.footer-list .footer-link:hover {
  color: var(--custom-white);
  border-bottom: 2px solid var(--custom-white);
}

#footer_copyright {
  display: flex;
  justify-content: center;
  font-size: 0.9rem;
  padding: 1.5rem;
  font-weight: 100;
}

@media screen and (max-width: 768px) {
  #footer_content {
    text-align: left;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 450px) {
  #footer_content {
    grid-template-columns: repeat(1, 1fr);
    padding: 10px;
  }
}

.float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  transition: 0.5s;
}

.float:hover {
  transform: scale(1.1);
}

.float img {
  max-width: 100%;
}

/* mobile */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 40px;
    text-align: center;
  }

  h2 {
    font-size: 32px;
  }

  section {
    padding: 62px 10px;
  }

  .bt {

    a {
      font-size: 16px;
      width: 100%;
    }
  }

  .home {
    padding: 72px 10px;

    .content {
      
      p {
        text-align: center;
      }
    }
  }

  .produtos {
    .col {
      flex: 0 0 100%;
      margin-bottom: 32px;
    }
  }

  .about {
    .content {
      h2 {
        font-size: 32px;
      }
    }

    .img-about {
      margin-bottom: 32px;

      img {
        width: 100%;
      }
    }
  }
}
/* end mobile */