* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #7a7a7a;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

header {
  height: 50px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px;
  box-shadow: 0px 0px 10px black;
}

.hero_img {
  position: relative;
  width: 100%;
  height: 500px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel img.active {
  opacity: 1;
  z-index: 0;
}

nav {
  display: flex;
  gap: 50px;
}

nav a {
  font-family: "Aldrich", sans-serif;
  font-weight: 600;
  font-size: 12px;
  font-style: normal;
  color: #7a7a7a;
  text-decoration: none;
  transition: 0.5s;
}

nav a:hover {
  color: #009579;
}

.scroll-down {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

#perfil-btn{
  display: none;
  border-radius: 5px;
  border: 1px solid #7a7a7a;
  padding: 10px;
  text-decoration: none;
}

#perfil-btn:hover{
  border: 1px solid #009579;
  color: #009579;
}

header #login-button {
  border: none;
  background-color: #009579;
  color: white;
  border-radius: 5px;
  padding: 10px;
  width: 100px;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: 0.5s;
}

header #login-button:hover {
  background-color: #008169;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

#index-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.section1 {
  display: flex;
  padding: 0px 50px 0px 50px;
  align-items: center;
  gap: 100px;
}

.carousel-inline {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.carousel-inline img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}

.carousel-inline img.active {
  opacity: 1;
  pointer-events: auto;
}

.content {
  width: 150%;
}

.content h1 {
  color: #009579;
}

.content h2 {
  color: #7a7a7a;
}

.zheng-font {
  font-family: "Orbitron", sans-serif;
  font-weight: bolder;
  color: #333;
}

.section2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background: linear-gradient(to top, #009579, #006956);
  padding: 25px;
}

.section2 h1 {
  color: white;
}

.section2 p {
  color: white;
  max-width: 70%;
}

.footer-line1 {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 50px;
}

.info {
  width: 30%;
  margin: 50px;
}

.contact {
  width: 95%;
  margin: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form p {
  align-self: flex-start;
}

.line1 {
  display: flex;
  width: 100%;
  gap: 20px;
}

.input_style {
  width: 100%;
}

.input_style input {
  width: 100%;
  height: 30px;
  padding: 0;
  padding-left: 2px;
  border: none;
  border-bottom: 1.5px solid black;
  outline: none;
  transition: 0.3s;
}

.input_style input:focus {
  border-bottom: 1.5px solid #009579;
}

.contact-form input {
  width: 100%;
  height: 30px;
  padding: 0;
  padding-left: 2px;
  border: none;
  border-bottom: 1.5px solid black;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus {
  border-bottom: 1.5px solid #009579;
}

.contact-form textarea {
  width: 100%;
  height: 100px;
  padding: 0;
  border: 1.5px solid black;
  outline: none;
}

.contact-form textarea:focus {
  border: 1.5px solid #009579;
}

.contact-form button {
  padding: 0;
  margin: 10px;
  width: 101%;
  height: 30px;
  font-size: 15px;
  border-radius: 5px;
  background-color: #009579;
  color: white;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  transition: 0.5s;
}

.contact-form button:hover {
  background-color: #008169;
}

.carrossel {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carrossel img {
  flex: 0 0 auto;
  width: 400px;
  scroll-snap-align: start;
}

#fa-whatsapp {
  width: 75px;
  position: fixed;
  right: 0;
  bottom: 0;
  border: none;
}

#fa-whatsapp img {
  width: 75px;
}

footer {
  background-color: #009579;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.privacidade {
  display: flex;
  gap: 25px;
  align-self: center;
}

.privacidade a {
  cursor: pointer;
}

footer a {
  color: #fff;
}

.footer {
  display: flex;
  justify-content: space-evenly;
  align-items: top;
}

.footer-description {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  max-width: 200px;
}

.footer-description h3 {
  color: #fff;
}

.footer-description span {
  color: #fff;
}

footer a {
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
}

footer a:hover {
  border-bottom: 1.5px solid white;
}

#logo img {
  margin-top: 25px;
}

#redes {
  display: flex;
  gap: 20px;
}

#redes a i {
  margin-top: 15px;
  font-size: 30px;
  color: #fff;
}

.popup-container {
  display: flex;
  justify-content: center;
  align-items: end;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.popup-container.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin: 25px;
  width: 90%;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.popup-container.active .popup-content {
  transform: translateY(0);
}

.popup-content h2 {
  margin-top: 0;
  color: #333;
  font-size: 1.8em;
}

.popup-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.popup-buttons {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.popup-button {
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

.popup-button.accept {
  width: 48%;
  background-color: #009579;
  color: white;
}

.popup-button.accept:hover {
  background-color: #008169;
}

.popup-button.decline {
  width: 48%;
  background-color: #009579;
  color: white;
}

.popup-button.decline:hover {
  background-color: #008169;
}

.popup-button.cookies {
  width: 48%;
  background-color: #009579;
  color: white;
}

.popup-button.cookies:hover {
  background-color: #008169;
}

/* Estilo para o botão de fechar (o "X") */
.popup-close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.popup-close-button:hover {
  color: #000; /* Fica mais escuro ao passar o mouse */
}

/* Opcional: Se você quiser que o texto no popup de privacidade seja alinhado à esquerda como na imagem */
#privacyCenterPopup .popup-content p {
  text-align: left; /* Alinha o texto à esquerda */
}

@media (max-width: 1024px) {
  .section1 {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }

  .content {
    width: 100%;
  }

  .carousel-inline {
    aspect-ratio: auto;
    height: 300px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .footer-description {
    max-width: 90%;
    text-align: center;
  }

  .line1 {
    flex-direction: column;
  }

  header {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    font-size: 14px;
  }

  .popup-buttons {
    flex-direction: column;
  }

  .popup-button.cookies {
    width: 100%;
    margin: 10px 0px 10px 0px;
  }

  .popup-button.accept {
    width: 100%;
    margin: 10px 0px 10px 0px;
  }

  .popup-button.decline {
    width: 100%;
    margin: 10px 0px 10px 0px;
  }
}

@media (max-width: 600px) {
  .hero_img {
    height: 350px;
  }

  .carousel img,
  .carousel-inline img {
    object-fit: cover;
  }

  .section2 p {
    max-width: 100%;
    padding: 0 10px;
  }

  .carrossel img {
    width: 100%;
  }

  #fa-whatsapp img {
    width: 50px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    font-size: 14px;
    height: 40px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-description {
    align-items: center;
  }

  .popup-buttons {
    flex-direction: column;
  }

  .popup-button.cookies {
    width: 100%;
    margin: 10px 0px 10px 0px;
  }

  .popup-button.accept {
    width: 100%;
    margin: 10px 0px 10px 0px;
  }

  .popup-button.decline {
    width: 100%;
    margin: 10px 0px 10px 0px;
  }
}
