PageSourceSearch

https://iris-grow-hub.lovable.app/assets/contato-wvQZOx3v.js

js iris-grow-hub.lovable.app collected 2026-10-03 03:30:22 UTC 6,047 bytes, 1 lines download raw bytes

1import{r as t,j as e,M as d,e as i,I as c,W as m,g as x}from"./main-F6yOuHOy.js";import{S as u}from"./send-CWVAh418.js";import{M as g}from"./map-pin-CK0JktR6.js";function p(){const[r,s]=t.useState({name:"",phone:"",interest:"",message:""}),[a,l]=t.useState(!1),n=o=>{o.preventDefault(),l(!0)};return a?e.jsxs("div",{className:"rounded-xl border border-border bg-card p-8 text-center shadow-premium",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-accent",children:e.jsx(u,{className:"h-8 w-8 text-gold"})}),e.jsx("h3",{className:"font-display text-xl font-bold text-card-foreground",children:"Mensagem enviada!"}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Entraremos em contato em breve."})]}):e.jsxs("form",{onSubmit:n,className:"rounded-xl border border-border bg-card p-8 shadow-premium",children:[e.jsx("h3",{className:"mb-6 font-display text-xl font-bold text-card-foreground",children:"Solicite seu orçamento"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"name",className:"mb-1.5 block text-sm font-medium text-card-foreground",children:"Nome"}),e.jsx("input",{id:"name",type:"text",required:!0,maxLength:100,value:r.name,onChange:o=>s({...r,name:o.target.value}),className:"w-full rounded-lg border border-input bg-background px-4 py-3 text-sm text-foreground outline-none transition-colors focus:border-gold focus:ring-1 focus:ring-gold",placeholder:"Seu nome completo"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"phone",className:"mb-1.5 block text-sm font-medium text-card-foreground",children:"Telefone"}),e.jsx("input",{id:"phone",type:"tel",required:!0,maxLength:20,value:r.phone,onChange:o=>s({...r,phone:o.target.value}),className:"w-full rounded-lg border border-input bg-background px-4 py-3 text-sm text-foreground outline-none transition-colors focus:border-gold focus:ring-1 focus:ring-gold",placeholder:"(11) 99999-9999"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"interest",className:"mb-1.5 block text-sm font-medium text-card-foreground",children:"Interesse"}),e.jsxs("select",{id:"interest",required:!0,value:r.interest,onChange:o=>s({...r,interest:o.target.value}),className:"w-full rounded-lg border border-input bg-background px-4 py-3 text-sm text-foreground outline-none transition-colors focus:border-gold focus:ring-1 focus:ring-gold",children:[e.jsx("option",{value:"",children:"Selecione..."}),e.jsx("option",{value:"equipamento",children:"Equipamento IRISMACRO 4K"}),e.jsx("option",{value:"software",children:"Software IrisDiag"}),e.jsx("option",{value:"curso",children:"Curso de Iridologia"}),e.jsx("option",{value:"combo",children:"Combo Profissional"}),e.jsx("option",{value:"outro",children:"Outro"})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"message",className:"mb-1.5 block text-sm font-medium text-card-foreground",children:"Mensagem"}),e.jsx("textarea",{id:"message",rows:4,maxLength:1e3,value:r.message,onChange:o=>s({...r,message:o.target.value}),className:"w-full rounded-lg border border-input bg-background px-4 py-3 text-sm text-foreground outline-none transition-colors focus:border-gold focus:ring-1 focus:ring-gold",placeholder:"Como podemos ajudar?"})]}),e.jsx("button",{type:"submit",className:"w-full rounded-lg bg-primary px-6 py-3.5 font-semibold text-primary-foreground transition-all hover:opacity-90 shadow-premium",children:"Enviar mensagem"})]})]})}const h=[{icon:d,title:"WhatsApp",desc:"Resposta rápida em horário comercial",href:x("Olá! Preciso de ajuda."),label:"Iniciar conversa"},{icon:i,title:"Email",desc:"[email protected]",href:"mailto:[email protected]",label:"Enviar email"},{icon:c,title:"Instagram",desc:"@irismacro",href:"https://instagram.com/irismacro",label:"Seguir"},{icon:g,title:"Localização",desc:"Sergipe — Brasil",href:"#",label:""}];function v(){return e.jsxs(e.Fragment,{children:[e.jsx("section",{className:"bg-primary py-12 lg:py-28",children:e.jsxs("div",{className:"mx-auto max-w-4xl px-4 text-center lg:px-8",children:[e.jsx("span",{className:"mb-4 inline-block rounded-full border border-gold-subtle bg-navy-light/50 px-4 py-1.5 text-xs font-semibold uppercase tracking-widest text-gold",children:"Contato"}),e.jsxs("h1",{className:"font-display text-3xl font-bold leading-tight text-primary-foreground sm:text-4xl md:text-5xl",children:["Vamos ",e.jsx("span",{className:"text-gradient-gold",children:"conversar?"})]}),e.jsx("p",{className:"mx-auto mt-5 max-w-2xl text-base leading-relaxed text-primary-foreground
1/85 sm:text-lg",children:"Estamos prontos para ajudar você a dar o próximo passo na sua carreira em iridologia. Escolha o canal que preferir."})]})}),e.jsx("section",{className:"py-20 lg:py-28",children:e.jsx("div",{className:"mx-auto max-w-7xl px-4 lg:px-8",children:e.jsxs("div",{className:"grid gap-12 lg:grid-cols-2",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-8",children:"Canais de atendimento"}),e.jsx("div",{className:"space-y-4",children:h.map((r,s)=>e.jsxs("div",{className:"flex items-center gap-4 rounded-xl border border-border bg-card p-5 transition-all hover:border-gold-subtle hover:shadow-sm",children:[e.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-lg gradient-gold",children:e.jsx(r.icon,{className:"h-6 w-6 text-gold-foreground"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-display text-base font-bold text-card-foreground",children:r.title}),e.jsx("p",{className:"text-sm text-muted-foreground",children:r.desc})]}),r.label&&e.jsx("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:"text-sm font-semibold text-gold hover:underline",children:r.label})]},s))}),e.jsx("div",{className:"mt-8",children:e.jsx(m,{variant:"gold",message:"Olá! Vim pelo site e preciso de ajuda.",children:"Conversar no WhatsApp"})})]}),e.jsx("div",{children:e.jsx(p,{})})]})})})]})}export{v as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.