(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[332],{6760:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(8241)}])},8241:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>eL,default:()=>eR});var a=s(7876),l=s(7328),r=s.n(l),i=s(311),o=s.n(i),n=s(4232);function c(e){let{palette:t,children:s}=e;return(0,n.useEffect)(()=>{switch(t){case"A":default:document.documentElement.style.setProperty("--primary-color","#F94743"),document.documentElement.style.setProperty("--secondary-color","#101010"),document.documentElement.style.setProperty("--primary-text-color","#000000"),document.documentElement.style.setProperty("--secondary-text-color","#EFEFEF"),document.documentElement.style.setProperty("--background-color","#ffffff");break;case"B":document.documentElement.style.setProperty("--primary-color","#13678A"),document.documentElement.style.setProperty("--secondary-color","#012030"),document.documentElement.style.setProperty("--primary-text-color","#000E15"),document.documentElement.style.setProperty("--secondary-text-color","#ECF6F8"),document.documentElement.style.setProperty("--background-color","#ffffff");break;case"C":document.documentElement.style.setProperty("--primary-color","#4A5F46"),document.documentElement.style.setProperty("--secondary-color","#2E3B27"),document.documentElement.style.setProperty("--primary-text-color","#1A1A1A"),document.documentElement.style.setProperty("--secondary-text-color","#F5F5F4"),document.documentElement.style.setProperty("--background-color","#FFFFFF");break;case"D":document.documentElement.style.setProperty("--primary-color","#5C5F66"),document.documentElement.style.setProperty("--secondary-color","#1B1C1E"),document.documentElement.style.setProperty("--primary-text-color","#0E0E0F"),document.documentElement.style.setProperty("--secondary-text-color","#F2F2F2"),document.documentElement.style.setProperty("--background-color","#FFFFFF")}},[t]),(0,a.jsx)(a.Fragment,{children:s})}var d=s(4587),m=s.n(d),x=s(1378),h=s(8447),u=s(9241),p=s(9573);function f(){for(var e=arguments.length,t=Array(e),s=0;s=10&&(s="55"+s));let a=encodeURIComponent(t),l="https://wa.me/".concat(s,"?text=").concat(a);window.open(l,"_blank")}var j=s(1138);let v=(0,s(9518).F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),w=n.forwardRef((e,t)=>{let{className:s,variant:l,size:r,asChild:i=!1,...o}=e,n=i?j.DX:"button";return(0,a.jsx)(n,{className:f(v({variant:l,size:r,className:s})),ref:t,...o})});w.displayName="Button";var b=s(4622);function N(e){let{number:t,text:s,message:l,hoverTextColor:r="secondary-text-color",hoverBackgroundColor:i="secondary-color"}=e;return(0,a.jsxs)(w,{style:{"--hover-bg":"var(--".concat(i,")"),"--hover-text":"var(--".concat(r,")")},className:"text-xl bg-[--primary-color] hover:bg-[--hover-bg] hover:text-[--hover-text] py-[20px] px-[30px] gap-2",onClick:()=>g(t,l||"Ol\xe1! Tenho interesse nos seus servi\xe7os jur\xeddicos. Poderia me passar mais informa\xe7\xf5es?"),children:[s,(0,a.jsx)(b.A,{className:"h-4 w-4"})]})}var y=s(672),k=s(5450);function C(e){let{href:t}=e;return(0,a.jsxs)("a",{onClick:()=>{g(t,"Ol\xe1! Tenho interesse nos seus servi\xe7os jur\xeddicos. Poderia me passar mais informa\xe7\xf5es?")},className:"text-[--primary-color] flex flex-grow items-center gap-2 cursor-pointer",children:[(0,a.jsx)(k.A,{}),(0,a.jsx)("span",{className:"text-xl text-[--secondary-text-color]",children:"Whatsapp"})]})}var E=s(7868);function z(e){let{href:t}=e;return(0,a.jsxs)("a",{onClick:()=>{window.open(t,"_blank")},target:"_blank",className:"text-[--primary-color] flex flex-grow items-center gap-2 cursor-pointer",children:[(0,a.jsx)(E.A,{}),(0,a.jsx)("p",{className:"text-xl text-[--secondary-text-color]",children:"Instagram"})]})}var _=s(8272);function A(e){let{href:t}=e;return(0,a.jsxs)("a",{onClick:()=>{window.open(t,"_blank")},target:"_blank",className:"text-[--primary-color] flex flex-grow items-center gap-2 cursor-pointer",children:[(0,a.jsx)(_.A,{}),(0,a.jsx)("p",{className:"text-xl text-[--secondary-text-color]",children:"Facebook"})]})}var P=s(9458);function F(e){let{href:t}=e;return(0,a.jsxs)("a",{onClick:()=>{window.open(t,"_blank")},target:"_blank",className:"text-[--primary-color] flex flex-grow items-center gap-2 cursor-pointer",children:[(0,a.jsx)(P.A,{}),(0,a.jsx)("p",{className:"text-xl text-[--secondary-text-color]",children:"Linkedin"})]})}function S(e){var t,s,l,r;let{isMenuOpen:i,closeMenu:o,config:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"fixed overflow-y-auto top-0 right-0 h-full w-64 bg-[--secondary-color] text-[--secondary-text-color] shadow-lg z-50 transform transition-transform duration-300 ease-in-out ".concat(i?"translate-x-0":"translate-x-full"," md:hidden"),"aria-hidden":!i,children:(0,a.jsxs)("div",{className:"p-4 bg-red",children:[(0,a.jsx)("button",{className:"absolute top-4 right-4 p-2 rounded-full hover:bg-gray-100/10 transition-colors",onClick:()=>o(),"aria-label":"Close menu",children:(0,a.jsx)(y.A,{className:"h-6 w-6"})}),(0,a.jsxs)("div",{className:"mt-12 flex flex-col gap-4",children:[(0,a.jsx)("a",{href:"#inicio",className:"p-2 hover:bg-gray-100/10 rounded-md hover:text-[--primary-color] transition-colors font-medium",onClick:()=>o(),children:"In\xedcio"}),n.has_services&&(0,a.jsx)("a",{href:"#servicos",className:"p-2 hover:bg-gray-100/10 rounded-md hover:text-[--primary-color] transition-colors font-medium",onClick:()=>o(),children:"Servi\xe7os"}),n.has_testimonials&&(0,a.jsx)("a",{href:"#depoimentos",className:"p-2 hover:bg-gray-100/10 rounded-md hover:text-[--primary-color] transition-colors font-medium",onClick:()=>o(),children:"Depoimentos"}),(0,a.jsx)("a",{href:"#sobre",className:"p-2 hover:bg-gray-100/10 rounded-md hover:text-[--primary-color] transition-colors font-medium",onClick:()=>o(),children:"Quem somos"}),(0,a.jsx)("a",{href:"#contato",className:"p-2 hover:bg-gray-100/10 rounded-md hover:text-[--primary-color] transition-colors font-medium",onClick:()=>o(),children:"Contato"})]}),(0,a.jsxs)("div",{className:"mt-6 pt-8 flex flex-col gap-3 border-t border-gray-200/20",children:[(0,a.jsx)(N,{number:n.contact.whatsapp,text:"Contato",message:n.contact.default_message}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-3 w-full mt-4",children:[(null==n||null==(t=n.contact)?void 0:t.whatsapp)&&(0,a.jsx)(C,{href:n.contact.whatsapp}),(null==n||null==(s=n.contact)?void 0:s.instagram)&&(0,a.jsx)(z,{href:n.contact.instagram}),(null==n||null==(l=n.contact)?void 0:l.facebook)&&(0,a.jsx)(A,{href:n.contact.facebook}),(null==n||null==(r=n.contact)?void 0:r.linkedin)&&(0,a.jsx)(F,{href:n.contact.linkedin})]}),(0,a.jsxs)("div",{className:"mb-2 mt-4",children:[(0,a.jsx)("span",{className:"block uppercase text-[10px] opacity-70",children:"Telefone:"}),(0,a.jsx)("a",{href:"https://wa.me/".concat(n.contact.whatsapp.replace(/\D/g,"")),className:"font-medium text-sm hover:text-[--primary-color] transition-colors",children:n.contact.whatsapp})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"block uppercase text-[10px] opacity-70",children:"Endere\xe7o:"}),(0,a.jsx)("a",{href:"https://maps.google.com/?q=".concat(encodeURIComponent(n.contact.address)),target:"_blank",rel:"noopener noreferrer",className:"font-medium text-sm hover:text-[--primary-color] transition-colors",children:n.contact.address})]})]})]})}),i&&(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-40 md:hidden",onClick:()=>o()})]})}let L=e=>{let{config:t,logo:s,theme:l,palette:r,className:i=""}=e,[o,c]=(0,n.useState)(!1),[d,u]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=e=>{var t,s,a;if((null==(t=e.data)?void 0:t.type)==="sectionClick"){let t=document.getElementById(null==(s=e.data)?void 0:s.key);t?t.scrollIntoView({behavior:"smooth"}):console.warn('Se\xe7\xe3o com ID "'.concat(null==(a=e.data)?void 0:a.key,'" n\xe3o encontrada.'))}};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[]),(0,n.useEffect)(()=>{let e=document.getElementById("inicio"),t=()=>{u(window.scrollY>.1*((null==e?void 0:e.offsetHeight)||500))};return window.addEventListener("scroll",t),window.addEventListener("scroll",p),window.addEventListener("load",p),()=>window.removeEventListener("scroll",t)},[l]);let p=()=>{let e=document.querySelectorAll("section"),t=null;e.forEach(e=>{let s=e.getBoundingClientRect();s.top>=0&&s.top(o?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[o]),(0,a.jsxs)("nav",{className:"".concat((()=>{let e="z-50 transition-all duration-300";return"minimalist"===l?"fixed w-full top-0 ".concat(e," px-4 sm:px-8 py-4\n ").concat(d&&"shadow-md bg-black/70"," \n text-white transition-colors duration-300"):"sticky top-0 ".concat(e," bg-[--background-color] px-4 sm:px-8 py-4 ").concat(d?"shadow-md":"")})()," ").concat(i),children:[(()=>{switch(l){case"artdeco":return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 260 110",fill:"none",className:"absolute top-0 left-0 h-full z-0 flex",children:(0,a.jsx)("path",{d:"M0 0H260L190 110H0V0Z",fill:"var(--secondary-color)"})}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 100",fill:"none",className:"hidden md:block absolute top-0 right-0 h-full z-0",children:(0,a.jsx)("path",{d:"M320 0H0L70 100H320V0Z",fill:"var(--secondary-color)"})})]});case"bauhaus":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"96",viewBox:"0 0 100 96",fill:"none",className:"absolute top-0 left-0 z-0",children:(0,a.jsx)("rect",{width:"50%",height:"100%",fill:"var(--primary-color)"})});default:return null}})(),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(()=>{let e=s&&"string"==typeof s&&(s.startsWith("ai-")||s.includes("/ai-"));return(0,a.jsx)("div",{className:"flex items-center gap-2 z-20",children:s?(0,a.jsx)(m(),{width:0,height:0,src:s,alt:"Logo",className:"bauhaus"===l?"h-16 w-auto pl-12 md:pl-4":"h-16 w-auto",style:{filter:e?"minimalist"===l||"artdeco"===l?"invert(100%) brightness(200%)":function(e){switch(e){case"#13678A":return"brightness(0%) saturate(100%) invert(23%) sepia(87%) saturate(334%) hue-rotate(155deg) brightness(92%) contrast(101%)";case"#F94743":return"brightness(0) saturate(100%) invert(45%) sepia(87%) saturate(5838%) hue-rotate(341deg) brightness(106%) contrast(105%)";case"#4A5F46":return"brightness(0) saturate(100%) invert(35%) sepia(12%) saturate(738%) hue-rotate(54deg) brightness(94%) contrast(88%)";case"#5C5F66":return"brightness(0) saturate(100%) invert(43%) sepia(8%) saturate(516%) hue-rotate(189deg) brightness(96%) contrast(90%)";default:return null}}(document.documentElement.style.getPropertyValue("--primary-color"))||void 0:void 0}}):(0,a.jsx)(x.A,{className:"h-8 w-8 md:h-12 md:w-12 text-white"})})})(),(()=>{let e=[{href:"#inicio",label:"In\xedcio"},...t.has_services?[{href:"#servicos",label:"Servi\xe7os"}]:[],...t.has_testimonials?[{href:"#depoimentos",label:"Depoimentos"}]:[],{href:"#sobre",label:"Quem Somos"},{href:"#contato",label:"Contato"}],s=()=>"neoclassical"===l?"relative group":"hover:text-[--primary-color]";return(0,a.jsx)("div",{className:"neoclassical"===l?"hidden md:flex gap-12 text-sm font-bold absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 text-[--primary-text-color]":"hidden md:flex gap-12 md:gap-6 text-sm font-bold z-20",role:"navigation",children:e.map(e=>(0,a.jsx)("a",{href:e.href,className:s(),children:"neoclassical"===l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"hover:text-[--primary-color] transition-colors text-xl",children:e.label}),(0,a.jsx)("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 bg-[--primary-color] transition-all group-hover:w-full"})]}):e.label},e.href))})})(),(0,a.jsx)("button",{className:"md:hidden p-2 rounded-md hover:bg-gray-100/20 transition-colors z-20",onClick:()=>c(!o),"aria-label":"Toggle menu","aria-expanded":o,children:(0,a.jsx)(h.A,{className:"h-6 w-6 text-[--primary-color]"})}),(0,a.jsx)("div",{className:"hidden md:block z-20",children:(0,a.jsx)(N,{number:t.contact.whatsapp,text:"Contato",message:t.contact.default_message})})]}),(0,a.jsx)(S,{isMenuOpen:o,closeMenu:()=>c(!1),config:t}),o&&(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-40 md:hidden",onClick:()=>c(!1)})]})},R=e=>{let{image:t,placeholder:s,sectionName:l,isPreview:r,className:i,children:o,id:n,buttonText:c="Editar imagem"}=e;return(0,a.jsxs)("div",{className:"relative w-full h-full group overflow-hidden",children:[(0,a.jsx)(m(),{width:0,height:0,src:t||s,alt:l,className:"object-cover w-full h-full ".concat(i)}),r&&(0,a.jsx)("div",{className:"absolute inset-0 z-30 bg-black/70 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center p-4 rounded-[10px]",children:(0,a.jsx)("button",{onClick:()=>{window.parent&&window.parent.postMessage({type:"imageClicked",payload:{section:l,id:n||void 0}},"*")},className:"border border-white text-white bg-transparent hover:bg-white hover:text-black transition-colors duration-200 px-4 py-2 rounded-md max-w-[150px] w-full text-center",children:c})}),o]})},B=e=>{var t,s,l;let{config:r,isPreview:i}=e;return(0,a.jsx)("section",{id:"inicio",className:"relative bg-white overflow-hidden py-8 sm:py-8 md:py-12 text-center",children:(0,a.jsxs)("div",{className:"container grid grid-cols-1 md:grid-cols-2 gap-12 mx-auto px-4 sm:px-6 md:px-8 relative z-10",children:[(0,a.jsxs)("div",{className:"flex flex-col items-start",children:[(0,a.jsx)("h1",{className:"text-4xl md:text-4xl xl:text-7xl text-start font-bold mb-6 text-[--primary-text-color]",children:null==r||null==(t=r.hero)?void 0:t.title_1}),(null==r||null==(s=r.hero)?void 0:s.description)&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("p",{className:"text-lg md:text-xl text-start mb-6 text-[--primary-text-color]",children:[" ",r.hero.description]})}),(0,a.jsx)(N,{number:r.contact.whatsapp,text:"Contato",message:r.contact.default_message})]}),(0,a.jsx)("div",{className:"mt-6 sm:mt-8 flex justify-center",children:(0,a.jsx)("div",{className:"w-full max-w-4xl",children:(0,a.jsx)(R,{image:null==r||null==(l=r.hero)?void 0:l.image,placeholder:"https://static.revistahaus.com.br/revistahaus/2024/05/02172529/revista-haus-projeto-de-arquitetura-escritorio-de-advocacia-submerso-studio-archa-divulgacao-5.jpg",sectionName:"hero",isPreview:i,className:"rounded-2xl shadow-lg"})})})]})})},D=n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("div",{ref:t,className:f("rounded-lg border bg-card text-card-foreground shadow-sm",s),...l})});D.displayName="Card",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("div",{ref:t,className:f("flex flex-col space-y-1.5 p-6",s),...l})}).displayName="CardHeader",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("h3",{ref:t,className:f("text-2xl font-semibold leading-none tracking-tight",s),...l})}).displayName="CardTitle",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("p",{ref:t,className:f("text-sm text-muted-foreground",s),...l})}).displayName="CardDescription",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("div",{ref:t,className:f("p-6 pt-0",s),...l})}).displayName="CardContent",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("div",{ref:t,className:f("flex items-center p-6 pt-0",s),...l})}).displayName="CardFooter";var I=s(5135),M=s(6552),T=s(4820),H=s(2885);let V=n.createContext(null);function q(){let e=n.useContext(V);if(!e)throw Error("useCarousel must be used within a ");return e}let O=n.forwardRef((e,t)=>{let{orientation:s="horizontal",opts:l,setApi:r,plugins:i,className:o,children:c,...d}=e,[m,x]=(0,T.A)({...l,axis:"horizontal"===s?"x":"y"},i),[h,u]=n.useState(!1),[p,g]=n.useState(!1),j=n.useCallback(e=>{e&&(u(e.canScrollPrev()),g(e.canScrollNext()))},[]),v=n.useCallback(()=>{null==x||x.scrollPrev()},[x]),w=n.useCallback(()=>{null==x||x.scrollNext()},[x]),b=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[v,w]);return n.useEffect(()=>{x&&r&&r(x)},[x,r]),n.useEffect(()=>{if(x)return j(x),x.on("reInit",j),x.on("select",j),()=>{null==x||x.off("select",j)}},[x,j]),(0,a.jsx)(V.Provider,{value:{carouselRef:m,api:x,opts:l,orientation:s||((null==l?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:w,canScrollPrev:h,canScrollNext:p},children:(0,a.jsx)("div",{ref:t,onKeyDownCapture:b,className:f("relative",o),role:"region","aria-roledescription":"carousel",...d,children:c})})});O.displayName="Carousel";let W=n.forwardRef((e,t)=>{let{className:s,...l}=e,{carouselRef:r,orientation:i}=q();return(0,a.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,a.jsx)("div",{ref:t,className:f("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",s),...l})})});W.displayName="CarouselContent";let X=n.forwardRef((e,t)=>{let{className:s,...l}=e,{orientation:r}=q();return(0,a.jsx)("div",{ref:t,role:"group","aria-roledescription":"slide",className:f("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",s),...l})});X.displayName="CarouselItem";let K=n.forwardRef((e,t)=>{let{className:s,variant:l="outline",size:r="icon",...i}=e,{orientation:o,scrollPrev:n,canScrollPrev:c}=q();return(0,a.jsxs)(w,{ref:t,variant:l,size:r,className:f("absolute h-8 w-8 rounded-full","horizontal"===o?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!c,onClick:n,...i,children:[(0,a.jsx)(H.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});K.displayName="CarouselPrevious";let Z=n.forwardRef((e,t)=>{let{className:s,variant:l="outline",size:r="icon",...i}=e,{orientation:o,scrollNext:n,canScrollNext:c}=q();return(0,a.jsxs)(w,{ref:t,variant:l,size:r,className:f("absolute h-8 w-8 rounded-full","horizontal"===o?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!c,onClick:n,...i,children:[(0,a.jsx)(b.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Next slide"})]})});Z.displayName="CarouselNext";let G=e=>{let{config:t}=e,[s,l]=(0,n.useState)(!1),[r,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=()=>{l(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,a.jsx)("section",{id:"servicos",className:"py-8 md:py-12 bg-white text-black",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 sm:px-8",children:[(0,a.jsx)("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-8 md:mb-16",children:t.services.title}),(0,a.jsx)("div",{className:"w-full px-4 md:px-16",children:(0,a.jsxs)(O,{opts:{align:"start",loop:!0},setApi:i,className:"w-full",children:[(0,a.jsx)(W,{className:"-ml-2 md:-ml-4",children:t.services.list.map((e,t)=>(0,a.jsx)(X,{className:"pl-2 md:pl-4 ".concat(s?"basis-full":"basis-1/2 lg:basis-1/3"),children:(0,a.jsxs)(D,{className:"bg-white border border-gray-300 p-6 text-center rounded-lg flex-1 min-h-[220px] transition-all duration-300 hover:shadow-lg",children:[(0,a.jsxs)("div",{className:"flex items-start",children:[t%3==0&&(0,a.jsx)(I.A,{className:"text-[--primary-color] w-12 h-12 mb-4"}),t%3==1&&(0,a.jsx)(x.A,{className:"text-[--primary-color] w-12 h-12 mb-4"}),t%3==2&&(0,a.jsx)(M.A,{className:"text-[--primary-color] w-12 h-12 mb-4"}),(0,a.jsx)("div",{className:"ml-4 flex flex-col items-start gap-2 text-left",children:(0,a.jsx)("div",{className:"text-lg md:text-xl font-bold text-gray-700",children:e.title})})]}),(0,a.jsx)("p",{className:"text-gray-500 text-sm md:text-base mt-2 text-left",children:e.description})]})},t))}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-4",children:[(0,a.jsx)(K,{className:"relative static left-auto right-auto translate-y-0 h-8 w-8"}),(0,a.jsx)(Z,{className:"relative static left-auto right-auto translate-y-0 h-8 w-8"})]})]})})]})})};var J=s(6124),Q=s(7941);function U(e){let{name:t,role:s,company:l,description:r,image:i,stars:o}=e;return(0,a.jsxs)(D,{className:"bg-white grow flex flex-col items-start gap-3 max-w-[450px] p-6",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("div",{className:"hidden md:flex gap-1",children:[[...Array(Number(o))].map((e,t)=>(0,a.jsx)(J.A,{className:"fill-[--primary-color] text-[--primary-color]",size:24},t)),[...Array(Number(5-o))].map((e,t)=>(0,a.jsx)(J.A,{className:"fill-white text-[--primary-color]",size:24},t))]}),(0,a.jsxs)("div",{className:"flex md:hidden gap-1",children:[[...Array(Number(o))].map((e,t)=>(0,a.jsx)(J.A,{className:"fill-[--primary-color] text-[--primary-color]",size:20},t)),[...Array(Number(5-o))].map((e,t)=>(0,a.jsx)(J.A,{className:"fill-white text-[--primary-color]",size:20},t))]}),(0,a.jsx)("p",{className:"text-gray-700",children:r})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"relative w-16 h-16",children:i?(0,a.jsx)(m(),{src:i,alt:t,width:0,height:0,className:"w-10 h-10 rounded-full object-cover"}):(0,a.jsx)(Q.A,{})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold",children:t}),s&&l&&(0,a.jsxs)("p",{className:"text-[--primary-color]",children:[s,", ",l]})]})]})]})}let Y=e=>{let{config:t}=e;return(0,a.jsx)("section",{id:"depoimentos",className:"py-8 md:py-12 bg-white",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 sm:px-8",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-bold text-center mb-12 md:mb-24",children:t.testimonials.title}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center gap-8 w-full",children:t.testimonials.list.map((e,t)=>(0,a.jsx)(U,{...e},t))})]})})},$=e=>{var t,s,l,r;let{config:i,isPreview:o}=e;return(0,a.jsx)("section",{id:"sobre",className:"py-8 md:py-12 bg-gray-100",children:(0,a.jsx)("div",{className:"container mx-auto px-4 sm:px-8",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-8 md:gap-16",children:[(0,a.jsxs)("div",{className:"w-full md:w-1/2 text-center md:text-left",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-bold mb-4",children:null==i||null==(t=i.about)?void 0:t.title_1}),(0,a.jsx)("p",{className:"text-gray-600 mb-6 text-sm md:text-base",children:null==i||null==(l=i.about)||null==(s=l.description)?void 0:s.split("\n").map((e,t)=>(0,a.jsxs)(n.Fragment,{children:[e,(0,a.jsx)("br",{})]},t))}),(0,a.jsx)(N,{number:i.contact.whatsapp,text:"Contato",message:i.contact.default_message})]}),(0,a.jsx)("div",{className:"w-full md:w-1/2 h-[400px]",children:(0,a.jsx)(R,{image:null==i||null==(r=i.about)?void 0:r.image,placeholder:"https://juspage-storage.s3.us-east-1.amazonaws.com/assets/about-1.jpg",sectionName:"about",isPreview:o,className:"rounded-lg shadow-xl"})})]})})})},ee=e=>{var t,s,l,r,i,o,n,c,d,m,x,h,u;let{showTitle:p=!0,config:f}=e,g=(null==f||null==(t=f.contact)?void 0:t.whatsapp)||(null==f||null==(s=f.contact)?void 0:s.instagram)||(null==f||null==(l=f.contact)?void 0:l.facebook)||(null==f||null==(r=f.contact)?void 0:r.linkedin);return(0,a.jsxs)("div",{className:"flex flex-col items-start gap-3 text-white",children:[p&&(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-bold",children:null==f||null==(i=f.contact)?void 0:i.title}),g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h3",{className:"text-lg md:text-xl",children:"Redes Sociais"}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 w-full",children:[(null==f||null==(o=f.contact)?void 0:o.whatsapp)&&(0,a.jsx)(C,{href:f.contact.whatsapp}),(null==f||null==(n=f.contact)?void 0:n.instagram)&&(0,a.jsx)(z,{href:f.contact.instagram}),(null==f||null==(c=f.contact)?void 0:c.facebook)&&(0,a.jsx)(A,{href:f.contact.facebook}),(null==f||null==(d=f.contact)?void 0:d.linkedin)&&(0,a.jsx)(F,{href:f.contact.linkedin})]})]}),(null==f||null==(m=f.contact)?void 0:m.address)&&(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg md:text-xl",children:"Endere\xe7o"}),(0,a.jsx)("p",{className:"text-md md:text-lg",children:null==f||null==(x=f.contact)?void 0:x.address})]}),(null==f||null==(h=f.contact)?void 0:h.working_time)&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg md:text-xl",children:"Hor\xe1rio de Funcionamento"}),(0,a.jsx)("p",{className:"text-md md:text-lg",children:null==f||null==(u=f.contact)?void 0:u.working_time})]})})]})},et=e=>{var t;let{config:s,isPreview:l}=e;return(0,a.jsxs)("section",{id:"contato",className:"grid md:grid-cols-2 min-h-[400px] md:min-h-[750px] lg:min-h-[950px]",children:[(0,a.jsx)("div",{className:"hidden md:flex",children:(0,a.jsx)(R,{image:null==s||null==(t=s.contact)?void 0:t.image,placeholder:"https://juspage-storage.s3.us-east-1.amazonaws.com/assets/about-1.jpg",sectionName:"contact",isPreview:l})}),(0,a.jsx)("div",{className:"bg-[--secondary-color] text-[--secondary-text-color] w-full p-4",children:(0,a.jsx)("div",{className:"flex items-center justify-center w-full max-w-screen-xl mx-auto h-full",children:(0,a.jsx)(ee,{config:s})})})]})},es=e=>{var t,s,l;let{config:r,isPreview:i}=e;return(0,a.jsxs)("section",{id:"inicio",className:"relative h-screen flex items-center justify-center bg-black text-white",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/60 z-10"}),(0,a.jsx)(R,{image:null==r||null==(t=r.hero)?void 0:t.image,placeholder:"https://static.revistahaus.com.br/revistahaus/2024/05/02172529/revista-haus-projeto-de-arquitetura-escritorio-de-advocacia-submerso-studio-archa-divulgacao-5.jpg",sectionName:"hero",isPreview:i,children:(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-end md:w-1/2 z-20 md:max-w-7xl mx-auto px-6 md:px-8 lg:mx-44",children:(0,a.jsxs)("div",{className:"text-[--secondary-text-color] w-full",children:[(0,a.jsx)("h1",{className:"text-4xl md:text-4xl xl:text-7xl font-bold",children:null==r||null==(s=r.hero)?void 0:s.title_1}),(0,a.jsx)("p",{className:"text-xl mb-6",children:null==r||null==(l=r.hero)?void 0:l.description}),(0,a.jsx)(N,{number:r.contact.whatsapp,text:"Contato",message:r.contact.default_message})]})})})]})},ea=n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("div",{ref:t,className:f("border bg-card",s),...l})});ea.displayName="Card",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("div",{ref:t,className:f("flex flex-col space-y-1.5 p-6",s),...l})}).displayName="CardHeader",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("h3",{ref:t,className:f("text-2xl font-semibold leading-none tracking-tight",s),...l})}).displayName="CardTitle",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("p",{ref:t,className:f("text-sm text-muted-foreground",s),...l})}).displayName="CardDescription",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("div",{ref:t,className:f("p-6 pt-0",s),...l})}).displayName="CardContent",n.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)("div",{ref:t,className:f("flex items-center p-6 pt-0",s),...l})}).displayName="CardFooter";let el=e=>{let{config:t}=e,[s,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{l(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,a.jsx)("section",{id:"servicos",className:"py-8 md:py-16 bg-white text-black",children:(0,a.jsxs)("div",{className:"flex flex-col gap-8 md:gap-12 mx-auto",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"sm:px-4 md:px-8 lg:px-32 text-3xl md:text-4xl font-bold",children:t.services.title}),(0,a.jsx)("hr",{className:"border-black w-[60%] mx-0"})]}),(0,a.jsx)("div",{className:"px-4 md:px-16 w-full",children:(0,a.jsxs)(O,{opts:{align:"start",loop:!0},className:"w-full",children:[(0,a.jsx)(W,{className:"-ml-2 md:-ml-4",children:t.services.list.map((e,t)=>(0,a.jsx)(X,{className:"pl-2 md:pl-4 ".concat(s?"basis-full":"basis-1/2 lg:basis-1/3"),children:(0,a.jsx)("div",{className:"p-1",children:(0,a.jsxs)(ea,{className:"bg-transparent border-black text-black min-h-[350px] flex-1",children:[(0,a.jsx)("h3",{className:"text-lg md:text-xl font-bold p-4 md:p-6",children:e.title}),(0,a.jsx)("div",{className:"flex justify-end w-full",children:(0,a.jsx)("hr",{className:"border-black w-[95%] mx-0"})}),(0,a.jsx)("p",{className:"p-4 md:p-6 text-gray-400 text-sm md:text-base",children:e.description})]})})},t))}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-4 px-4 md:px-8",children:[(0,a.jsx)(K,{className:"relative static left-auto right-auto translate-y-0 h-8 w-8"}),(0,a.jsx)(Z,{className:"relative static left-auto right-auto translate-y-0 h-8 w-8"})]})]})})]})})};function er(e){let{name:t,role:s,company:l,description:r,image:i,stars:o}=e;return(0,a.jsxs)("div",{className:"bg-white grow flex flex-col items-start gap-3 max-w-[450px] p-6",children:[(0,a.jsx)(Q.A,{}),(0,a.jsxs)("div",{className:"my-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2",children:[(0,a.jsx)("p",{className:"font-bold text-base md:text-lg",children:t}),(0,a.jsxs)("span",{className:"text-sm md:text-3xl text-right text-[--primary-color]",children:[(0,a.jsxs)("div",{className:"hidden md:flex gap-1",children:[[...Array(Number(o))].map((e,t)=>(0,a.jsx)(J.A,{className:"fill-[--primary-color] text-[--primary-color]",size:24},t)),[...Array(Number(5-o))].map((e,t)=>(0,a.jsx)(J.A,{className:"fill-white text-[--primary-color]",size:24},t))]}),(0,a.jsxs)("div",{className:"flex md:hidden gap-1",children:[[...Array(Number(o))].map((e,t)=>(0,a.jsx)(J.A,{className:"fill-[--primary-color] text-[--primary-color]",size:20},t)),[...Array(Number(5-o))].map((e,t)=>(0,a.jsx)(J.A,{className:"fill-white text-[--primary-color]",size:20},t))]})]})]}),(0,a.jsx)("hr",{className:"border-black"})]}),(0,a.jsxs)("p",{className:"text-sm md:text-base mb-6 md:mb-12 leading-relaxed text-right",children:['"',r,'"']})]})}let ei=e=>{let{config:t}=e;return(0,a.jsx)("section",{id:"depoimentos",className:"py-8 md:py-12 bg-white",children:(0,a.jsxs)("div",{className:"mx-auto",children:[t.testimonials.title&&(0,a.jsxs)("div",{className:"mb-8 md:mb-12",children:[(0,a.jsx)("h2",{className:"sm:px-4 md:px-8 lg:px-32 text-3xl md:text-4xl font-bold",children:t.testimonials.title}),(0,a.jsx)("hr",{className:"border-black w-[60%] mx-0"})]}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center gap-8 w-full",children:t.testimonials.list.map((e,t)=>(0,a.jsx)(er,{...e},t))})]})})},eo=e=>{var t,s,l;let{config:r,isPreview:i}=e;return(0,a.jsx)("section",{id:"sobre",className:"py-8 md:py-12 bg-white ",children:(0,a.jsxs)("div",{className:"mx-auto",children:[(0,a.jsxs)("div",{className:"mb-8 md:mb-12",children:[(0,a.jsx)("h2",{className:"sm:px-4 md:px-8 lg:px-32 text-3xl md:text-4xl font-bold",children:r.about.title_1}),(0,a.jsx)("hr",{className:"border-black w-[60%] mx-0"})]}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-8 md:gap-16 sm:px-4 md:px-8 lg:px-32 ",children:[(0,a.jsxs)("div",{className:"w-full md:w-1/2 text-center md:text-left",children:[(0,a.jsx)("p",{className:"text-gray-600 mb-6 px-3 md:px-0 md:w-[75%] text-sm md:text-base",children:null==r||null==(s=r.about)||null==(t=s.description)?void 0:t.split("\n").map((e,t)=>(0,a.jsxs)(n.Fragment,{children:[e,(0,a.jsx)("br",{})]},t))}),(0,a.jsx)(N,{number:r.contact.whatsapp,text:"Contato",message:r.contact.default_message})]}),(0,a.jsx)("div",{className:"max-w-[350px] h-auto",children:(0,a.jsx)(R,{image:null==r||null==(l=r.about)?void 0:l.image,placeholder:"https://juspage-storage.s3.us-east-1.amazonaws.com/assets/about-1.jpg",sectionName:"about",isPreview:i,className:"shadow-lg"})})]})]})})},en=e=>{let{config:t}=e;return(0,a.jsx)("section",{id:"contato",className:"py-8 md:py-12 bg-[var(--secondary-color)] text-[var(--secondary-text-color)]",children:(0,a.jsxs)("div",{className:"flex flex-col gap-8 md:gap-12 mx-auto",children:[(0,a.jsxs)("div",{className:"sm:px-4 md:px-8 lg:px-32",children:[(0,a.jsx)("h2",{className:"text-3xl md:text-4xl font-bold",children:t.contact.title}),(0,a.jsx)("hr",{className:"border-white w-[60%] mx-0"})]}),(0,a.jsx)("div",{className:"bg-[--secondary-color] text-[--secondary-text-color] w-full",children:(0,a.jsx)("div",{className:"sm:px-4 md:px-8 lg:px-32 py-6 md:py-8",children:(0,a.jsx)("div",{className:"max-w-3xl mx-auto md:mx-0",children:(0,a.jsx)(ee,{showTitle:!1,config:t})})})})]})})},ec=e=>{var t,s,l;let{config:r,isPreview:i}=e;return(0,a.jsx)("section",{id:"inicio",className:"relative min-h-[600px] bg-[--background-color] overflow-hidden",children:(0,a.jsxs)("div",{className:"w-[80%] mx-auto px-4 sm:px-8 py-8 md:py-12 flex flex-col md:flex-row items-center",children:[(0,a.jsxs)("div",{className:"w-full md:w-1/2 text-center md:text-left",children:[(0,a.jsx)("h1",{className:"text-4xl md:text-4xl xl:text-7xl text-start font-bold mb-6 text-[--primary-text-color]",children:null==r||null==(t=r.hero)?void 0:t.title_1}),(0,a.jsx)("p",{className:"text-xl text-start mb-6 text-[--primary-text-color]",children:null==r||null==(s=r.hero)?void 0:s.description}),(0,a.jsx)(N,{number:r.contact.whatsapp,text:"Contato",message:r.contact.default_message})]}),(0,a.jsxs)("div",{className:"relative flex items-center justify-center h-[250px]",children:[(0,a.jsx)("div",{className:"absolute w-[150px] h-[150px] md:w-[300px] md:h-[300px] transform rotate-45 bg-[--primary-color] right-[-25px] md:right-[-175px] z-0"}),(0,a.jsx)("div",{className:"relative w-[150px] h-[150px] md:w-[300px] md:h-[300px] transform rotate-45 overflow-hidden shadow-lg right-[25px] md:right-[-100px] z-10",children:(0,a.jsx)("div",{className:"absolute inset-0 transform -rotate-45 scale-[1.5] origin-center",children:(0,a.jsx)(R,{image:null==r||null==(l=r.hero)?void 0:l.image,placeholder:"https://static.revistahaus.com.br/revistahaus/2024/05/02172529/revista-haus-projeto-de-arquitetura-escritorio-de-advocacia-submerso-studio-archa-divulgacao-5.jpg",sectionName:"hero",isPreview:i})})})]})]})})},ed=e=>{let{config:t,isPreview:s}=e,[l,r]=(0,n.useState)(!1),[i,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=()=>{r(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,a.jsx)("section",{id:"servicos",className:"py-8 md:py-12 bg-[--secondary-color] text-[--secondary-text-color]",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 sm:px-8",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-bold text-center mb-8 md:mb-16",children:t.services.title}),(0,a.jsx)("div",{className:"w-full px-4 md:px-16",children:(0,a.jsxs)(O,{opts:{align:"start",loop:!0},setApi:o,className:"w-full",children:[(0,a.jsx)(W,{className:"-ml-2 md:-ml-4",children:t.services.list.map((e,t)=>(0,a.jsx)(X,{className:"pl-2 md:pl-4 ".concat(l?"basis-full":"basis-1/2 lg:basis-1/3"),children:(0,a.jsxs)("div",{className:"relative flex-1 min-h-[250px] md:h-[400px] overflow-hidden shadow-md transform transition-transform hover:scale-105 rounded-md",children:[(0,a.jsx)(R,{image:e.image,placeholder:"https://static.revistahaus.com.br/revistahaus/2024/05/02172529/revista-haus-projeto-de-arquitetura-escritorio-de-advocacia-submerso-studio-archa-divulgacao-5.jpg",sectionName:"services",isPreview:s,id:t+1}),(0,a.jsx)("div",{className:"absolute inset-0 flex flex-col justify-end items-end p-4",children:(0,a.jsxs)("div",{className:"bg-black bg-opacity-70 p-3 rounded-md text-right",children:[(0,a.jsx)("h3",{className:"text-lg md:text-2xl font-bold mb-2 text-white",children:e.title}),(0,a.jsx)("p",{className:"text-white text-md md:text-xl",children:e.description})]})})]})},t))}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-4",children:[(0,a.jsx)(K,{className:"relative static left-auto right-auto translate-y-0 h-8 w-8 bg-[--primary-color] text-white hover:bg-[--primary-color]/80"}),(0,a.jsx)(Z,{className:"relative static left-auto right-auto translate-y-0 h-8 w-8 bg-[--primary-color] text-white hover:bg-[--primary-color]/80"})]})]})}),(0,a.jsx)("div",{className:"text-center mt-16 md:mt-24",children:(0,a.jsx)(N,{number:t.contact.whatsapp,text:"Contato",message:t.contact.default_message})})]})})};function em(e){let{name:t,role:s,company:l,description:r,image:i,stars:o}=e;return(0,a.jsxs)(D,{className:"relative p-4 md:p-8 bg-white rounded-lg shadow-sm max-w-[400px]",children:[(0,a.jsxs)("div",{className:"absolute top-4 right-4 flex flex-row gap-10 z-0",children:[(0,a.jsx)("svg",{width:"60",height:"160",viewBox:"0 0 70 180",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M0.625 0V180L70 90V0H0.625Z",fill:"#f5f5f5"})}),(0,a.jsx)("svg",{width:"60",height:"160",viewBox:"0 0 70 180",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M0.625 0V180L70 90V0H0.625Z",fill:"#f5f5f5"})})]}),(0,a.jsx)("div",{className:"relative flex gap-1 mb-4 md:mb-8",children:Array.from({length:o}).map((e,t)=>(0,a.jsx)("svg",{className:"w-4 h-4 md:w-5 md:h-5 text-[--primary-color]",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},t))}),(0,a.jsx)("p",{className:"relative text-xl mb-6 md:mb-12 leading-relaxed z-10",children:r}),(0,a.jsx)("div",{className:"relative flex items-center gap-3 md:gap-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-bold text-xl",children:t}),s&&(0,a.jsxs)("p",{className:"text-gray-600 text-sm md:text-base",children:[s,", ",(0,a.jsx)("span",{className:"text-[--primary-color]",children:l})]})]})})]})}let ex=e=>{let{config:t}=e;return(0,a.jsx)("section",{id:"depoimentos",className:"my-12 px-4 bg-[--background-color] text-[--primary-text-color]",children:(0,a.jsxs)("div",{className:"container flex flex-col gap-8 mx-auto px-4 sm:px-8",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-bold text-center",children:t.testimonials.title}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center gap-12 w-full",children:t.testimonials.list.map((e,t)=>(0,a.jsx)(em,{...e},t))})]})})},eh=e=>{var t,s,l,r;let{config:i,isPreview:o}=e;return(0,a.jsx)("section",{id:"sobre",className:"my-12 bg-[--background-color] text-[--primary-text-color]",children:(0,a.jsx)("div",{className:"container mx-auto px-4 sm:px-8",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-8 w-full mx-auto",children:[(0,a.jsx)("div",{className:"flex items-center justify-center w-full",children:(0,a.jsx)("div",{className:"relative w-[250px] h-[300px] md:w-[300px] md:h-[400px] lg:w-[480px] lg:h-[600px] flex-shrink-0",children:(0,a.jsx)(R,{image:null==i||null==(t=i.about)?void 0:t.image,placeholder:"https://juspage-storage.s3.us-east-1.amazonaws.com/assets/about-1.jpg",sectionName:"about",isPreview:o})})}),(0,a.jsxs)("div",{className:"w-full text-center md:text-left",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-bold mb-4 md:mb-6",children:null==i||null==(s=i.about)?void 0:s.title_1}),(0,a.jsx)("p",{className:"text-gray-600 mb-6 text-xl",children:null==i||null==(r=i.about)||null==(l=r.description)?void 0:l.split("\n").map((e,t)=>(0,a.jsxs)(n.Fragment,{children:[e,(0,a.jsx)("br",{})]},t))}),(0,a.jsx)(N,{number:i.contact.whatsapp,text:"Contato",message:i.contact.default_message})]})]})})})},eu=e=>{var t;let{config:s,isPreview:l}=e;return(0,a.jsx)("section",{id:"contato",className:"py-8 md:py-12 bg-[--secondary-color] text-[--secondary-text-color]",children:(0,a.jsx)("div",{className:"container mx-auto px-4 sm:px-8",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-8 w-[80%] mx-auto",children:[(0,a.jsx)(ee,{config:s}),(0,a.jsx)("div",{className:"w-full md:w-1/2 text-center md:text-left",children:(0,a.jsx)("div",{className:"aspect-[3/4] overflow-hidden flex items-center justify-center",children:(0,a.jsx)(R,{image:null==s||null==(t=s.contact)?void 0:t.image,placeholder:"https://juspage-storage.s3.us-east-1.amazonaws.com/assets/about-1.jpg",sectionName:"contact",isPreview:l})})})]})})})},ep=e=>{var t,s,l;let{config:r,isPreview:i}=e;return(0,a.jsxs)("section",{id:"inicio",className:"relative min-h-screen overflow-hidden flex items-center",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/60 z-10"}),(0,a.jsx)(R,{image:null==r||null==(t=r.hero)?void 0:t.image,placeholder:"https://static.revistahaus.com.br/revistahaus/2024/05/02172529/revista-haus-projeto-de-arquitetura-escritorio-de-advocacia-submerso-studio-archa-divulgacao-5.jpg",sectionName:"hero",isPreview:i,className:"min-h-screen",children:(0,a.jsx)("div",{className:"absolute inset-0 z-20 flex items-center max-w-7xl mx-auto px-6 md:px-8 lg:mx-44",children:(0,a.jsxs)("div",{className:"text-[--secondary-text-color] md:w-1/2",children:[(0,a.jsx)("h1",{className:"text-4xl md:text-4xl xl:text-7xl font-bold",children:null==r||null==(s=r.hero)?void 0:s.title_1}),(0,a.jsx)("p",{className:"text-xl mb-6",children:null==r||null==(l=r.hero)?void 0:l.description}),(0,a.jsx)(N,{number:r.contact.whatsapp,text:"Contato",message:r.contact.default_message})]})})})]})},ef=e=>{let{config:t}=e,[s,l]=(0,n.useState)(!1),[r,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=()=>{l(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,a.jsxs)("section",{id:"servicos",className:"py-8 md:py-12 bg-[--background-color] text-[--primary-text-color] relative",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 150",className:"hidden md:block absolute top-0 right-0 z-40 w-[100px] h-[150px]",children:(0,a.jsx)("rect",{width:"100%",height:"100%",fill:"var(--secondary-color)"})}),(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-8",children:[(0,a.jsx)("div",{className:"text-center mb-8 md:mb-16",children:(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-normal text-[--primary-text-color] font-bold",children:t.services.title})}),(0,a.jsx)("div",{className:"w-full px-4 ",children:(0,a.jsxs)(O,{opts:{align:"start",loop:!0},setApi:i,className:"w-full",children:[(0,a.jsx)(W,{className:"-ml-2 md:-ml-4",children:t.services.list.map((e,t)=>(0,a.jsx)(X,{className:"pl-2 md:pl-4 ".concat(s?"basis-full":"basis-1/2 lg:basis-1/3"),children:(0,a.jsx)("div",{className:"p-1",children:(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center gap-4 p-8 min-h-[250px] border border-[rgba(7,9,11,0.15)] rounded-md bg-white text-center transition-all duration-300 hover:shadow-lg",children:[(0,a.jsx)("h3",{className:"text-2xl font-bold",children:e.title}),(0,a.jsx)("p",{className:"text-xl text-gray-700",children:e.description})]})})},t))}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-4",children:[(0,a.jsx)(K,{className:"relative static left-auto right-auto translate-y-0 h-8 w-8"}),(0,a.jsx)(Z,{className:"relative static left-auto right-auto translate-y-0 h-8 w-8"})]})]})})]})]})};var eg=s(7216);function ej(e){let{name:t,role:s,description:l,image:r,stars:i}=e;return(0,a.jsxs)(D,{className:"p-4 sm:p-6 border-none relative w-full sm:w-auto max-w-sm",children:[(0,a.jsx)(eg.A,{}),i&&(0,a.jsx)("div",{className:"relative flex gap-1 mb-4 md:mb-8",children:Array.from({length:i}).map((e,t)=>(0,a.jsx)("svg",{className:"w-4 h-4 md:w-5 md:h-5 text-[--primary-color]",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},t))}),(0,a.jsx)("p",{className:"text-xl text-[--primary-text-color] italic relative pr-8",children:l}),(0,a.jsx)("div",{className:"flex items-center gap-3 mt-6",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-2xl font-semibold",children:t}),(0,a.jsx)("p",{className:"text-2xl",children:s})]})})]})}let ev=e=>{let{config:t}=e;return(0,a.jsxs)("section",{id:"depoimentos",className:"py-8 md:py-12 bg-white",children:[(0,a.jsx)("h1",{className:"text-3xl md:text-6xl font-bold text-center mb-8 md:mb-16",children:t.testimonials.title}),(0,a.jsx)("div",{className:"container mx-auto px-4 sm:px-8",children:(0,a.jsx)("div",{className:"flex flex-col sm:flex-row flex-wrap items-center justify-center gap-6",children:t.testimonials.list.map((e,t)=>(0,a.jsx)(ej,{...e},t))})})]})},ew=e=>{var t,s,l,r;let{config:i,isPreview:o}=e;return(0,a.jsx)("section",{id:"sobre",className:"py-8 md:py-12 bg-[--background-color] text-[--primary-text-color]",children:(0,a.jsx)("div",{className:"container mx-auto px-4 sm:px-8",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-8 md:gap-16 lg:w-[80%] mx-auto",children:[(0,a.jsx)("div",{className:"max-w-[450px] h-auto",children:(0,a.jsx)(R,{image:null==i||null==(t=i.about)?void 0:t.image,placeholder:"https://juspage-storage.s3.us-east-1.amazonaws.com/assets/about-1.jpg",sectionName:"about",isPreview:o,className:"rounded-lg shadow-lg"})}),(0,a.jsxs)("div",{className:"w-full text-center md:text-left",children:[(0,a.jsx)("h1",{className:"text-3xl md:text-6xl font-bold mb-4 md:mb-6",children:null==i||null==(s=i.about)?void 0:s.title_1}),(0,a.jsx)("p",{className:"text-gray-600 mb-6 text-xl",children:null==i||null==(r=i.about)||null==(l=r.description)?void 0:l.split("\n").map((e,t)=>(0,a.jsxs)(n.Fragment,{children:[e,(0,a.jsx)("br",{})]},t))}),(0,a.jsx)(N,{number:i.contact.whatsapp,text:"Contato",message:i.contact.default_message})]})]})})})},eb=e=>{var t;let{config:s,isPreview:l}=e,r=(null==s||null==(t=s.contact)?void 0:t.image)||"https://juspage-storage.s3.us-east-1.amazonaws.com/assets/about-1.jpg";return(0,a.jsx)("section",{id:"contato",className:"min-h-[450px] lg:min-h-[950px] relative",children:(0,a.jsx)(R,{image:r,placeholder:"https://juspage-storage.s3.us-east-1.amazonaws.com/assets/about-1.jpg",sectionName:"contact",isPreview:l,className:"min-h-[450px] lg:min-h-[950px]",children:(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-end",children:(0,a.jsx)("div",{className:"w-full md:w-1/2 h-full bg-[rgba(7,9,11,0.5)] backdrop-blur-[20px] flex items-center",children:(0,a.jsx)("div",{className:"w-full py-8 md:py-12 px-4 sm:px-8 lg:px-16",children:(0,a.jsx)(ee,{config:s})})})})})})};var eN=s(2945);let ey={width:"100%",height:"400px"},ek=n.memo(e=>{let{address:t}=e,{isLoaded:s}=(0,eN.KD)({id:"google-map-script",googleMapsApiKey:"AIzaSyCmM6xhR13ChCGHDyE1WISSzwLCOGgtF2Y",libraries:["places"]}),[l,r]=(0,n.useState)({lat:0,lng:0});return((0,n.useEffect)(()=>{s&&t&&new window.google.maps.Geocoder().geocode({address:t},(e,s)=>{if(!e)return void console.error("Nenhum resultado encontrado para o endere\xe7o:",t);if("OK"===s&&e[0]){let{lat:t,lng:s}=e[0].geometry.location;r({lat:t(),lng:s()})}else console.error("Erro ao geocodificar o endere\xe7o:",s)})},[s,t]),s)?l?(0,a.jsx)(eN.u6,{mapContainerStyle:ey,center:l,zoom:15,children:(0,a.jsx)(eN.X0,{position:l,onClick:()=>{window.open("https://www.google.com/maps/search/?api=1&query=".concat(t),"_blank")}})}):(0,a.jsx)("div",{children:"Carregando localiza\xe7\xe3o..."}):(0,a.jsx)("div",{children:"Carregando mapa..."})}),eC=e=>{let{config:t}=e;return(0,a.jsx)("section",{id:"mapa",className:"w-full h-full",children:(0,a.jsx)("div",{className:"mx-auto gap-8 sm:gap-12 relative z-10",children:(0,a.jsx)(ek,{address:t.contact.address})})})},eE=e=>{let{name:t="JusPage"}=e;return(0,a.jsx)("footer",{className:"py-4 md:py-6 bg-[--secondary-color] text-[--secondary-text-color] border-t border-gray-800",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 sm:px-8 flex justify-between items-center",children:[(0,a.jsxs)("span",{className:"text-xs md:text-md",children:["\xa9 ",new Date().getFullYear()," ",(0,a.jsxs)("span",{className:"font-bold",children:[t,"."]})," Todos os direitos reservados."]}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(m(),{width:0,height:0,src:"/media/svg/logo-light.svg",alt:"JusPage Logo",className:"h-6 md:h-6 w-auto"})})]})})};var ez=s(7446),e_=s(3731);function eA(){return(0,a.jsxs)("div",{className:"fixed inset-0 bg-white z-50 flex flex-col items-center justify-center overflow-hidden font-[Inter] px-10",children:[(0,a.jsx)(eP,{}),(0,a.jsx)("div",{className:"z-10",children:(0,a.jsx)(ez.A,{className:"h-12 w-12 animate-spin",style:{color:"#41C78F"}})})]})}function eP(){return(0,a.jsxs)("div",{className:"absolute inset-0 overflow-hidden z-0 pointer-events-none",children:[(0,a.jsx)(x.A,{className:"floating-icon",style:{top:"10%",left:"15%"}}),(0,a.jsx)(I.A,{className:"floating-icon",style:{top:"50%",left:"10%"}}),(0,a.jsx)(M.A,{className:"floating-icon",style:{top:"25%",right:"15%"}}),(0,a.jsx)(e_.A,{className:"floating-icon",style:{bottom:"15%",right:"10%"}})]})}var eF=s(5364);function eS(e){let{children:t}=e,[s,l]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{"localhost"===window.location.hostname?eF.env.NEXT_PUBLIC_TEST_DOMAIN:window.location.hostname;let e=setTimeout(()=>{l(!0)},1500);return()=>clearTimeout(e)},[]),s)?(0,a.jsx)(a.Fragment,{children:t}):(0,a.jsx)(eA,{})}var eL=!0;function eR(e){var t,s,l,i,n,d,m,x,h;let{title:u,name:p,config:f,theme:g,palette:j,logo:v,domain:w,isPreview:b}=e;return(0,a.jsx)("div",{lang:"en",className:o().className,children:(0,a.jsxs)(c,{palette:j,children:[(0,a.jsxs)(r(),{children:[(0,a.jsx)("title",{children:u}),(0,a.jsx)("meta",{name:"description",content:(null==f||null==(t=f.hero)?void 0:t.description)||"JusPage"}),(0,a.jsx)("link",{rel:"sitemap",type:"application/xml",href:"/api/sitemap.xml?domain=".concat(w)})]}),(0,a.jsx)(L,{config:f,logo:v,theme:(e=>{switch(e){case"NC":default:return"neoclassical";case"AD":return"artdeco";case"MN":return"minimalist";case"BH":return"bauhaus"}})(g),palette:j}),(0,a.jsxs)(eS,{children:["NC"===g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ec,{config:f,isPreview:b}),f.has_services&&(0,a.jsx)(ed,{config:f,isPreview:b}),f.has_testimonials&&(0,a.jsx)(ex,{config:f}),(0,a.jsx)(eh,{config:f,isPreview:b}),(0,a.jsx)(eu,{config:f,isPreview:b}),(null==(s=f.contact)?void 0:s.address)&&(null==(l=f.contact)?void 0:l.has_map)&&(0,a.jsx)(eC,{config:f})]}),"AD"===g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(B,{config:f,isPreview:b}),f.has_services&&(0,a.jsx)(G,{config:f}),f.has_testimonials&&(0,a.jsx)(Y,{config:f}),(0,a.jsx)($,{config:f,isPreview:b}),(0,a.jsx)(et,{config:f,isPreview:b}),(null==(i=f.contact)?void 0:i.address)&&(null==(n=f.contact)?void 0:n.has_map)&&(0,a.jsx)(eC,{config:f})]}),"MN"===g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(es,{config:f,isPreview:b}),f.has_services&&(0,a.jsx)(el,{config:f}),f.has_testimonials&&(0,a.jsx)(ei,{config:f}),(0,a.jsx)(eo,{config:f,isPreview:b}),(0,a.jsx)(en,{config:f}),(null==(d=f.contact)?void 0:d.address)&&(null==(m=f.contact)?void 0:m.has_map)&&(0,a.jsx)(eC,{config:f})]}),"BH"===g&&(0,a.jsxs)("div",{children:[(0,a.jsx)(ep,{config:f,isPreview:b}),f.has_services&&(0,a.jsx)(ef,{config:f}),f.has_testimonials&&(0,a.jsx)(ev,{config:f}),(0,a.jsx)(ew,{config:f,isPreview:b}),(0,a.jsx)(eb,{config:f,isPreview:b}),(null==(x=f.contact)?void 0:x.address)&&(null==(h=f.contact)?void 0:h.has_map)&&(0,a.jsx)(eC,{config:f})]}),(0,a.jsx)(eE,{name:p})]})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[759,241,636,593,792],()=>t(6760)),_N_E=e.O()}]);