* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-size: 1.6rem;
  font-family: "Open Sans", sans-serif;
}

html {
  font-size: 62.5%;
}

img {
  display: block;
  max-width: 100%;
}

span,
a {
  display: inline-block;
}

button {
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.btn {
  padding: 1.2rem 6rem;
  font-weight: 700;
  color: hsl(192, 100%, 9%);
  background-color: #ffffff;
  box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
  border-radius: 99999px;
  transition: all 0.3s ease-in-out;
}
.btn:hover {
  color: hsl(208, 11%, 55%);
}
.btn.bg {
  background-color: hsl(322, 100%, 66%);
  color: #ffffff;
  padding: 1.5rem 5rem;
}
.btn.bg:hover {
  opacity: 0.6;
}

.cartao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  padding: 5rem 4rem 2.5rem 10rem;
  width: 100%;
  height: 45rem;
}
.cartao:not(:last-child) {
  margin-bottom: 4rem;
}
.cartao:nth-child(2) {
  flex-direction: row-reverse;
}
.cartao .texto {
  width: 100%;
  max-width: 46rem;
}
.cartao .texto p {
  margin-top: 2rem;
  color: hsl(208, 11%, 55%);
}
.cartao .img {
  max-width: 45rem;
  height: 100%;
}
@media (max-width: 998px) {
  .cartao {
    padding-left: 2.5rem;
  }
  .cartao .img {
    max-width: 35rem;
    height: initial;
  }
  .cartao .texto {
    max-width: 35rem;
  }
}
@media (max-width: 768px) {
  .cartao {
    flex-direction: column-reverse;
    height: 55rem;
  }
  .cartao:nth-child(2) {
    flex-direction: column-reverse;
  }
  .cartao .texto {
    max-width: 100%;
    text-align: center;
  }
}

h1,
h2,
h3 {
  line-height: 150%;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: hsl(192, 100%, 9%);
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.5rem;
}

p {
  line-height: 150%;
  color: hsl(192, 100%, 9%);
  font-weight: 400;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  display: flex;
  z-index: 2;
  transition: all 0.3s ease;
}
header.ativo {
  background-color: hsl(193, 100%, 96%);
  box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.1);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  max-width: 18rem;
}
@media (max-width: 480px) {
  header .logo {
    max-width: 10rem;
  }
  header .btn {
    padding: 0.5rem 3.5rem;
  }
}

.s-principal {
  padding-top: 16rem;
  height: 72rem;
  position: relative;
}
.s-principal::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: hsl(193, 100%, 96%) url(../images/bg-hero-desktop.svg) no-repeat;
  background-size: cover;
  background-position: -70px -5px;
}
.s-principal .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  color: hsl(196, 100%, 97%);
}
.s-principal .texto {
  width: 100%;
  max-width: 46rem;
}
.s-principal .texto h1 {
  margin-bottom: 3.5rem;
}
.s-principal .texto p {
  margin-bottom: 2.5rem;
  color: hsl(194, 95%, 8%);
}
.s-principal .img-mockup {
  width: 100%;
  height: 100%;
  max-width: 70rem;
}
@media (max-width: 998px) {
  .s-principal .texto h1 {
    font-size: 3.2rem;
  }
}
@media (max-width: 768px) {
  .s-principal {
    height: auto;
  }
  .s-principal .container {
    flex-direction: column;
  }
  .s-principal .texto {
    max-width: 100%;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .s-principal::before {
    background: url(../images/bg-hero-mobile.svg) center center;
    background-size: cover;
    background-position: 0 0;
  }
  .s-principal .texto h1 {
    font-size: 3rem;
  }
  .s-principal .texto p {
    max-width: 30rem;
    margin-inline: auto;
  }
}

.s-cartoes {
  padding-top: 14rem;
}
.s-cartoes .comunidade {
  width: 100%;
  max-width: 70rem;
  height: 20rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  margin-top: 12rem;
  text-align: center;
  background-color: #ffffff;
  box-shadow: 1px 2px 5px 2px rgba(0, 0, 0, 0.1);
  transform: translateY(35%);
}
.s-cartoes .comunidade H2 {
  margin-bottom: 2rem;
}
.s-cartoes .comunidade .btn.bg {
  padding: 1.8rem 8.5rem;
}
@media (max-width: 480px) {
  .s-cartoes .comunidade {
    margin-top: 6rem;
    padding-inline: 2rem;
  }
  .s-cartoes .comunidade H2 {
    font-size: 1.8rem;
  }
  .s-cartoes .comunidade .btn.bg {
    padding: 1.5rem 3.5rem;
  }
}

footer {
  width: 100%;
  padding-top: 14rem;
  padding-bottom: 8rem;
  background-color: hsl(192, 100%, 9%);
}
footer .logo {
  max-width: 18rem;
  margin-bottom: 3rem;
}
footer .navegacoes {
  display: flex;
  justify-content: space-between;
}
footer .navegacoes .contato {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  gap: 1.5rem;
  max-width: 36rem;
}
footer .navegacoes .contato li {
  display: flex;
  align-items: center;
  gap: 2rem;
}
footer .navegacoes .contato li:first-child img {
  align-self: flex-start;
}
footer .navegacoes .contato p {
  color: #ffffff;
}
footer .navegacoes nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 30rem;
}
footer .navegacoes nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
footer .navegacoes nav ul li:hover a {
  opacity: 0.5;
  text-decoration: underline;
}
footer .navegacoes nav ul a {
  color: #ffffff;
  transition: all 0.3s ease;
}
footer .navegacoes .social {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
footer .navegacoes .social .fa-facebook-f,
footer .navegacoes .social .fa-twitter,
footer .navegacoes .social .fa-instagram {
  color: #ffffff;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  padding: 1rem;
  transition: all 0.3s ease;
}
footer .navegacoes .social .fa-facebook-f:hover,
footer .navegacoes .social .fa-twitter:hover,
footer .navegacoes .social .fa-instagram:hover {
  color: hsl(322, 100%, 66%);
  border-color: hsl(322, 100%, 66%);
}
footer .copy {
  color: #FFFFFF;
  text-align: end;
  margin-top: 2rem;
  font-size: 1.4rem;
}
@media (max-width: 998px) {
  footer .navegacoes {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  footer .navegacoes .contato {
    max-width: 100%;
  }
  footer .navegacoes nav {
    max-width: 60rem;
  }
  footer .copy {
    text-align: center;
  }
}
@media (max-width: 480px) {
  footer .navegacoes nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}