PageSourceSearch

https://sabhia.ai/assets/lp-vitrine-CMcEOpmA.js

js sabhia.ai collected 2026-10-05 12:33:05 UTC 71,125 bytes, 14 lines download raw bytes

1import{j as e,m as s,A as z}from"./vendor-motion-CPxq9Xvn.js";import{r as x}from"./vendor-i18n-CO3kK2bH.js";import{u as U,t as L,O as T,a as o,B as n,A as d,b1 as h,C as w,_ as N,i as u,Z as j,y as m,b as g,f,I as H,e as k,U as X,aC as O,S as I,ak as $,T as V,ax as F,Q as D,k as M}from"./index-CFAvyuXu.js";import{F as S}from"./file-text-DjkUcFVd.js";import{E as A}from"./eye-BcGCsLne.js";import{U as P}from"./upload-BKNIN1AN.js";import{B as Y}from"./book-marked-3-KNVwiq.js";import{S as R}from"./share-2-BECwSfHo.js";import{M as G}from"./mail-B6oT_qrq.js";import{I as Q}from"./instagram-BJB2Fjof.js";import{Y as Z}from"./youtube-C3-YPqKU.js";import{L as J}from"./linkedin-C5_gyMKn.js";import{H as K}from"./heart-CzKl5jvQ.js";import{G as W}from"./globe-D0MKCb1Y.js";import"./vendor-react-CQmBMThG.js";const c="utm_source=lp-vitrine&utm_medium=page&utm_campaign=vitrine",ee=[{q:"Publicar na vitrine é realmente gratuito?",a:"Sim. Publicar seu livro na SÁBHIA é 100% gratuito. Não há mensalidade nem taxa de publicação. A SÁBHIA retém uma comissão somente quando uma venda é realizada — você só paga se ganhar."},{q:"Quais formatos de arquivo são aceitos?",a:"Aceitamos PDF, EPUB e DOCX. Você também pode enviar o manuscrito bruto e a SÁBHIA formata automaticamente para você."},{q:"Como recebo o pagamento pelas minhas vendas?",a:"O comprador paga via PIX ou cartão de crédito. Os seus royalties ficam disponíveis no painel e você pode solicitar saque a qualquer momento via PIX."},{q:"Preciso ter um livro pronto para começar?",a:"Não. Se você ainda não tem um livro, a SÁBHIA pode criar um com você usando IA — do planejamento à geração do texto completo, capa e publicação. É o mesmo ecossistema."},{q:"Posso definir o preço do meu livro?",a:"Sim, você escolhe o preço livremente. A SÁBHIA mostra sugestões baseadas no mercado, mas a decisão final é sempre sua."},{q:"Em quanto tempo meu livro fica disponível na vitrine?",a:"Geralmente em minutos após o upload. Cada livro passa por uma revisão rápida antes de ser publicado, e você é notificado assim que estiver no ar."}],ae=[{name:"Renata Alves",role:"Coach de relacionamentos",quote:"Eu tinha meu e-book parado há um ano. Em menos de 10 minutos fiz o upload, coloquei a capa e meu livro já estava disponível para venda. Na semana seguinte já tinha minhas primeiras vendas.",tag:"Publicou em 2025",avatar:"/images/audiences/adult.png",cover:"/showcase/cover4.webp",sales:"R$ 840"},{name:"Marcelo Figueiredo",role:"Consultor financeiro",quote:"A vitrine da SÁBHIA é exatamente o que eu precisava. Não sou técnico, não quero montar site. Eu só queria vender meu livro. Funcionou perfeitamente.",tag:"3 livros publicados",avatar:"/images/audiences/business.png",cover:"/showcase/cover8.webp",sales:"R$ 2.300"},{name:"Gabriela Santos",role:"Professora e escritora",quote:"Além de vender meu próprio livro, comecei a indicar os livros de outros autores e ganho comissão. É renda passiva real, sem complicação.",tag:"Autora e afiliada",avatar:"/images/audiences/general.png",cover:"/showcase/cover12.webp",sales:"R$ 1.560"}];function be(){const[y,B]=x.useState(null),[C,q]=x.useState(!1),{data:_=[]}=U({queryKey:["store-listings-vitrine"],queryFn:async()=>{const a=await fetch("/api/store/public/listings?sort=popular&limit=16");return a.ok?(await a.json()).items||[]:[]},staleTime:1800*1e3}),b=x.useMemo(()=>_.filter(a=>a.book?.coverUrl),[_]),v=x.useRef(-1);b.length>0&&v.current===-1&&(v.current=Math.floor(Math.random()*b.length));const r=v.current>=0&&v.current<b.length?b[v.current]:null,l=b;return x.useEffect(()=>{L("lp_vitrine"),T({pageType:"lp_vitrine"})},[]),x.useEffect(()=>{q(!1)},[r?.slug]),x.useEffect(()=>{const a=r?.book?.coverUrl;if(!a)return;const t=a.startsWith("/")?`/img?u=${encodeURIComponent(a)}&w=200&f=webp`:a,i=document.createElement("link");return i.rel="preload",i.as="image",i.href=t,document.head.appendChild(i),()=>{try{document.head.removeChild(i)}catch{}}},[r?.book?.coverUrl]),e.jsxs("div",{className:"min-h-screen bg-[#050505] text-white overflow-x-hidden",children:[e.jsx("style",{children:`
2        @keyframes float-gentle { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
3        @keyframes glow-pulse { 0%,100%{box-shadow:0 0 20px -5px rgba(16,185,129,0.3)} 50%{box-shadow:0 0 60px -10px rgba(16,185,129,0.5)} }
4        @keyframes shimmer-btn { 0%{background-position:200% center} 100%{background-position:-200% center} }
5        @keyframes star-twinkle { 0%,100%{opacity:0.2} 50%{opacity:1} }
6        @keyframes gradient-shift { 0%{background-position:0% center} 50%{background-position:100% center} 100%{background-position:0% center} }
7        @keyframes cover-swing-mini { 0%,100%{transform:rotateY(-22deg) rotateX(2deg)} 50%{transform:rotateY(10deg) rotateX(2deg)} }
8        .cover-swing-mini { animation: cover-swing-mini 7s ease-in-out infinite; }
9        @media (prefers-reduced-motion: reduce) { .cover-swing-mini { animation:none; transform:rotateY(-16deg) rotateX(2deg); } }
10        @keyframes cover-drift { 0%{transform:translateY(0) rotate(var(--r,0deg))} 50%{transform:translateY(-18px) rotate(var(--r,0deg))} 100%{transform:translateY(0) rotate(var(--r,0deg))} }
11        @keyframes cover-shimmer { 0%{transform:translateX(-150%) skewX(-12deg)} 100%{transform:translateX(220%) skewX(-12deg)} }
12        .cover-shimmer-sweep { position:absolute; inset:0; pointer-events:none; overflow:hidden; animation:cover-shimmer 1.8s ease-in-out infinite; background:linear-gradient(90deg,transparent 0%,rgba(251,191,36,0.13) 40%,rgba(255,215,80,0.20) 50%,rgba(251,191,36,0.13) 60%,transparent 100%); }
13        @media (prefers-reduced-motion: reduce) { .cover-shimmer-sweep { animation:none; } }
14      `}),e.jsx("nav",{className:"fixed top-0 left-0 right-0 z-50 border-b border-white/5 backdrop-blur-xl bg-black/40",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 h-16 flex items-center justify-between",children:[e.jsx(o,{href:"/",children:e.jsx("img",{src:"/logo.webp",alt:"Sábhia Books",className:"h-7 w-auto object-contain"})}),e.jsx(o,{href:`/login?${c}&utm_content=nav`,children:e.jsxs(n,{size:"sm",className:"bg-emerald-500 hover:bg-emerald-400 text-black font-bold text-xs px-4 hidden sm:flex",onClick:()=>h(),children:["Publicar meu livro ",e.jsx(d,{className:"ml-1.5 w-3.5 h-3.5"})]})})]})}),e.jsxs("section",{className:"relative min-h-[100svh] flex items-center pt-24 pb-12 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#030a06] via-[#050505] to-[#03070a]"}),e.jsx("div",{className:"absolute top-0 right-0 w-[700px] h-[700px] bg-emerald-500/6 rounded-full blur-[200px] pointer-events-none"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-[500px] h-[400px] bg-cyan-500/4 rounded-full blur-[150px] pointer-events-none"}),e.jsx("div",{className:"absolute inset-0 opacity-[0.015]",style:{backgroundImage:"linear-gradient(rgba(16,185,129,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(16,185,129,0.5) 1px, transparent 1px)",backgroundSize:"60px 60px"}}),e.jsxs("div",{className:"max-w-6xl mx-auto px-6 relative z-10 w-full",children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_1.05fr] gap-10 xl:gap-16 items-center",children:[e.jsxs(s.div,{initial:{opacity:0,x:-30}
14,animate:{opacity:1,x:0},transition:{duration:.7},children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-emerald-500/10 border border-emerald-500/25 mb-7",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-emerald-400 animate-pulse"}),e.jsx("span",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.2em]",children:"Para autores com livro pronto"})]}),e.jsxs("h1",{className:"text-[2.6rem] md:text-5xl xl:text-[3.4rem] font-black leading-[1.08] mb-5","data-testid":"text-hero-headline",children:["Você tem o seu"," ",e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 via-cyan-300 to-emerald-400",style:{backgroundSize:"200% auto",animation:"gradient-shift 4s ease-in-out infinite"},children:"LIVRO PRONTO"})," ","e quer começar a vender?"]}),e.jsxs("p",{className:"text-2xl md:text-3xl font-extrabold text-white/90 mb-6 leading-snug",children:["Publique na"," ",e.jsx("span",{className:"text-emerald-400",children:"LOJA DA SÁBHIA"})," ","em 2 Cliques."]}),e.jsxs("p",{className:"text-lg text-gray-400 mb-8 leading-relaxed max-w-lg",children:["Sem site, sem desenvolvedor, sem complicação. Sua obra ganha uma"," ",e.jsx("strong",{className:"text-white/80",children:"página de vendas profissional"})," com checkout completo — PIX e cartão — e começa a gerar renda imediatamente."]}),e.jsx("div",{className:"flex flex-wrap gap-3 mb-8",children:[{icon:e.jsx(w,{className:"w-4 h-4 text-emerald-400"}),label:"Gratuito para publicar"},{icon:e.jsx(N,{className:"w-4 h-4 text-emerald-400"}),label:"Taxa: 9,99% + R$1/venda"},{icon:e.jsx(u,{className:"w-4 h-4 text-emerald-400"}),label:"PIX e cartão integrados"},{icon:e.jsx(j,{className:"w-4 h-4 text-emerald-400"}),label:"Entrega automática"}].map((a,t)=>e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full bg-emerald-500/8 border border-emerald-500/20 text-gray-300 text-sm font-medium",children:[a.icon,a.label]},t))}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center gap-4",children:[e.jsx(o,{href:`/login?${c}&utm_content=hero`,children:e.jsxs(n,{size:"lg",className:"h-auto py-5 px-8 text-xl font-black bg-emerald-500 hover:bg-emerald-400 text-black rounded-xl shadow-[0_0_60px_-10px_rgba(16,185,129,0.7)] hover:scale-[1.03] active:scale-[0.98] transition-all","data-testid":"button-hero-primary-cta",style:{animation:"glow-pulse 3s ease-in-out infinite"},onClick:()=>h(),children:["Comece a Vender Agora! ",e.jsx(d,{className:"ml-2 w-5 h-5"})]})}),e.jsx(o,{href:"/loja",children:e.jsxs(n,{variant:"ghost",size:"lg",className:"text-gray-400 hover:text-white gap-2 px-2",children:[e.jsx(m,{className:"w-4 h-4"})," Ver a vitrine"]})})]}),e.jsxs("p",{className:"text-gray-600 text-xs mt-5 flex items-center gap-1.5",children:[e.jsx(g,{className:"w-3.5 h-3.5 text-emerald-700 shrink-0"}),"Gratuito para publicar · Sem mensalidade · Taxa de 9,99% + R$1 por venda"]})]}),e.jsxs(s.div,{initial:{opacity:0,x:40,y:10},animate:{opacity:1,x:0,y:0},transition:{duration:.8,delay:.2},className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-amber-500/8 rounded-3xl blur-[60px] scale-95 pointer-events-none"}),e.jsxs("div",{className:"relative rounded-2xl overflow-hidden border border-white/10 shadow-[0_40px_120px_-20px_rgba(0,0,0,0.95),0_0_80px_-30px_rgba(251,191,36,0.15)]",style:{animation:"float-gentle 6s ease-in-out infinite"},children:[e.jsxs("div",{className:"bg-[#1e1e1e] px-4 py-3 flex items-center gap-3 border-b border-white/[0.06]",children:[e.jsxs("div",{className:"flex gap-1.5 shrink-0",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-[#ff5f57]"}),e.jsx("div",{className:"w-3 h-3 rounded-full bg-[#febc2e]"}),e.jsx("div",{className:"w-3 h-3 rounded-full bg-[#28c840]"})]}),e.jsxs("div",{className:"flex-1 bg-[#2d2d2d] rounded-lg px-3 py-1.5 flex items-center gap-2 max-w-[280px] mx-auto",children:[e.jsx(g,{className:"w-3 h-3 text-amber-400/70 shrink-0"}),e.jsxs("span",{className:"text-white/40 text-[11px] font-mono truncate",children:["sabhia.ai/loja/livro/",r?.slug??"seu-livro"]})]})]}),e.jsxs("div",{className:"bg-[#09090b]",children:[e.jsxs("div",{className:"flex items-center justify-between px-5 py-2.5 border-b border-white/[0.05]",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-5 h-5 rounded bg-amber-500/25 flex items-center justify-center",children:e.jsx(f,{className:"w-3 h-3 text-amber-400"})}),e.jsx("span",{className:"text-white/50 text-[10px] font-semibold tracking-wide uppercase",children:"Loja Sábhia"})]}),e.jsxs("div",{className:"flex gap-2 items-center",children:[e.jsx("div",{className:"h-5 w-12 bg-white/[0.06] rounded-md"}),e.jsx("div",{className:"h-5 w-16 bg-amber-500/20 rounded-md"})]})]}),e.jsxs("div",{className:"p-5 flex gap-4",children:[e.jsx("div",{className:"w-[100px] shrink-0",style:{perspective:"700px"},children:e.jsxs("div",{className:"cover-swing-mini relative w-full aspect-[2/3] rounded-r-md",style:{transformStyle:"preserve-3d",transformOrigin:"center center",boxShadow:"0 16px 40px -8px rgba(0,0,0,0.9), -6px 0 14px -4px rgba(0,0,0,0.7), 0 0 40px -15px rgba(251,191,36,0.2)"},children:[e.jsxs("div",{className:"absolute inset-0 rounded-r-md",style:{background:"linear-gradient(155deg,#1c1200 0%,#2e1e00 40%,#1a1000 70%,#0d0800 100%)",opacity:C?0:1,transition:"opacity 0.7s ease",pointerEvents:"none",overflow:"hidden"},"aria-hidden":"true",children:[e.jsx("div",{className:"cover-shimmer-sweep"}),e.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse at 30% 60%,rgba(251,191,36,0.07) 0%,transparent 65%)"}}),e.jsxs("div",{className:"absolute bottom-3 left-2 right-2 space-y-1.5",children:[e.jsx("div",{className:"h-2 rounded",style:{background:"rgba(251,191,36,0.22)",width:"80%"}}
14),e.jsx("div",{className:"h-1.5 rounded",style:{background:"rgba(251,191,36,0.12)",width:"55%"}})]})]}),e.jsx(H,{src:r?.book?.coverUrl??null,widths:[200,300],sizes:"100px",priority:!0,alt:r?.book?.title??"Capa",onLoad:()=>q(!0),className:"absolute inset-0 w-full h-full object-cover rounded-r-md",style:{opacity:C?1:0,transition:"opacity 0.7s ease"}}),e.jsx("div",{className:"absolute inset-0 rounded-r-md pointer-events-none",style:{background:"linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.07) 50%, transparent 65%)"}}),e.jsxs("div",{className:"absolute left-0 top-0 bottom-0 w-[10px] rounded-l-sm overflow-hidden",style:{transform:"translateX(-100%) rotateY(-90deg)",transformOrigin:"right",backfaceVisibility:"hidden",background:r?.book?.coverUrl?void 0:"linear-gradient(to right, rgba(8,8,12,.95), rgba(28,22,18,.85))"},children:[r?.book?.coverUrl&&e.jsx("div",{className:"absolute inset-0",style:{backgroundImage:`url("${r.book.coverUrl}")`,backgroundSize:"1500% 100%",backgroundPosition:"left center",backgroundRepeat:"no-repeat",filter:"brightness(0.75) saturate(1.1)"},"aria-hidden":"true"}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.45) 100%)"}})]}),e.jsx("div",{className:"absolute right-0 top-[2px] bottom-[2px] w-[8px] rounded-r-[2px]",style:{transform:"translateX(100%) rotateY(90deg)",transformOrigin:"left",background:"repeating-linear-gradient(to bottom, #f5f0e4 0, #f5f0e4 1px, #d8d0b8 1px, #d8d0b8 2px)",boxShadow:"inset 0 0 8px rgba(0,0,0,0.3), inset -1px 0 4px rgba(0,0,0,0.2)"}})]})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[r?.book?.title?e.jsx("h3",{className:"text-white text-sm font-bold leading-tight mb-0.5 line-clamp-2",children:r.book.title}):e.jsx("div",{className:"h-4 bg-white/20 rounded w-4/5 mb-1.5 animate-pulse"}),r?.author?.name??r?.book?.author?e.jsxs("p",{className:"text-gray-500 text-[10px] mb-2",children:["por ",r?.author?.name??r?.book?.author]}):e.jsx("div",{className:"h-3 bg-white/10 rounded w-1/2 mb-2 animate-pulse"}),e.jsxs("div",{className:"flex items-center gap-0.5 mb-2.5",children:[[1,2,3,4,5].map(a=>{const t=r?.ratingAvg??5,i=(r?.ratingCount??0)>0?a<=Math.round(t):!0;return e.jsx(k,{className:`w-2.5 h-2.5 ${i?"fill-amber-400 text-amber-400":"text-white/15 fill-white/15"}`},a)}),(r?.ratingCount??0)>0?e.jsxs("span",{className:"text-white/30 text-[9px] ml-1",children:[r.ratingCount.toLocaleString("pt-BR")," avaliações"]}):e.jsx("span",{className:"text-white/25 text-[9px] ml-1",children:"Novo na loja"})]}),e.jsx("div",{className:"mb-3",children:r?.aiCopy?.tagline??r?.shortDescription?e.jsx("p",{className:"text-[10px] text-white/38 leading-relaxed line-clamp-3",children:r?.aiCopy?.tagline??r?.shortDescription}):e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("div",{className:"h-2 bg-white/[0.07] rounded w-full"}),e.jsx("div",{className:"h-2 bg-white/[0.06] rounded w-10/12"}),e.jsx("div",{className:"h-2 bg-white/[0.04] rounded w-4/5"})]})}),e.jsxs("div",{className:"bg-[#111115] border border-white/[0.08] rounded-xl p-3 flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-amber-400 font-black text-xl leading-none",children:r?.priceCents?`R$ ${(r.priceCents/100).toFixed(2).replace(".",",")}`:"R$ 29,90"}),e.jsx("div",{className:"text-[9px] text-gray-600 mt-0.5",children:(r?.saleCount??0)>0?`${r.saleCount} ${r.saleCount===1?"venda":"vendas"}`:"PIX · Cartão"})]}),e.jsx("button",{className:"bg-gradient-to-r from-amber-400 to-amber-500 text-black text-xs font-black px-4 py-2.5 rounded-lg shadow-[0_0_18px_-4px_rgba(251,191,36,0.55)]",children:"Comprar"})]}),e.jsxs("div",{className:"flex items-center gap-1.5 mt-2 text-[9px] text-white/22",children:[e.jsx(u,{className:"w-3 h-3"}),e.jsx("span",{children:"PIX · Cartão · Acesso imediato"}),e.jsx(g,{className:"w-3 h-3 text-amber-700/60 ml-1"}),e.jsx("span",{className:"text-amber-800/80",children:"Compra segura"})]})]})]}),e.jsxs("div",{className:"mx-5 mb-5 bg-[#111115] border border-white/[0.06] rounded-xl p-3 flex items-center gap-3",children:[e.jsx("div",{className:"w-8 h-8 rounded-full bg-gradient-to-br from-amber-700/40 to-orange-900/30 shrink-0 flex items-center justify-center",children:r?.author?.name??r?.book?.author?e.jsx("span",{className:"text-amber-300/80 text-[11px] font-bold",children:(r?.author?.name??r?.book?.author??"A").charAt(0).toUpperCase()}):null}),e.jsx("div",{className:"flex-1 min-w-0",children:r?.author?.name??r?.book?.author?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"text-white/65 text-[10px] font-semibold truncate",children:r?.author?.name??r?.book?.author}),e.jsx("div",{className:"text-white/22 text-[9px]",children:"Autor independente"})]}):e.jsxs("div",{className:"space-y-1",children:[e.jsx("div",{className:"h-2.5 bg-white/12 rounded w-2/5 animate-pulse"}),e.jsx("div",{className:"h-2 bg-white/6 rounded w-3/5"})]})}),e.jsx("div",{className:"text-[9px] text-amber-400 font-bold px-2.5 py-1 rounded-full bg-amber-500/10 border border-amber-500/20 shrink-0",children:"Seguir"})]})]})]}),e.jsx("div",{className:"absolute -top-3 -right-3 bg-emerald-500 text-black text-[10px] font-black px-3 py-1.5 rounded-full shadow-lg uppercase tracking-wide z-10",children:"✓ Sua página"}),e.jsxs("div",{className:"absolute -bottom-3 -left-3 bg-[#111] border border-emerald-500/30 text-emerald-400 text-[11px] font-bold px-4 py-2 rounded-full shadow-xl z-10 flex items-center gap-1.5",children:[e.jsx(N,{className:"w-3.5 h-3.5"})," Taxa: 9,99% + R$1 por venda"]})]})]}),e.jsx(s.div,{initial:{opacity:0,y:20}
14,animate:{opacity:1,y:0},transition:{duration:.6,delay:.9},className:"mt-14 pt-8 border-t border-white/5 grid grid-cols-2 md:grid-cols-4 gap-4 text-center",children:[{value:"2",label:"cliques para publicar"},{value:"9,99%",label:"+ R$1 por venda"},{value:"R$ 0",label:"para começar"},{value:"100%",label:"automático após a venda"}].map((a,t)=>e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("span",{className:"text-2xl md:text-3xl font-black text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-cyan-400",children:a.value}),e.jsx("span",{className:"text-gray-500 text-xs",children:a.label})]},t))})]})]}),e.jsxs("section",{className:"py-20 md:py-28 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#050505] via-[#08060a] to-[#050505]"}),e.jsxs("div",{className:"max-w-5xl mx-auto px-6 relative z-10",children:[e.jsxs(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"flex items-center justify-center gap-4 mb-14",children:[e.jsxs("div",{className:"bg-[#100a0a] border border-red-500/20 rounded-2xl p-5 text-center flex-1 max-w-[260px]",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-red-500/10 flex items-center justify-center mx-auto mb-3",children:e.jsx(S,{className:"w-6 h-6 text-red-400"})}),e.jsx("div",{className:"text-red-400 text-[10px] font-black uppercase tracking-widest mb-1",children:"Antes"}),e.jsxs("p",{className:"text-white/70 text-sm font-semibold",children:["Livro pronto.",e.jsx("br",{}),"Ninguém sabe.",e.jsx("br",{}),"Zero vendas."]}),e.jsx("div",{className:"mt-3 flex flex-col gap-1",children:["Sem loja","Sem checkout","Sem comprador"].map((a,t)=>e.jsxs("div",{className:"flex items-center gap-1.5 text-red-400/60 text-xs",children:[e.jsx("span",{className:"text-red-500 text-base leading-none",children:"✕"})," ",a]},t))})]}),e.jsxs("div",{className:"flex flex-col items-center gap-2 shrink-0",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("div",{className:"w-8 h-px bg-emerald-500/50"}),e.jsx(d,{className:"w-5 h-5 text-emerald-400"})]}),e.jsx("div",{className:"text-emerald-400 text-[9px] font-black uppercase tracking-widest",children:"2 cliques"})]}),e.jsxs("div",{className:"bg-[#080f0a] border border-emerald-500/25 rounded-2xl p-5 text-center flex-1 max-w-[260px]",style:{animation:"glow-pulse 4s ease-in-out infinite"},children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-emerald-500/15 flex items-center justify-center mx-auto mb-3",children:e.jsx(m,{className:"w-6 h-6 text-emerald-400"})}),e.jsx("div",{className:"text-emerald-400 text-[10px] font-black uppercase tracking-widest mb-1",children:"Depois"}),e.jsxs("p",{className:"text-white/70 text-sm font-semibold",children:["Livro publicado.",e.jsx("br",{}),"Loja no ar.",e.jsx("br",{}),"Vendas chegando."]}),e.jsx("div",{className:"mt-3 flex flex-col gap-1",children:["Página de vendas","PIX e cartão","Entrega automática"].map((a,t)=>e.jsxs("div",{className:"flex items-center gap-1.5 text-emerald-400 text-xs",children:[e.jsx(w,{className:"w-3.5 h-3.5 shrink-0"})," ",a]},t))})]})]}),e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-12",children:[e.jsx("p",{className:"text-red-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"A dor de todo autor independente"}),e.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-extrabold text-white leading-tight mb-6","data-testid":"text-problem-headline",children:["Seu livro está pronto."," ",e.jsx("span",{className:"text-red-400",children:"Mas ele ainda não está à venda?"})]}),e.jsxs("p",{className:"text-lg md:text-xl text-gray-400 max-w-2xl mx-auto leading-relaxed",children:["Você passou meses escrevendo. A obra está finalizada. Mas na hora de colocar o livro no mundo, tudo para. Criar um site, configurar checkout, contratar um desenvolvedor, integrar pagamento — ",e.jsx("strong",{className:"text-white/80",children:"tudo parece impossível"}),"."]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:[{icon:e.jsx(S,{className:"w-7 h-7 text-red-400"}),title:"Arquivo parado na pasta",desc:"Você terminou. Mas o livro ainda vive dentro do seu computador, longe de quem deveria lê-lo.",stat:"Meses de trabalho esperando",color:"red"},{icon:e.jsx(m,{className:"w-7 h-7 text-orange-400"}),title:"Sem canal de vendas",desc:"Criar uma loja, configurar domínio, contratar desenvolvedor — tudo complexo, caro e demorado.",stat:"R$ 5.000+ pra montar sozinho",color:"orange"},{icon:e.jsx(u,{className:"w-7 h-7 text-yellow-400"}),title:"Sem checkout integrado",desc:"Aceitar PIX e cartão com entrega automática exige integrações técnicas que a maioria dos autores não tem.",stat:"0 vendas sem checkout",color:"yellow"}].map((a,t)=>e.jsx(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.12},className:"bg-[#0c0a0a] border border-white/8 rounded-2xl p-7 relative overflow-hidden group hover:border-red-500/20 transition-colors","data-testid":`card-problem-${t}`,children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-white/5 flex items-center justify-center shrink-0 group-hover:scale-110 transition-transform duration-300",children:a.icon}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-white font-bold text-base mb-1.5",children:a.title}),e.jsx("p",{className:"text-gray-500 text-sm leading-relaxed mb-3",children:a.desc}),e.jsx("div",{className:"inline-block px-2.5 py-1 rounded-full bg-red-500/10 border border-red-500/20 text-red-400 text-[10px] font-bold uppercase tracking-wide",children:a.stat})]})]})},t))}),e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},className:"text-center mt-10",children:e.jsxs("div",{className:"inline-flex items-center gap-3 px-6 py-4 rounded-2xl bg-emerald-500/10 border border-emerald-500/20",children:[e.jsx(j,{className:"w-5 h-5 text-emerald-400 shrink-0"}),e.jsxs("p",{className:"text-emerald-300 font-semibold",children:["A SÁBHIA é a esperança do autor independente: resolva tudo isso em ",e.jsx("strong",{children:"2 cliques, de graça."})]})]})})]})]}),e.jsx("section",{className:"py-20 md:py-32 bg-[#08080a] border-y border-white/5 overflow-hidden",children:e.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[e.jsx("p",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"O que você recebe"}),e.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-extrabold text-white leading-tight","data-testid":"text-entrega-headline",children:["Mais do que publicar."," ",e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-cyan-400",children:"Uma vitrine completa para o seu livro."})]}),e.jsx("p",{className:"text-gray-400 text-lg mt-5 max-w-xl mx-auto",children:"Cada livro publicado na SÁBHIA ganha uma página exclusiva, otimizada para converter visitantes em compradores."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-14",children:[{icon:e.jsx(A,{className:"w-5 h-5 text-emerald-400"}),title:"Capa em destaque",desc:"Sua capa apresentada em formato 3D animado que chama atenção e transmite profissionalismo.",badge:"Visual premium"},{icon:e.jsx(f,{className:"w-5 h-5 text-emerald-400"}),title:"Sinopse que converte",desc:"Texto de apresentação gerado pela IA para converter visitantes em compradores.",badge:"IA inclusa"},{icon:e.jsx(X,{className:"w-5 h-5 text-cyan-400"}
14),title:"Perfil completo do autor",desc:"Sua foto, bio e links sociais aparecem na página, construindo autoridade e confiança.",badge:"Personalizado"},{icon:e.jsx(O,{className:"w-5 h-5 text-emerald-400"}),title:"Botão de compra",desc:"Preço em destaque com checkout integrado — o comprador paga em segundos.",badge:"Converte"},{icon:e.jsx(u,{className:"w-5 h-5 text-cyan-400"}),title:"PIX e cartão",desc:"A SÁBHIA processa o pagamento automaticamente e repassa os royalties para você.",badge:"Automático"},{icon:e.jsx(j,{className:"w-5 h-5 text-emerald-400"}),title:"Entrega digital imediata",desc:"O comprador acessa o livro no ato — sem esperar, sem trabalho manual seu.",badge:"Instantâneo"}].map((a,t)=>e.jsxs(s.div,{initial:{opacity:0,x:t%2===0?-20:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:t*.08},className:"flex items-start gap-4 bg-[#0f0f12] border border-white/8 rounded-xl p-5 hover:border-emerald-500/25 transition-colors group",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-emerald-500/10 flex items-center justify-center shrink-0 group-hover:scale-110 transition-transform duration-200",children:a.icon}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("h4",{className:"text-white font-semibold",children:a.title}),e.jsx("span",{className:"text-[10px] px-2 py-0.5 rounded-full bg-emerald-500/10 text-emerald-400 font-bold border border-emerald-500/15",children:a.badge})]}),e.jsx("p",{className:"text-gray-500 text-sm leading-relaxed",children:a.desc})]})]},t))}),e.jsxs(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"mb-10",children:[e.jsx("p",{className:"text-center text-gray-600 text-xs font-bold uppercase tracking-[0.2em] mb-6",children:"Livros publicados na vitrine"}),e.jsx("div",{className:"grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 gap-2.5",children:Array.from({length:16},(a,t)=>{const i=t+1,p=l[t];return e.jsxs(s.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.3,delay:t*.04},className:"relative group",children:[e.jsx("img",{src:p?.book?.coverUrl||`/showcase/cover${i}.webp`,alt:p?.book?.title||`Livro ${i}`,className:"w-full aspect-[2/3] object-cover rounded-lg shadow-[0_4px_20px_rgba(0,0,0,0.6)] group-hover:scale-105 group-hover:shadow-[0_8px_30px_rgba(16,185,129,0.2)] transition-all duration-300",onError:E=>{E.currentTarget.src=`/showcase/cover${i%12+1}.webp`}}),e.jsx("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-t from-black/60 via-trans
14parent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]},t)})}),e.jsx("p",{className:"text-center text-gray-600 text-[11px] mt-4",children:"Centenas de autores já publicaram na vitrine SÁBHIA"})]}),e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.3},className:"text-center",children:e.jsx(o,{href:"/loja",children:e.jsxs(n,{variant:"outline",size:"lg",className:"border-emerald-500/40 text-emerald-400 hover:bg-emerald-500/10 hover:border-emerald-400 rounded-xl px-8","data-testid":"button-ver-vitrine",children:[e.jsx(m,{className:"mr-2 w-4 h-4"})," Visitar a vitrine completa"]})})})]})}),e.jsxs("section",{id:"como-funciona",className:"py-20 md:py-32 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-emerald-900/5 via-transparent to-transparent"}),e.jsxs("div",{className:"max-w-5xl mx-auto px-6 relative z-10",children:[e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-16",children:[e.jsx("p",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"Simples assim"}),e.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-extrabold text-white leading-tight","data-testid":"text-como-funciona-headline",children:["Seu livro publicado em"," ",e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-cyan-400",children:"dois cliques."})]})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"hidden md:block absolute top-[72px] left-[calc(25%+48px)] right-[calc(25%+48px)] h-[2px] bg-gradient-to-r from-emerald-500/50 via-cyan-500/40 to-emerald-500/50 rounded-full"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-2xl mx-auto",children:[{step:1,icon:e.jsx(P,{className:"w-8 h-8 text-emerald-400"}),title:"Envie seu livro",desc:"Faça o upload do arquivo (PDF, EPUB ou DOCX) e adicione a capa. Pronto — seu livro está carregado."},{step:2,icon:e.jsx(m,{className:"w-8 h-8 text-cyan-400"}),title:"Publique na vitrine",desc:"Defina o preço, revise a página e publique. Em minutos seu livro está disponível para compradores."}].map((a,t)=>e.jsx(s.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.2},className:"relative group","data-testid":`card-step-${a.step}`,children:e.jsxs("div",{className:"bg-[#0f0f12] border border-white/10 rounded-2xl p-8 h-full hover:border-emerald-500/30 transition-all duration-300 group-hover:-translate-y-1",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-5",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"w-14 h-14 rounded-xl bg-emerald-500/10 flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:a.icon}),e.jsx("div",{className:"absolute -top-2 -right-2 w-6 h-6 rounded-full bg-gradient-to-br from-emerald-400 to-emerald-600 flex items-center justify-center text-xs font-bold text-white shadow-lg",children:a.step})]}),e.jsx("h4",{className:"text-xl font-bold text-white",children:a.title})]}),e.jsx("p",{className:"text-gray-400 leading-relaxed",children:a.desc})]})},t))})]}),e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},className:"mt-14 grid grid-cols-1 md:grid-cols-2 gap-4 max-w-2xl mx-auto",children:[e.jsx(o,{href:`/login?${c}&utm_content=ja-tenho-livro`,className:"block",onClick:()=>h(),children:e.jsxs("div",{className:"bg-gradient-to-r from-emerald-500/10 to-cyan-500/10 border border-emerald-500/30 rounded-xl p-6 text-center hover:border-emerald-400/60 transition-all cursor-pointer group","data-testid":"card-path-tenho-livro",children:[e.jsx(Y,{className:"w-8 h-8 text-emerald-400 mx-auto mb-3 group-hover:scale-110 transition-transform"}),e.jsx("h4",{className:"text-white font-bold mb-1",children:"Já tenho livro e capa"}),e.jsx("p",{className:"text-gray-500 text-sm mb-4",children:"Publique agora na vitrine SÁBHIA"}),e.jsxs("span",{className:"text-emerald-400 text-sm font-bold flex items-center justify-center gap-1",children:["Publicar agora ",e.jsx(d,{className:"w-3.5 h-3.5"})]})]})}),e.jsx(o,{href:`/login?${c}&utm_content=criar-livro`,className:"block",onClick:()=>h(),children:e.jsxs("div",{className:"bg-[#0f0f12] border border-white/10 rounded-xl p-6 text-center hover:border-white/25 transition-all cursor-pointer group","data-testid":"card-path-criar-livro",children:[e.jsx(I,{className:"w-8 h-8 text-purple-400 mx-auto mb-3 group-hover:scale-110 transition-transform"}),e.jsx("h4",{className:"text-white font-bold mb-1",children:"Ainda não tenho livro"}),e.jsx("p",{className:"text-gray-500 text-sm mb-4",children:"Crie com a IA da SÁBHIA gratuitamente"}),e.jsxs("span",{className:"text-purple-400 text-sm font-bold flex items-center justify-center gap-1",children:["Criar meu livro ",e.jsx(d,{className:"w-3.5 h-3.5"})]})]})})]})]})]}),e.jsx("section",{className:"py-20 md:py-32 bg-[#08080a] border-y border-white/5",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[e.jsx("p",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"Tudo em um lugar"}),e.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-extrabold text-white leading-tight","data-testid":"text-beneficios-headline",children:["Um ecossistema criado para"," ",e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-cyan-400",children:"facilitar a vida do autor."})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{icon:e.jsx(P,{className:"w-7 h-7 text-emerald-400"}),title:"Publicação simplificada",desc:"Upload em segundos, sem c
14onfigurações técnicas, sem precisar saber programar.",tag:"Grátis",color:"emerald"},{icon:e.jsx(m,{className:"w-7 h-7 text-cyan-400"}),title:"Vitrine gratuita",desc:"Sem mensalidade, sem taxa de publicação. Você só paga uma comissão quando vende.",tag:"Sem custo",color:"cyan"},{icon:e.jsx($,{className:"w-7 h-7 text-emerald-400"}),title:"Página de vendas",desc:"Página exclusiva por livro, com URL para compartilhar em qualquer canal.",tag:"Pronta",color:"emerald"},{icon:e.jsx(u,{className:"w-7 h-7 text-cyan-400"}),title:"Pagamento e entrega",desc:"PIX e cartão de crédito integrados. Entrega digital automática para o comprador.",tag:"Integrado",color:"cyan"},{icon:e.jsx(V,{className:"w-7 h-7 text-emerald-400"}),title:"Royalties e saque PIX",desc:"Taxa de 9,99% + R$1 por venda. O restante é seu — saque quando quiser via PIX.",tag:"9,99% + R$1",color:"emerald"},{icon:e.jsx(R,{className:"w-7 h-7 text-purple-400"}),title:"Programa de afiliados",desc:"Divulgue livros de outros autores e ganhe comissão. Renda extra, sem ter seu próprio livro.",tag:"Bônus",color:"purple"}].map((a,t)=>e.jsx(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.08},className:"group relative","data-testid":`card-benefit-${t}`,children:e.jsxs("div",{className:"relative bg-[#0f0f12] border border-white/8 rounded-2xl p-6 h-full hover:border-emerald-500/25 transition-all duration-300 group-hover:-translate-y-1",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-white/5 flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:a.icon}),e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest px-3 py-1 rounded-full bg-emerald-500/15 text-emerald-400 border border-emerald-500/20",children:a.tag})]}),e.jsx("h4",{className:"text-white font-bold text-lg mb-2",children:a.title}),e.jsx("p",{className:"text-gray-400 text-sm leading-relaxed",children:a.desc})]})},t))})]})}),e.jsxs("section",{className:"py-20 md:py-32 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#050505] via-[#06120a] to-[#050505]"}),e.jsx("div",{className:"absolute top-1/2 right-0 w-[500px] h-[500px] bg-emerald-500/5 blur-[150px] rounded-full pointer-events-none -translate-y-1/2"}),e.jsxs("div",{className:"max-w-6xl mx-auto px-6 relative z-10",children:[e.jsxs(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-14",children:[e.jsx("p",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"Sua vitrine exclusiva"}),e.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-extrabold text-white leading-tight","data-testid":"text-pagina-headline",children:["Uma página de vendas"," ",e.jsx("span",{className:"text-emerald-400",children:"profissional para o seu livro."})]}),e.jsx("p",{className:"text-gray-400 text-lg mt-5 max-w-2xl mx-auto",children:"Sem precisar contratar um desenvolvedor, montar um site ou configurar checkout. A SÁBHIA entrega tudo pronto — você só publica."})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_1.2fr] gap-12 items-start mb-14",children:[e.jsxs(s.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7},children:[e.jsx("div",{className:"space-y-4",children:[{title:"Capa 3D em destaque",desc:"Sua capa animada em formato 3D profissional, impossível ignorar."},{title:"Sinopse gerada por IA",desc:"Texto de apresentação otimizado para converter visitantes em compradores."},{title:"Perfil completo do autor",desc:"Foto, bio e autoridade — tudo que o comprador precisa para confiar."},{title:"Preço e botão de compra",desc:"Checkout integrado que o comprador conclui em segundos."},{title:"PIX e cartão integrados",desc:"A SÁBHIA processa e repassa automaticamente os royalties."},{title:"Entrega digital imediata",desc:"O comprador acessa o livro no ato — zero intervenção manual sua."}].map((a,t)=>e.jsxs(s.div,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.3,delay:.15+t*.07},className:"flex items-start gap-4 bg-[#0f0f12] border border-white/6 rounded-xl p-4 hover:border-emerald-500/20 transition-colors group",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg bg-emerald-500/10 flex items-center justify-center shrink-0 mt-0.5 group-hover:scale-110 transition-transform duration-200",children:e.jsx(w,{className:"w-4 h-4 text-emerald-500"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-white font-semibold text-sm mb-0.5",children:a.title}),e.jsx("p",{className:"text-gray-500 text-xs leading-relaxed",children:a.desc})]})]},t))}),e.jsx(s.div,{initial:{opacity:0}
14,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.7},className:"mt-8",children:e.jsx(o,{href:`/login?${c}&utm_content=pagina-exclusiva`,children:e.jsxs(n,{className:"bg-emerald-500 hover:bg-emerald-400 text-black font-bold rounded-xl px-8 py-4 text-base shadow-[0_0_40px_-10px_rgba(16,185,129,0.5)] hover:scale-[1.02] transition-all","data-testid":"button-pagina-cta",onClick:()=>h(),children:["Criar minha página de vendas ",e.jsx(d,{className:"ml-2 w-4 h-4"})]})})})]}),e.jsx(s.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8,delay:.2},children:e.jsxs("div",{className:"relative",style:{animation:"float-gentle 7s ease-in-out infinite"},children:[e.jsx("div",{className:"absolute inset-0 bg-emerald-500/8 blur-[50px] rounded-2xl pointer-events-none"}),e.jsxs("div",{className:"relative rounded-2xl overflow-hidden border border-white/10 shadow-[0_30px_100px_-20px_rgba(0,0,0,0.9)]",children:[e.jsxs("div",{className:"bg-[#1e1e1e] px-4 py-2.5 flex items-center gap-3 border-b border-white/[0.05]",children:[e.jsxs("div",{className:"flex gap-1.5 shrink-0",children:[e.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-[#ff5f57]"}),e.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-[#febc2e]"}),e.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-[#28c840]"})]}),e.jsxs("div",{className:"flex-1 bg-[#2a2a2a] rounded-md px-3 py-1 flex items-center gap-1.5 max-w-[240px] mx-auto",children:[e.jsx(g,{className:"w-2.5 h-2.5 text-emerald-400/60 shrink-0"}),e.jsx("span",{className:"text-white/30 text-[10px] font-mono truncate",children:"sabhia.ai/loja/livro/meu-livro"})]}),e.jsxs("div",{className:"flex gap-1.5 ml-auto shrink-0",children:[e.jsx("div",{className:"h-4 w-4 rounded bg-white/5"}),e.jsx("div",{className:"h-4 w-4 rounded bg-white/5"})]})]}),e.jsxs("div",{className:"bg-[#09090b] text-white",children:[e.jsxs("div",{className:"flex items-center justify-between px-4 py-2 border-b border-white/[0.04]",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("div",{className:"w-4 h-4 rounded bg-emerald-500/20 flex items-center justify-center",children:e.jsx(f,{className:"w-2.5 h-2.5 text-emerald-400"})}),e.jsx("span",{className:"text-white/30 text-[10px] font-bold tracking-wide",children:"SÁBHIA"})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("div",{className:"h-5 w-10 rounded bg-white/5 text-[8px] text-white/20 flex items-center justify-center",children:"Loja"}),e.jsx("div",{className:"h-5 w-16 rounded-md bg-emerald-500/20 text-[8px] text-emerald-400 font-bold flex items-center justify-center",children:"Publicar"})]})]}),e.jsxs("div",{className:"px-4 py-4",children:[e.jsxs("div",{className:"flex items-center gap-1 text-[8px] text-white/20 mb-3",children:[e.jsx("span",{children:"Loja"}),e.jsx("span",{children:"/"}),e.jsx("span",{children:"Romance"}),e.jsx("span",{children:"/"}),e.jsx("span",{className:"text-emerald-400/60",children:"Título do Livro"})]}),e.jsxs("div",{className:"flex gap-4",children:[e.jsxs("div",{className:"shrink-0 w-[90px]",children:[e.jsxs("div",{className:"relative",style:{perspective:"600px"},children:[e.jsx("img",{src:l[1]?.book?.coverUrl||"/showcase/cover3.webp",alt:"Capa do livro",className:"w-full aspect-[2/3] object-cover rounded-lg shadow-[0_8px_25px_rgba(0,0,0,0.7),4px_4px_0px_rgba(0,0,0,0.4)]",onError:a=>{a.currentTarget.src="/showcase/cover3.webp"}}),e.jsx("div",{className:"absolute -top-1 -left-1 bg-amber-500 text-black text-[6px] font-black px-1.5 py-0.5 rounded",children:"DESTAQUE"})]}),e.jsxs("div",{className:"mt-2 flex items-center gap-1",children:[e.jsx("div",{className:"w-4 h-4 rounded-full bg-gradient-to-br from-emerald-600/50 to-cyan-600/30 shrink-0"}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("div",{className:"h-1.5 bg-white/20 rounded w-12"}),e.jsx("div",{className:"h-1 bg-white/8 rounded w-8"})]})]})]}),e.jsxs("div",{className:"flex-1 min-w-0",children:[l[1]?e.jsxs(e.Fragment,{children:[e.jsx("h3",{className:"text-white text-[11px] font-bold leading-tight mb-0.5 line-clamp-2",children:l[1].book?.title}),l[1].author?.name&&e.jsxs("p",{className:"text-emerald-400/70 text-[9px] mb-1.5",children:["por ",l[1].author?.name]})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"h-3 bg-white/20 rounded w-4/5 mb-1"}),e.jsx("div",{className:"h-2 bg-emerald-400/20 rounded w-1/2 mb-1.5"})]}),e.jsxs("div",{className:"flex items-center gap-0.5 mb-2",children:[[1,2,3,4,5].map(a=>e.jsx(k,{className:"w-2 h-2 fill-amber-400 text-amber-400"},a)),e.jsx("span",{className:"text-white/20 text-[8px] ml-1",children:"84 avaliações"})]}),e.jsxs("div",{className:"flex gap-1 mb-2",children:[e.jsx("span",{className:"text-[7px] px-1.5 py-0.5 rounded bg-emerald-500/10 text-emerald-400 border border-emerald-500/15",children:"312 vendas"}),e.jsx("span",{className:"text-[7px] px-1.5 py-0.5 rounded bg-amber-500/10 text-amber-400 border border-amber-500/15",children:"Mais vendido"})]}),e.jsxs("div",{className:"space-y-0.5 mb-2.5",children:[e.jsx("div",{className:"h-1.5 bg-white/[0.07] rounded w-full"}),e.jsx("div",{className:"h-1.5 bg-white/[0.06] rounded w-11/12"}),e.jsx("div",{className:"h-1.5 bg-white/[0.05] rounded w-4/5"}),e.jsx("div",{className:"h-1.5 bg-white/[0.04] rounded w-3/4"})]}),e.jsxs("div",{className:"bg-[#101014] border border-white/[0.08] rounded-lg p-2 flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[8px] text-gray-600 line-through",children:"R$ 49,90"}),e.jsx("div",{className:"text-emerald-400 font-black text-[13px] leading-none",children:l[1]?.priceCents?`R$ ${(l[1].priceCents/100).toFixed(2).replace(".",",")}`:"R$ 29,90"}),e.jsx("div",{className:"text-[7px] text-gray-600",children:"3× R$ 10,30"})]}),e.jsx("button",{className:"bg-emerald-500 text-black text-[9px] font-black px-3 py-1.5 rounded-md shadow-[0_0_12px_-3px_rgba(16,185,129,0.6)]",children:"Comprar"})]}),e.jsxs("div",{className:"flex items-center gap-1 mt-1.5 text-[7px] text-white/20",children:[e.jsx(g,{className:"w-2 h-2 text-emerald-700"}),"PIX · Cartão · Acesso imediato"]})]})]})]}),e.jsxs("div",{className:"border-t border-white/[0.04] px-4 py-3",children:[e.jsx("p",{className:"text-[8px] text-white/20 mb-2 uppercase tracking-wide",children:"Outros livros deste autor"}),e.jsxs("div",{className:"flex gap-2",children:[["/showcase/cover5.webp","/showcase/cover7.webp","/showcase/cover9.webp"].map((a,t)=>e.jsx("img",{src:l[t+2]?.book?.coverUrl||a,alt:`Livro ${t+2}`,className:"w-10 aspect-[2/3] object-cover rounded shadow-md opacity-70 hover:opacity-100 transition-opacity",onError:i=>{i.currentTarget.src=a}},t)),e.jsx("div",{className:"flex-1 flex items-center",children:e.jsx("div",{className:"text-[7px] text-emerald-400/50 pl-1",children:"+ ver todos"})})]})]})]})]}),e.jsx("div",{className:"absolute -top-3 -right-3 bg-emerald-500 text-black text-[9px] font-black px-2.5 py-1.5 rounded-full shadow-lg uppercase tracking-wide z-10",children:"✓ Sua página"}),e.jsx("div",{className:"absolute -bottom-3 left-1/2 -translate-x-1/2 bg-[#111] border border-emerald-500/30 text-emerald-400 text-[10px] font-bold px-4 py-1.5 rounded-full shadow-xl z-10 whitespace-nowrap",children:"URL exclusiva: sabhia.ai/loja/livro/seu-livro"})]})})]}),e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.3},className:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-10",children:[{label:"Ficção & Romance",img:l[3]?.book?.coverUrl||"/showcase/cover2.webp",price:l[3]?.priceCents?`R$ ${(l[3].priceCents/100).toFixed(2).replace(".",",")}`:"R$ 29,90"},{label:"Autoajuda & Negócios",img:l[4]?.book?.coverUrl||"/showcase/cover6.webp",price:l[4]?.priceCents?`R$ ${(l[4].priceCents/100).toFixed(2).replace(".",",")}`:"R$ 39,90"},{label:"Espiritualidade",img:l[5]?.book?.coverUrl||"/covers/genre-espiritualidade.webp",price:l[5]?.priceCents?`R$ ${(l[5].priceCents/100).toFixed(2).replace(".",",")}`:"R$ 24,90"}].map((a,t)=>e.jsxs(s.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.4+t*.1},className:"bg-[#0f0f12] border border-white/8 rounded-xl p-4 flex items-center gap-4 hover:border-emerald-500/20 transition-colors",children:[e.jsx("img",{src:a.img,alt:a.label,className:"w-14 aspect-[2/3] object-cover rounded-lg shadow-lg shrink-0",onError:i=>{i.currentTarget.src=`/showcase/cover${t+1}.webp`}}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-emerald-400/70 text-[10px] font-bold uppercase tracking-wide mb-1",children:a.label}),e.jsx("div",{className:"h-2.5 bg-white/20 rounded w-full mb-1"}),e.jsx("div",{className:"h-2 bg-white/10 rounded w-3/4 mb-2"}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-emerald-400 font-black text-sm",children:a.price}),e.jsx("div",{className:"bg-emerald-500/20 text-emerald-400 text-[9px] font-bold px-2 py-0.5 rounded",children:"Comprar"})]})]})]},t))}),e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},className:"text-center",children:e.jsx(o,{href:"/loja",children:e.jsxs(n,{variant:"outline",size:"lg",className:"border-emerald-500/40 text-emerald-400 hover:bg-emerald-500/10 hover:border-emerald-400 rounded-xl px-8",children:[e.jsx(A,{className:"mr-2 w-4 h-4"})," Ver páginas de livros reais na vitrine"]})})})]})]}),e.jsx("section",{className:"py-20 md:py-32 bg-[#08080a] border-y border-white/5",children:e.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[e.jsx("p",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"Renda de autor"}),e.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-extrabold text-white leading-tight","data-testid":"text-ganhar-headline",children:["Na SÁBHIA, autores também podem"," ",e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-cyan-400",children:"se tornar divulgadores."})]}),e.jsx("p",{className:"text-gray-400 text-lg mt-5 max-w-xl mx-auto",children:"Duas formas de gerar renda com a plataforma — e você pode usar as duas ao mesmo tempo."})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[e.jsx(s.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},"data-testid":"card-ganhar-autor",children:e.jsxs("div",{className:"bg-[#0a0f0c] border border-emerald-500/25 rounded-3xl p-8 h-full relative overflow-hidden",style:{animation:"glow-pulse 4s ease-in-out infinite"},children:[e.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-emerald-400 to-cyan-400"}
14),e.jsx("div",{className:"w-14 h-14 rounded-2xl bg-emerald-500/15 flex items-center justify-center mb-5",children:e.jsx(f,{className:"w-7 h-7 text-emerald-400"})}),e.jsx("h3",{className:"text-xl font-extrabold text-white mb-3",children:"Venda o seu próprio livro"}),e.jsx("p",{className:"text-gray-400 text-base mb-6 leading-relaxed",children:"Publique sua obra na vitrine e receba royalties a cada venda. Você define o preço e a SÁBHIA cuida do restante."}),e.jsx("div",{className:"space-y-3",children:[{icon:e.jsx(N,{className:"w-4 h-4 text-emerald-400"}),text:"Taxa: 9,99% + R$1 por venda"},{icon:e.jsx(u,{className:"w-4 h-4 text-emerald-400"}),text:"Pagamento via PIX e cartão"},{icon:e.jsx(j,{className:"w-4 h-4 text-emerald-400"}),text:"Saque a qualquer momento"}].map((a,t)=>e.jsxs("div",{className:"flex items-center gap-3 text-gray-300 text-sm",children:[a.icon," ",a.text]},t))}),e.jsx("div",{className:"mt-6",children:e.jsx(o,{href:`/login?${c}&utm_content=ganhar-autor`,children:e.jsxs(n,{className:"w-full bg-emerald-500 hover:bg-emerald-400 text-black font-bold rounded-xl",onClick:()=>h(),children:["Publicar e vender ",e.jsx(d,{className:"ml-2 w-4 h-4"})]})})})]})}),e.jsx(s.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.15},"data-testid":"card-ganhar-afiliado",children:e.jsxs("div",{className:"bg-[#0f0a12] border border-purple-500/20 rounded-3xl p-8 h-full relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-purple-400 to-purple-600"}),e.jsx("div",{className:"w-14 h-14 rounded-2xl bg-purple-500/15 flex items-center justify-center mb-5",children:e.jsx(R,{className:"w-7 h-7 text-purple-400"})}),e.jsx("h3",{className:"text-xl font-extrabold text-white mb-3",children:"Divulgue livros da vitrine"}),e.jsx("p",{className:"text-gray-400 text-base mb-6 leading-relaxed",children:"Mesmo sem ter seu próprio livro, você pode indicar obras de outros autores e ganhar comissão em cada venda gerada pelo seu link."}),e.jsx("div",{className:"space-y-3",children:[{icon:e.jsx($,{className:"w-4 h-4 text-purple-400"}),text:"Link exclusivo por livro indicado"},{icon:e.jsx(V,{className:"w-4 h-4 text-purple-400"}),text:"Comissão automática por venda"},{icon:e.jsx(F,{className:"w-4 h-4 text-purple-400"}),text:"Sem estoque, sem entrega, sem risco"}].map((a,t)=>e.jsxs("div",{className:"flex items-center gap-3 text-gray-300 text-sm",children:[a.icon," ",a.text]},t))}),e.jsx("div",{className:"mt-6",children:e.jsx(o,{href:`/login?${c}&utm_content=ganhar-afiliado`,children:e.jsxs(n,{variant:"outline",className:"w-full border-purple-500/40 text-purple-400 hover:bg-purple-500/10 hover:border-purple-400 rounded-xl font-bold",children:["Conhecer o programa ",e.jsx(d,{className:"ml-2 w-4 h-4"})]})})})]})})]})]})}),l.length>0&&e.jsxs("section",{className:"py-20 md:py-32 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#050505] via-[#06100a] to-[#050505]"}),e.jsxs("div",{className:"max-w-6xl mx-auto px-6 relative z-10",children:[e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-12",children:[e.jsx("p",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"Na vitrine hoje"}),e.jsxs("h2",{className:"text-2xl md:text-4xl font-extrabold text-white leading-tight","data-testid":"text-prova-visual-headline",children:["Livros reais."," ",e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-cyan-400",children:"Autores reais."})]}),e.jsx("p",{className:"text-gray-400 text-lg mt-4",children:"Veja o que autores como você já publicaram na vitrine da SÁBHIA."})]}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4",children:l.slice(0,12).map((a,t)=>e.jsx(s.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:t*.04},className:"group","data-testid":`card-store-book-${a.id}`,children:e.jsx(o,{href:a.slug?`/loja/livro/${a.slug}`:"/loja",children:e.jsxs("div",{className:"relative overflow-hidden rounded-xl shadow-lg hover:shadow-[0_0_30px_-10px_rgba(16,185,129,0.4)] transition-all duration-300 group-hover:-translate-y-1",children:[e.jsx("img",{src:a.book?.coverUrl??"",alt:a.book?.title??"",className:"w-full aspect-[2/3] object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
14parent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end p-2",children:e.jsx("p",{className:"text-white text-[10px] font-semibold line-clamp-2 leading-tight",children:a.book?.title})})]})})},a.id))}),e.jsx(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},className:"text-center mt-10",children:e.jsx(o,{href:"/loja",children:e.jsxs(n,{variant:"outline",size:"lg",className:"border-emerald-500/40 text-emerald-400 hover:bg-emerald-500/10 hover:border-emerald-400 rounded-xl px-8",children:[e.jsx(m,{className:"mr-2 w-4 h-4"})," Ver todos os livros"]})})})]})]}),e.jsx("section",{className:"py-20 md:py-32 bg-[#08080a] border-y border-white/5",children:e.jsx("div",{className:"max-w-5xl mx-auto px-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[e.jsxs(s.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7},children:[e.jsx("p",{className:"text-purple-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"Ainda não tem um livro?"}),e.jsxs("h2",{className:"text-2xl md:text-4xl font-extrabold text-white leading-tight mb-5","data-testid":"text-nao-tem-livro-headline",children:["A SÁBHIA também"," ",e.jsx("span",{className:"text-purple-400",children:"ajuda a criar."})]}),e.jsx("p",{className:"text-gray-400 text-lg leading-relaxed mb-8",children:"Se você tem uma ideia, um conteúdo ou uma história — a SÁBHIA escreve o livro com você usando IA. Do planejamento à publicação. Rápido e gratuito para começar."}),e.jsx("div",{className:"space-y-4",children:[{icon:e.jsx(I,{className:"w-5 h-5 text-purple-400"}),text:"Planejamento do livro com IA — gratuito"},{icon:e.jsx(S,{className:"w-5 h-5 text-purple-400"}),text:"Geração do texto completo capítulo a capítulo"},{icon:e.jsx(A,{className:"w-5 h-5 text-purple-400"}),text:"Capa profissional gerada por IA"},{icon:e.jsx(m,{className:"w-5 h-5 text-emerald-400"}),text:"Publicação direta na vitrine ao finalizar"}].map((a,t)=>e.jsxs("div",{className:"flex items-center gap-3",children:[a.icon,e.jsx("span",{className:"text-gray-300 text-base",children:a.text})]},t))}),e.jsx("div",{className:"mt-8",children:e.jsx(o,{href:`/login?${c}&utm_content=criar-livro-ia`,children:e.jsxs(n,{size:"lg",className:"bg-purple-600 hover:bg-purple-500 text-white font-bold rounded-xl px-8","data-testid":"button-criar-livro-ia",children:[e.jsx(I,{className:"mr-2 w-5 h-5"})," Criar meu livro com IA ",e.jsx(d,{className:"ml-2 w-4 h-4"})]})})})]}),e.jsxs(s.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7,delay:.2},className:"grid grid-cols-2 gap-3",children:[l.slice(4,8).map((a,t)=>e.jsx("div",{className:"group overflow-hidden rounded-xl shadow-lg hover:-translate-y-1 transition-transform duration-300",style:{animation:`float-gentle ${4+t*.8}s ease-in-out ${t*.5}s infinite`},children:e.jsx("img",{src:a.book?.coverUrl??"",alt:a.book?.title??"",className:"w-full aspect-[2/3] object-cover"})},a.id)),l.slice(4,8).length===0&&[0,1,2,3].map(a=>e.jsx("div",{className:"aspect-[2/3] bg-gradient-to-br from-purple-900/30 to-emerald-900/20 rounded-xl flex items-center justify-center",children:e.jsx(f,{className:"w-8 h-8 text-white/20"})},a))]})]})})}),e.jsx("section",{className:"py-20 md:py-32 relative overflow-hidden",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-14",children:[e.jsx("p",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"Vozes de autores"}),e.jsx("h2",{className:"text-2xl md:text-4xl font-extrabold text-white leading-tight","data-testid":"text-depoimentos-headline",children:"Quem já publicou na vitrine SÁBHIA"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:ae.map((a,t)=>e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.12},className:"bg-[#0f0f12] border border-white/10 rounded-2xl overflow-hidden relative hover:border-emerald-500/25 transition-colors group","data-testid":`card-testimonial-${t}`,children:[e.jsxs("div",{className:"relative h-24 overflow-hidden",children:[e.jsx("img",{src:a.c
14over,alt:"Capa",className:"w-full h-full object-cover object-top opacity-30 group-hover:opacity-40 transition-opacity blur-[2px] scale-110",onError:i=>{i.currentTarget.style.display="none"}}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent to-[#0f0f12]"}),e.jsxs("div",{className:"absolute bottom-3 left-4 flex items-end gap-3",children:[e.jsx("img",{src:a.cover,alt:"Livro publicado",className:"w-10 aspect-[2/3] object-cover rounded shadow-lg border border-white/20",onError:i=>{i.currentTarget.style.display="none"}}),e.jsxs("div",{children:[e.jsx("div",{className:"text-emerald-400 text-xs font-black",children:a.sales}),e.jsx("div",{className:"text-white/40 text-[9px]",children:"em royalties"})]})]}),e.jsx(D,{className:"absolute top-3 right-4 w-7 h-7 text-emerald-500/30"})]}),e.jsxs("div",{className:"p-6",children:[e.jsx("div",{className:"flex gap-0.5 mb-3",children:Array.from({length:5}).map((i,p)=>e.jsx(k,{className:"w-3.5 h-3.5 fill-amber-400 text-amber-400"},p))}),e.jsxs("p",{className:"text-gray-300 text-sm leading-relaxed mb-5 italic",children:['"',a.quote,'"']}),e.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-white/5",children:[e.jsx("img",{src:a.avatar,alt:a.name,className:"w-10 h-10 rounded-full object-cover shrink-0 border border-white/10",onError:i=>{const p=i.currentTarget;p.style.display="none"}}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-white font-bold text-sm","data-testid":`text-testimonial-name-${t}`,children:a.name}),e.jsx("p",{className:"text-gray-500 text-xs",children:a.role})]}),e.jsx("span",{className:"text-[10px] px-2.5 py-1 rounded-full bg-emerald-500/10 text-emerald-400 border border-emerald-500/20 font-bold shrink-0",children:a.tag})]})]})]},t))})]})}),e.jsx("section",{id:"faq",className:"py-20 md:py-32 bg-[#08080a] border-y border-white/5",children:e.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-14",children:[e.jsx("p",{className:"text-emerald-400 text-xs font-bold uppercase tracking-[0.3em] mb-5",children:"Perguntas frequentes"}),e.jsx("h2",{className:"text-2xl md:text-4xl font-extrabold text-white","data-testid":"text-faq-headline",children:"Dúvidas sobre a vitrine"})]}),e.jsx("div",{className:"space-y-3",children:ee.map((a,t)=>e.jsxs(s.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.05},className:"bg-[#0f0f12] border border-white/10 rounded-xl overflow-hidden hover:border-white/20 transition-colors",children:[e.jsxs("button",{onClick:()=>B(y===t?null:t),className:"w-full flex items-center justify-between p-6 text-left","data-testid":`button-faq-${t}`,children:[e.jsx("span",{className:"text-white font-semibold pr-4",children:a.q}),e.jsx(M,{className:`w-5 h-5 text-gray-400 shrink-0 transition-transform duration-300 ${y===t?"rotate-180":""}`})]}),e.jsx(z,{children:y===t&&e.jsx(s.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"overflow-hidden",children:e.jsx("p",{className:"px-6 pb-6 text-gray-400 leading-relaxed",children:a.a})})})]},t))})]})}),e.jsxs("section",{className:"py-24 md:py-36 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#050505] via-emerald-950/20 to-[#050505]"}),e.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[600px] bg-emerald-500/8 blur-[200px] rounded-full pointer-events-none"}),e.jsx("div",{className:"absolute inset-x-0 top-0 h-32 overflow-hidden opacity-10 pointer-events-none",children:e.jsx("div",{className:"flex gap-2 justify-center",children:Array.from({length:12},(a,t)=>e.jsx("img",{src:l[t]?.book?.coverUrl||`/showcase/cover${t+1}.webp`,alt:"",className:"w-14 aspect-[2/3] object-cover rounded shrink-0",onError:i=>{i.currentTarget.src=`/showcase/cover${t%12+1}.webp`}},t))})}),e.jsx("div",{className:"max-w-3xl mx-auto px-6 text-center relative z-10",children:e.jsxs(s.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-emerald-500/10 border border-emerald-500/25 mb-8",children:[e.jsxs("span",{className:"relative flex h-2.5 w-2.5",children:[e.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-75"}),e.jsx("span",{className:"relative inline-flex rounded-full h-2.5 w-2.5 bg-emerald-500"})]}),e.jsx("span",{className:"text-emerald-400 text-xs font-bold uppercase tracking-widest",children:"Publicação 100% gratuita"})]}),e.jsxs("h2",{className:"text-3xl md:text-5xl lg:text-6xl font-black text-white leading-[1.1] mb-6","data-testid":"text-final-cta-headline",children:["Seu livro está pronto."," ",e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 via-cyan-300 to-emerald-400",style:{backgroundSize:"200% auto",animation:"gradient-shift 4s ease-in-out infinite"},children:"Comece a Vender Agora!"})]}),e.jsxs("p",{className:"text-xl text-gray-400 mb-4 leading-relaxed max-w-xl mx-auto",children:["Publique na Loja da SÁBHIA em 2 cliques. Sem site, sem desenvolvedor, sem mensalidade. ",e.jsx("strong",{className:"text-white/80",children:"Grátis para sempre."})]}),e.jsx("div",{className:"flex flex-wrap items-center justify-center gap-4 mb-10",children:[{icon:e.jsx(w,{className:"w-4 h-4 text-emerald-400"}),text:"R$ 0 para publicar"},{icon:e.jsx(N,{className:"w-4 h-4 text-emerald-400"}),text:"Taxa: 9,99% + R$1/venda"},{icon:e.jsx(j,{className:"w-4 h-4 text-emerald-400"}),text:"Loja no ar em minutos"}
14].map((a,t)=>e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-gray-400",children:[a.icon," ",a.text]},t))}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[e.jsx(o,{href:`/login?${c}&utm_content=final-cta`,children:e.jsxs(n,{size:"lg",className:"h-auto py-6 px-10 text-xl font-black bg-emerald-500 hover:bg-emerald-400 text-black rounded-xl shadow-[0_0_70px_-15px_rgba(16,185,129,0.8)] transition-all hover:scale-[1.03] active:scale-[0.97]","data-testid":"button-final-cta",style:{animation:"glow-pulse 3s ease-in-out infinite"},children:["Comece a Vender Agora! ",e.jsx(d,{className:"ml-2 w-5 h-5 shrink-0"})]})}),e.jsx(o,{href:"/loja",children:e.jsxs(n,{variant:"ghost",size:"lg",className:"text-gray-400 hover:text-white gap-2",children:[e.jsx(m,{className:"w-4 h-4"})," Ver a vitrine primeiro"]})})]}),e.jsxs("p",{className:"text-gray-600 text-xs mt-6 flex items-center justify-center gap-1.5",children:[e.jsx(g,{className:"w-3.5 h-3.5 text-emerald-700"}),"Ainda não tem um livro?"," ",e.jsx(o,{href:`/login?${c}&utm_content=criar-livro-final`,className:"text-purple-500 hover:text-purple-400 underline underline-offset-2",children:"Criar um livro com IA, de graça"})]})]})})]}),e.jsxs("footer",{className:"relative bg-[#080808] pt-14 pb-8",children:[e.jsx("div",{className:"absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-emerald-500/40 to-transparent"}),e.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10 mb-14",children:[e.jsxs("div",{className:"lg:col-span-1",children:[e.jsx("img",{src:"/logo.webp",alt:"Sábhia Books",className:"h-7 w-auto object-contain mb-4"}),e.jsx("p",{className:"text-emerald-400 text-sm font-medium mb-3",children:"Ecossistema completo para autores — você publica, você ganha."}),e.jsx("p",{className:"text-gray-500 text-sm leading-relaxed",children:"A plataforma brasileira que facilita a vida de quem escreveu um livro e quer colocá-lo no mundo."})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-white font-bold text-sm uppercase tracking-widest mb-5",children:"Vitrine"}),e.jsxs("ul",{className:"space-y-3",children:[e.jsx("li",{children:e.jsx(o,{href:"/loja",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"Ver livros publicados"})}),e.jsx("li",{children:e.jsx("a",{href:"#como-funciona",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"Como publicar"})}),e.jsx("li",{children:e.jsx("a",{href:"#faq",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"Dúvidas frequentes"})})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-white font-bold text-sm uppercase tracking-widest mb-5",children:"Legal"}),e.jsxs("ul",{className:"space-y-3",children:[e.jsx("li",{children:e.jsx(o,{href:"/termos",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"Termos de Uso"})}),e.jsx("li",{children:e.jsx(o,{href:"/privacidade",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"Privacidade"})}),e.jsx("li",{children:e.jsx(o,{href:"/suporte",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"Suporte"})})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-white font-bold text-sm uppercase tracking-widest mb-5",children:"Contato"}),e.jsxs("ul",{className:"space-y-3",children:[e.jsx("li",{children:e.jsxs("a",{href:"mailto:[email protected]",className:"text-gray-400 hover:text-white transition-colors text-sm flex items-center gap-2",children:[e.jsx(G,{className:"w-4 h-4"})," [email protected]"]})}),e.jsxs("li",{className:"flex items-center gap-4 pt-2",children:[e.jsx("a",{href:"https://instagram.com/sabhiabooks",target:"_blank",rel:"noopener noreferrer",className:"text-gray-500 hover:text-white transition-colors","aria-label":"Instagram",children:e.jsx(Q,{className:"w-5 h-5"})}),e.jsx("a",{href:"https://youtube.com/@sabhiabooks",target:"_blank",rel:"noopener noreferrer",className:"text-gray-500 hover:text-white transition-colors","aria-label":"YouTube",children:e.jsx(Z,{className:"w-5 h-5"})}),e.jsx("a",{href:"https://linkedin.com/company/sabhiabooks",target:"_blank",rel:"noopener noreferrer",className:"text-gray-500 hover:text-white transition-colors","aria-label":"LinkedIn",children:e.jsx(J,{className:"w-5 h-5"})})]})]})]})]}),e.jsxs("div",{className:"border-t border-white/5 pt-7 flex flex-col md:flex-row items-center justify-between gap-4",children:[e.jsx("p",{className:"text-gray-600 text-sm",children:"© 2026 SÁBHIA BOOKS. Todos os direitos reservados."}),e.jsxs("p",{className:"text-gray-600 text-sm flex items-center gap-1.5",children:["Feito com ",e.jsx(K,{className:"w-3.5 h-3.5 text-emerald-500 fill-emerald-500"})," no Brasil ",e.jsx(W,{className:"w-3.5 h-3.5 text-emerald-500 ml-1"})]})]})]})]})]})}export{be as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.