/* Container principal que define o grid */
#gform_wrapper_3 .gform_fields {
  display: grid;
  grid-template-areas:
    "nome mensagem"
    "email mensagem"
    "telefone mensagem"
    "termo termo"
    ". ."; /* Linha vazia para empurrar o botão para baixo, se necessário */
  grid-template-columns: 1fr 1fr; /* Duas colunas de tamanho igual */
  grid-gap: 20px; /* Espaço entre os campos */
}

/* Atribuição de área a cada campo */
.gfield.nome-input {
  grid-area: nome;
 
}

.gfield.mail-input {
  grid-area: email;
  
}

.gfield.phone-input {
  grid-area: telefone;

}

#field_3_7 {
  grid-area: mensagem;
}

.gfield.aceite-input {
  grid-area: termo;
}

/* Opcional: Estilo para o botão de envio se ele não estiver no grid */
.gform_footer {
  grid-area: footer;
  justify-self: start;
}

/* Layout para dispositivos móveis */
@media (max-width: 1024px) {
  #gform_wrapper_3 .gform_fields {
    grid-template-areas:
      "nome"
      "telefone"
      "email"
      "mensagem"
      "termo";
    grid-template-columns: 1fr; /* Apenas uma coluna em telas menores */
  }
}

/*MAPA*/
.map-container {
    position: relative;
    height: 450px;
    overflow: hidden;
    border: 1px solid #c0e3e5;
    border-radius: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 12;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.map-overlay-link:hover {
    transform: scale(1.1);
}

.map-overlay-link img {
    height: 100%;
    width: auto;
}

.map-gradient {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    background: linear-gradient(
        to bottom right,
        transparent 80%,
        #16428D 100%
    );
}
/*MAPA*/
.zp-form-o-futuro  .gform-footer.gform_footer.top_label {
    justify-content: center;
    width: 100%;
}

