.elementor-kit-324{--e-global-color-primary:#206578;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#9F2E2B;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#FFFFFF;}.elementor-kit-324 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1100px;}.e-con{--container-max-width:1100px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */<script>
document.addEventListener('DOMContentLoaded', function () {
  const form = document.querySelector('.elementor-popup form'); // Seleciona o form do popup
  if (!form) return;

  form.addEventListener('submit', function (e) {
    e.preventDefault(); // Impede o envio padrão

    // Pega os valores dos campos
    const nome = form.querySelector('[name="name"]').value;
    const telefone = form.querySelector('[name="phone"]').value;
    const email = form.querySelector('[name="email"]').value;
    const empresa = form.querySelector('[name="empresa"]').value;

    // Monta a mensagem para o WhatsApp
    const mensagem = `Olá, me chamo ${nome}.
Meu telefone é ${telefone} e meu e-mail é ${email}.
Represento a empresa ${empresa}.
Gostaria de solicitar uma cotação.`;

    // Cria o link do WhatsApp com encode
    const link = `https://wa.me/5511994125134?text=${encodeURIComponent(mensagem)}`;

    // Redireciona
    window.location.href = link;
  });
});
</script>/* End custom CSS */