@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  list-style: none;
  text-decoration: none;
}
:root {
  --red: #d63a25;
  --white: #fff;
  --dark: #1e1c2a;
}
body {
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/*SEÇÃO BARRA DE NAVEGAÇÃO*/

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  box-shadow: 0 0.1rem 0.5rem #ccc;
  width: 100%;
  background: var(--white);
  transition: all 0.5s;
  position: fixed;
  z-index: 999;
}
.navigation .logo {
  color: var(--red);
  font-size: 1.7rem;
  font-weight: 600;
}
.logo span {
  color: var(--dark);
}
.navigation ul {
  display: flex;
  align-items: center;
  gap: 5rem;
}
.navigation ul li a {
  color: var(--dark);
  font-size: 17px;
  font-weight: 500;
  transition: all 0.5s;
}
.navigation ul li a:hover {
  color: var(--red);
}
.navigation i {
  cursor: pointer;
  font-size: 1.5rem;
}
.menu {
  cursor: pointer;
  display: none;
}
.menu .bar {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--dark);
  margin: 5px auto;
  transition: all 0.3s;
}
.menu .bar:nth-child(1),
.menu .bar:nth-child(3) {
  background: var(--red);
}

/*SEÇÃO HOME*/

.home {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10%;
  background-color: #f0f330;
  color: black;
  margin: 0 auto;
}
.home-text {
  max-width: 37rem;
}
.home-text .text-h4 {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 1rem;
}
.home-text .text-h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 4rem;
  text-shadow: 0.3px 0.3px white;
}
.home-text p {
  margin-bottom: 4rem;
}
.home-btn {
  padding: 15px 45px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.5s;
}
.home-btn:hover {
  background: #fc4c35;
}
.home-img img {
  width: 100%;
}

/*SEÇÃO SOBRE NÓS*/

.sobre {
  width: 100%;
  min-height: 100vh;
  background-color: #ebe5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10%;
  margin: 0 auto;
}
.sobre-text {
  max-width: 37rem;
}
.sobre-text .text-h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 4rem;
}

.sobre-text p {
  margin-bottom: 4rem;
}
.sobre-img img {
  width: 100%;
}
.sobre-btn {
  padding: 15px 45px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.5s;
}
.sobre-btn:hover {
  background: #fc4c35;
}

/*SEÇÃO DO FEEDBACK*/
.feedback {
  width: 100%;
  min-height: 100vh;
  align-items: center;
  background-color: #fff;
  padding: 80px 10%;
  margin: 0 auto;
}

.feedback .title h1 {
  font-size: 4rem;
  text-align: center;
}

.feedback .box {
  padding-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.feedback .card {
  width: 300px;
  height: 200px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 20px;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.card.appear {
  opacity: 1;
  transform: translateY(0);
}
.feedback .card h5 {
  font-size: 22px;
  color: #333333;
  margin-bottom: 10px;
}

.feedback .card p {
  font-size: 16px;
  line-height: 24px;
  color: #555555;
  height: 150px;
  overflow: hidden;
}
.feedback .stars {
  color: #ffd700;
  margin-bottom: 10px;
  display: center;
}

.feedback .card .fas,
.feedback .card .far {
  font-size: 20px;
  margin: 0 2px;
}

/*SEÇÃO SERVIÇOS E PRODUTOS*/

.servicos-produtos .title h1 {
  font-size: 4rem;
  text-align: center;
}
.cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 60px;
}
.servicos-produtos {
  width: 100%;
  min-height: 80vh;
  background-color: #ebe5e5;
  align-items: center;
  padding: 80px 10%;
  margin: 0 auto;
}

.card-serv {
  width: 300px;
  height: 400px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 20px;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.card-serv.appear {
  opacity: 1;
  transform: translateY(0);
}

.card-serv i {
  font-size: 80px;
  color: #cc1f1f;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.card p {
  font-size: 16px;
  line-height: 24px;
  color: #555555;
  height: 150px;
  overflow: hidden;
}
.servicos-produtos .card-serv h5 {
  font-size: 22px;
  color: #333333;
  margin-bottom: 10px;
}

/*SEÇÃO FOOTER (FINAL)*/

footer {
  width: 100%;
  padding: 40px 10px;
  background-color: #191919;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer p:nth-child(1) {
  font-size: 24px;
  color: white;
  margin-bottom: 15px;
  font-weight: bold;
}

footer p:nth-child(2) {
  color: white;
  font-size: 14px;
  max-width: 500px;
  text-align: center;
  line-height: 20px;
}

.social {
  display: flex;
  margin-top: 15px;
}

.social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cc1f1f;
  border-radius: 50%;
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.social a:hover {
  transform: scale(1.2);
  transition: 0.3s;
}

.end {
  color: #9c9c9c;
  font-size: 12px;
  margin-top: 5px;
}

@media (max-width: 785px) {
  .navigation {
    padding: 18px 20px;
  }
  .menu {
    display: block;
  }
  .menu.ativo .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu.ativo .bar:nth-child(2) {
    opacity: 0;
  }
  .menu.ativo .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 70px;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background: var(--white);
    gap: -10px;
    transition: 0.3s;
  }
  .nav-menu.ativo {
    right: 0;
  }
  .nav-item {
    margin: 16px 0;
  }

  .home {
    padding: 100px 2%;
    height: 50%;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    width: 100%;
  }
  .home .text-h4 {
    font-size: 15px;
  }
  .home .text-h1 {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-top: 1.5rem;
  }
  .home p {
    font-size: 15px;
  }
  .home-img {
    width: 100%;
    margin-top: 25px;
  }

  .feedback .title h1 {
    font-size: 2.5rem;
  }

  .servicos-produtos .title h1 {
    font-size: 2.5rem;
  }
  .servicos-produtos {
    padding: 100px 2%;
    flex-direction: column;
    min-height: 80vh;
    text-align: center;
    overflow: hidden;
    gap: 5rem;
  }
  .feedback {
    min-height: 80vh;
    padding: 100px 2%;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    gap: 5rem;
  }

  .sobre {
    padding: 80px 2%;
    min-height: 80vh;
    overflow: hidden;
    gap: 5rem;
  }
  .sobre .text-h1 {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-top: 1.5rem;
    text-align: center;
  }
  .sobre p {
    font-size: 15px;
  }
  .sobre-img {
    display: none;
  }
  footer {
    padding: 30px 10px;
  }

  footer p:nth-child(1) {
    font-size: 20px;
  }

  footer p:nth-child(2) {
    font-size: 12px;
    max-width: 100%;
  }

  .social {
    margin-top: 10px;
  }

  .social a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .end {
    font-size: 10px;
    margin-top: 10px;
  }
}
