var e=(e,a,t)=>new Promise((s,r)=>{var o=e=>{try{l(t.next(e))}catch(a){r(a)}},n=e=>{try{l(t.throw(e))}catch(a){r(a)}},l=e=>e.done?s(e.value):Promise.resolve(e.value).then(o,n);l((t=t.apply(e,a)).next())});import{r as a,j as t,L as s,a as r,g as o}from"./vendor-uppOmrO1-1766272187855.js";import{i as n,N as l,B as i,C as c,A as d,F as m}from"./index-C1K5GqkH-1766272187855.js";import{u as p}from"./useBlog-CC8seH2E-1766272187855.js";import{a9 as x,t as u,C as h,l as g,A as b,p as f,H as j,aa as y,ab as v,b as w}from"./icons-B9KW_Ipx-1766272187855.js";const N=({content:e})=>{const s=a.useRef(null);return a.useEffect(()=>{if(s.current){let a=s.current.shadowRoot;a?a.innerHTML="":a=s.current.attachShadow({mode:"open"});const t=document.createElement("div");t.className="blog-post-content",t.innerHTML=e;const r=document.createElement("style");r.textContent="\n .blog-post-content {\n all: initial;\n display: block;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;\n line-height: 1.7;\n color: #2d3748;\n background: transparent;\n max-width: 100%;\n }\n\n .blog-post-content * {\n max-width: 100%;\n box-sizing: border-box;\n }\n\n /* Resetar estilos que possam vazar */\n .blog-post-content nav,\n .blog-post-content .top-bar,\n .blog-post-content header,\n .blog-post-content footer {\n all: revert;\n position: relative !important;\n z-index: 1 !important;\n }\n\n /* Permitir que estilos inline das tags <style> funcionem apenas dentro do shadow DOM */\n .blog-post-content table {\n border-collapse: collapse;\n width: 100%;\n }\n\n .blog-post-content img {\n max-width: 100%;\n height: auto;\n }\n\n /* Garantir que links externos abram em nova aba */\n .blog-post-content a {\n cursor: pointer;\n }\n ",a.appendChild(r),a.appendChild(t);t.querySelectorAll("style").forEach(e=>{const s=e.cloneNode(!0);a.insertBefore(s,t)});t.querySelectorAll("a").forEach(e=>{const a=e.getAttribute("href");a&&(a.startsWith("http")||a.startsWith("tel:")||a.startsWith("mailto:"))&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer"))})}},[e]),t.jsx("div",{ref:s,className:"isolated-blog-content",style:{width:"100%",minHeight:"200px",isolation:"isolate",contain:"layout style paint"}})},_=({title:e,description:t,author:s="WebPlan Saúde",publishDate:r,modifiedDate:o,image:n,keywords:l,canonicalUrl:i})=>(a.useEffect(()=>(document.title=e,S("name","description",t),l&&S("name","keywords",l),S("name","author",s),S("name","robots","index, follow, max-image-preview:large"),k(i),S("property","og:type","article"),S("property","og:title",e),S("property","og:description",t),S("property","og:url",i),S("property","og:site_name","WebPlan Saúde Blog"),n&&(S("property","og:image",n),S("property","og:image:width","1200"),S("property","og:image:height","630")),r&&S("property","article:published_time",r),o&&S("property","article:modified_time",o),S("name","twitter:card","summary_large_image"),S("name","twitter:title",e),S("name","twitter:description",t),n&&S("name","twitter:image",n),C({"@context":"https://schema.org","@type":"BlogPosting",headline:e,description:t,author:{"@type":"Organization",name:s},publisher:{"@type":"Organization",name:"WebPlan Saúde",logo:{"@type":"ImageObject",url:"https://webplansaude.com/Logotipo.png"}},datePublished:r,dateModified:o||r,image:n,mainEntityOfPage:{"@type":"WebPage","@id":i}}),()=>{const e=document.querySelector("script[data-blog-structured-data]");e&&e.remove()}),[e,t,s,r,o,n,l,i]),null),S=(e,a,t)=>{let s=document.querySelector("meta[".concat(e,'="').concat(a,'"]'));s?s.setAttribute("content",t):(s=document.createElement("meta"),s.setAttribute(e,a),s.setAttribute("content",t),document.head.appendChild(s))},k=e=>{let a=document.querySelector('link[rel="canonical"]');a?a.href=e:(a=document.createElement("link"),a.rel="canonical",a.href=e,document.head.appendChild(a))},C=e=>{const a=document.querySelector("script[data-blog-structured-data]");a&&a.remove();const t=document.createElement("script");t.type="application/ld+json",t.setAttribute("data-blog-structured-data","true"),t.textContent=JSON.stringify(e),document.head.appendChild(t)},P=({currentPostId:r})=>{const[o,l]=a.useState([]),[i,c]=a.useState(0),[d,m]=a.useState(!0);a.useEffect(()=>{p()},[r]);const p=()=>e(void 0,null,function*(){try{m(!0);let e=n.from("blog_posts").select("*").eq("status","published").neq("id",r).order("created_at",{ascending:!1}).limit(6);const{data:a,error:t}=yield e;if(t)return void l(b());a&&a.length>0?l(a):l(b())}catch(e){l(b())}finally{m(!1)}}),b=()=>[{id:"mock-1",title:"Plano de Saúde Empresarial: Guia Completo 2025",slug:"plano-saude-empresarial-guia-completo",excerpt:"Descubra tudo sobre planos de saúde empresariais: tipos, vantagens, custos e como escolher o melhor para sua empresa.",content:"",featured_image:"https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=400",created_at:(new Date).toISOString(),updated_at:(new Date).toISOString(),status:"published",site_id:"webplan",featured:!1,tags:null,views:0,likes:0},{id:"mock-2",title:"Como Economizar no Plano de Saúde MEI",slug:"economizar-plano-saude-mei",excerpt:"Estratégias práticas para MEIs reduzirem custos com plano de saúde sem perder qualidade no atendimento.",content:"",featured_image:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=400",created_at:(new Date).toISOString(),updated_at:(new Date).toISOString(),status:"published",site_id:"webplan",featured:!1,tags:null,views:0,likes:0},{id:"mock-3",title:"Planos de Saúde com Cobertura Einstein",slug:"planos-cobertura-einstein",excerpt:"Conheça quais planos de saúde oferecem atendimento no Hospital Albert Einstein e compare preços.",content:"",featured_image:"https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=400",created_at:(new Date).toISOString(),updated_at:(new Date).toISOString(),status:"published",site_id:"webplan",featured:!1,tags:null,views:0,likes:0},{id:"mock-4",title:"Carência em Planos de Saúde: Entenda os Prazos",slug:"carencia-planos-saude",excerpt:"Guia completo sobre períodos de carência em planos de saúde: o que é, como funciona e exceções.",content:"",featured_image:"https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=400",created_at:(new Date).toISOString(),updated_at:(new Date).toISOString(),status:"published",site_id:"webplan",featured:!1,tags:null,views:0,likes:0},{id:"mock-5",title:"Plano de Saúde para Idosos: Melhores Opções",slug:"plano-saude-idosos",excerpt:"Compare planos de saúde para idosos acima de 60 anos com melhores coberturas e preços acessíveis.",content:"",featured_image:"https://images.unsplash.com/photo-1581579438747-1dc8d17bbce4?w=400",created_at:(new Date).toISOString(),updated_at:(new Date).toISOString(),status:"published",site_id:"webplan",featured:!1,tags:null,views:0,likes:0},{id:"mock-6",title:"Reembolso em Planos de Saúde: Como Funciona",slug:"reembolso-planos-saude",excerpt:"Aprenda como solicitar e receber reembolso de despesas médicas fora da rede credenciada.",content:"",featured_image:"https://images.unsplash.com/photo-1586015555751-63bb77f4322a?w=400",created_at:(new Date).toISOString(),updated_at:(new Date).toISOString(),status:"published",site_id:"webplan",featured:!1,tags:null,views:0,likes:0}];return d||0===o.length?null:t.jsx("section",{className:"bg-gradient-to-br from-gray-50 to-blue-50 py-16",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Postagens Relacionadas"}),t.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Continue explorando conteúdos relevantes sobre planos de saúde"})]}),t.jsxs("div",{className:"relative",children:[t.jsx("button",{onClick:()=>{c(e=>(e-1+Math.max(1,o.length-2))%Math.max(1,o.length-2))},className:"hidden md:flex absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 z-10 bg-white rounded-full p-3 shadow-lg hover:bg-gray-50 transition-all hover:scale-110","aria-label":"Post anterior",children:t.jsx(x,{className:"w-6 h-6 text-gray-700"})}),t.jsx("button",{onClick:()=>{c(e=>(e+1)%Math.max(1,o.length-2))},className:"hidden md:flex absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 z-10 bg-white rounded-full p-3 shadow-lg hover:bg-gray-50 transition-all hover:scale-110","aria-label":"Próximo post",children:t.jsx(u,{className:"w-6 h-6 text-gray-700"})}),t.jsx("div",{className:"overflow-hidden",children:t.jsx("div",{className:"flex transition-transform duration-500 ease-out gap-6",style:{transform:"translateX(-".concat(i*(100/3),"%)")},children:o.map(e=>{return t.jsx(s,{to:"/blog/".concat(e.slug),className:"flex-none w-full md:w-[calc(33.333%-16px)] group",children:t.jsxs("article",{className:"bg-white rounded-2xl overflow-hidden shadow-md hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2 h-full",children:[t.jsxs("div",{className:"relative h-48 overflow-hidden bg-gradient-to-br from-blue-100 to-cyan-100",children:[e.featured_image?t.jsx("img",{src:e.featured_image,alt:e.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500",onError:e=>{e.currentTarget.style.display="none"}}):t.jsx("div",{className:"w-full h-full flex items-center justify-center",children:t.jsx("svg",{className:"w-16 h-16 text-blue-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"})})}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}),t.jsxs("div",{className:"p-6",children:[t.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-500 mb-3",children:[t.jsxs("div",{className:"flex items-center space-x-1",children:[t.jsx(h,{className:"w-4 h-4"}),t.jsx("span",{children:(a=e.created_at,new Date(a).toLocaleDateString("pt-BR",{day:"2-digit",month:"short",year:"numeric"}))})]}),t.jsxs("div",{className:"flex items-center space-x-1",children:[t.jsx(g,{className:"w-4 h-4"}),t.jsx("span",{children:"5 min"})]})]}),t.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3 line-clamp-2 group-hover:text-blue-600 transition-colors",children:e.title}),t.jsx("p",{className:"text-gray-600 line-clamp-3 mb-4",children:e.excerpt||"Leia mais sobre este assunto..."}),t.jsxs("div",{className:"flex items-center text-blue-600 font-semibold group-hover:text-blue-700",children:[t.jsx("span",{children:"Ler artigo completo"}),t.jsx(u,{className:"w-5 h-5 ml-1 group-hover:translate-x-1 transition-transform"})]})]})]})},e.id);var a})})}),t.jsx("div",{className:"flex justify-center mt-8 space-x-2 md:hidden",children:Array.from({length:Math.max(1,o.length-2)}).map((e,a)=>t.jsx("button",{onClick:()=>c(a),className:"w-2 h-2 rounded-full transition-all ".concat(a===i?"bg-blue-600 w-8":"bg-gray-300 hover:bg-gray-400"),"aria-label":"Ir para slide ".concat(a+1)},a))})]}),t.jsx("div",{className:"text-center mt-12",children:t.jsxs(s,{to:"/blog",className:"inline-flex items-center px-8 py-4 bg-gradient-to-r from-blue-600 to-cyan-600 text-white font-bold rounded-xl hover:from-blue-700 hover:to-cyan-700 transition-all transform hover:scale-105 shadow-lg",children:[t.jsx("span",{children:"Ver Todas as Postagens"}),t.jsx(u,{className:"w-5 h-5 ml-2"})]})})]})})},E=()=>{var n;const{slug:x}=r(),u=o(),[S,k]=a.useState(null),[C,E]=a.useState(!1),[A,q]=a.useState(!1),{fetchPost:D,loading:O,error:I}=p();a.useEffect(()=>(document.body.style.overflowY="hidden",()=>{document.body.style.overflowY="unset"}),[]),a.useEffect(()=>{x&&B()},[x]);const B=()=>e(void 0,null,function*(){if(x)try{const e=yield D(x);if(e)k(e),document.title="".concat(e.title," | WebPlan Blog");else{const e=F(x);if(!e)return void setTimeout(()=>u("/blog"),3e3);k(e),document.title="".concat(e.title," | WebPlan Blog")}}catch(e){const a=F(x);a?k(a):setTimeout(()=>u("/blog"),3e3)}}),F=e=>({"como-escolher-plano-saude-empresarial":{id:"1",title:"Como Escolher o Melhor Plano de Saúde Empresarial",slug:"como-escolher-plano-saude-empresarial",content:"\n <p>Escolher o plano de saúde ideal para sua empresa é uma decisão estratégica que impacta diretamente no bem-estar dos funcionários e na saúde financeira do negócio.</p>\n \n <h2>Fatores Essenciais na Escolha</h2>\n <p>Ao avaliar as opções disponíveis no mercado, considere:</p>\n \n <ul>\n <li><strong>Cobertura geográfica:</strong> Verifique se o plano atende todas as regiões onde seus funcionários residem</li>\n <li><strong>Rede credenciada:</strong> Analise a qualidade e quantidade de hospitais e clínicas</li>\n <li><strong>Tipos de acomodação:</strong> Enfermaria, apartamento ou ambos</li>\n <li><strong>Carências:</strong> Prazos para utilização de cada tipo de serviço</li>\n </ul>\n \n <h2>Custos e Benefícios</h2>\n <p>O custo-benefício deve ser avaliado considerando não apenas o valor das mensalidades, mas também:</p>\n \n <ul>\n <li>Coparticipação em consultas e exames</li>\n <li>Franquia anual</li>\n <li>Reembolso para procedimentos fora da rede</li>\n <li>Programas de medicina preventiva</li>\n </ul>\n \n <h2>Dicas Práticas</h2>\n <p>Para fazer a melhor escolha:</p>\n \n <ol>\n <li>Faça uma pesquisa de necessidades com os funcionários</li>\n <li>Compare pelo menos 3 operadoras diferentes</li>\n <li>Negocie condições especiais para grupos maiores</li>\n <li>Considere planos modulares para diferentes perfis</li>\n </ol>\n \n <p>Lembre-se: o plano de saúde mais barato nem sempre é o mais econômico. Avalie o valor agregado e a satisfação dos beneficiários.</p>\n ",excerpt:"Guia completo para empresários que buscam o melhor custo-benefício para seus funcionários.",author_id:"equipe-webplan",site_id:"390cbdab-ad64-4033-b5ef-6ba72c5336a5",status:"published",featured:!1,tags:["Empresarial","Custo-benefício","RH"],reading_time:5,views:342,likes:15,published_at:"2024-09-10T00:00:00Z",created_at:"2024-09-10T00:00:00Z",updated_at:"2024-09-10T00:00:00Z"}}[e]||null),T=a=>e(void 0,null,function*(){var e;a.preventDefault();const t=new FormData(a.currentTarget),s=(t.get("cupom")||"").trim().toUpperCase(),r="on"===t.get("tem_cnpj"),o="CUPOM20%"===s&&r,n={name:t.get("nome"),email:t.get("email"),phone:t.get("telefone"),message:"Tipo de plano: ".concat(t.get("tipo_plano")||"Não especificado").concat(o?" - BLACK FRIDAY 20% OFF":""),operadora:"main",subject:o?"Cotação via Blog WebPlan - BLACK FRIDAY 20% OFF":"Cotação via Blog WebPlan",idade:t.get("idades")||"",tem_cnpj:r,email_consent:"on"===t.get("email_consent"),black_friday:o,cupom:s||null};try{const t=yield null==(e=window.WebplanForms)?void 0:e.enviarLead(n);(null==t?void 0:t.success)?(q(!0),a.target.reset()):alert("O envio não foi concluído. Tente novamente ou entre em contato via WhatsApp.")}catch(l){alert("Erro inesperado. Tente novamente ou entre em contato via WhatsApp.")}});return O?t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(l,{}),t.jsx("div",{className:"bg-white border-b border-gray-200 mt-28",children:t.jsx("div",{className:"container mx-auto px-4 py-4",children:t.jsx(i,{items:[{label:"Blog",href:"/blog"},{label:"Carregando...",href:"#"}]})})}),t.jsx("div",{className:"flex items-center justify-center pt-16",style:{minHeight:"calc(100vh - 7rem)"},children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto mb-4"}),t.jsx("p",{className:"text-gray-600",children:"Carregando artigo..."})]})})]}):I||!S?t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(l,{}),t.jsx("div",{className:"bg-white border-b border-gray-200 mt-28",children:t.jsx("div",{className:"container mx-auto px-4 py-4",children:t.jsx(i,{items:[{label:"Blog",href:"/blog"},{label:"Artigo não encontrado",href:"#"}]})})}),t.jsx("div",{className:"flex items-center justify-center pt-16",style:{minHeight:"calc(100vh - 7rem)"},children:t.jsxs("div",{className:"text-center max-w-md mx-auto p-6",children:[t.jsx("div",{className:"text-6xl mb-4",children:"📄"}),t.jsx("h1",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Artigo não encontrado"}),t.jsx("p",{className:"text-gray-600 mb-6",children:"O artigo não foi encontrado."}),t.jsxs(s,{to:"/blog",className:"inline-flex items-center space-x-2 bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition-colors",children:[t.jsx(b,{className:"w-4 h-4"}),t.jsx("span",{children:"Voltar ao Blog"})]})]})})]}):t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(_,{title:"".concat(S.title," | Blog WebPlan"),description:S.excerpt||S.title,author:"Equipe WebPlan",publishDate:S.published_at,modifiedDate:S.updated_at,image:S.featured_image,keywords:null==(n=S.tags)?void 0:n.join(", "),canonicalUrl:"https://webplansaude.com/blog/".concat(S.slug)}),t.jsx(l,{}),t.jsx("div",{className:"bg-white border-b border-gray-200 mt-28",children:t.jsx("div",{className:"container mx-auto px-4 py-4",children:t.jsx(i,{items:[{label:"Blog",href:"/blog"},{label:S.title,href:"#"}]})})}),t.jsx("div",{className:"bg-gradient-to-br from-gray-50 to-gray-100 py-16",style:{opacity:1,transform:"none",paddingTop:"20px"},children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs(s,{to:"/blog",className:"inline-flex items-center space-x-2 text-blue-600 hover:text-blue-700 font-medium mb-8 transition-colors",children:[t.jsx(b,{className:"w-4 h-4"}),t.jsx("span",{children:"Voltar ao Blog"})]}),t.jsxs("div",{className:"mb-8",children:[t.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6 leading-tight",children:S.title}),S.excerpt&&t.jsx("p",{className:"text-xl text-gray-600 mb-8 leading-relaxed",children:S.excerpt}),t.jsxs("div",{className:"flex flex-wrap items-center gap-6 text-gray-500",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(f,{className:"w-5 h-5"}),t.jsx("span",{className:"font-medium",children:"Equipe WebPlan"})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(h,{className:"w-5 h-5"}),t.jsx("span",{children:(W=S.published_at||S.created_at,new Date(W).toLocaleDateString("pt-BR",{year:"numeric",month:"long",day:"numeric"}))})]}),S.reading_time&&t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(g,{className:"w-5 h-5"}),t.jsxs("span",{children:[S.reading_time," min"]})]})]})]}),S.featured_image&&t.jsx("div",{className:"mb-8 rounded-2xl overflow-hidden shadow-xl",children:t.jsx("img",{src:S.featured_image,alt:S.title,className:"w-full h-auto object-cover",style:{maxHeight:"500px",display:"block"},onLoad:()=>{},onError:e=>{e.currentTarget.style.display="none"}})}),t.jsxs("div",{className:"flex items-center space-x-4",children:[t.jsxs("button",{onClick:()=>{E(!C)},className:"flex items-center space-x-2 px-4 py-2 rounded-lg font-medium transition-all ".concat(C?"bg-red-100 text-red-600 hover:bg-red-200":"bg-gray-100 text-gray-600 hover:bg-gray-200"),children:[t.jsx(j,{className:"w-5 h-5 ".concat(C?"fill-current":"")}),t.jsx("span",{children:S.likes+(C?1:0)})]}),t.jsxs("button",{onClick:()=>{navigator.share?navigator.share({title:null==S?void 0:S.title,text:null==S?void 0:S.excerpt,url:window.location.href}):(navigator.clipboard.writeText(window.location.href),alert("Link copiado!"))},className:"flex items-center space-x-2 px-4 py-2 rounded-lg font-medium bg-gray-100 text-gray-600 hover:bg-gray-200 transition-all",children:[t.jsx(y,{className:"w-5 h-5"}),t.jsx("span",{children:"Compartilhar"})]})]}),t.jsx(c,{onSubmit:T})]})}),t.jsx(d,{className:"py-16",children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsx(N,{content:S.content}),S.tags&&S.tags.length>0&&t.jsxs("div",{className:"mt-12 pt-8 border-t border-gray-200",children:[t.jsxs("div",{className:"flex items-center space-x-2 mb-4",children:[t.jsx(v,{className:"w-5 h-5 text-gray-400"}),t.jsx("span",{className:"text-gray-600 font-medium",children:"Tags:"})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:S.tags.map((e,a)=>t.jsx("span",{className:"px-3 py-1 bg-gray-100 text-gray-600 rounded-full text-sm",children:e},a))})]}),t.jsxs("div",{className:"mt-16 bg-gradient-to-br from-blue-50 via-indigo-50 to-purple-50 rounded-3xl p-8 relative overflow-hidden",children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsx("h3",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Cotação de Plano de Saúde"}),t.jsx("p",{className:"text-gray-600",children:"Compare preços e receba sua cotação personalizada"})]}),t.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 max-w-5xl mx-auto",children:[t.jsx("div",{className:"bg-white p-6 rounded-2xl shadow-lg",children:t.jsxs("form",{className:"space-y-4",onSubmit:T,children:[t.jsxs("div",{children:[t.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Nome completo"}),t.jsx("input",{type:"text",name:"nome",required:!0,className:"w-full px-4 py-3 bg-gray-50 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all text-gray-800 placeholder-gray-500",placeholder:"Seu nome completo"})]}),t.jsxs("div",{children:[t.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"E-mail"}),t.jsx("input",{type:"email",name:"email",required:!0,className:"w-full px-4 py-3 bg-gray-50 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all text-gray-800 placeholder-gray-500",placeholder:"seu@email.com"})]}),t.jsxs("div",{children:[t.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Telefone"}),t.jsx("input",{type:"tel",name:"telefone",required:!0,className:"w-full px-4 py-3 bg-gray-50 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all text-gray-800 placeholder-gray-500",placeholder:"(11) 99999-9999"})]}),t.jsxs("div",{children:[t.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Tipo de plano"}),t.jsxs("select",{name:"tipo_plano",required:!0,className:"w-full px-4 py-3 bg-gray-50 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all text-gray-800",children:[t.jsx("option",{value:"",children:"Selecione o tipo"}),t.jsx("option",{value:"Individual/Familiar",children:"Individual/Familiar"}),t.jsx("option",{value:"Empresarial",children:"Empresarial"}),t.jsx("option",{value:"Por Adesão",children:"Por Adesão"})]})]}),t.jsxs("div",{children:[t.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Idades dos interessados"}),t.jsx("input",{type:"text",name:"idades",required:!0,className:"w-full px-4 py-3 bg-gray-50 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all text-gray-800 placeholder-gray-500",placeholder:"Ex: 35, 32, 8, 5"})]}),t.jsxs("div",{className:"flex items-center space-x-3",children:[t.jsx("input",{type:"checkbox",name:"tem_cnpj",id:"tem_cnpj_blog",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500"}),t.jsx("label",{htmlFor:"tem_cnpj_blog",className:"text-sm font-semibold text-gray-700",children:"Possui CNPJ (Pessoa Jurídica)"})]}),t.jsxs("div",{className:"flex items-start space-x-3",children:[t.jsx("input",{type:"checkbox",name:"email_consent",id:"email_consent_blog",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 mt-0.5"}),t.jsx("label",{htmlFor:"email_consent_blog",className:"text-sm text-gray-700",children:"Aceito receber comunicações por email"})]}),t.jsx("button",{type:"submit",className:"w-full bg-gradient-to-r from-blue-500 to-cyan-500 text-white py-4 rounded-xl font-bold text-lg hover:from-blue-600 hover:to-cyan-600 transition-all transform hover:scale-[1.02] shadow-lg",children:"✨ Enviar Cotação"})]})}),t.jsxs("div",{className:"bg-gradient-to-br from-green-50 to-emerald-50 p-6 rounded-2xl border border-green-200",children:[t.jsxs("div",{className:"text-center mb-6",children:[t.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-green-500 to-emerald-500 rounded-2xl mx-auto mb-4 flex items-center justify-center shadow-lg",children:t.jsx("svg",{className:"w-8 h-8 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.885 3.488"})})}),t.jsx("h3",{className:"text-2xl font-bold text-gray-800 mb-2",children:"WhatsApp Direto"}),t.jsx("p",{className:"text-gray-600",children:"Atendimento imediato"})]}),t.jsxs("div",{className:"space-y-3 mb-6",children:[t.jsxs("div",{className:"flex items-center space-x-3 text-gray-700",children:[t.jsx(w,{className:"w-5 h-5 text-green-600 flex-shrink-0"}),t.jsx("span",{children:"Resposta em até 5 minutos"})]}),t.jsxs("div",{className:"flex items-center space-x-3 text-gray-700",children:[t.jsx(w,{className:"w-5 h-5 text-green-600 flex-shrink-0"}),t.jsx("span",{children:"Atendimento humanizado"})]}),t.jsxs("div",{className:"flex items-center space-x-3 text-gray-700",children:[t.jsx(w,{className:"w-5 h-5 text-green-600 flex-shrink-0"}),t.jsx("span",{children:"Cotação em tempo real"})]})]}),t.jsx("a",{href:"https://wa.me/5511959305175?text=Ol%C3%A1!%20Gostaria%20de%20fazer%20uma%20cotacao%20de%20plano%20de%20sa%C3%BAde.%20Podem%20me%20ajudar%3F",target:"_blank",rel:"noopener noreferrer",className:"w-full bg-gradient-to-r from-green-500 to-emerald-500 text-white py-4 rounded-xl font-bold text-lg hover:from-green-600 hover:to-emerald-600 transition-all transform hover:scale-[1.02] shadow-lg flex items-center justify-center space-x-2",children:t.jsx("span",{children:"Falar no WhatsApp"})}),t.jsx("div",{className:"text-center mt-4",children:t.jsxs("div",{className:"inline-flex items-center space-x-2 text-green-600 text-sm",children:[t.jsx("div",{className:"w-2 h-2 bg-green-500 rounded-full animate-pulse"}),t.jsx("span",{children:"Online agora"})]})})]})]})]})]})}),A&&t.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",children:t.jsx("div",{className:"bg-white rounded-2xl p-8 max-w-md w-full shadow-2xl",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:t.jsx(w,{className:"w-8 h-8 text-green-600"})}),t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Obrigado!"}),t.jsx("p",{className:"text-gray-600 mb-6",children:"Recebemos sua solicitação e em breve entraremos em contato."}),t.jsx("button",{onClick:()=>q(!1),className:"w-full bg-blue-600 text-white py-3 rounded-xl font-semibold hover:bg-blue-700 transition-colors",children:"Fechar"})]})})}),S&&t.jsx(P,{currentPostId:S.id,currentPostSlug:S.slug,category:S.category,tags:S.tags}),t.jsx(m,{})]});var W};export{E as BlogPostPage,E as default};