@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --custom-black: #141414;
  --custom-white: #fff;
  --custom-off-white: #f8f8ff;
  --custom-gray: #f2f2f2;
  --custom-primary: #077332;
  --font-family: 'Encode Sans Condensed', var(--bs-font-sans-serif);
}

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

.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: var(--custom-white) !important;
  filter: brightness(0.9) !important;
}

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

h1 {
  font-size: 3.0rem;
  font-weight: 700;
  color: var(--custom-primary);
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--custom-primary);
}

h3 {
  font-size: 2.0rem;
  font-weight: 500;
  color: var(--custom-primary);
}

section {
  padding: 90px 0;
}

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

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

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

.bt a {
  display: block;
  text-decoration: none;
  color: var(--custom-white);
  font-size: 20px;
  font-weight: 700;
  background-color: var(--custom-primary);
  padding: 10px 32px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  width: fit-content;
}

#mobile {
  display: none;
}

#desktop {
  display: block;
}

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

  #desktop {
    display: none;
  }
}

/* nav */
.logo {
  width: 150px;
}

.navbar {
  background-color: var(--custom-black);
}

.nav-link {
  color: var(--custom-white);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--custom-primary);
  border-bottom: 2px solid var(--custom-primary);
}

/* end nav */

/* hero */
.hero-section {
  background-image: url('../images/banner-cladan-engates-beneficios.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home {
  padding: 120px 0px;
}

.home .content {

  h1,
  p {
    color: var(--custom-white);
  }
}

/* end hero */

/* seguranca */
.seguranca .bt,
.beneficios .bt {
  place-items: start;
}

.img-seguranca,
.img-benef {
  display: grid;
  place-items: center;
}

/* end seguranca */

/* por que escolher */
.escolher {
  background-image: url('../images/banner-cladan-engates-cta-claro.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

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

  img {
    max-width: 100%;
    width: 140px;
    height: auto;
  }
}

/* por que escolher a cladan */

/* cta */
.cta {
  background-image: url('../images/banner-cladan-engates-cta.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cta-content {

  h2,
  p {
    color: var(--custom-white);
  }

  .bt a {
    background-color: transparent;
    border: 2px solid var(--custom-white);
  }
}

/* end cta */

/* footer */
footer {
  color: var(--white);
  background-color: var(--custom-black);
  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(--custom-white);
  background-color: transparent;
  border: 2px solid var(--custom-white);
  border-radius: 50%;
  transition: all 0.4s;
}

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

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

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

#contacts li i {
  color: var(--custom-primary);
  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%;
}

/* media queries */

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .bt a {
    padding: 8px 24px;
    font-size: 18px;
  }

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

  .img-seguranca {
    margin-bottom: 32px
  }

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

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  section {
    padding: 60px 10px;
  }

  .bt a {
    padding: 6px 20px;
    font-size: 16px;
    text-align: center;
    width: 100%;
  }

  .home {
    padding: 70px 10px;
  }

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

  .img-seguranca {
    margin-bottom: 32px
  }

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

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

/* end media queries */