Solicitação de orçamentos

<form id=”form-orcamento” method=”POST” action=”/api/orcamento”>
<h2>Solicitação de Orçamento</h2>

<label>Razão Social:</label>
<input type=”text” name=”razao_social” required />

<label>CNPJ:</label>
<input type=”text” name=”cnpj” required />

<label>Endereço:</label>
<input type=”text” name=”endereco” required />

<label>Cidade:</label>
<input type=”text” name=”cidade” required />

<label>Estado:</label>
<input type=”text” name=”estado” required />

<label>CEP:</label>
<input type=”text” name=”cep” required />

<label>Telefone:</label>
<input type=”tel” name=”telefone” required />

<label>Nome de Contato:</label>
<input type=”text” name=”contato” required />

<label>Produto:</label>
<input type=”text” name=”produto” id=”produto” readonly />

<button type=”submit”>Solicitar Orçamento</button>
</form>

<script>
// Preenche o campo “produto” com base no link clicado
document.addEventListener(“DOMContentLoaded”, () => {
const params = new URLSearchParams(window.location.search);
const produto = params.get(“produto”);
if (produto) {
document.getElementById(“produto”).value = produto;
}
});
</script>