1import{u as g,r as d,j as e,L as h}from"./index-C3eWtbfx.js";import{S as f,J as c,p as v,b as j}from"./schema-Bwvto0ai.js";import{u as y}from"./site-content-Dj8DgW7g.js";import{c as N}from"./createLucideIcon-lR7RyeYz.js";import{Z as k}from"./zap-sGQqWoy7.js";import{S as w}from"./shield-check-DLzvSIIR.js";import{S}from"./search-CuGX8oqd.js";import{X as z}from"./x-DWUe4lf7.js";import{S as m}from"./sparkles-Dr-fivZr.js";import{A as M}from"./arrow-right-BSNZ2U2a.js";import"./youtube-CslVoU8Y.js";import"./DeveloperCredit-uGjuZm3a.js";import"./map-pin-DUKWGkpb.js";import"./useQuery-CE0P18kh.js";const C=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],p=N("cpu",C);function L(r){return r.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-+|-+$)/g,"")}function O(){const r=g(),{data:t}=y(),[o,i]=d.useState(""),l=d.useMemo(()=>{const a=t??[],s=o.trim().toLowerCase();return s?a.filter(n=>`${n.name} ${n.description??""} ${n.category??""}`.toLowerCase().includes(s)):a},[t,o]),x=t?.length??0;return e.jsxs(f,{children:[t&&t.length>0&&e.jsx(c,{data:v(r,t)}),e.jsx(c,{data:j([{name:"InÃcio",url:r.origin},{name:"Equipamentos",url:`${r.origin}/equipamentos`}])}),e.jsxs("section",{className:"relative bg-brand-black text-white py-20 md:py-28 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 grid-bg opacity-50","aria-hidden":!0}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"radial-gradient(circle at 50% 25%, rgba(34,197,94,0.28), transparent 65%)"},"aria-hidden":!0}),e.jsx("div",{className:"absolute inset-x-0 top-0 h-full overflow-hidden pointer-events-none","aria-hidden":!0,children:e.jsx("div",{className:"absolute inset-x-0 h-px bg-gradient-to-r from-transparent via-brand-green to-transparent animate-scan-y"})}),e.jsxs("div",{className:"relative max-w-6xl mx-auto px-6 lg:px-8",children:[e.jsxs("div",{className:"space-y-5 animate-fade-in-up max-w-3xl",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-brand-green/10 ring-1 ring-brand-green/30 text-[10px] uppercase tracking-[0.3em] font-bold text-brand-green",children:[e.jsx(p,{size:12}),"Catálogo completo"]}),e.jsxs("h1",{className:"text-4xl md:text-6xl lg:text-7xl font-extrabold tracking-tight leading-[0.95]",children:["Tecnologia que ",e.jsx("br",{}),e.jsx("span",{className:"text-brand-green",children:"transforma"})," sua clÃnica."]}),e.jsx("p",{className:"text-white/70 max-w-xl text-base md:text-lg",children:"Os equipamentos mais desejados do mercado, com manutenção, treinamento e suporte técnico inclusos."})]}),e.jsx("div",{className:"mt-10 md:mt-14 grid grid-cols-3 gap-px bg-white/10 ring-1 ring-white/10 rounded-2xl overflow-hidden text-center",children:[{icon:k,label:"Performance",value:"Premium"},{icon:w,label:"Garantia",value:"Total"},{icon:p,label:"Suporte",value:"24/7"}].map(a=>e.jsxs("div",{className:"bg-brand-black px-4 py-4 md:py-5",children:[e.jsx(a.icon,{size:16,className:"text-brand-green mx-auto mb-1.5"}),e.jsx("div",{className:"text-sm md:text-base font-extrabold",children:a.value}),e.jsx("div",{className:"text-[9px] md:text-[10px] uppercase tracking-[0.25em] text-white/50",children:a.label})]},a.label))})]})]}),e.jsx("section",{className:"sticky top-20 z-40 bg-white/95 backdrop-blur-md border-b border-black/5 py-4",children:e.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 flex flex-col md:flex-row md:items-center gap-4",children:e.jsxs("div",{className:"relative flex-1 max-w-md",children:[e.jsx(S,{size:16,className:"absolute left-4 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none"}),e.jsx("input",{type:"search",value:o,onChange:a=>i(a.target.value),placeholder:"Buscar equipamento...",className:"w-full pl-11 pr-10 py-3 rounded-full bg-brand-soft border border-foreground
1/10 focus:border-brand-green outline-none text-sm transition","aria-label":"Buscar equipamento"}),o&&e.jsx("button",{type:"button",onClick:()=>i(""),className:"absolute right-3 top-1/2 -translate-y-1/2 size-7 grid place-items-center rounded-full text-muted-foreground hover:bg-foreground/10","aria-label":"Limpar busca",children:e.jsx(z,{size:14})})]})})}),e.jsxs("section",{className:"py-16 md:py-20 bg-white relative overflow-hidden",children:[e.jsx("div",{className:"absolute -top-20 left-1/4 size-80 rounded-full bg-brand-green/5 blur-3xl pointer-events-none","aria-hidden":!0}),e.jsxs("div",{className:"relative max-w-7xl mx-auto px-6 lg:px-8",children:[e.jsxs("div",{className:"flex items-center justify-between mb-8 text-[10px] uppercase tracking-[0.3em] font-mono text-muted-foreground",children:[e.jsxs("span",{children:[l.length.toString().padStart(2,"0")," / ",String(x).padStart(2,"0")," ","resultados"]}),e.jsxs("span",{className:"hidden md:flex items-center gap-2",children:[e.jsx("span",{className:"size-1.5 rounded-full bg-brand-green"}),"Em estoque"]})]}),l.length===0?e.jsxs("div",{className:"text-center py-20 space-y-3",children:[e.jsx(m,{className:"size-12 text-brand-green/40 mx-auto"}),e.jsx("h2",{className:"text-xl font-extrabold text-brand-black",children:"Nenhum equipamento encontrado"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Tente ajustar a busca ou os filtros."}),e.jsx("button",{onClick:()=>i(""),className:"inline-flex items-center gap-2 mt-2 text-xs font-bold uppercase tracking-widest text-brand-green-dark hover:text-brand-black",children:"Limpar filtros"})]}):e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5 md:gap-6",children:l.map((a,s)=>{const n=a.slug||L(a.name),b=`#${String(s+1).padStart(2,"0")}`,u=s%6+1;return e.jsxs(h,{to:"/equipamentos/$slug",params:{slug:n},className:`group relative bg-white rounded-2xl overflow-hidden ring-1 ring-black/5 hover:ring-brand-green/60 hover:shadow-2xl hover:shadow-brand-green/10 transition-all hover:-translate-y-1 animate-fade-in-up stagger-${u} opacity-0 [animation-fill-mode:forwards]`,children:[e.jsxs("div",{className:"relative aspect-[4/3] bg-brand-soft overflow-hidden",children:[a.image_url?e.jsx("img",{src:a.image_url,alt:a.name,loading:"lazy",decoding:"async",fetchPriority:"low",className:"w-full h-full object-contain p-6 transition-transform duration-700 group-hover:scale-110"}):e.jsx("div",{className:"w-full h-full grid place-items-center bg-brand-black",children:e.jsx(m,{size:36,className:"text-brand-green/60"})}),e.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity",children:e.jsx("div",{className:"absolute inset-y-0 w-1/3 bg-gradient-to-r from-transparent via-brand-green/20 to-transparent animate-scan-x"})}),e.jsx("div",{className:"absolute top-3 left-3 px-2 py-0.5 rounded-full bg-brand-black/90 backdrop-blur text-[9px] uppercase tracking-widest font-mono font-bold text-brand-green",children:b}),a.category&&e.jsx("div",{className:"absolute top-3 right-3 px-2 py-0.5 rounded-full bg-white/95 backdrop-blur text-[9px] uppercase tracking-widest font-bold text-brand-black",children:a.category}),e.jsx("span",{className:"absolute top-1.5 left-1.5 size-3 border-t-2 border-l-2 border-brand-green/0 group-hover:border-brand-green transition-colors"}),e.jsx("span",{className:"absolute top-1.5 right-1.5 size-3 border-t-2 border-r-2 border-brand-green/0 group-hover:border-brand-green transition-colors"}),e.jsx("span",{className:"absolute bottom-1.5 left-1.5 size-3 border-b-2 border-l-2 border-brand-green/0 group-hover:border-brand-green transition-colors"}),e.jsx("span",{className:"absolute bottom-1.5 right-1.5 size-3 border-b-2 border-r-2 border-brand-green/0 group-hover:border-brand-green transition-colors"})]}),e.jsxs("div",{className:"p-5 md:p-6 space-y-3 border-t border-black/5",children:[e.jsx("h2",{className:"text-lg md:text-xl font-extrabold text-brand-black leading-tight tracking-tight",children:a.name}),a.description&&e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed line-clamp-3 min-h-[3.75em]",children:a.description}),e.jsxs("div",{className:"flex items-center justify-between pt-2 border-t border-dashed border-black/10",children:[e.jsx("span",{className:"text-[10px] uppercase tracking-[0.25em] font-mono text-brand-green-dark",children:"Spec sheet"}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs uppercase tracking-widest font-bold text-brand-black group-hover:gap-3 group-hover:text-brand-green-dark transition-all",children:["Ver detalhes",e.jsx(M,{size:14})]})]})]})]},a.id)})})]})]})]})}export{O 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.