1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{18189:function(e,a,t){Promise.resolve().then(t.bind(t,9616))},9616:function(e,a,t){"use strict";t.d(a,{HomeView:function(){return Z}});var s=t(57437),l=t(55302),r=t(79095),n=t(87123),i=t(28759),o=t(32090),c=t(97344),d=t(2265),x=t(94799);let m=(e,a)=>e<=0||a<=0?0:Math.round(.0248/(1-Math.pow(1.0248,-a))*e),h=async e=>{let a=await (0,x.a8)("/api/leads",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!a.ok)throw Error("lead_submit_failed");return await a.json()},p={valorMinCentavos:6e4,valorMaxCentavos:15e5,stepCentavos:1e4,prazosMeses:[12,18,24,36,48],valorPadraoCentavos:5e5},u=e=>"number"==typeof e&&Number.isInteger(e)&&e>0,f=e=>"object"==typeof e&&null!==e&&!!(u(e.valorMinCentavos)&&u(e.valorMaxCentavos)&&u(e.stepCentavos)&&u(e.valorPadraoCentavos)&&!(e.valorMaxCentavos<=e.valorMinCentavos)&&(e.valorMaxCentavos-e.valorMinCentavos)%e.stepCentavos==0&&!(e.valorPadraoCentavos<e.valorMinCentavos)&&!(e.valorPadraoCentavos>e.valorMaxCentavos)&&Array.isArray(e.prazosMeses)&&0!==e.prazosMeses.length)&&e.prazosMeses.every(u),b=e=>f(e)?e:p,g=(e,a)=>{let{valorMinCentavos:t,valorMaxCentavos:s,stepCentavos:l}=a;return e<=t?t:e>=s?s:t+Math.round((e-t)/l)*l};var v=t(73190),j=t(65876);let N=(e,a,t)=>e>=a&&e<=t,w=()=>{let e=(0,d.useMemo)(()=>b(),[]),[a,t]=(0,d.useState)(1),[s,l]=(0,d.useState)(e.valorPadraoCentavos),[r,n]=(0,d.useState)(e.prazosMeses.includes(24)?24:e.prazosMeses[0]),i=(0,d.useRef)(!1),[o,c]=(0,d.useState)(!1);(0,d.useEffect)(()=>{let e=e=>{e.persisted&&c(!1)};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[]);let x=!N(s,e.valorMinCentavos,e.valorMaxCentavos),h=Math.min(Math.max(s,e.valorMinCentavos),e.valorMaxCentavos),p=m(h,r),u=new URLSearchParams({valor:String(Math.round((0,v.Ub)(h))),prazo_meses:String(r)});return{phase:a,restricoes:e,valorCentavos:s,valorNoSlider:h,prazoMeses:r,parcelaCentavos:p,valorInvalido:x,podeAvancar:!x,contratacaoHref:"".concat("/consignado-clt/contratacao","?").concat(u.toString()),solicitando:o,setValorCentavos:e=>{i.current||(i.current=!0,(0,j.L)("hero_sim_valor_change",{valor:(0,v.Ub)(e)})),l(e)},onValorBlur:()=>{l(a=>g(a,e))},setPrazoMeses:e=>n(e),avancar:()=>{if(1===a){if(x)return;(0,j.L)("hero_sim_fase2",{valor:(0,v.Ub)(s)}),t(2);return}2===a&&((0,j.L)("hero_sim_fase3",{valor:(0,v.Ub)(h),prazo_meses:r}),t(3))},voltar:()=>{1!==a&&((0,j.L)("hero_sim_voltar",{de_fase:a}),t(3===a?2:1))},onSolicitarClick:()=>{o||(c(!0),(0,j.L)("hero_sim_solicitar",{valor:(0,v.Ub)(h),prazo_meses:r,parcela:(0,v.Ub)(p)}))}}},y=()=>({submit:async e=>{window.dataLayer&&window.dataLayer.push({event:"optin_submit",form_id:"ofertas_e_produtos"});let a=await h(e);if(!a.ok)throw Error(a.error||"submit_failed")}});var k=t(95257);let C=()=>{let{texts:e}=(0,o.x)(),a=e.common,t=e.home,s=w(),{submit:l}=y(),r=[{id:"clt",label:a.nav.linkClt,href:"#hero"},{id:"imovel",label:a.nav.linkImovel,href:"/credito-com-garantia-de-imovel"}],n={login:a.nav.login,ctaPrimary:a.nav.ctaPrimary},i={headingStrong:t.hero.headingStrong,headingLine2:t.hero.headingLine2,headingLine3:t.hero.headingLine3,subtitleLine1:t.hero.subtitleLine1,subtitleLine2:t.hero.subtitleLine2,imageAlt:t.hero.imageAlt,simulator:{phase1:{title:t.hero.simulator.phase1.title,valorLabel:t.hero.simulator.phase1.valorLabel,valorAriaLabel:t.hero.simulator.phase1.valorAriaLabel,sliderAriaLabel:t.hero.simulator.phase1.sliderAriaLabel,minLabel:t.hero.simulator.phase1.minLabel,maxLabel:t.hero.simulator.phase1.maxLabel,disclaimer:t.hero.simulator.phase1.disclaimer,cta:t.hero.simulator.phase1.cta,erroFaixa:t.hero.simulator.phase1.erroFaixa},phase2:{title:t.hero.simulator.phase2.title,prazoAriaLabel:t.hero.simulator.phase2.prazoAriaLabel,cta:t.hero.simulator.phase2.cta},phase3:{parcelaLabel:(0,c.s)(t.hero.simulator.phase3.parcelaLabel,{parcelas:s.prazoMeses}),valorLabel:t.hero.simulator.phase3.valorLabel,disclaimer:t.hero.simulator.phase3.disclaimer,cta:t.hero.simulator.phase3.cta},voltar:t.hero.simulator.voltar,reguladoBacen:t.hero.simulator.reguladoBace
1n},stats:t.hero.stats},d={imageAlt:t.whatIs.imageAlt,headingLine1:t.whatIs.headingLine1,headingLine2:t.whatIs.headingLine2,p1:t.whatIs.p1,p2Pre:t.whatIs.p2Pre,p2Strong:t.whatIs.p2Strong,p2Post:t.whatIs.p2Post,p3Pre:t.whatIs.p3Pre,p3Strong:t.whatIs.p3Strong,bullets:[...t.whatIs.bullets],cta:t.whatIs.cta},x={title:t.howItWorks.title,imageAlt:t.howItWorks.imageAlt,steps:t.howItWorks.steps,cta:t.howItWorks.cta},m={eyebrow:t.socialProof.eyebrow,headingPart1:t.socialProof.headingPart1,headingPart2:t.socialProof.headingPart2,footnote:t.socialProof.footnote,p1:t.socialProof.p1,p2Strong:t.socialProof.p2Strong,p2Rest:t.socialProof.p2Rest,cards:t.socialProof.cards,cta:t.socialProof.cta},h={eyebrow:t.testimonials.eyebrow,title:t.testimonials.title,items:t.testimonials.items},p={title:t.faq.title,subtitle:t.faq.subtitle,items:t.faq.items,cta:t.faq.cta},u={title:t.contato.title,subtitle:t.contato.subtitle,fieldName:t.contato.fieldName,fieldNamePlaceholder:t.contato.fieldNamePlaceholder,fieldPhone:t.contato.fieldPhone,fieldPhonePlaceholder:t.contato.fieldPhonePlaceholder,fieldEmail:t.contato.fieldEmail,fieldEmailPlaceholder:t.contato.fieldEmailPlaceholder,consentPre:t.contato.consentPre,consentLink:t.contato.consentLink,consentPost:t.contato.consentPost,errorRequired:t.contato.errorRequired,errorSubmit:t.contato.errorSubmit,submit:t.contato.submit,footnote:t.contato.footnote,successTitle:t.contato.successTitle,successBodyPre:t.contato.successBodyPre,successBodyStrong:t.contato.successBodyStrong,successBodyPost:t.contato.successBodyPost},f=(0,k.G)();return{labels:{hero:i,whatIs:d,howItWorks:x,socialProof:m,testimonials:h,faq:p,nav:n,navLinks:r,contactForm:u,footerColumns:f.columns,footerSocial:f.social,footerLabels:f.labels,whatsappAriaLabel:a.whatsapp.ariaLabel},heroSim:s,submitContact:l,handlers:{onNavLogin:()=>(0,j.L)("nav_entrar"),onNavCta:()=>(0,j.L)("nav_cta_primary"),onWhatsapp:()=>(0,j.L)("whatsapp_float"),onWhatIsCta:()=>(0,j.L)("howitworks_simular"),onHowItWorksCta:()=>(0,j.L)("howitworks_contrate"),onSocialProofCta:()=>(0,j.L)("whatis_quero_credito"),onFaqCta:()=>(0,j.L)("faq_contrate")}}};var L=t(67194),P=t(56957),S=t(30599);let M=(0,t(13027).j)("hidden md:flex relative bg-primary-500",{variants:{size:{default:"min-h-[calc(100vh-60px-94px)]",fill:"min-h-[calc(100vh-60px)]"}},defaultVariants:{size:"default"}}),z=e=>{let{imageSrc:a,imageAlt:t,mobileImageSrc:l,heading:r,subtitle:n,panel:i,mobilePanel:o,cta:c,stats:d,imageSide:x="right",size:m,className:h}=e,p=null!=o?o:i,u=(0,s.jsx)("div",{className:"w-1/2 shrink-0 overflow-hidden",children:(0,s.jsx)("img",{src:a,alt:t,className:"w-full h-full object-cover object-center block"})}),f=(0,s.jsx)("div",{className:(0,P.cn)("w-1/2 shrink-0 flex flex-col justify-center py-14 items-start","right"===x?"pl-[80px] pr-[60px]":"pr-[80px] pl-[60px]"),children:(0,s.jsxs)("div",{className:"w-full max-w-[640px]",children:[(0,s.jsx)("h1",{className:"text-5xl md:text-[62px] text-black mb-3 font-normal leading-[1.0] tracking-[-0.02em]",children:r}),n&&(0,s.jsx)("p",{className:"text-xl md:text-2xl text-black font-medium leading-tight mb-8",children:n}),(i||c)&&(0,s.jsxs)("div",{children:[i,c&&(0,s.jsx)("div",{className:"flex justify-end mt-3.5",children:c})]})]})});return(0,s.jsxs)("section",{id:"hero",className:(0,P.cn)("pt-[60px]",h),children:[(0,s.jsx)("div",{className:M({size:m}),children:"left"===x?(0,s.jsxs)(s.Fragment,{children:[u,f]}):(0,s.jsxs)(s.Fragment,{children:[f,u]})}),(0,s.jsxs)("div",{className:"md:hidden bg-primary-500",children:[(0,s.jsx)("div",{className:"h-[220px] overflow-hidden",children:(0,s.jsx)("img",{src:null!=l?l:a,alt:t,className:"w-full h-full object-cover block [object-position:center_20%]"})}),(0,s.jsxs)("div",{className:"px-5 py-6",children:[(0,s.jsx)("h1",{className:"text-[34px] text-neutral-800 mb-2 font-normal leading-tight",children:r}),n&&(0,s.jsx)("p",{className:"text-lg text-neutral-800 opacity-85 leading-relaxed mb-5",children:n}),p,c&&(0,s.jsx)("div",{className:"flex justify-end mt-3.5",children:c}),(0,s.jsx)("div",{className:"h-6"})]})]}),d&&d.length>0&&(0,s.jsx)(S.o,{items:d})]})};var _=t(50163),I=t(38671);let A=e=>{let{labels:a,sim:t,headingId:l,headingRef:r,idPrefix:n}=e,{phase1:i}=a,{restricoes:o}=t,c="".concat(n,"-valor"),d="".concat(n,"-erro"),x="".concat(n,"-disclaimer"),m=(t.valorNoSlider-o.valorMinCentavos)/(o.valorMaxCentavos-o.valorMinCentavos)*100;return(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)("h2",{id:l,ref:r,tabIndex:-1,
1className:"text-2xl font-bold leading-6 text-black focus:outline-none md:text-xl",children:i.title}),(0,s.jsxs)("div",{className:"flex flex-col gap-[22px]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("label",{htmlFor:c,className:"text-xs leading-[15px] text-slate-500",children:i.valorLabel}),(0,s.jsx)("input",{id:c,inputMode:"numeric",autoComplete:"off","aria-label":i.valorAriaLabel,"aria-invalid":t.valorInvalido||void 0,"aria-describedby":t.valorInvalido?"".concat(d," ").concat(x):x,value:(0,v.OY)(t.valorCentavos),onChange:e=>t.setValorCentavos((0,v.NM)(e.target.value)),onBlur:t.onValorBlur,className:"h-[52px] w-full rounded-field border border-stroke bg-white px-4 text-2xl font-medium leading-[22px] text-content-strong focus:border-content-strong focus:outline-none md:text-xl"})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)(_.i,{min:o.valorMinCentavos,max:o.valorMaxCentavos,step:o.stepCentavos,value:t.valorNoSlider,fillPercent:m,"aria-label":i.sliderAriaLabel,"aria-valuetext":(0,v.OY)(t.valorNoSlider),onChange:e=>t.setValorCentavos(Number(e.target.value))}),(0,s.jsxs)("div",{className:"flex items-start justify-between",children:[(0,s.jsx)("span",{className:"text-xs leading-[18px] text-ink/70",children:i.minLabel}),(0,s.jsx)("span",{className:"text-xs leading-[18px] text-ink/70",children:i.maxLabel})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[t.valorInvalido&&(0,s.jsx)("p",{id:d,role:"alert",className:"text-xs font-semibold leading-[15px] text-error",children:i.erroFaixa}),(0,s.jsx)("p",{id:x,className:"text-xs leading-[15px] text-slate-500",children:i.disclaimer}),(0,s.jsx)(I.R,{label:a.reguladoBacen})]})]})};var B=t(88790);let R=e=>{let{label:a,onClick:t}=e;return(0,s.jsxs)("button",{type:"button",onClick:t,className:"inline-flex items-center gap-2 self-start rounded-sm text-base font-medium text-content-strong hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",children:[(0,s.jsx)("svg",{viewBox:"0 0 20 20",className:"size-5","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M12 4l-6 6 6 6",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})}),a]})},W=e=>{let{labels:a,sim:t,headingId:l,headingRef:r}=e,n=t.restricoes.prazosMeses.map(e=>({value:String(e),label:"".concat(e,"x")}));return(0,s.jsxs)("div",{className:"flex flex-col gap-7",children:[(0,s.jsx)(R,{label:a.voltar,onClick:t.voltar}),(0,s.jsxs)("div",{className:"flex flex-col gap-[42px]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsx)("h2",{id:l,ref:r,tabIndex:-1,className:"text-2xl font-bold leading-6 text-black focus:outline-none md:text-xl",children:a.phase2.title}),(0,s.jsx)(B.P,{options:n,value:String(t.prazoMeses),"aria-label":a.phase2.prazoAriaLabel,onChange:e=>t.setPrazoMeses(Number(e.target.value)),className:"h-[52px] rounded-field border-stroke px-4 text-2xl font-medium text-content-strong md:text-xl"})]}),(0,s.jsx)(I.R,{label:a.reguladoBacen})]})]})},E=e=>{let{labels:a,sim:t,headingId:l,headingRef:r}=e;return(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsx)(R,{label:a.voltar,onClick:t.voltar}),(0,s.jsxs)("div",{className:"flex flex-col gap-[14px]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("h2",{id:l,ref:r,tabIndex:-1,className:"text-base leading-5 text-content-strong focus:outline-none",children:a.phase3.parcelaLabel}),(0,s.jsxs)("p",{className:"text-[32px] font-bold leading-10 text-success-500 md:text-4xl",children:[(0,v.OY)(t.parcelaCentavos),"*"]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("p",{className:"text-base leading-5 text-content-strong",children:a.phase3.valorLabel}),(0,s.jsx)("p",{className:"text-xl font-bold leading-[22px] text-content-strong",children:(0,v.OY)(t.valorNoSlider)})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,s.jsx)("p",{className:"text-xs leading-[15px] text-slate-500",children:a.phase3.disclaimer}
1),(0,s.jsx)(I.R,{label:a.reguladoBacen})]})]})]})},F=e=>{let{labels:a,sim:t}=e,l=(0,d.useId)(),r="".concat(l,"-heading"),n=(0,d.useRef)(null),i=(0,d.useRef)(t.phase);(0,d.useEffect)(()=>{if(i.current===t.phase)return;i.current=t.phase;let e=n.current;e&&null!==e.offsetParent&&e.focus()},[t.phase]);let o={labels:a,sim:t,headingId:r,headingRef:n};return(0,s.jsxs)("section",{"aria-labelledby":r,className:"min-h-[300px] rounded-xl bg-white p-5 shadow-cardTight md:min-h-[320px] md:max-w-[418px] md:p-6",children:[1===t.phase&&(0,s.jsx)(A,{...o,idPrefix:l}),2===t.phase&&(0,s.jsx)(W,{...o}),3===t.phase&&(0,s.jsx)(E,{...o})]})},q=()=>(0,s.jsx)("svg",{viewBox:"0 0 20 20",className:"size-5 shrink-0","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M4 10h12m-5-5 5 5-5 5",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})}),T=e=>{let{labels:a,sim:t}=e,{simulator:l}=a;return 1===t.phase?(0,s.jsxs)(L.z,{type:"button",onClick:t.avancar,disabled:!t.podeAvancar,variant:"primary",size:"md",fullWidth:!0,className:"gap-2.5",children:[l.phase1.cta,(0,s.jsx)(q,{})]}):2===t.phase?(0,s.jsxs)(L.z,{type:"button",onClick:t.avancar,variant:"primary",size:"md",className:"mx-auto w-[256px] gap-2.5",children:[l.phase2.cta,(0,s.jsx)(q,{})]}):(0,s.jsxs)(L.z,{as:"a",href:t.contratacaoHref,onClick:t.onSolicitarClick,loading:t.solicitando,variant:"primary",size:"md",className:"mx-auto w-[298px] gap-2.5",children:[l.phase3.cta,!t.solicitando&&(0,s.jsx)(q,{})]})},O=e=>{let{labels:a,sim:t}=e,l=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{className:"font-extrabold block",children:a.headingStrong}),(0,s.jsx)("span",{className:"block",children:a.headingLine2}),(0,s.jsx)("span",{className:"block",children:a.headingLine3})]}),r=(0,s.jsxs)(s.Fragment,{children:[a.subtitleLine1,(0,s.jsx)("br",{}),a.subtitleLine2]}),n=(0,s.jsx)(F,{labels:a.simulator,sim:t});return(0,s.jsx)(z,{imageSrc:"/images/hero-trabalhadora.jpg",imageAlt:a.imageAlt,heading:l,subtitle:r,panel:n,cta:(0,s.jsx)(T,{labels:a,sim:t}),stats:a.stats})},U=e=>{let{labels:a,onCtaClick:t}=e;return(0,s.jsx)("section",{className:"bg-white py-10 md:py-16",children:(0,s.jsxs)("div",{className:"max-w-[1128px] mx-auto px-5 md:px-0 grid grid-cols-[repeat(auto-fit,minmax(min(100%,300px),1fr))] gap-8 md:gap-12 items-center",children:[(0,s.jsx)("div",{className:"rounded-2xl overflow-hidden",children:(0,s.jsx)("img",{src:"/images/whatis-pessoa.jpg",alt:a.imageAlt,className:"w-full aspect-[3/4] object-cover object-top block scale-x-[-1]"})}),(0,s.jsxs)("div",{className:"text-center md:text-left",children:[(0,s.jsxs)("h2",{className:"text-2xl md:text-[44px] md:leading-[50px] font-bold text-black mb-5",children:[a.headingLine1,(0,s.jsx)("br",{}),a.headingLine2]}),(0,s.jsxs)("div",{className:"text-base leading-relaxed text-slate-700",children:[(0,s.jsx)("p",{className:"mb-3.5",children:a.p1}),(0,s.jsxs)("p",{className:"mb-3.5",children:[a.p2Pre," ",(0,s.jsx)("strong",{children:a.p2Strong})," ",a.p2Post]}),(0,s.jsxs)("p",{className:"mb-6",children:[a.p3Pre," ",(0,s.jsx)("strong",{children:a.p3Strong})]})]}),(0,s.jsx)("div",{className:"flex flex-col gap-2 mb-8 items-center md:items-start",children:a.bullets.map(e=>(0,s.jsxs)("div",{className:"flex gap-3 items-center",children:[(0,s.jsx)("span",{className:"w-4 h-4 rounded-full bg-primary-500 shrink-0 flex items-center justify-center text-sm font-extrabold",children:"â"}),(0,s.jsx)("span",{className:"text-base text-black",children:e})]},e))}),(0,s.jsx)(L.z,{as:"a",href:"/consignado-clt",onClick:t,variant:"secondary",size:"lg",children:a.cta})]})]})})},V=e=>{let{labels:a,onCtaClick:t}=e;return(0,s.jsx)("section",{id:"como",className:"bg-primary-500/[0.12] py-12 md:py-20",children:(0,s.jsxs)("div",{className:"max-w-[1128px] mx-auto px-5 md:px-0",children:[(0,s.jsx)("div",{className:"text-center mb-14",children:(0,s.jsx)("h2",{className:"text-2xl md:text-[44px] md:leading-[50px] font-bold text-black mb-3",children:a.title})}),(0,s.jsxs)("div",{className:"grid grid-cols-[repeat(auto-fit,minmax(min(100%,300px),1fr))] gap-8 md:gap-12 items-center",children:[(0,s.jsx)("div",{children:a.steps.map((e,t)=>(0,s.jsxs)("div",{className:"flex gap-5 relative",children:[t<a.steps.length-1&&(0,s.jsx)("div",{className:"absolute left-[21px] top-[46px] w-0.5 h-[calc(100%-10px)] bg-primary-500"}),(0,s.jsx)("div",{className:"shrink-0 w-10 h-10 rounded-full bg-primary-500 flex items-center justify-center font-semibold text-base text-black z-10",children:t+1}),(0,s.jsxs)("div",{className:"pb-8",children:[(0,s.jsx)("div",{className:"font-semibold text-lg text-black mb-2 leading-tight",children:e.title}),(0,s.jsx)("div",{className:"text-base font-medium text-slate-600 leading-relaxed",children:e.desc})]})]},t))}),(0,s.jsx)("div",{className:"rounded-2xl overflow-hidden",children:(0,s.jsx)("img",{src:"/images/howitworks-celular.jpg",alt:a.imageAlt,className:"w-full h-full object-cover object-top block"})})]}),(0,s.jsx)("div",{className:"text-center mt-12",children:(0,s.jsx)(L.z,{as:"a",href:"/consignado-clt",onClick:t,variant:"primary",size:"lg",children:a.cta})})]})})},D=e=>{let{imageSrc:a,imageAlt:t,bold:l,regular:r,desc:n}=e;return(0,s.jsxs)("div",{className:"rounded-2xl overflow-hidden flex flex-col",children:[(0,s.jsx)("div",{className:"aspect-square overflow-hidden shrink-0",children:(0,s.jsx)("img",{src:a,alt:t,className:"w-full h-full object-cover object-center block"})}),(0,s.jsxs)("div",{className:"bg-primary-500 p-4 flex-1",children:[(0,s.jsx)("div",{className:"text-xl font-extrabold text-black leading-tight",children:l}),(0,s.jsx)("div",{className:"text-xl font-normal text-black leading-tight mb-4",children:r}),(0,s.jsx)("div",{className:"text-sm text-black leading-snug",children:n})]})]})},H=["/images/feature-taxas.jpg","/images/feature-parcelas.jpg","/images/feature-contratacao.jpg","/images/feature-folha.jpg"],Y=e=>{let{labels:a,onCtaClick:t}=e;return(0,s.jsx)("section",{className:"bg-white py-10 md:py-16 border-t border-neutral-300",children:(0,s.jsxs)("div",{className:"max-w-[1128px] mx-auto px-5 md:px-0",children:[(0,s.jsxs)("div",{className:"mb-12 text-center",children:[(0,s.jsx)("div",{className:"text-sm font-semibold text-slate-500 mb-3.5 uppercase tracking-widest",children:a.eyebrow}),(0,s.jsxs)("h2",{className:"text-2xl md:text-[44px] md:leading-[50px] font-bold text-black leading-[1.1] mb-2.5",children:[a.headingPart1,(0,s.jsx)("sup",{className:"text-[0.4em] align-super opacity-60",children:"1"}),(0,s.jsx)("br",{}),a.headingPart2]}),(0,s.jsxs)("p",{className:"text-sm text-slate-500 mb-5",children:["* ",a.footnote]}),(0,s.jsx)("p",{className:"text-lg text-neutral-800/80 leading-relaxed mx-auto mb-1 max-w-[560px]",children:a.p1}),(0,s.jsxs)("p",{className:"text-lg text-neutral-800/80 leading-relaxed max-w-[480px] mx-auto",children:[(0,s.jsx)("strong",{className:"opacity-100 text-neutral-800",children:a.p2Strong}),a.p2Rest]})]}),(0,s.jsx)("div",{className:"grid grid-cols-[repeat(auto-fit,minmax(210px,1fr))] gap-4 mb-10",children:a.cards.map((e,a)=>(0,s.jsx)(D,{imageSrc:H[a],imageAlt:e.imageAlt,bold:e.bold,regular:e.regular,desc:e.desc},a))}),(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)(L.z,{as:"a",href:"/consignado-clt",onClick:t,variant:"primary",size:"lg",children:a.cta})})]})})},J=e=>{let{text:a,name:t,job:l,city:r}=e;return(0,s.jsxs)("div",{className:"shrink-0 w-[clamp(280px,80vw,400px)] snap-start bg-white rounded-2xl p-5 border border-slate-200 relative",children:[(0,s.jsx)("div",{className:"text-4xl text-slate-500 leading-none mb-3 font-serif",children:"â"}),(0,s.jsx)("p",{className:"text-sm text-slate-700 leading-relaxed mb-6",children:a}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-semibold text-base text-black",children:t}),(0,s.jsxs)("div",{className:"text-sm text-slate-500",children:[l," \xb7 ",r]})]}),(0,s.jsx)("div",{className:"absolute top-5 right-5 flex gap-0.5",children:[1,2,3,4,5].map(e=>(0,s.jsx)("span",{className:"text-primary-500 text-sm",children:"â
"},e))})]})},$=e=>{let{labels:a}=e,[t,l]=(0,d.useState)(0),r=(0,d.useRef)(null),n=e=>{let t=Math.max(0,Math.min(a.items.length-1,e));l(t);let s=r.current,n=null==s?void 0:s.children[t];if(s&&n){let e=parseFloat(getComputedStyle(s).paddingLeft)||0;s.scrollTo({left:n.offsetLeft-s.offsetLeft-e,behavior:"smooth"})}};return(0,s.jsxs)("section",{className:"bg-white py-12 md:py-20 overflow-hidden",children:[(0,s.jsx)("div",{className:"max-w-[1128px] mx-auto px-5 md:px-0",children:(0,s.jsxs)("div",{className:"text-center mb-10",children:[(0,s.jsx)("div",{className:"text-sm font-semibold text-slate-500 mb-2.5 uppercase tracking-wider",children:a.eyebrow}),(0,s.jsx)("h2",{className:"text-2xl md:text-[44px] md:leading-[50px] font-bold text-black",children:a.title})]})}),(0,s.jsx)("div",{ref:r,onScroll:e=>{let a=e.currentTarget,t=Array.from(a.children);if(0===t.length)return;let s=a.scrollLeft,r=0,n=1/0;t.forEach((e,t)=>{let l=Math.abs(e.offsetLeft-a.offsetLeft-s);l<n&&(n=l,r=t)}),l(r)},className:"flex overflow-x-auto snap-x snap-mandatory gap-4 pb-2 px-5 scroll-pl-5 max-w-[1128px] mx-auto [scrollbar-width:none]",children:a.items.map((e,a)=>(0,s.jsx)(J,{text:e.text,name:e.name,job:e.job,city:e.city},a))}),(0,s.jsx)("div",{className:"flex justify-center gap-2 mt-5",children:a.items.map((e,a)=>(0,s.jsx)("button",{onClick:()=>n(a),"aria-label":"Ir para depoimento ".concat(a+1),className:(0,P.cn)("h-1.5 rounded-sm border-none cursor-pointer p-0 transition-all",t===a?"w-6 bg-primary-500":"w-2 bg-slate-300")},a))})]})};var G=t(47104);let K=e=>{let{labels:a,onCtaClick:t}=e,[l,r]=(0,d.useState)(0);return(0,s.jsx)("section",{id:"faq",className:"bg-white py-12 md:py-20",children:(0,s.jsxs)("div",{className:"max-w-[780px] mx-auto px-5 md:px-0",children:[(0,s.jsxs)("div",{className:"text-center mb-12",children:[(0,s.jsx)("h2",{className:"text-2xl md:text-[44px] md:leading-[50px] font-bold text-black mb-3",children:a.title}),(0,s.jsx)("p",{className:"text-sm text-slate-600",children:a.subtitle})]}),(0,s.jsx)("div",{className:"flex flex-col gap-4",children:a.items.map((e,a)=>(0,s.jsx)(G.u,{question:e.q,answer:e.a,isOpen:l===a,onToggle:()=>r(l===a?null:a)},a))}),(0,s.jsx)("div",{className:"text-center mt-10",children:(0,s.jsx)(L.z,{as:"a",href:"/consignado-clt",onClick:t,variant:"primary",size:"lg",children:a.cta})})]})})};var X=t(85060);let Q=e=>{let{labels:a,title:t,subtitle:l,onSubmit:r}=e;return(0,s.jsx)("section",{id:"contato",className:"bg-primary-500 py-12 md:py-20",children:(0,s.jsxs)("div",{className:"max-w-[744px] mx-auto px-5 md:px-0",children:[(0,s.jsxs)("div",{className:"text-center mb-8",children:[(0,s.jsx)("h2",{className:"text-3xl md:text-4xl font-extrabold text-neutral-800 mb-2.5",children:t}),(0,s.jsx)("p",{className:"text-lg text-neutral-800 opacity-85",children:l})]}),(0,s.jsx)(X.t,{labels:a,onSubmit:r})]})})},Z=()=>{let{labels:e,heroSim:a,submitContact:t,handlers:o}=C();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.J,{links:e.navLinks,currentPageId:"clt",labels:e.nav,onLoginClick:o.onNavL
1ogin,onCtaClick:o.onNavCta}),(0,s.jsx)(O,{labels:e.hero,sim:a}),(0,s.jsx)(U,{labels:e.whatIs,onCtaClick:o.onWhatIsCta}),(0,s.jsx)(V,{labels:e.howItWorks,onCtaClick:o.onHowItWorksCta}),(0,s.jsx)(Y,{labels:e.socialProof,onCtaClick:o.onSocialProofCta}),(0,s.jsx)($,{labels:e.testimonials}),(0,s.jsx)(K,{labels:e.faq,onCtaClick:o.onFaqCta}),(0,s.jsx)(Q,{labels:e.contactForm,title:e.contactForm.title,subtitle:e.contactForm.subtitle,onSubmit:t}),(0,s.jsx)(r.$,{columns:e.footerColumns,socialLinks:e.footerSocial,labels:e.footerLabels}),(0,s.jsx)(n.C,{phone:i.dC,message:i.$M,ariaLabel:e.whatsappAriaLabel,onClick:o.onWhatsapp})]})}},88790:function(e,a,t){"use strict";t.d(a,{P:function(){return n}});var s=t(57437),l=t(2265),r=t(56957);let n=(0,l.forwardRef)((e,a)=>{let{className:t,options:l,placeholder:n,error:i,value:o,defaultValue:c,style:d,...x}=e,m=void 0!==o;return(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("select",{ref:a,...m?{value:null!=o?o:""}:{defaultValue:null!=c?c:""},className:(0,r.cn)("w-full appearance-none px-3.5 py-3 pr-10 rounded-md border border-neutral-300 bg-white text-base font-sans","focus:outline-none focus:border-[var(--brand-primary)] transition-colors","disabled:bg-neutral-50 disabled:text-neutral-400 disabled:cursor-not-allowed",(m?null===o||""===o:void 0===c||""===c)&&"text-neutral-400",i&&"border-error focus:border-error",t),style:d,...x,children:[void 0!==n&&(0,s.jsx)("option",{value:"",disabled:!0,hidden:!0,children:n}),l.map(e=>(0,s.jsx)("option",{value:e.value,className:"text-neutral-800",children:e.label},e.value))]}),(0,s.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 20 20",className:"pointer-events-none absolute right-3.5 top-1/2 -translate-y-1/2 w-5 h-5 text-neutral-600",children:(0,s.jsx)("path",{d:"M6 8l4 4 4-4",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})})]})});n.displayName="Select"},50163:function(e,a,t){"use strict";t.d(a,{i:function(){return n}});var s=t(57437),l=t(2265),r=t(56957);let n=(0,l.forwardRef)((e,a)=>{let{className:t,style:l,fillPercent:n,...i}=e;return(0,s.jsx)("input",{ref:a,type:"range",className:(0,r.cn)("app-slider w-full",t),style:{...void 0===n?void 0:{"--brand-slider-fill":"".concat(n,"%")},...l},...i})});n.displayName="Slider"},47104:function(e,a,t){"use strict";t.d(a,{u:function(){return n}});var s=t(57437),l=t(56957);let r=e=>e.split(/\*\*([\s\S]+?)\*\*/g).map((e,a)=>a%2==1?(0,s.jsx)("strong",{className:"font-semibold",children:e},a):e),n=e=>{let{question:a,answer:t,isOpen:n,onToggle:i}=e;return(0,s.jsxs)("div",{className:(0,l.cn)("bg-white overflow-hidden border-[1.5px] transition-colors",n?"rounded-2xl border-primary-500":"rounded-full border-neutral-300"),children:[(0,s.jsxs)("button",{onClick:i,"aria-expanded":n,className:"w-full flex justify-between items-center px-6 py-5 bg-transparent border-none cursor-pointer text-left gap-4",children:[(0,s.jsx)("span",{className:"font-semibold text-base text-black leading-snug",children:a}),(0,s.jsx)("span",{className:(0,l.cn)("shrink-0 w-7 h-7 rounded-full flex items-center justify-center transition-[transform,background-color] duration-300 ease-out",n?"rotate-45 bg-primary-500 text-black":"border border-slate-300 bg-transparent text-slate-500"),children:(0,s.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14","aria-hidden":!0,children:[(0,s.jsx)("line",{x1:"7",y1:"2",x2:"7",y2:"12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("line",{x1:"2",y1:"7",x2:"12",y2:"7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})})]}),(0,s.jsx)("div",{className:"grid transition-[grid-template-rows] duration-300 ease-out",style:{gridTemplateRows:n?"1fr":"0fr"},"aria-hidden":!n,children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsx)("div",{className:(0,l.cn)("px-6 pb-5 text-base text-slate-700 leading-relaxed transition-opacity duration-300",n?"opacity-100":"opacity-0"),children:r(t)})})})]})}},38671:function(e,a,t){"use strict";t.d(a,{R:function(){return r}});var s=t(57437),l=t(56957);let r=e=>{let{label:a,className:t}=e;return(0,s.jsxs)("div",{className:(0,l.cn)("flex items-start gap-2 pr-6",t),children:[(0,s.jsx)("img",{src:"/images/selo-bacen.png",alt:"","aria-hidden":"true",width:18,height:18,className:"block size-[18px] shrink-0 object-contain"}),(0,s.jsx)("span",{className:"text-xs leading-[18px] text-ink/70",children:a})]})}},85060:function(e,a,t){"use strict";t.d(a,{t:function(){return x}});var s=t(57437),l=t(2265),r=t(67194),n=t(79187),i=t(13126),o=t(92171),c=t(15564);let d={nome:"",telefone:"",email:"",aceite:!0},x=e=>{let{labels:a,onSubmit:t}=e,[x,m]=(0,l.useState)(d),[h,p]=(0,l.useState)(!1),[u,f]=(0,l.useState)(null),[b,g]=(0,l.useState)(!1),v=e=>a=>{let t="checkbox"===a.target.type?a.target.checked:a.target.value;m({...x,[e]:t})},j=async e=>{if(e.preventDefault(),f(null),!(0,c.wC)(x.nome)||!(0,c.pc)(x.telefone)||!(0,c.Jh)(x.email)||!x.aceite){f(a.errorRequired);return}g(!0);try{await t(x),p(!0)}catch(e){f(a.errorSubmit)}finally{g(!1)}};return h?(0,s.jsx)(o.t,{labels:{successTitle:a.successTitle,successBodyPre:a.successBodyPre,successBodyStrong:a.successBodyStrong,successBodyPost:a.successBodyPost,successReset:a.successReset},onReset:()=>{p(!1),m(d)}}):(0,s.jsxs)("form",{onSubmit:j,className:"bg-white rounded-3xl p-5 md:p-8 shadow-card flex flex-col gap-3.5",children:[(0,s.jsx)(i.W,{label:a.fieldName,value:x.nome,onChange:v("nome"),placeholder:a.fieldNamePlaceholder}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-3.5 md:gap-3",children:[(0,s.jsx)(i.W,{label:a.fieldPhone,value:x.telefone,onChange:e=>m({...x,telefone:(0,c.ou)(e.target.value)}),placeholder:a.fieldPhonePlaceholder,inputMode:"numeric",containerClassName:"basis-[200px] flex-1"}),(0,s.jsx)(i.W,{label:a.fieldEmail,type:"email",value:x.email,onChange:v("email"),placeholder:a.fieldEmailPlaceholder,inputMode:"email",autoComplete:"email",containerClassName:"basis-[200px] flex-1"})]}),(0,s.jsxs)("label",{className:"flex gap-2.5 items-start text-sm text-neutral-800 cursor-pointer leading-snug",children:[(0,s.jsx)(n.X,{checked:x.aceite,onChange:v("aceite")}),(0,s.jsxs)("span",{children:[a.consentPre," ",(0,s.jsx)("a",{href:"#",className:"text-neutral-800 font-bold",children:a.consentLink})," ",a.consentPost]})]}),u&&(0,s.jsx)("div",{className:"text-sm text-error font-semibold",children:u}),(0,s.jsx)(r.z,{type:"submit",variant:"primary",size:"lg",disabled:b,className:"mt-1",children:a.submit}),(0,s.jsx)("div",{className:"text-xs text-neutral-800/60 text-center",children:a.footnote})]})}},30599:function(e,a,t){"use strict";t.d(a,{o:function(){return r}});var s=t(57437),l=t(56957);let r=e=>{let{items:a,className:t}=e;return(0,s.jsx)("section",{className:(0,l.cn)("bg-neutral-300 py-6",t),children:(0,s.jsx)("div",{className:"max-w-[1256px] mx-auto px-4 md:px-0 grid grid-cols-2 md:grid-cols-4 gap-6",children:a.map((e,a)=>(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-lg md:text-2xl font-bold text-black leading-tight",children:e.value}),(0,s.jsx)("div",{className:"text-xs text-black/70 mt-1",children:e.label})]},a))})})}},73190:function(e,a,t){"use strict";t.d(a,{IK:function(){return r},NM:function(){return s},OY:function(){return l},Ub:function(){return n},nk:function(){return o},rE:function(){return i}});let s=e=>{let a=e.replace(/\D/g,"");return a?Number(a):0},l=e=>
1(Math.round(e)/100).toLocaleString("pt-BR",{style:"currency",currency:"BRL",minimumFractionDigits:2,maximumFractionDigits:2}),r=e=>Math.round(100*e),n=e=>e/100,i=e=>{let a=e.replace(/\D/g,"");return a?Number(a):null},o=e=>{let a=e/1e5;return Number.isInteger(a)?"R$ ".concat(a," mil"):l(e)}},97344:function(e,a,t){"use strict";t.d(a,{s:function(){return s}});let s=(e,a)=>e.replace(/\{(\w+)\}/g,(e,t)=>{var s;return String(null!==(s=a[t])&&void 0!==s?s:"")})}},function(e){e.O(0,[4868,7138,6648,8796,4764,6408,2971,7023,1744],function(){return e(e.s=18189)}),_N_E=e.O()}]);
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.