1import{j as e,m as a}from"./framer-DNXtdBgj.js";import{b as s,h as t,a0 as i,bI as l,a1 as n,ac as r,z as c,c as o,j as d,a3 as m,B as x,bJ as h,A as p,k as f,a4 as u,P as j}from"./index-XTUkK5WH.js";import{C as b}from"./calendar-C5w0UWVn.js";import"./supabase-CVkO6afG.js";function g(){const{t:g}=s(),{phones:w}=t(),y=i(),{s:N}=l(),v=n(w),_=r(w),k=c(o("home.cta_section.primary").tracking,{cta_key:"home.cta_section.primary"}),C=c(o("home.cta_section.secondary").tracking,{cta_key:"home.cta_section.secondary"}),S=d({source:"home.cta_section",label:"WhatsApp CTA Section"}),A=N("cta_final","badge",g("ctaSection.badge")),H=N("cta_final","title",g("ctaSection.title")),z=N("cta_final","highlightWord",""),D=N("cta_final","description",g("ctaSection.description")),I=N("cta_final","scheduleDemo",g("ctaSection.scheduleDemo")),O=N("cta_final","scheduleDemoLink","#lead-form"),T=N("cta_final","businessHours",g("ctaSection.businessHours"));return e.jsxs("section",{className:"py-20 gradient-dark text-primary-foreground relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 opacity-10",children:[e.jsx(a.div,{className:"absolute top-0 left-1/4 w-96 h-96 bg-primary rounded-full blur-3xl",animate:{x:[0,50,0],y:[0,30,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}}),e.jsx(a.div,{className:"absolute bottom-0 right-1/4 w-72 h-72 bg-accent rounded-full blur-3xl",animate:{x:[0,-50,0],y:[0,-30,0]},transition:{duration:12,repeat:1/0,ease:"easeInOut"}})]}),e.jsx("div",{className:"container relative",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx(m,{children:e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/10 backdrop-blur-sm border border-white/20 text-white text-sm font-medium mb-6",children:[e.jsxs("span",{className:"relative flex h-2 w-2",children:[e.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-accent opacity-75"}),e.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-accent"})]}),A]})}),e.jsx(m,{delay:.1,children:e.jsx("h2",{className:"font-display text-3xl md:text-4xl lg:text-5xl font-bold mb-6 text-white",children:(()=>{const a=H,s=(z?[z]:["transformar","transform","transformar"]).map(e=>({w:e,i:a.toLowerCase().indexOf(e)})).find(e=>-1!==e.i);if(!s)return a;const t=a.slice(0,s.i),i=a.slice(s.i,s.i+s.w.length),l=a.slice(s.i+s.w.length);return e.jsxs(e.Fragment,{children:[t,e.jsx("span",{className:"text-accent",children:i}),l]})})()})}),e.jsx(m,{delay:.2,children:e.jsx("p",{className:"text-lg md:text-xl text-primary-foreground/80 mb-10 max-w-2xl mx-auto",children:D})}),e.jsx(m,{delay:.3,children:e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 mb-12",children:[e.jsx(a.div,{whileHover:{scale:1.02},whileTap:{scale:.98},children:e.jsx(x,{size:"lg",variant:"accent",className:"gap-2 text-base",asChild:!0,children:e.jsxs(h,{to:O,onClick:k,children:[e.jsx(b,{className:"h-5 w-5"}),I,e.jsx(p,{className:"h-5 w-5"})]})})}),_&&e.jsx(a.div,{whileHover:{scale:1.02},whileTap:{scale:.98},children:e.jsx(x,{size:"lg",variant:"accent",className:"gap-2 text-base",asChild:!0,children:e.jsx("a",{href:f(_.whatsapp,y.pathname),target:"_blank",rel:"noopener noreferrer",onClick:S({number:_.whatsapp,chain:C}),children:"WhatsApp"})})})]})}),e.jsx(m,{delay:.4,children:e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-6 text-sm text-primary-foreground/70",children:[v&&e.jsxs("a",{href:`tel:${u(v)}`,className:"flex items-center gap-2 hover:text-primary transition-colors",children:[e.jsx(j,{className:"h-4 w-4"}),v.number]}),e.jsx("span",{className:"hidden sm:block",children:"â¢"}),e.jsx("span",{children:T})]})})]})})]})}export{g as CTASection};
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.