@riligar/components-kit 1.5.0 → 1.5.1
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 +28 -28
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createTheme as Z, Stack as p, Text as t, Title as q, Center as
|
|
1
|
+
import { createTheme as Z, Stack as p, Text as t, Title as q, Center as v, Box as y, Button as H, Container as E, Paper as x, Group as f, SimpleGrid as w, Image as K, List as G, ThemeIcon as T, Grid as b, Badge as j, Code as ee, RingProgress as re, Divider as N, SegmentedControl as le, Accordion as S, Avatar as ie, Anchor as ne, ActionIcon as ae } from "@mantine/core";
|
|
2
2
|
import { jsxs as i, jsx as e, Fragment as L } from "react/jsx-runtime";
|
|
3
3
|
import { useWindowScroll as te } from "@mantine/hooks";
|
|
4
4
|
import { IconCheck as V, IconBolt as U, IconQuote as ce, IconCircleCheck as oe } from "@tabler/icons-react";
|
|
@@ -155,7 +155,7 @@ function Q({
|
|
|
155
155
|
] });
|
|
156
156
|
}
|
|
157
157
|
function J({ video: r, image: c, width: a = "100%", maw: l, alt: n }) {
|
|
158
|
-
return r ? /* @__PURE__ */ e(
|
|
158
|
+
return r ? /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
|
|
159
159
|
y,
|
|
160
160
|
{
|
|
161
161
|
component: "video",
|
|
@@ -169,7 +169,7 @@ function J({ video: r, image: c, width: a = "100%", maw: l, alt: n }) {
|
|
|
169
169
|
h: "auto",
|
|
170
170
|
style: { filter: r.filter || "none" }
|
|
171
171
|
}
|
|
172
|
-
) }) : c ? /* @__PURE__ */ e(
|
|
172
|
+
) }) : c ? /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
|
|
173
173
|
y,
|
|
174
174
|
{
|
|
175
175
|
component: "img",
|
|
@@ -379,7 +379,7 @@ function Ce({ subtitle: r, title: c, description: a, cta: l, video: n, image: o,
|
|
|
379
379
|
id: "hero",
|
|
380
380
|
bg: h,
|
|
381
381
|
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ i(
|
|
382
|
-
|
|
382
|
+
w,
|
|
383
383
|
{
|
|
384
384
|
cols: { base: 1, md: 2 },
|
|
385
385
|
spacing: { base: 60, md: 100 },
|
|
@@ -393,7 +393,7 @@ function Ce({ subtitle: r, title: c, description: a, cta: l, video: n, image: o,
|
|
|
393
393
|
gap: { base: 32, md: 48 },
|
|
394
394
|
ta: { base: "center", md: "left" },
|
|
395
395
|
children: [
|
|
396
|
-
/* @__PURE__ */ e(
|
|
396
|
+
/* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
|
|
397
397
|
Q,
|
|
398
398
|
{
|
|
399
399
|
subtitle: r,
|
|
@@ -402,8 +402,8 @@ function Ce({ subtitle: r, title: c, description: a, cta: l, video: n, image: o,
|
|
|
402
402
|
titleFz: "var(--fz-hero)",
|
|
403
403
|
ta: "inherit"
|
|
404
404
|
}
|
|
405
|
-
),
|
|
406
|
-
a && /* @__PURE__ */ e(
|
|
405
|
+
) }),
|
|
406
|
+
a && /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
|
|
407
407
|
t,
|
|
408
408
|
{
|
|
409
409
|
size: "xl",
|
|
@@ -413,7 +413,7 @@ function Ce({ subtitle: r, title: c, description: a, cta: l, video: n, image: o,
|
|
|
413
413
|
children: a
|
|
414
414
|
}
|
|
415
415
|
) }),
|
|
416
|
-
l && /* @__PURE__ */ e(
|
|
416
|
+
l && /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
|
|
417
417
|
f,
|
|
418
418
|
{
|
|
419
419
|
gap: "md",
|
|
@@ -468,7 +468,7 @@ function he({ logo: r, index: c }) {
|
|
|
468
468
|
l.currentTarget.style.filter = "grayscale(1) opacity(0.4)";
|
|
469
469
|
}
|
|
470
470
|
};
|
|
471
|
-
return r.url ? /* @__PURE__ */ e(
|
|
471
|
+
return r.url ? /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
|
|
472
472
|
"a",
|
|
473
473
|
{
|
|
474
474
|
href: r.url,
|
|
@@ -476,7 +476,7 @@ function he({ logo: r, index: c }) {
|
|
|
476
476
|
rel: "noopener noreferrer",
|
|
477
477
|
children: /* @__PURE__ */ e(K, { ...a })
|
|
478
478
|
}
|
|
479
|
-
) }) : /* @__PURE__ */ e(
|
|
479
|
+
) }) : /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(K, { ...a }) });
|
|
480
480
|
}
|
|
481
481
|
function je({ id: r, title: c, logos: a, background: l = "gray" }) {
|
|
482
482
|
return !a || a.length === 0 ? null : /* @__PURE__ */ e(
|
|
@@ -598,7 +598,7 @@ function Ee({ id: r, subtitle: c, title: a, description: l, featuresList: n, cta
|
|
|
598
598
|
title: a,
|
|
599
599
|
background: s,
|
|
600
600
|
children: /* @__PURE__ */ e(
|
|
601
|
-
|
|
601
|
+
w,
|
|
602
602
|
{
|
|
603
603
|
cols: { base: 1, md: 2 },
|
|
604
604
|
spacing: { base: 40, md: 80 },
|
|
@@ -846,7 +846,7 @@ function _(r, c) {
|
|
|
846
846
|
size: r.size || 140,
|
|
847
847
|
thickness: r.thickness || 12,
|
|
848
848
|
sections: [{ value: r.value || 100, color: "gray.9" }],
|
|
849
|
-
label: /* @__PURE__ */ e(
|
|
849
|
+
label: /* @__PURE__ */ e(v, { children: /* @__PURE__ */ i(
|
|
850
850
|
p,
|
|
851
851
|
{
|
|
852
852
|
gap: 0,
|
|
@@ -929,7 +929,7 @@ function _(r, c) {
|
|
|
929
929
|
);
|
|
930
930
|
case "typography":
|
|
931
931
|
return /* @__PURE__ */ e(
|
|
932
|
-
|
|
932
|
+
v,
|
|
933
933
|
{
|
|
934
934
|
h: r.height || 160,
|
|
935
935
|
bg: c ? "gray.8" : "gray.1",
|
|
@@ -976,7 +976,7 @@ function ke({ id: r, subtitle: c, title: a, traditionalCol: l, newCol: n, backgr
|
|
|
976
976
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
977
977
|
style: { overflow: "hidden" },
|
|
978
978
|
children: /* @__PURE__ */ i(
|
|
979
|
-
|
|
979
|
+
w,
|
|
980
980
|
{
|
|
981
981
|
cols: { base: 1, md: 2 },
|
|
982
982
|
spacing: 0,
|
|
@@ -1271,7 +1271,7 @@ function Re({
|
|
|
1271
1271
|
}
|
|
1272
1272
|
),
|
|
1273
1273
|
/* @__PURE__ */ e(
|
|
1274
|
-
|
|
1274
|
+
w,
|
|
1275
1275
|
{
|
|
1276
1276
|
cols: { base: 1, md: d.length <= 3 ? d.length : 3 },
|
|
1277
1277
|
spacing: "xl",
|
|
@@ -1516,26 +1516,26 @@ function Ge({ id: r, subtitle: c, title: a, questions: l = [], contactCard: n, b
|
|
|
1516
1516
|
background: o,
|
|
1517
1517
|
children: [
|
|
1518
1518
|
/* @__PURE__ */ i(
|
|
1519
|
-
|
|
1519
|
+
w,
|
|
1520
1520
|
{
|
|
1521
1521
|
cols: { base: 1, md: 2 },
|
|
1522
1522
|
spacing: "xl",
|
|
1523
1523
|
children: [
|
|
1524
1524
|
/* @__PURE__ */ e(
|
|
1525
|
-
|
|
1525
|
+
S,
|
|
1526
1526
|
{
|
|
1527
1527
|
variant: "separated",
|
|
1528
1528
|
radius: "0",
|
|
1529
1529
|
chevronPosition: "right",
|
|
1530
1530
|
styles: h,
|
|
1531
1531
|
children: l.slice(0, Math.ceil(l.length / 2)).map((d, m) => /* @__PURE__ */ i(
|
|
1532
|
-
|
|
1532
|
+
S.Item,
|
|
1533
1533
|
{
|
|
1534
1534
|
value: d.value || String(m),
|
|
1535
1535
|
mb: "md",
|
|
1536
1536
|
children: [
|
|
1537
1537
|
/* @__PURE__ */ e(
|
|
1538
|
-
|
|
1538
|
+
S.Control,
|
|
1539
1539
|
{
|
|
1540
1540
|
icon: /* @__PURE__ */ e(
|
|
1541
1541
|
T,
|
|
@@ -1549,7 +1549,7 @@ function Ge({ id: r, subtitle: c, title: a, questions: l = [], contactCard: n, b
|
|
|
1549
1549
|
children: d.question
|
|
1550
1550
|
}
|
|
1551
1551
|
),
|
|
1552
|
-
/* @__PURE__ */ e(
|
|
1552
|
+
/* @__PURE__ */ e(S.Panel, { c: "gray.6", children: d.answer })
|
|
1553
1553
|
]
|
|
1554
1554
|
},
|
|
1555
1555
|
d.value || m
|
|
@@ -1557,20 +1557,20 @@ function Ge({ id: r, subtitle: c, title: a, questions: l = [], contactCard: n, b
|
|
|
1557
1557
|
}
|
|
1558
1558
|
),
|
|
1559
1559
|
/* @__PURE__ */ e(
|
|
1560
|
-
|
|
1560
|
+
S,
|
|
1561
1561
|
{
|
|
1562
1562
|
variant: "separated",
|
|
1563
1563
|
radius: "0",
|
|
1564
1564
|
chevronPosition: "right",
|
|
1565
1565
|
styles: h,
|
|
1566
1566
|
children: l.slice(Math.ceil(l.length / 2)).map((d, m) => /* @__PURE__ */ i(
|
|
1567
|
-
|
|
1567
|
+
S.Item,
|
|
1568
1568
|
{
|
|
1569
1569
|
value: d.value || String(m),
|
|
1570
1570
|
mb: "md",
|
|
1571
1571
|
children: [
|
|
1572
1572
|
/* @__PURE__ */ e(
|
|
1573
|
-
|
|
1573
|
+
S.Control,
|
|
1574
1574
|
{
|
|
1575
1575
|
icon: /* @__PURE__ */ e(
|
|
1576
1576
|
T,
|
|
@@ -1584,7 +1584,7 @@ function Ge({ id: r, subtitle: c, title: a, questions: l = [], contactCard: n, b
|
|
|
1584
1584
|
children: d.question
|
|
1585
1585
|
}
|
|
1586
1586
|
),
|
|
1587
|
-
/* @__PURE__ */ e(
|
|
1587
|
+
/* @__PURE__ */ e(S.Panel, { c: "gray.6", children: d.answer })
|
|
1588
1588
|
]
|
|
1589
1589
|
},
|
|
1590
1590
|
d.value || m
|
|
@@ -1605,7 +1605,7 @@ function Ge({ id: r, subtitle: c, title: a, questions: l = [], contactCard: n, b
|
|
|
1605
1605
|
pos: "relative",
|
|
1606
1606
|
style: { overflow: "hidden" },
|
|
1607
1607
|
children: /* @__PURE__ */ i(
|
|
1608
|
-
|
|
1608
|
+
w,
|
|
1609
1609
|
{
|
|
1610
1610
|
cols: { base: 1, md: 2 },
|
|
1611
1611
|
spacing: "xl",
|
|
@@ -1669,7 +1669,7 @@ function He({ id: r, title: c, subtitle: a, items: l = [], background: n = "gray
|
|
|
1669
1669
|
title: c,
|
|
1670
1670
|
subtitle: a,
|
|
1671
1671
|
children: /* @__PURE__ */ e(
|
|
1672
|
-
|
|
1672
|
+
w,
|
|
1673
1673
|
{
|
|
1674
1674
|
cols: { base: 1, md: l.length > 3 ? 4 : l.length || 3 },
|
|
1675
1675
|
spacing: "xl",
|
|
@@ -1857,7 +1857,7 @@ function We({ logo: r, description: c, sections: a = [], socialLinks: l = [], co
|
|
|
1857
1857
|
bd: { top: "1px solid var(--mantine-color-gray-2)" },
|
|
1858
1858
|
children: /* @__PURE__ */ i(E, { size: "xl", children: [
|
|
1859
1859
|
/* @__PURE__ */ i(
|
|
1860
|
-
|
|
1860
|
+
w,
|
|
1861
1861
|
{
|
|
1862
1862
|
cols: { base: 1, sm: 2 },
|
|
1863
1863
|
spacing: "xl",
|
|
@@ -1884,7 +1884,7 @@ function We({ logo: r, description: c, sections: a = [], socialLinks: l = [], co
|
|
|
1884
1884
|
)
|
|
1885
1885
|
] }),
|
|
1886
1886
|
/* @__PURE__ */ i(
|
|
1887
|
-
|
|
1887
|
+
w,
|
|
1888
1888
|
{
|
|
1889
1889
|
cols: {
|
|
1890
1890
|
base: 2,
|
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(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 u({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(Q,{...t},o))})})}function Q({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 $({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=$,h.FAQ=X,h.FeatureSplit=_,h.FeaturesGrid=u,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"}},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"})}));
|