@riligar/components-kit 1.5.2 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +44 -20
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -134,6 +134,11 @@ const Te = Z({
|
|
|
134
134
|
size: "lg"
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
|
+
ActionIcon: {
|
|
138
|
+
defaultProps: {
|
|
139
|
+
radius: "0"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
137
142
|
Divider: {
|
|
138
143
|
defaultProps: {
|
|
139
144
|
color: "gray.2"
|
|
@@ -243,7 +248,7 @@ function I({ children: r, title: c, subtitle: a, id: l, background: n = "white",
|
|
|
243
248
|
}
|
|
244
249
|
);
|
|
245
250
|
}
|
|
246
|
-
function
|
|
251
|
+
function Ae({ children: r }) {
|
|
247
252
|
return /* @__PURE__ */ e(y, { style: { minHeight: "100vh", scrollBehavior: "smooth" }, children: r });
|
|
248
253
|
}
|
|
249
254
|
function de({
|
|
@@ -370,7 +375,7 @@ function de({
|
|
|
370
375
|
}
|
|
371
376
|
);
|
|
372
377
|
}
|
|
373
|
-
const
|
|
378
|
+
const De = de;
|
|
374
379
|
function Ce({ subtitle: r, title: c, description: a, cta: l, video: n, image: o, background: h = "white", mediaMaw: d }) {
|
|
375
380
|
return /* @__PURE__ */ e(
|
|
376
381
|
y,
|
|
@@ -552,7 +557,7 @@ function Ee({ id: r, subtitle: c, title: a, description: l, featuresList: n, cta
|
|
|
552
557
|
),
|
|
553
558
|
children: n.map((F, B) => /* @__PURE__ */ e(G.Item, { children: F }, B))
|
|
554
559
|
}
|
|
555
|
-
),
|
|
560
|
+
), A = /* @__PURE__ */ i(
|
|
556
561
|
p,
|
|
557
562
|
{
|
|
558
563
|
justify: "center",
|
|
@@ -581,7 +586,7 @@ function Ee({ id: r, subtitle: c, title: a, description: l, featuresList: n, cta
|
|
|
581
586
|
) })
|
|
582
587
|
]
|
|
583
588
|
}
|
|
584
|
-
),
|
|
589
|
+
), D = (h || d) && /* @__PURE__ */ e(
|
|
585
590
|
J,
|
|
586
591
|
{
|
|
587
592
|
video: h,
|
|
@@ -604,11 +609,11 @@ function Ee({ id: r, subtitle: c, title: a, description: l, featuresList: n, cta
|
|
|
604
609
|
spacing: { base: 40, md: 80 },
|
|
605
610
|
verticalSpacing: { base: 40, md: 50 },
|
|
606
611
|
children: m ? /* @__PURE__ */ i(L, { children: [
|
|
607
|
-
A,
|
|
608
|
-
D
|
|
609
|
-
] }) : /* @__PURE__ */ i(L, { children: [
|
|
610
612
|
D,
|
|
611
613
|
A
|
|
614
|
+
] }) : /* @__PURE__ */ i(L, { children: [
|
|
615
|
+
A,
|
|
616
|
+
D
|
|
612
617
|
] })
|
|
613
618
|
}
|
|
614
619
|
)
|
|
@@ -646,8 +651,8 @@ function ge({
|
|
|
646
651
|
span: s = { base: 12, md: 6 },
|
|
647
652
|
background: g = "white",
|
|
648
653
|
dark: u = !1,
|
|
649
|
-
visual:
|
|
650
|
-
secondaryVisual:
|
|
654
|
+
visual: A,
|
|
655
|
+
secondaryVisual: D,
|
|
651
656
|
layout: F = "stacked",
|
|
652
657
|
badges: B,
|
|
653
658
|
codeBlock: W,
|
|
@@ -717,7 +722,7 @@ function ge({
|
|
|
717
722
|
},
|
|
718
723
|
Y
|
|
719
724
|
)) })
|
|
720
|
-
] }), C =
|
|
725
|
+
] }), C = A ? _(A, u) : null, $ = D ? _(D, u) : null;
|
|
721
726
|
return F === "split" ? /* @__PURE__ */ e(b.Col, { span: s, children: /* @__PURE__ */ e(
|
|
722
727
|
x,
|
|
723
728
|
{
|
|
@@ -1822,11 +1827,7 @@ function me({ id: r, title: c, description: a, cta: l, background: n = "gray" })
|
|
|
1822
1827
|
);
|
|
1823
1828
|
}
|
|
1824
1829
|
const Ne = me;
|
|
1825
|
-
function pe({
|
|
1826
|
-
text: r = "Selo Exclusivo RiLiGar",
|
|
1827
|
-
color: c = "green.6",
|
|
1828
|
-
background: a = "gray"
|
|
1829
|
-
}) {
|
|
1830
|
+
function pe({ text: r = "Selo Exclusivo RiLiGar", color: c = "green.6", background: a = "gray" }) {
|
|
1830
1831
|
const l = z(a);
|
|
1831
1832
|
return /* @__PURE__ */ e(
|
|
1832
1833
|
y,
|
|
@@ -1834,13 +1835,36 @@ function pe({
|
|
|
1834
1835
|
p: "xs",
|
|
1835
1836
|
bg: l,
|
|
1836
1837
|
style: {
|
|
1837
|
-
borderRadius: "8px",
|
|
1838
1838
|
border: "1px solid var(--mantine-color-gray-2)",
|
|
1839
1839
|
display: "inline-block"
|
|
1840
1840
|
},
|
|
1841
1841
|
children: /* @__PURE__ */ i(f, { gap: "xs", children: [
|
|
1842
|
-
/* @__PURE__ */ e(
|
|
1843
|
-
|
|
1842
|
+
/* @__PURE__ */ e(
|
|
1843
|
+
T,
|
|
1844
|
+
{
|
|
1845
|
+
color: c,
|
|
1846
|
+
variant: "light",
|
|
1847
|
+
size: "sm",
|
|
1848
|
+
children: /* @__PURE__ */ e(
|
|
1849
|
+
oe,
|
|
1850
|
+
{
|
|
1851
|
+
size: 14,
|
|
1852
|
+
"aria-hidden": "true"
|
|
1853
|
+
}
|
|
1854
|
+
)
|
|
1855
|
+
}
|
|
1856
|
+
),
|
|
1857
|
+
/* @__PURE__ */ e(
|
|
1858
|
+
t,
|
|
1859
|
+
{
|
|
1860
|
+
size: "xs",
|
|
1861
|
+
fw: 700,
|
|
1862
|
+
c: "gray.7",
|
|
1863
|
+
tt: "uppercase",
|
|
1864
|
+
lts: 0.5,
|
|
1865
|
+
children: r
|
|
1866
|
+
}
|
|
1867
|
+
)
|
|
1844
1868
|
] })
|
|
1845
1869
|
}
|
|
1846
1870
|
);
|
|
@@ -2011,9 +2035,9 @@ export {
|
|
|
2011
2035
|
We as Footer,
|
|
2012
2036
|
de as Header,
|
|
2013
2037
|
Ce as Hero,
|
|
2014
|
-
|
|
2038
|
+
Ae as Layout,
|
|
2015
2039
|
J as MediaBlock,
|
|
2016
|
-
|
|
2040
|
+
De as Navbar,
|
|
2017
2041
|
Re as Pricing,
|
|
2018
2042
|
Pe as SECTION_BACKGROUNDS,
|
|
2019
2043
|
Ne as SecondaryCTA,
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@mantine/core"),require("react/jsx-runtime"),require("@mantine/hooks"),require("@tabler/icons-react"),require("react")):typeof define=="function"&&define.amd?define(["exports","@mantine/core","react/jsx-runtime","@mantine/hooks","@tabler/icons-react","react"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h.RiligarComponentsKit={},h.MantineCore,h.jsxRuntime,h.MantineHooks,h.TablerIcons,h.React))})(this,(function(h,e,r,H,b,N){"use strict";const L=e.createTheme({fontFamily:'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',headings:{fontFamily:'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',fontWeight:"900"},colors:{gray:["#FFFFFF","#F9FAFB","#F3F4F6","#E5E7EB","#9CA3AF","#6B7280","#4B5563","#374151","#1F2937","#11181C"]},primaryColor:"gray",primaryShade:9,autoContrast:!0,defaultRadius:"0",components:{Container:{defaultProps:{size:"xl",px:"md"}},Paper:{defaultProps:{withBorder:!0,shadow:"none",radius:"0",bg:"white"}},Card:{defaultProps:{withBorder:!1,shadow:"none",radius:"0",padding:"xl",bg:"transparent"}},Button:{defaultProps:{size:"md",fw:800,radius:"0",variant:"filled",color:"gray.9"},styles:{root:{textTransform:"uppercase",letterSpacing:"1px"}}},TextInput:{defaultProps:{size:"lg",radius:"0",variant:"unstyled"},styles:{input:{borderBottom:"1px solid var(--mantine-color-gray-2)",paddingLeft:0,paddingRight:0}}},Title:{defaultProps:{lh:1.1,c:"gray.9",ls:"-0.04em"}},Text:{defaultProps:{lh:1.6,c:"gray.9",size:"md"}},Badge:{defaultProps:{variant:"dot",color:"gray",radius:"0",size:"sm"},styles:{root:{textTransform:"uppercase",letterSpacing:"1.5px",fontWeight:800}}},ThemeIcon:{defaultProps:{variant:"light",color:"gray",radius:"0",size:"lg"}},Divider:{defaultProps:{color:"gray.2"}}}});function F({subtitle:l,title:n,titleOrder:i=2,titleFz:a="var(--fz-section-title)",ta:s="left",maw:t}){return!n&&!l?null:r.jsxs(e.Stack,{gap:"xs",align:s==="center"?"center":"flex-start",ta:s,children:[l&&r.jsx(e.Text,{c:"gray.4",size:"xs",fw:800,tt:"uppercase",ls:"1.5px",children:l}),n&&r.jsx(e.Title,{order:i,fz:a,maw:t,children:n})]})}function I({video:l,image:n,width:i="100%",maw:a,alt:s}){return l?r.jsx(e.Center,{children:r.jsx(e.Box,{component:"video",src:l.src,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,"aria-label":s||"Demonstração em vídeo",w:l.width||i,h:"auto",style:{filter:l.filter||"none"}})}):n?r.jsx(e.Center,{children:r.jsx(e.Box,{component:"img",src:n,alt:s||"",w:i,h:"auto",maw:a})}):null}function z({label:l,href:n,onClick:i,icon:a,size:s="lg",variant:t="filled",color:o,target:c,px:p,fullWidth:d,leftSection:g,...y}){return r.jsx(e.Button,{size:s,component:n?"a":"button",href:n,onClick:i,target:c,rightSection:a,leftSection:g,variant:t,color:o,px:p,fullWidth:d,...y,children:l})}const O={white:"white",gray:"gray.1"},f=l=>l;function x({children:l,title:n,subtitle:i,id:a,background:s="white",py:t={base:80,md:120},maw:o=800,ta:c="left",stackGap:p="xl"}){const d=f(s);return r.jsx(e.Box,{component:"section",id:a,bg:d,py:t,style:{overflow:"hidden"},children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.Stack,{gap:p,children:[r.jsx(F,{subtitle:i,title:n,ta:c,maw:o}),r.jsx(e.Box,{children:l})]})})})}function W({children:l}){return r.jsx(e.Box,{style:{minHeight:"100vh",scrollBehavior:"smooth"},children:l})}function P({logo:l,navLinks:n=[],loginCta:i,signupCta:a,background:s="white"}){const t=f(s),[o]=H.useWindowScroll(),c=o.y>10,p=g=>{g==="top"?window.scrollTo({top:0,behavior:"smooth"}):document.getElementById(g)?.scrollIntoView({behavior:"smooth"})},d=(g,y)=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),p(y))};return r.jsx(e.Box,{component:"header",pos:"sticky",top:0,w:"100%",style:{zIndex:100,pointerEvents:"none"},children:r.jsx(e.Container,{size:"xl",py:"md",children:r.jsx(e.Paper,{shadow:c?"sm":"none",radius:"0",p:"xs",bg:t,bd:c?"1px solid var(--mantine-color-gray-2)":"1px solid transparent",style:{pointerEvents:"auto",transition:"all 0.2s ease"},children:r.jsxs(e.Group,{justify:"space-between",align:"center",px:{base:"xs",sm:"md"},children:[l&&r.jsx("a",{href:"#","aria-label":"Voltar ao topo",onClick:g=>{g.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})},style:{display:"inline-flex"},children:r.jsx("img",{src:l.src,alt:l.alt||"",height:l.height||32,style:{objectFit:"contain"}})}),n.length>0&&r.jsx(e.Group,{gap:"xl",visibleFrom:"sm",component:"nav",role:"navigation","aria-label":"Menu principal",children:n.map(g=>r.jsx(e.Text,{size:"sm",fw:900,tt:"uppercase",ls:"1px",c:"dark",role:"link",tabIndex:0,style:{cursor:"pointer"},onClick:()=>p(g.target),onKeyDown:y=>d(y,g.target),children:g.label},g.label))}),r.jsxs(e.Group,{gap:"sm",children:[i&&r.jsx(e.Button,{variant:"subtle",component:i.href?"a":"button",href:i.href,onClick:i.onClick,c:"gray.7",size:"sm",radius:"0",visibleFrom:"xs",fw:900,children:i.label}),a&&r.jsxs(e.Button,{component:a.href?"a":"button",href:a.href,onClick:a.onClick,size:"sm",radius:"0",color:"dark",variant:"filled",children:[r.jsx(e.Text,{span:!0,visibleFrom:"sm",c:"white",fw:900,size:"sm",children:a.label}),r.jsx(e.Text,{span:!0,hiddenFrom:"sm",c:"white",fw:900,size:"xs",children:a.labelMobile||a.label})]})]})]})})})})}const K=P;function V({subtitle:l,title:n,description:i,cta:a,video:s,image:t,background:o="white",mediaMaw:c}){return r.jsx(e.Box,{py:{base:80,sm:100,md:140},id:"hero",bg:o,children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:{base:60,md:100},verticalSpacing:60,children:[r.jsxs(e.Stack,{align:{base:"center",md:"flex-start"},justify:"center",gap:{base:32,md:48},ta:{base:"center",md:"left"},children:[r.jsx(e.Center,{children:r.jsx(F,{subtitle:l,title:n,titleOrder:1,titleFz:"var(--fz-hero)",ta:"inherit"})}),i&&r.jsx(e.Center,{children:r.jsx(e.Text,{size:"xl",c:"gray.6",lh:1.6,maw:600,children:i})}),a&&r.jsx(e.Center,{children:r.jsx(e.Group,{gap:"md",justify:{base:"center",md:"flex-start"},children:r.jsx(z,{label:a.label,href:a.href,icon:a.icon,size:a.size||"xl",px:a.px||48,variant:a.variant,color:a.color})})})]}),r.jsx(I,{video:s,image:t,maw:c,alt:"Demonstração do produto"})]})})})}function q({logo:l,index:n}){const i={src:l.src,alt:l.alt||`Logo ${n}`,h:l.height||50,w:"auto",style:{filter:"grayscale(1) opacity(0.4)",transition:"filter 0.3s ease, opacity 0.3s ease",...l.style},onMouseEnter:a=>{a.currentTarget.style.filter="grayscale(0) opacity(0.8)"},onMouseLeave:a=>{a.currentTarget.style.filter="grayscale(1) opacity(0.4)"}};return l.url?r.jsx(e.Center,{children:r.jsx("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",children:r.jsx(e.Image,{...i})})}):r.jsx(e.Center,{children:r.jsx(e.Image,{...i})})}function U({id:l,title:n,logos:i,background:a="gray"}){return!i||i.length===0?null:r.jsx(e.Box,{component:"section",id:l,py:{base:40,md:60},bg:a,bd:{bottom:"1px solid var(--mantine-color-gray-1)"},children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.Stack,{align:"center",ta:"center",gap:"xl",children:[n&&r.jsx(e.Text,{fw:500,c:"gray.5",size:"sm",tt:"uppercase",ls:"0.1em",children:n}),r.jsx(e.Group,{justify:"space-between",gap:{base:40,md:80},style:{rowGap:40},w:"100%",children:i.map((s,t)=>r.jsx(q,{logo:s,index:t},t))})]})})})}function _({id:l,subtitle:n,title:i,description:a,featuresList:s,cta:t,video:o,image:c,reverse:p=!1,background:d="white",mediaMaw:g}){const y=s&&s.length>0&&r.jsx(e.List,{spacing:"md",size:"md",center:!0,icon:r.jsx(e.ThemeIcon,{color:"gray.2",size:24,radius:"0",children:r.jsx(b.IconCheck,{size:14,color:"var(--mantine-color-gray-9)"})}),children:s.map((v,w)=>r.jsx(e.List.Item,{children:v},w))}),T=r.jsxs(e.Stack,{justify:"center",gap:"lg",children:[a&&r.jsx(e.Text,{c:"gray.6",size:"xl",lh:1.6,children:a}),y,t&&r.jsx(e.Group,{mt:"md",children:r.jsx(z,{label:t.label,href:t.href,icon:t.icon,size:t.size||"lg",variant:t.variant,color:t.color})})]}),S=(o||c)&&r.jsx(I,{video:o,image:c,width:"80%",maw:g});return r.jsx(x,{id:l,subtitle:n,title:i,background:d,children:r.jsx(e.SimpleGrid,{cols:{base:1,md:2},spacing:{base:40,md:80},verticalSpacing:{base:40,md:50},children:p?r.jsxs(r.Fragment,{children:[S,T]}):r.jsxs(r.Fragment,{children:[T,S]})})})}function Q({id:l,subtitle:n,title:i,background:a="gray",items:s=[]}){return r.jsx(x,{id:l,subtitle:n,title:i,background:a,children:r.jsx(e.Grid,{gutter:"lg",children:s.map((t,o)=>r.jsx($,{...t},o))})})}function $({icon:l,iconVariant:n,iconColor:i,label:a,title:s,titleSize:t,description:o,descriptionSize:c,descriptionMaw:p,span:d={base:12,md:6},background:g="white",dark:y=!1,visual:T,secondaryVisual:S,layout:v="stacked",badges:w,codeBlock:j,decorativeContent:M,style:G,...m}){const er=y?"white":void 0,lr=y?"gray.4":"gray.6",ar="gray.5",sr=n||(y?"filled":"light"),ir=i||(y?"gray.7":"gray"),nr=t||(v==="compact"?"h4":"h3"),tr=c||(v==="compact"?"sm":"lg"),k=r.jsxs(e.Box,{children:[l&&r.jsx(e.ThemeIcon,{size:48,radius:"0",variant:sr,color:ir,mb:"lg",style:y?{color:"white"}:void 0,children:r.jsx(l,{size:24,stroke:1.5})}),a&&r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:ar,mb:"xs",children:a}),s&&r.jsx(e.Text,{fz:nr,fw:900,lh:1.2,mb:"sm",c:er,children:s}),o&&r.jsx(e.Text,{c:lr,size:tr,maw:p,mb:w?"xl":v==="compact"?"lg":void 0,children:o}),w&&w.length>0&&r.jsx(e.Group,{children:w.map((dr,cr)=>r.jsx(e.Badge,{variant:"dot",color:"gray",radius:"0",children:dr},cr))})]}),B=T?C(T,y):null,E=S?C(S,y):null;return v==="split"?r.jsx(e.Grid.Col,{span:d,children:r.jsx(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",style:G,...m,children:r.jsxs(e.Grid,{align:"center",gutter:"xl",children:[r.jsx(e.Grid.Col,{span:{base:12,sm:6},children:k}),r.jsxs(e.Grid.Col,{span:{base:12,sm:6},children:[B,j&&r.jsx(e.Code,{block:!0,color:"gray.0",c:"gray.7",style:{fontSize:12,lineHeight:1.4,borderRadius:0},children:j})]})]})})}):v==="compact"?r.jsx(e.Grid.Col,{span:d,children:r.jsxs(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",style:G,...m,children:[k,B]})}):M?r.jsx(e.Grid.Col,{span:d,children:r.jsx(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",pos:"relative",style:G,...m,children:r.jsxs(e.Grid,{gutter:0,pos:"relative",children:[r.jsx(e.Grid.Col,{span:{base:12,sm:7},style:{zIndex:1},children:k}),r.jsx(e.Grid.Col,{span:5,visibleFrom:"sm",children:M})]})})}):r.jsx(e.Grid.Col,{span:d,children:r.jsxs(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",display:"flex",style:{flexDirection:"column",justifyContent:"space-between",...G},...m,children:[k,B&&E?r.jsxs(e.Group,{gap:40,align:"center",children:[B,E]}):B]})})}function C(l,n){if(!l)return null;switch(l.type){case"ring":return r.jsx(e.RingProgress,{size:l.size||140,thickness:l.thickness||12,sections:[{value:l.value||100,color:"gray.9"}],label:r.jsx(e.Center,{children:r.jsxs(e.Stack,{gap:0,align:"center",children:[r.jsx(e.Text,{fw:900,size:"xl",lh:1,children:l.label}),l.sublabel&&r.jsx(e.Text,{size:"xs",c:"gray.5",fw:700,children:l.sublabel})]})})});case"metric":return r.jsxs(e.Stack,{gap:0,children:[r.jsx(e.Text,{fw:900,fz:32,c:"gray.9",lh:1,children:l.value}),r.jsx(e.Text,{size:"sm",c:"gray.5",mt:4,children:l.label}),l.badge&&r.jsx(e.Badge,{mt:"md",color:"gray",variant:"dot",radius:"0",children:l.badge})]});case"bars":return r.jsx(e.Group,{align:"flex-end",gap:8,h:l.height||100,preventGrowOverflow:!1,children:(l.data||[]).map((i,a)=>r.jsx(e.Box,{w:20,h:`${i}%`,bg:a===l.highlight?"gray.9":"gray.2",radius:"0"},a))});case"typography":return r.jsx(e.Center,{h:l.height||160,bg:n?"gray.8":"gray.1",radius:"0",children:r.jsx(e.Text,{fz:l.fontSize||100,fw:900,c:n?"gray.6":"gray.3",style:{letterSpacing:-6},children:l.text||"Aa"})});case"icon-large":{const i=l.icon;return i?r.jsx(i,{size:l.size||64,stroke:l.stroke||1,color:l.color||"var(--mantine-color-gray-2)"}):null}default:return null}}function u({id:l,subtitle:n,title:i,traditionalCol:a,newCol:s,background:t="white"}){return r.jsx(x,{id:l,subtitle:n,title:i,background:t,children:r.jsx(e.Paper,{radius:"0",bd:"1px solid var(--mantine-color-gray-2)",style:{overflow:"hidden"},children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:0,children:[r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:{base:30,md:60},children:r.jsxs(e.Stack,{gap:"xl",children:[r.jsxs(e.Box,{children:[r.jsx(e.Text,{fw:900,fz:"h2",c:"gray.9",mb:4,children:a.title}),r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.5",children:a.subtitle})]}),r.jsx(e.Stack,{gap:"md",mb:40,children:a.items.map((o,c)=>r.jsxs(N.Fragment,{children:[r.jsxs(e.Group,{justify:"space-between",children:[r.jsx(e.Text,{size:"sm",c:"gray.6",children:o.label}),r.jsx(e.Text,{fw:700,c:"gray.9",children:o.value})]}),c<a.items.length-1&&r.jsx(e.Divider,{color:"var(--mantine-color-gray-2)"})]},c))}),r.jsxs(e.Box,{bg:t==="gray"?"gray.1":"white",p:"lg",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:[r.jsxs(e.Group,{justify:"space-between",children:[r.jsx(e.Text,{fw:900,c:"gray.7",children:a.totalLabel||"Total Estimado"}),r.jsx(e.Text,{fw:900,fz:32,c:"gray.9",children:a.totalValue})]}),a.footerText&&r.jsx(e.Text,{size:"xs",c:"red.6",ta:"right",mt:4,children:a.footerText})]})]})}),r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:{base:30,md:60},pos:"relative",children:r.jsxs(e.Stack,{gap:"xl",h:"100%",children:[r.jsxs(e.Box,{children:[r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.Text,{fw:900,fz:"h2",c:"gray.9",mb:4,children:s.title}),s.badge&&r.jsx(e.Badge,{color:"gray.9",variant:"filled",radius:"0",children:s.badge})]}),r.jsx(e.Text,{size:"sm",c:"gray.6",children:s.description})]}),r.jsx(e.List,{spacing:"md",size:"md",c:"gray.6",icon:r.jsx(e.ThemeIcon,{color:"gray.0",size:20,radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:r.jsx(b.IconCheck,{size:12,color:"var(--mantine-color-gray-9)"})}),children:s.items.map((o,c)=>r.jsx(e.List.Item,{children:o},c))}),s.pricingBox&&r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:"lg",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:r.jsxs(e.Stack,{gap:4,children:[r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.5",children:s.pricingBox.label}),r.jsx(e.Text,{fw:900,fz:48,c:"gray.9",lh:1,children:s.pricingBox.price}),s.pricingBox.subtext&&r.jsx(e.Text,{size:"xs",c:"gray.5",mt:"sm",children:s.pricingBox.subtext})]})}),s.cta&&r.jsx(e.Box,{mt:"xl",children:r.jsx(z,{label:s.cta.label,href:s.cta.href,icon:s.cta.icon,size:s.cta.size||"lg",color:s.cta.color||"gray.9",fullWidth:!0})})]})})]})})})}function J({id:l,subtitle:n,title:i,billingOptions:a=[{label:"Mensal",value:"monthly"},{label:"Anual",value:"annual"}],billing:s,setBilling:t,promoBadge:o,plans:c,background:p="white"}){return r.jsxs(x,{id:l,subtitle:n,title:i,ta:"center",background:p,children:[a&&a.length>0&&r.jsx(e.Stack,{align:"center",gap:"xl",mb:80,children:r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.SegmentedControl,{value:s,onChange:t,radius:"0",size:"md",data:a,color:"gray.9",bg:"white",style:{border:"1px solid var(--mantine-color-gray-2)"}}),s==="annual"&&o&&r.jsx(e.Badge,{variant:"filled",color:"gray.9",radius:"0",size:"lg",children:o})]})}),r.jsx(e.SimpleGrid,{cols:{base:1,md:c.length<=3?c.length:3},spacing:"xl",verticalSpacing:"xl",children:c.map(d=>r.jsxs(e.Paper,{p:"xl",radius:"0",withBorder:!0,bd:d.highlight?"2px solid var(--mantine-color-gray-9)":"1px solid var(--mantine-color-gray-2)",display:"flex",h:"100%",style:{flexDirection:"column"},bg:"white",children:[r.jsxs(e.Stack,{gap:"md",mb:"xl",children:[r.jsxs(e.Group,{justify:"space-between",align:"center",children:[r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.4",children:d.name}),d.highlight&&r.jsx(e.Badge,{variant:"dot",color:"gray.9",children:d.highlightBadge||"RECOMENDADO"})]}),r.jsx(e.Text,{size:"sm",c:"gray.6",fw:500,lh:1.5,h:{md:42},children:d.description})]}),r.jsxs(e.Box,{mb:"xl",children:[r.jsx(e.Text,{size:"xs",c:"gray.4",fw:800,tt:"uppercase",ls:"1px",mb:4,children:d.pricePrefix||"A partir de"}),r.jsxs(e.Group,{gap:8,align:"flex-start",children:[r.jsx(e.Text,{size:"xl",fw:900,c:"gray.9",style:{marginTop:8},children:d.priceDisplay?.currency}),r.jsxs(e.Group,{gap:4,align:"flex-end",children:[r.jsx(e.Text,{fz:"var(--fz-big-metric)",fw:900,ls:"-0.04em",lh:.8,c:"gray.9",children:d.priceDisplay?.whole}),d.priceDisplay?.fraction&&r.jsxs(e.Stack,{gap:0,mb:6,children:[r.jsxs(e.Text,{size:"xl",fw:900,lh:1,c:"gray.9",children:[",",d.priceDisplay.fraction]}),r.jsx(e.Text,{size:"xs",c:"gray.5",fw:800,tt:"uppercase",ls:"0.5px",children:d.period||d.priceSuffix||"/mês"})]})]})]})]}),r.jsx(e.Divider,{mb:"xl",color:"gray.1"}),r.jsx(e.Stack,{gap:"sm",mb:40,style:{flex:1},children:d.features.map((g,y)=>r.jsxs(e.Group,{gap:"sm",wrap:"nowrap",align:"flex-start",children:[r.jsx(b.IconCheck,{size:16,color:"var(--mantine-color-gray-9)",style:{marginTop:2,flexShrink:0}}),r.jsx(e.Text,{size:"sm",fw:500,c:"gray.6",lh:1.4,children:g})]},y))}),r.jsx(e.Box,{mt:"auto",children:r.jsx(z,{label:d.cta.label,href:d.cta.href,size:d.cta.size||"xl",variant:d.cta.variant,color:d.cta.color||"gray.9",fullWidth:!0})})]},d.name))})]})}function X({id:l,subtitle:n,title:i,questions:a=[],contactCard:s,background:t="white"}){const o={item:{backgroundColor:t==="gray"?"gray.1":"white",border:"1px solid var(--mantine-color-gray-2)"},control:{padding:"1.25rem"},content:{padding:"0 1.25rem 1.25rem 1.25rem"},label:{fontWeight:900,color:"var(--mantine-color-gray-9)"},chevron:{color:"var(--mantine-color-gray-5)"}};return r.jsxs(x,{id:l,subtitle:n,title:i,background:t,children:[r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:"xl",children:[r.jsx(e.Accordion,{variant:"separated",radius:"0",chevronPosition:"right",styles:o,children:a.slice(0,Math.ceil(a.length/2)).map((c,p)=>r.jsxs(e.Accordion.Item,{value:c.value||String(p),mb:"md",children:[r.jsx(e.Accordion.Control,{icon:r.jsx(e.ThemeIcon,{variant:"light",color:"gray",radius:"0",children:r.jsx(b.IconBolt,{size:16})}),children:c.question}),r.jsx(e.Accordion.Panel,{c:"gray.6",children:c.answer})]},c.value||p))}),r.jsx(e.Accordion,{variant:"separated",radius:"0",chevronPosition:"right",styles:o,children:a.slice(Math.ceil(a.length/2)).map((c,p)=>r.jsxs(e.Accordion.Item,{value:c.value||String(p),mb:"md",children:[r.jsx(e.Accordion.Control,{icon:r.jsx(e.ThemeIcon,{variant:"light",color:"gray",radius:"0",children:r.jsx(b.IconBolt,{size:16})}),children:c.question}),r.jsx(e.Accordion.Panel,{c:"gray.6",children:c.answer})]},c.value||p))})]}),s&&r.jsx(e.Paper,{mt:{base:40,md:80},radius:"0",p:{base:"xl",md:60},bg:t==="gray"?"gray.1":"white",bd:"1px solid var(--mantine-color-gray-1)",pos:"relative",style:{overflow:"hidden"},children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:"xl",style:{position:"relative",zIndex:1,alignItems:"center"},children:[r.jsxs(e.Stack,{gap:"sm",ta:{base:"center",md:"left"},align:{base:"center",md:"flex-start"},children:[r.jsx(e.Text,{fz:"h2",fw:900,c:"gray.9",lh:1.2,children:s.title}),r.jsx(e.Text,{c:"gray.6",maw:500,size:"lg",children:s.description})]}),r.jsx(e.Stack,{align:{base:"center",md:"flex-end"},children:r.jsx(z,{label:s.cta.label,href:s.cta.href,target:s.cta.target,leftSection:s.cta.icon,size:s.cta.size||"xl",color:s.cta.color||"dark"})})]})})]})}function Y({id:l,title:n,subtitle:i,items:a=[],background:s="gray"}){return r.jsx(x,{id:l,background:s,title:n,subtitle:i,children:r.jsx(e.SimpleGrid,{cols:{base:1,md:a.length>3?4:a.length||3},spacing:"xl",children:a.map((t,o)=>r.jsx(e.Paper,{p:"xl",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",bg:f("white"),children:r.jsxs(e.Stack,{gap:"md",align:"flex-start",h:"100%",children:[r.jsx(b.IconQuote,{size:32,color:"var(--mantine-color-gray-3)"}),r.jsxs(e.Text,{size:"lg",c:"gray.7",lh:1.6,fs:"italic",flex:1,children:['"',t.content,'"']}),r.jsxs(e.Group,{gap:"sm",mt:"xl",children:[r.jsx(e.Avatar,{size:"md",radius:"0",color:"gray",src:t.avatarSrc,children:t.initials}),r.jsxs(e.Stack,{gap:0,children:[r.jsx(e.Text,{size:"sm",fw:900,children:t.name}),r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:t.role})]})]})]})},o))})})}function A({id:l,title:n,description:i,cta:a,background:s="gray"}){return r.jsx(x,{id:l,background:s,ta:"center",children:r.jsx(e.Paper,{p:{base:"xl",sm:80},bg:f("white"),radius:"0",bd:"1px solid var(--mantine-color-gray-2)",style:{borderTop:"4px solid var(--mantine-color-gray-9)"},children:r.jsxs(e.Stack,{align:"center",ta:"center",gap:"xl",children:[n&&r.jsx(e.Text,{fz:"var(--fz-section-title)",fw:900,lh:1.2,ls:"-0.04em",maw:700,children:n}),i&&r.jsx(e.Text,{c:"gray.7",size:"xl",maw:550,children:i}),a&&r.jsx(e.Box,{mt:"md",children:r.jsx(z,{label:a.label,href:a.href,size:a.size||"xl",px:a.px||{base:32,md:60},variant:a.variant,color:a.color})})]})})})}const Z=A;function D({text:l="Selo Exclusivo RiLiGar",color:n="green.6",background:i="gray"}){const a=f(i);return r.jsx(e.Box,{p:"xs",bg:a,style:{borderRadius:"8px",border:"1px solid var(--mantine-color-gray-2)",display:"inline-block"},children:r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.ThemeIcon,{color:n,variant:"light",size:"sm",radius:"xl",children:r.jsx(b.IconCircleCheck,{size:14,"aria-hidden":"true"})}),r.jsx(e.Text,{size:"xs",fw:700,c:"gray.7",tt:"uppercase",lts:.5,children:l})]})})}const R=D;function rr({logo:l,description:n,sections:i=[],socialLinks:a=[],copyrightText:s,madeByText:t,background:o="white"}){const c=f(o);return r.jsx(e.Box,{component:"footer",py:"xl",bg:c,bd:{top:"1px solid var(--mantine-color-gray-2)"},children:r.jsxs(e.Container,{size:"xl",children:[r.jsxs(e.SimpleGrid,{cols:{base:1,sm:2},spacing:"xl",children:[r.jsxs(e.Stack,{gap:"lg",children:[l&&r.jsx("img",{src:l.src,alt:l.alt||"",height:l.height||32,style:{objectFit:"contain",objectPosition:"left"}}),n&&r.jsx(e.Text,{size:"md",c:"gray.6",lh:1.6,maw:400,children:n})]}),r.jsxs(e.SimpleGrid,{cols:{base:2,sm:i.length+(a?.length>0?1:0)||4},spacing:"xl",children:[i.map((p,d)=>r.jsxs(e.Stack,{gap:"md",children:[r.jsx(e.Text,{fw:900,size:"xs",tt:"uppercase",ls:"1.5px",children:p.title}),r.jsx(e.Stack,{gap:"xs",children:p.links.map((g,y)=>r.jsx(e.Anchor,{c:"gray.6",size:"sm",component:g.href?"a":"button",href:g.href,onClick:g.onClick,fw:500,children:g.label},y))})]},d)),a&&a.length>0&&r.jsxs(e.Stack,{gap:"md",children:[r.jsx(e.Text,{fw:900,size:"xs",tt:"uppercase",ls:"1.5px",children:"Social"}),r.jsx(e.Group,{gap:"xs",children:a.map((p,d)=>r.jsx(e.ActionIcon,{size:"md",variant:"subtle",color:"gray",component:"a",href:p.href,target:"_blank",radius:"0","aria-label":p.label||`Social link ${d+1}`,children:p.icon},d))})]})]})]}),r.jsx(e.Divider,{my:"xl",color:"gray.2"}),r.jsxs(e.Group,{justify:"space-between",mt:30,wrap:"wrap",gap:"sm",children:[r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:s}),t&&r.jsx(e.Group,{gap:"sm",children:r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:t})})]})]})})}h.CTABanner=A,h.CTAButton=z,h.Comparison=u,h.FAQ=X,h.FeatureSplit=_,h.FeaturesGrid=Q,h.Footer=rr,h.Header=P,h.Hero=V,h.Layout=W,h.MediaBlock=I,h.Navbar=K,h.Pricing=J,h.SECTION_BACKGROUNDS=O,h.SecondaryCTA=Z,h.Section=x,h.SectionHeader=F,h.SeloExclusivo=R,h.SocialProof=U,h.Testimonials=Y,h.TrustBadge=D,h.resolveBackground=f,h.theme=L,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@mantine/core"),require("react/jsx-runtime"),require("@mantine/hooks"),require("@tabler/icons-react"),require("react")):typeof define=="function"&&define.amd?define(["exports","@mantine/core","react/jsx-runtime","@mantine/hooks","@tabler/icons-react","react"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h.RiligarComponentsKit={},h.MantineCore,h.jsxRuntime,h.MantineHooks,h.TablerIcons,h.React))})(this,(function(h,e,r,H,b,N){"use strict";const L=e.createTheme({fontFamily:'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',headings:{fontFamily:'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',fontWeight:"900"},colors:{gray:["#FFFFFF","#F9FAFB","#F3F4F6","#E5E7EB","#9CA3AF","#6B7280","#4B5563","#374151","#1F2937","#11181C"]},primaryColor:"gray",primaryShade:9,autoContrast:!0,defaultRadius:"0",components:{Container:{defaultProps:{size:"xl",px:"md"}},Paper:{defaultProps:{withBorder:!0,shadow:"none",radius:"0",bg:"white"}},Card:{defaultProps:{withBorder:!1,shadow:"none",radius:"0",padding:"xl",bg:"transparent"}},Button:{defaultProps:{size:"md",fw:800,radius:"0",variant:"filled",color:"gray.9"},styles:{root:{textTransform:"uppercase",letterSpacing:"1px"}}},TextInput:{defaultProps:{size:"lg",radius:"0",variant:"unstyled"},styles:{input:{borderBottom:"1px solid var(--mantine-color-gray-2)",paddingLeft:0,paddingRight:0}}},Title:{defaultProps:{lh:1.1,c:"gray.9",ls:"-0.04em"}},Text:{defaultProps:{lh:1.6,c:"gray.9",size:"md"}},Badge:{defaultProps:{variant:"dot",color:"gray",radius:"0",size:"sm"},styles:{root:{textTransform:"uppercase",letterSpacing:"1.5px",fontWeight:800}}},ThemeIcon:{defaultProps:{variant:"light",color:"gray",radius:"0",size:"lg"}},ActionIcon:{defaultProps:{radius:"0"}},Divider:{defaultProps:{color:"gray.2"}}}});function F({subtitle:l,title:n,titleOrder:i=2,titleFz:a="var(--fz-section-title)",ta:s="left",maw:t}){return!n&&!l?null:r.jsxs(e.Stack,{gap:"xs",align:s==="center"?"center":"flex-start",ta:s,children:[l&&r.jsx(e.Text,{c:"gray.4",size:"xs",fw:800,tt:"uppercase",ls:"1.5px",children:l}),n&&r.jsx(e.Title,{order:i,fz:a,maw:t,children:n})]})}function I({video:l,image:n,width:i="100%",maw:a,alt:s}){return l?r.jsx(e.Center,{children:r.jsx(e.Box,{component:"video",src:l.src,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,"aria-label":s||"Demonstração em vídeo",w:l.width||i,h:"auto",style:{filter:l.filter||"none"}})}):n?r.jsx(e.Center,{children:r.jsx(e.Box,{component:"img",src:n,alt:s||"",w:i,h:"auto",maw:a})}):null}function z({label:l,href:n,onClick:i,icon:a,size:s="lg",variant:t="filled",color:o,target:c,px:p,fullWidth:d,leftSection:g,...y}){return r.jsx(e.Button,{size:s,component:n?"a":"button",href:n,onClick:i,target:c,rightSection:a,leftSection:g,variant:t,color:o,px:p,fullWidth:d,...y,children:l})}const O={white:"white",gray:"gray.1"},f=l=>l;function x({children:l,title:n,subtitle:i,id:a,background:s="white",py:t={base:80,md:120},maw:o=800,ta:c="left",stackGap:p="xl"}){const d=f(s);return r.jsx(e.Box,{component:"section",id:a,bg:d,py:t,style:{overflow:"hidden"},children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.Stack,{gap:p,children:[r.jsx(F,{subtitle:i,title:n,ta:c,maw:o}),r.jsx(e.Box,{children:l})]})})})}function W({children:l}){return r.jsx(e.Box,{style:{minHeight:"100vh",scrollBehavior:"smooth"},children:l})}function P({logo:l,navLinks:n=[],loginCta:i,signupCta:a,background:s="white"}){const t=f(s),[o]=H.useWindowScroll(),c=o.y>10,p=g=>{g==="top"?window.scrollTo({top:0,behavior:"smooth"}):document.getElementById(g)?.scrollIntoView({behavior:"smooth"})},d=(g,y)=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),p(y))};return r.jsx(e.Box,{component:"header",pos:"sticky",top:0,w:"100%",style:{zIndex:100,pointerEvents:"none"},children:r.jsx(e.Container,{size:"xl",py:"md",children:r.jsx(e.Paper,{shadow:c?"sm":"none",radius:"0",p:"xs",bg:t,bd:c?"1px solid var(--mantine-color-gray-2)":"1px solid transparent",style:{pointerEvents:"auto",transition:"all 0.2s ease"},children:r.jsxs(e.Group,{justify:"space-between",align:"center",px:{base:"xs",sm:"md"},children:[l&&r.jsx("a",{href:"#","aria-label":"Voltar ao topo",onClick:g=>{g.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})},style:{display:"inline-flex"},children:r.jsx("img",{src:l.src,alt:l.alt||"",height:l.height||32,style:{objectFit:"contain"}})}),n.length>0&&r.jsx(e.Group,{gap:"xl",visibleFrom:"sm",component:"nav",role:"navigation","aria-label":"Menu principal",children:n.map(g=>r.jsx(e.Text,{size:"sm",fw:900,tt:"uppercase",ls:"1px",c:"dark",role:"link",tabIndex:0,style:{cursor:"pointer"},onClick:()=>p(g.target),onKeyDown:y=>d(y,g.target),children:g.label},g.label))}),r.jsxs(e.Group,{gap:"sm",children:[i&&r.jsx(e.Button,{variant:"subtle",component:i.href?"a":"button",href:i.href,onClick:i.onClick,c:"gray.7",size:"sm",radius:"0",visibleFrom:"xs",fw:900,children:i.label}),a&&r.jsxs(e.Button,{component:a.href?"a":"button",href:a.href,onClick:a.onClick,size:"sm",radius:"0",color:"dark",variant:"filled",children:[r.jsx(e.Text,{span:!0,visibleFrom:"sm",c:"white",fw:900,size:"sm",children:a.label}),r.jsx(e.Text,{span:!0,hiddenFrom:"sm",c:"white",fw:900,size:"xs",children:a.labelMobile||a.label})]})]})]})})})})}const K=P;function V({subtitle:l,title:n,description:i,cta:a,video:s,image:t,background:o="white",mediaMaw:c}){return r.jsx(e.Box,{py:{base:80,sm:100,md:140},id:"hero",bg:o,children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:{base:60,md:100},verticalSpacing:60,children:[r.jsxs(e.Stack,{align:{base:"center",md:"flex-start"},justify:"center",gap:{base:32,md:48},ta:{base:"center",md:"left"},children:[r.jsx(e.Center,{children:r.jsx(F,{subtitle:l,title:n,titleOrder:1,titleFz:"var(--fz-hero)",ta:"inherit"})}),i&&r.jsx(e.Center,{children:r.jsx(e.Text,{size:"xl",c:"gray.6",lh:1.6,maw:600,children:i})}),a&&r.jsx(e.Center,{children:r.jsx(e.Group,{gap:"md",justify:{base:"center",md:"flex-start"},children:r.jsx(z,{label:a.label,href:a.href,icon:a.icon,size:a.size||"xl",px:a.px||48,variant:a.variant,color:a.color})})})]}),r.jsx(I,{video:s,image:t,maw:c,alt:"Demonstração do produto"})]})})})}function q({logo:l,index:n}){const i={src:l.src,alt:l.alt||`Logo ${n}`,h:l.height||50,w:"auto",style:{filter:"grayscale(1) opacity(0.4)",transition:"filter 0.3s ease, opacity 0.3s ease",...l.style},onMouseEnter:a=>{a.currentTarget.style.filter="grayscale(0) opacity(0.8)"},onMouseLeave:a=>{a.currentTarget.style.filter="grayscale(1) opacity(0.4)"}};return l.url?r.jsx(e.Center,{children:r.jsx("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",children:r.jsx(e.Image,{...i})})}):r.jsx(e.Center,{children:r.jsx(e.Image,{...i})})}function U({id:l,title:n,logos:i,background:a="gray"}){return!i||i.length===0?null:r.jsx(e.Box,{component:"section",id:l,py:{base:40,md:60},bg:a,bd:{bottom:"1px solid var(--mantine-color-gray-1)"},children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.Stack,{align:"center",ta:"center",gap:"xl",children:[n&&r.jsx(e.Text,{fw:500,c:"gray.5",size:"sm",tt:"uppercase",ls:"0.1em",children:n}),r.jsx(e.Group,{justify:"space-between",gap:{base:40,md:80},style:{rowGap:40},w:"100%",children:i.map((s,t)=>r.jsx(q,{logo:s,index:t},t))})]})})})}function _({id:l,subtitle:n,title:i,description:a,featuresList:s,cta:t,video:o,image:c,reverse:p=!1,background:d="white",mediaMaw:g}){const y=s&&s.length>0&&r.jsx(e.List,{spacing:"md",size:"md",center:!0,icon:r.jsx(e.ThemeIcon,{color:"gray.2",size:24,radius:"0",children:r.jsx(b.IconCheck,{size:14,color:"var(--mantine-color-gray-9)"})}),children:s.map((v,w)=>r.jsx(e.List.Item,{children:v},w))}),T=r.jsxs(e.Stack,{justify:"center",gap:"lg",children:[a&&r.jsx(e.Text,{c:"gray.6",size:"xl",lh:1.6,children:a}),y,t&&r.jsx(e.Group,{mt:"md",children:r.jsx(z,{label:t.label,href:t.href,icon:t.icon,size:t.size||"lg",variant:t.variant,color:t.color})})]}),S=(o||c)&&r.jsx(I,{video:o,image:c,width:"80%",maw:g});return r.jsx(x,{id:l,subtitle:n,title:i,background:d,children:r.jsx(e.SimpleGrid,{cols:{base:1,md:2},spacing:{base:40,md:80},verticalSpacing:{base:40,md:50},children:p?r.jsxs(r.Fragment,{children:[S,T]}):r.jsxs(r.Fragment,{children:[T,S]})})})}function Q({id:l,subtitle:n,title:i,background:a="gray",items:s=[]}){return r.jsx(x,{id:l,subtitle:n,title:i,background:a,children:r.jsx(e.Grid,{gutter:"lg",children:s.map((t,o)=>r.jsx($,{...t},o))})})}function $({icon:l,iconVariant:n,iconColor:i,label:a,title:s,titleSize:t,description:o,descriptionSize:c,descriptionMaw:p,span:d={base:12,md:6},background:g="white",dark:y=!1,visual:T,secondaryVisual:S,layout:v="stacked",badges:w,codeBlock:j,decorativeContent:M,style:G,...m}){const er=y?"white":void 0,lr=y?"gray.4":"gray.6",ar="gray.5",sr=n||(y?"filled":"light"),ir=i||(y?"gray.7":"gray"),nr=t||(v==="compact"?"h4":"h3"),tr=c||(v==="compact"?"sm":"lg"),k=r.jsxs(e.Box,{children:[l&&r.jsx(e.ThemeIcon,{size:48,radius:"0",variant:sr,color:ir,mb:"lg",style:y?{color:"white"}:void 0,children:r.jsx(l,{size:24,stroke:1.5})}),a&&r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:ar,mb:"xs",children:a}),s&&r.jsx(e.Text,{fz:nr,fw:900,lh:1.2,mb:"sm",c:er,children:s}),o&&r.jsx(e.Text,{c:lr,size:tr,maw:p,mb:w?"xl":v==="compact"?"lg":void 0,children:o}),w&&w.length>0&&r.jsx(e.Group,{children:w.map((dr,cr)=>r.jsx(e.Badge,{variant:"dot",color:"gray",radius:"0",children:dr},cr))})]}),B=T?C(T,y):null,E=S?C(S,y):null;return v==="split"?r.jsx(e.Grid.Col,{span:d,children:r.jsx(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",style:G,...m,children:r.jsxs(e.Grid,{align:"center",gutter:"xl",children:[r.jsx(e.Grid.Col,{span:{base:12,sm:6},children:k}),r.jsxs(e.Grid.Col,{span:{base:12,sm:6},children:[B,j&&r.jsx(e.Code,{block:!0,color:"gray.0",c:"gray.7",style:{fontSize:12,lineHeight:1.4,borderRadius:0},children:j})]})]})})}):v==="compact"?r.jsx(e.Grid.Col,{span:d,children:r.jsxs(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",style:G,...m,children:[k,B]})}):M?r.jsx(e.Grid.Col,{span:d,children:r.jsx(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",pos:"relative",style:G,...m,children:r.jsxs(e.Grid,{gutter:0,pos:"relative",children:[r.jsx(e.Grid.Col,{span:{base:12,sm:7},style:{zIndex:1},children:k}),r.jsx(e.Grid.Col,{span:5,visibleFrom:"sm",children:M})]})})}):r.jsx(e.Grid.Col,{span:d,children:r.jsxs(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",display:"flex",style:{flexDirection:"column",justifyContent:"space-between",...G},...m,children:[k,B&&E?r.jsxs(e.Group,{gap:40,align:"center",children:[B,E]}):B]})})}function C(l,n){if(!l)return null;switch(l.type){case"ring":return r.jsx(e.RingProgress,{size:l.size||140,thickness:l.thickness||12,sections:[{value:l.value||100,color:"gray.9"}],label:r.jsx(e.Center,{children:r.jsxs(e.Stack,{gap:0,align:"center",children:[r.jsx(e.Text,{fw:900,size:"xl",lh:1,children:l.label}),l.sublabel&&r.jsx(e.Text,{size:"xs",c:"gray.5",fw:700,children:l.sublabel})]})})});case"metric":return r.jsxs(e.Stack,{gap:0,children:[r.jsx(e.Text,{fw:900,fz:32,c:"gray.9",lh:1,children:l.value}),r.jsx(e.Text,{size:"sm",c:"gray.5",mt:4,children:l.label}),l.badge&&r.jsx(e.Badge,{mt:"md",color:"gray",variant:"dot",radius:"0",children:l.badge})]});case"bars":return r.jsx(e.Group,{align:"flex-end",gap:8,h:l.height||100,preventGrowOverflow:!1,children:(l.data||[]).map((i,a)=>r.jsx(e.Box,{w:20,h:`${i}%`,bg:a===l.highlight?"gray.9":"gray.2",radius:"0"},a))});case"typography":return r.jsx(e.Center,{h:l.height||160,bg:n?"gray.8":"gray.1",radius:"0",children:r.jsx(e.Text,{fz:l.fontSize||100,fw:900,c:n?"gray.6":"gray.3",style:{letterSpacing:-6},children:l.text||"Aa"})});case"icon-large":{const i=l.icon;return i?r.jsx(i,{size:l.size||64,stroke:l.stroke||1,color:l.color||"var(--mantine-color-gray-2)"}):null}default:return null}}function u({id:l,subtitle:n,title:i,traditionalCol:a,newCol:s,background:t="white"}){return r.jsx(x,{id:l,subtitle:n,title:i,background:t,children:r.jsx(e.Paper,{radius:"0",bd:"1px solid var(--mantine-color-gray-2)",style:{overflow:"hidden"},children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:0,children:[r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:{base:30,md:60},children:r.jsxs(e.Stack,{gap:"xl",children:[r.jsxs(e.Box,{children:[r.jsx(e.Text,{fw:900,fz:"h2",c:"gray.9",mb:4,children:a.title}),r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.5",children:a.subtitle})]}),r.jsx(e.Stack,{gap:"md",mb:40,children:a.items.map((o,c)=>r.jsxs(N.Fragment,{children:[r.jsxs(e.Group,{justify:"space-between",children:[r.jsx(e.Text,{size:"sm",c:"gray.6",children:o.label}),r.jsx(e.Text,{fw:700,c:"gray.9",children:o.value})]}),c<a.items.length-1&&r.jsx(e.Divider,{color:"var(--mantine-color-gray-2)"})]},c))}),r.jsxs(e.Box,{bg:t==="gray"?"gray.1":"white",p:"lg",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:[r.jsxs(e.Group,{justify:"space-between",children:[r.jsx(e.Text,{fw:900,c:"gray.7",children:a.totalLabel||"Total Estimado"}),r.jsx(e.Text,{fw:900,fz:32,c:"gray.9",children:a.totalValue})]}),a.footerText&&r.jsx(e.Text,{size:"xs",c:"red.6",ta:"right",mt:4,children:a.footerText})]})]})}),r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:{base:30,md:60},pos:"relative",children:r.jsxs(e.Stack,{gap:"xl",h:"100%",children:[r.jsxs(e.Box,{children:[r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.Text,{fw:900,fz:"h2",c:"gray.9",mb:4,children:s.title}),s.badge&&r.jsx(e.Badge,{color:"gray.9",variant:"filled",radius:"0",children:s.badge})]}),r.jsx(e.Text,{size:"sm",c:"gray.6",children:s.description})]}),r.jsx(e.List,{spacing:"md",size:"md",c:"gray.6",icon:r.jsx(e.ThemeIcon,{color:"gray.0",size:20,radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:r.jsx(b.IconCheck,{size:12,color:"var(--mantine-color-gray-9)"})}),children:s.items.map((o,c)=>r.jsx(e.List.Item,{children:o},c))}),s.pricingBox&&r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:"lg",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:r.jsxs(e.Stack,{gap:4,children:[r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.5",children:s.pricingBox.label}),r.jsx(e.Text,{fw:900,fz:48,c:"gray.9",lh:1,children:s.pricingBox.price}),s.pricingBox.subtext&&r.jsx(e.Text,{size:"xs",c:"gray.5",mt:"sm",children:s.pricingBox.subtext})]})}),s.cta&&r.jsx(e.Box,{mt:"xl",children:r.jsx(z,{label:s.cta.label,href:s.cta.href,icon:s.cta.icon,size:s.cta.size||"lg",color:s.cta.color||"gray.9",fullWidth:!0})})]})})]})})})}function J({id:l,subtitle:n,title:i,billingOptions:a=[{label:"Mensal",value:"monthly"},{label:"Anual",value:"annual"}],billing:s,setBilling:t,promoBadge:o,plans:c,background:p="white"}){return r.jsxs(x,{id:l,subtitle:n,title:i,ta:"center",background:p,children:[a&&a.length>0&&r.jsx(e.Stack,{align:"center",gap:"xl",mb:80,children:r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.SegmentedControl,{value:s,onChange:t,radius:"0",size:"md",data:a,color:"gray.9",bg:"white",style:{border:"1px solid var(--mantine-color-gray-2)"}}),s==="annual"&&o&&r.jsx(e.Badge,{variant:"filled",color:"gray.9",radius:"0",size:"lg",children:o})]})}),r.jsx(e.SimpleGrid,{cols:{base:1,md:c.length<=3?c.length:3},spacing:"xl",verticalSpacing:"xl",children:c.map(d=>r.jsxs(e.Paper,{p:"xl",radius:"0",withBorder:!0,bd:d.highlight?"2px solid var(--mantine-color-gray-9)":"1px solid var(--mantine-color-gray-2)",display:"flex",h:"100%",style:{flexDirection:"column"},bg:"white",children:[r.jsxs(e.Stack,{gap:"md",mb:"xl",children:[r.jsxs(e.Group,{justify:"space-between",align:"center",children:[r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.4",children:d.name}),d.highlight&&r.jsx(e.Badge,{variant:"dot",color:"gray.9",children:d.highlightBadge||"RECOMENDADO"})]}),r.jsx(e.Text,{size:"sm",c:"gray.6",fw:500,lh:1.5,h:{md:42},children:d.description})]}),r.jsxs(e.Box,{mb:"xl",children:[r.jsx(e.Text,{size:"xs",c:"gray.4",fw:800,tt:"uppercase",ls:"1px",mb:4,children:d.pricePrefix||"A partir de"}),r.jsxs(e.Group,{gap:8,align:"flex-start",children:[r.jsx(e.Text,{size:"xl",fw:900,c:"gray.9",style:{marginTop:8},children:d.priceDisplay?.currency}),r.jsxs(e.Group,{gap:4,align:"flex-end",children:[r.jsx(e.Text,{fz:"var(--fz-big-metric)",fw:900,ls:"-0.04em",lh:.8,c:"gray.9",children:d.priceDisplay?.whole}),d.priceDisplay?.fraction&&r.jsxs(e.Stack,{gap:0,mb:6,children:[r.jsxs(e.Text,{size:"xl",fw:900,lh:1,c:"gray.9",children:[",",d.priceDisplay.fraction]}),r.jsx(e.Text,{size:"xs",c:"gray.5",fw:800,tt:"uppercase",ls:"0.5px",children:d.period||d.priceSuffix||"/mês"})]})]})]})]}),r.jsx(e.Divider,{mb:"xl",color:"gray.1"}),r.jsx(e.Stack,{gap:"sm",mb:40,style:{flex:1},children:d.features.map((g,y)=>r.jsxs(e.Group,{gap:"sm",wrap:"nowrap",align:"flex-start",children:[r.jsx(b.IconCheck,{size:16,color:"var(--mantine-color-gray-9)",style:{marginTop:2,flexShrink:0}}),r.jsx(e.Text,{size:"sm",fw:500,c:"gray.6",lh:1.4,children:g})]},y))}),r.jsx(e.Box,{mt:"auto",children:r.jsx(z,{label:d.cta.label,href:d.cta.href,size:d.cta.size||"xl",variant:d.cta.variant,color:d.cta.color||"gray.9",fullWidth:!0})})]},d.name))})]})}function X({id:l,subtitle:n,title:i,questions:a=[],contactCard:s,background:t="white"}){const o={item:{backgroundColor:t==="gray"?"gray.1":"white",border:"1px solid var(--mantine-color-gray-2)"},control:{padding:"1.25rem"},content:{padding:"0 1.25rem 1.25rem 1.25rem"},label:{fontWeight:900,color:"var(--mantine-color-gray-9)"},chevron:{color:"var(--mantine-color-gray-5)"}};return r.jsxs(x,{id:l,subtitle:n,title:i,background:t,children:[r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:"xl",children:[r.jsx(e.Accordion,{variant:"separated",radius:"0",chevronPosition:"right",styles:o,children:a.slice(0,Math.ceil(a.length/2)).map((c,p)=>r.jsxs(e.Accordion.Item,{value:c.value||String(p),mb:"md",children:[r.jsx(e.Accordion.Control,{icon:r.jsx(e.ThemeIcon,{variant:"light",color:"gray",radius:"0",children:r.jsx(b.IconBolt,{size:16})}),children:c.question}),r.jsx(e.Accordion.Panel,{c:"gray.6",children:c.answer})]},c.value||p))}),r.jsx(e.Accordion,{variant:"separated",radius:"0",chevronPosition:"right",styles:o,children:a.slice(Math.ceil(a.length/2)).map((c,p)=>r.jsxs(e.Accordion.Item,{value:c.value||String(p),mb:"md",children:[r.jsx(e.Accordion.Control,{icon:r.jsx(e.ThemeIcon,{variant:"light",color:"gray",radius:"0",children:r.jsx(b.IconBolt,{size:16})}),children:c.question}),r.jsx(e.Accordion.Panel,{c:"gray.6",children:c.answer})]},c.value||p))})]}),s&&r.jsx(e.Paper,{mt:{base:40,md:80},radius:"0",p:{base:"xl",md:60},bg:t==="gray"?"gray.1":"white",bd:"1px solid var(--mantine-color-gray-1)",pos:"relative",style:{overflow:"hidden"},children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:"xl",style:{position:"relative",zIndex:1,alignItems:"center"},children:[r.jsxs(e.Stack,{gap:"sm",ta:{base:"center",md:"left"},align:{base:"center",md:"flex-start"},children:[r.jsx(e.Text,{fz:"h2",fw:900,c:"gray.9",lh:1.2,children:s.title}),r.jsx(e.Text,{c:"gray.6",maw:500,size:"lg",children:s.description})]}),r.jsx(e.Stack,{align:{base:"center",md:"flex-end"},children:r.jsx(z,{label:s.cta.label,href:s.cta.href,target:s.cta.target,leftSection:s.cta.icon,size:s.cta.size||"xl",color:s.cta.color||"dark"})})]})})]})}function Y({id:l,title:n,subtitle:i,items:a=[],background:s="gray"}){return r.jsx(x,{id:l,background:s,title:n,subtitle:i,children:r.jsx(e.SimpleGrid,{cols:{base:1,md:a.length>3?4:a.length||3},spacing:"xl",children:a.map((t,o)=>r.jsx(e.Paper,{p:"xl",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",bg:f("white"),children:r.jsxs(e.Stack,{gap:"md",align:"flex-start",h:"100%",children:[r.jsx(b.IconQuote,{size:32,color:"var(--mantine-color-gray-3)"}),r.jsxs(e.Text,{size:"lg",c:"gray.7",lh:1.6,fs:"italic",flex:1,children:['"',t.content,'"']}),r.jsxs(e.Group,{gap:"sm",mt:"xl",children:[r.jsx(e.Avatar,{size:"md",radius:"0",color:"gray",src:t.avatarSrc,children:t.initials}),r.jsxs(e.Stack,{gap:0,children:[r.jsx(e.Text,{size:"sm",fw:900,children:t.name}),r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:t.role})]})]})]})},o))})})}function A({id:l,title:n,description:i,cta:a,background:s="gray"}){return r.jsx(x,{id:l,background:s,ta:"center",children:r.jsx(e.Paper,{p:{base:"xl",sm:80},bg:f("white"),radius:"0",bd:"1px solid var(--mantine-color-gray-2)",style:{borderTop:"4px solid var(--mantine-color-gray-9)"},children:r.jsxs(e.Stack,{align:"center",ta:"center",gap:"xl",children:[n&&r.jsx(e.Text,{fz:"var(--fz-section-title)",fw:900,lh:1.2,ls:"-0.04em",maw:700,children:n}),i&&r.jsx(e.Text,{c:"gray.7",size:"xl",maw:550,children:i}),a&&r.jsx(e.Box,{mt:"md",children:r.jsx(z,{label:a.label,href:a.href,size:a.size||"xl",px:a.px||{base:32,md:60},variant:a.variant,color:a.color})})]})})})}const Z=A;function D({text:l="Selo Exclusivo RiLiGar",color:n="green.6",background:i="gray"}){const a=f(i);return r.jsx(e.Box,{p:"xs",bg:a,style:{border:"1px solid var(--mantine-color-gray-2)",display:"inline-block"},children:r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.ThemeIcon,{color:n,variant:"light",size:"sm",children:r.jsx(b.IconCircleCheck,{size:14,"aria-hidden":"true"})}),r.jsx(e.Text,{size:"xs",fw:700,c:"gray.7",tt:"uppercase",lts:.5,children:l})]})})}const R=D;function rr({logo:l,description:n,sections:i=[],socialLinks:a=[],copyrightText:s,madeByText:t,background:o="white"}){const c=f(o);return r.jsx(e.Box,{component:"footer",py:"xl",bg:c,bd:{top:"1px solid var(--mantine-color-gray-2)"},children:r.jsxs(e.Container,{size:"xl",children:[r.jsxs(e.SimpleGrid,{cols:{base:1,sm:2},spacing:"xl",children:[r.jsxs(e.Stack,{gap:"lg",children:[l&&r.jsx("img",{src:l.src,alt:l.alt||"",height:l.height||32,style:{objectFit:"contain",objectPosition:"left"}}),n&&r.jsx(e.Text,{size:"md",c:"gray.6",lh:1.6,maw:400,children:n})]}),r.jsxs(e.SimpleGrid,{cols:{base:2,sm:i.length+(a?.length>0?1:0)||4},spacing:"xl",children:[i.map((p,d)=>r.jsxs(e.Stack,{gap:"md",children:[r.jsx(e.Text,{fw:900,size:"xs",tt:"uppercase",ls:"1.5px",children:p.title}),r.jsx(e.Stack,{gap:"xs",children:p.links.map((g,y)=>r.jsx(e.Anchor,{c:"gray.6",size:"sm",component:g.href?"a":"button",href:g.href,onClick:g.onClick,fw:500,children:g.label},y))})]},d)),a&&a.length>0&&r.jsxs(e.Stack,{gap:"md",children:[r.jsx(e.Text,{fw:900,size:"xs",tt:"uppercase",ls:"1.5px",children:"Social"}),r.jsx(e.Group,{gap:"xs",children:a.map((p,d)=>r.jsx(e.ActionIcon,{size:"md",variant:"subtle",color:"gray",component:"a",href:p.href,target:"_blank",radius:"0","aria-label":p.label||`Social link ${d+1}`,children:p.icon},d))})]})]})]}),r.jsx(e.Divider,{my:"xl",color:"gray.2"}),r.jsxs(e.Group,{justify:"space-between",mt:30,wrap:"wrap",gap:"sm",children:[r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:s}),t&&r.jsx(e.Group,{gap:"sm",children:r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:t})})]})]})})}h.CTABanner=A,h.CTAButton=z,h.Comparison=u,h.FAQ=X,h.FeatureSplit=_,h.FeaturesGrid=Q,h.Footer=rr,h.Header=P,h.Hero=V,h.Layout=W,h.MediaBlock=I,h.Navbar=K,h.Pricing=J,h.SECTION_BACKGROUNDS=O,h.SecondaryCTA=Z,h.Section=x,h.SectionHeader=F,h.SeloExclusivo=R,h.SocialProof=U,h.Testimonials=Y,h.TrustBadge=D,h.resolveBackground=f,h.theme=L,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})}));
|