@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --custom-primary: #BCB4A0;
  --white: #fff;
  --black: #1a1a1a;
  --gray: #f2f2f2;
  --font-family: 'Montserrat', var(--bs-font-sans-serif);
}

.btn-custom-primary {
  background-color: var(--custom-primary);
  border-color: var(--custom-primary);
  color: #fff;
}

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

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 300;
  text-transform: uppercase;
}

h2 {
  color: var(--black);
  font-size: 36px;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  color: var(--black);
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
}

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

section {
  padding: 100px 10px;
}

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

.bt a {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  background-color: var(--custom-primary);
  padding: 16px 42px;
  width: fit-content;
  transition: all 0.3s ease-in-out;
}

.bt a:hover {
  transform: translateY(-6px);
}

#mobile {
  display: none;
}

#desktop {
  display: block;
}

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

  #desktop {
    display: none;
  }
}

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

.logo {
  width: 200px;
}

.nav-link {
  font-size: 18px;
  font-weight: 600;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease-in-out;
}

.nav-link:hover {
  border-bottom: 4px solid var(--custom-primary);
}

/* end nav */

/* hero section */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('../images/banner-demundo-casa-principal.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home {
  padding: 130px 10px;
}

.home .content p {
  color: var(--white);
}

/* end hero section */

/* beneficios e diferenciais */
.diferenciais {
  background-color: var(--white);
}

.diferenciais .box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.diferenciais .box img {
  max-width: 100%;
  width: 150px;
}

.diferenciais .box p {
  font-size: 22px;
  font-weight: 500;
}

/* end beneficios e diferenciais */

/* galeria de produtos */
.produtos {
  background-color: var(--gray);
}

#galeria .box {
  display: grid;
  place-items: center;
}

#galeria .box img {
  max-width: 100%;
  width: 550px;
  margin-bottom: 6px;
}

/* end galeria de produtos */

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

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

.about .bt {
  place-items: start;
}

/* 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: 260px;
}

#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: var(--black);
  border: 2px solid var(--black);
  border-radius: 50%;
  transition: all 0.4s;
}

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

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

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

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

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

.footer-list h3 {
  color: var(--black);
  border-left: 4px solid var(--black);
  padding-left: 4px;
  font-weight: 600;
  font-size: 24px;
  gap: 100px;
}

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

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

#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: 32px 10px;
  }
}

/* end footer */

.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%;
}

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

  h2 {
    font-size: 28px;
  }

  section {
    padding: 62px 10px;
  }

  .home {
    padding: 72px 10px;
  }

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

  .diferenciais .col {
    flex: 0 0 100%;
    margin-bottom: 12px;
  }

  #galeria .col {
    flex: 0 0 100%;
    margin-bottom: 12px;
  }

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

  .img-about img {
    width: 100%;
  }
}

/* end queries */