html {
  scroll-padding-top: 122px; /* Ajuste conforme a altura do seu menu */
}

.arrow {
  width: 20px;
}

.container {
  display: flex;
  flex-direction: column; /* Um elemento abaixo do outro */
  align-items: center; /* Centraliza o conteúdo */
  width: 100%;
  max-width: 800px; /* Ajuste conforme necessário */
  margin: auto;
}

.intro-content {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: var(--gap);
  min-height: 100vh;
  flex-direction: row;
  flex-wrap: wrap;
}

.img-principal {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}

.img-principal img {
  max-width: 100%;
  /* border-radius: 20% 30% / 2% 20%; */
  height: 65vh;
  /* -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%); */
  /* mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%); */
  border-radius: 10%;
}

.intro-text-content {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
}

.contact {
  display: flex;
  justify-content: space-between; /* Mantém texto à esquerda e mapa à direita */
  align-items: center;
  gap: 20px;
}

.contact-text-content {
  flex: 1; /* Ocupa o espaço disponível */
  max-width: 50%; /* Mantém o texto na esquerda no desktop */
  text-align: left;
}

.google-map {
  flex: 1;
  max-width: 50%; /* Mantém o mapa na direita */
  position: relative;
  padding-bottom: 40%; /* Proporção para manter responsivo */
}


.google-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5%;
}

.contact-form {
  grid-column: span 2;
}

.contact-form .form-grid {
  border: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--gap);
}

.form-grid legend {
  font-style: italic;
  font-weight: bold;
  font-size: 1.6rem; 
  margin-bottom: 3rem;
}

.form-group {
  flex: 1 1 320px;
}

.form-group label {
  display: block;
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  border: none;
  background: var(--white-color);
  padding: 1.5rem 2rem;
  width: 100%;
  font-size: 3rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 10px 2px var(--secondary-color);
}

.form-group button {
  border: 0.5rem solid var(--white-color);
  background: none;
  color: var(--white-color);
  padding: 1.5rem 2rem;
  font-size: 3rem;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.form-group button:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

.form-group ::placeholder {
  color: var(--light-gray-color);
}

.footer {
  text-align: center;
  font-size: 1.6rem;
}

.footer a {
  color: var(--primary-color);
}

.heart {
  color: var(--secondary-color);
}

.footer p {
  margin: 0;
  padding: 3rem;
}

.close-menu {
  display: none;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--light-gray-color);
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--primary-color);
  /* transform: rotate(-90deg); */
  border: 0.1rem solid var(--primary-color);
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: 0.3s;
  width: fit-content;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.whatsapp-button img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}

@media (max-width: 800px) {
  .grid-one-content {
    display: block;
  }

  .intro-content {
    display: flex;
    flex-direction: column;  /* No mobile, coloca a imagem abaixo do texto */
    text-align: center;
  }

  .img-principal {
    margin-top: 20px;
  }

  .img-principal img {
    height: 60%;
  }

  .menu {
    bottom: 0;
    text-align: center;
  }

  .menu-content, .menu-content ul {
    flex-direction: column;
    justify-content: center;
  }

  .menu-content {
    height: 100vh;
  }

  .menu {
    display: none;
  }

  .close-menu-label::after {
    content: '☰';
    position: fixed;
    z-index: 2;
    top: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 3rem;
    line-height: 3rem;
    width: 3rem;
    height: 3rem;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
  }

  .close-menu:checked~.menu {
    display: block;
  }

  .close-menu:checked~.close-menu-label::after {
    content: '×';
  }

}