* {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  box-sizing: border-box;
}

.imagemLogoheader {
  height: 50px;
}

body {
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #002040;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 20px;
}

.bar {
  background-color: white;
  height: 4px;
  width: 100%;
}

nav {
  display: flex;
  gap: 60px;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  /* Adicionando a transição */
}

nav a:hover {
  color: #a81d5b;
  /* Cor de hover para os links */
  transform: scale(1.05);
  /* Efeito de aumento no hover */
}

.home {
  padding: -50px;
}


section {
  padding: 50px;
}

#sobre {
  text-align: center;
}

#sobre h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

#sobre p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.sobre-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.sobre-content img {
  width: 50%;
  border-radius: 10px;
}

.sobre-content .benefits {
  flex: 1;
}

.sobre-content h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.sobre-content ul {
  list-style: none;
  padding: 0;
  width: 100%;
}

.sobre-content li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.sobre-content li img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.sobre-content li span {
  flex: 1;
  text-align: left;
  min-width: 200px;
}

#depoimentos {
  background-color: #f9f9ff;
  text-align: center;
  padding: 50px;
}

#depoimentos h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.testimonials {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  flex-wrap: wrap;
}

.testimonial {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1;
  max-width: 300px;
  text-align: left;
}

.testimonial img {
  width: 100%;
  border-radius: 10px;
}

.testimonial h3 {
  font-size: 20px;
  color: #333;
  margin-top: 10px;
}

.testimonial p {
  font-size: 14px;
  color: #666;
}

.stars {
  color: gold;
  font-size: 1.5rem;
}

.stars span {
  font-family: Arial, sans-serif;
}

.whatsapp-icon-container-header {
  margin: -40px -50px -50px -50px;
}

.whatsapp-icon-header {
  width: 100px;
}

.whatsapp-icon-container-header:hover img {
  opacity: 0.8;
}

.whatsapp-icon-container {

  position: fixed;
  outline: none;
  bottom: 30px;
  right: -0px;
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  animation-name: pulsar;
}

.whatsapp-icon {
  width: 150px;
}

.whatsapp-icon-container:hover img {
  opacity: 0.8;
}

.social-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.social-link img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.social-link:hover {
  color: #555;
}

footer {
  background-color: #001F3F;
  color: #fff;
  padding: 30px 50px;
}

footer h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

footer p,
footer li {
  font-size: 14px;
  margin: 5px 0;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
}

footer a:hover {
  text-decoration: underline;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-content div {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-content ul {
  list-style: none;
  padding: 0;
}

.footer-bottom {
  text-align: center;
  margin-top: -15px;
  font-size: 14px;
}

.produtos {
  background-color: #e1ecf5;
  padding: 50px 20px;
  text-align: center;
}

.produtos h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #333;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 400px;
}



.card img {
  width: 100%;
  height: 55%;
  object-fit: cover;
  border-radius: 5px;
}

.card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #333;
}

.card p {
  color: #555;
  font-size: 0.9rem;
  margin: 5px 0;
  flex-grow: 1;
}


.btn-contato {
  display: inline-block;
  background: #007BFF;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-contato:hover {
  background: #0056b3;
}

.produtos-btn {
  color: white;
  text-decoration: none;
  margin-top: 20px;
}

@media (max-width: 768px) {


  .whatsapp-icon-container-header {
    display: none;
  }

  header {
    flex-direction: row;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  nav {
    display: none;
    flex-direction: column;
    gap: 1px;
    width: 75%;
    background-color: #e6effa;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }

  .menu-icon {
    display: flex;
  }

  nav.active {
    display: flex;
  }

  nav a {
    color: black;
    font-size: 18px;
    text-align: center;
    padding: 10px;
  }

  .produtos-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .imagemLogoheader,
  .imagemSegundoBlock {
    display: none;
  }


}

@media (max-width: 768px) {


  header {
    padding: 15px 25px;
  }

  nav {
    width: 50%;
    top: 70px;
  }

  nav a {
    font-size: 18px;
    padding: 12px;
  }

  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: row;
    text-align: left;
  }

  .menu-icon {
    width: 35px;
    height: 25px;
  }
}

@media (max-width: 768px) {

  .card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 780px !important;
  }
}


.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

#background-carousel {
  width: 100%;
  height: 720px;
  background-size: cover;
  background-position: 0% 50%;
  position: relative;
  /* Aplica duas animações: uma para trocar as imagens e outra para o slide lateral */
  animation: changeBackgrounds 80s infinite, slideLateral 20s linear infinite;
}

@keyframes changeBackgrounds {

  0%,
  14.28% {
    background-image: url('/assets/slideHome/1.png');
  }

  14.2%,
  28.56% {
    background-image: url('/assets/slideHome/2.png');
  }

  28.57%,
  42.84% {
    background-image: url('/assets/slideHome/3.png');
  }

  42.85%,
  57.12% {
    background-image: url('/assets/slideHome/4.png');
  }

  57.13%,
  71.4% {
    background-image: url('/assets/slideHome/5.png');
  }

  71.41%,
  85.68% {
    background-image: url('/assets/slideHome/6.png');
  }

  85.69%,
  100% {
    background-image: url('/assets/slideHome/7.png');
  }
}

@keyframes slideLateral {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@media (max-width: 768px) {
  #background-carousel {
    background-position: 0% 50%;
    animation: changeBackgrounds 80s infinite, slideLateral 20s linear infinite;
  }

  @keyframes changeBackgrounds {

    0%,
    14.28% {
      background-image: url('/assets/slideHomeMobile/1.png');
    }

    14.2%,
    28.56% {
      background-image: url('/assets/slideHomeMobile/2.png');
    }

    28.57%,
    42.84% {
      background-image: url('/assets/slideHomeMobile/3.png');
    }

    42.85%,
    57.12% {
      background-image: url('/assets/slideHomeMobile/4.png');
    }

    57.13%,
    71.4% {
      background-image: url('/assets/slideHomeMobile/5.png');
    }

    71.41%,
    85.68% {
      background-image: url('/assets/slideHomeMobile/6.png');
    }

    85.69%,
    100% {
      background-image: url('/assets/slideHomeMobile/7.png');
    }
  }
}

#background-carousel .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50px);
  color: white;
  text-align: center;
}

#background-carousel h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

#background-carousel p {
  font-size: 1.2em;
}

@media (max-width: 768px) {
  p {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 768px) {
  .card p {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}