var e=Object.defineProperty,a=Object.defineProperties,r=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,i=(a,r,t)=>r in a?e(a,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[r]=t;import{j as l,L as n,r as c}from"./vendor-uppOmrO1-1766272187855.js";import{v as d,S as p,a7 as m,a as x,H as h,U as u,l as f}from"./icons-B9KW_Ipx-1766272187855.js";import{a as g}from"./analytics-Bt5l6fGM-1766272187855.js";const j=({currentPath:e})=>{const a=[{title:"Amil",path:"/planos-de-saude-amil",icon:l.jsx(p,{className:"w-6 h-6"}),description:"Maior rede credenciada do Brasil",differential:"Rede Premium"},{title:"Alice",path:"/planos-de-saude-alice",icon:l.jsx(m,{className:"w-6 h-6"}),description:"Plano de saúde digital com telemedicina 24h",differential:"Digital"},{title:"Porto Seguro",path:"/planos-de-saude-porto-seguro",icon:l.jsx(x,{className:"w-6 h-6"}),description:"Tradição e qualidade com nota ANS 0.8+",differential:"Qualidade"},{title:"SulAmérica",path:"/planos-de-saude-sulamerica",icon:l.jsx(h,{className:"w-6 h-6"}),description:"Excelente custo-benefício e rede robusta",differential:"Custo-Benefício"},{title:"NotreDame Intermédica",path:"/planos-de-saude-notredame",icon:l.jsx(u,{className:"w-6 h-6"}),description:"Hospitais próprios e rede verticalizada",differential:"Hospitais Próprios"},{title:"MedSênior",path:"/planos-de-saude-medsenior",icon:l.jsx(f,{className:"w-6 h-6"}),description:"Especialista em terceira idade 60+",differential:"Terceira Idade"}].filter(a=>a.path!==e);return l.jsx("section",{className:"bg-gradient-to-br from-blue-50 to-purple-50 py-16",children:l.jsx("div",{className:"container mx-auto px-6 md:px-8 lg:px-12",children:l.jsxs("div",{className:"max-w-7xl mx-auto",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-800 mb-4",children:"Conheça Outras Operadoras"}),l.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"Compare planos de diferentes operadoras e encontre a melhor opção para você e sua família. Todas com cobertura ANS completa."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:a.map((e,a)=>l.jsxs(n,{to:e.path,className:"group bg-white rounded-2xl p-6 shadow-lg hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2 border border-gray-100 hover:border-purple-300",children:[l.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-purple-500 to-blue-500 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform",children:l.jsx("div",{className:"text-white",children:e.icon})}),l.jsxs("div",{className:"mb-4",children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("h3",{className:"text-xl font-bold text-gray-800 group-hover:text-purple-600 transition-colors",children:e.title}),l.jsx("span",{className:"text-xs font-semibold text-purple-500 bg-purple-100 px-2 py-1 rounded-full",children:e.differential})]}),l.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:e.description})]}),l.jsxs("div",{className:"flex items-center text-purple-600 font-semibold group-hover:text-blue-500 transition-colors",children:[l.jsx("span",{className:"text-sm",children:"Ver Planos"}),l.jsx(d,{className:"w-4 h-4 ml-2 group-hover:translate-x-2 transition-transform"})]})]},a))}),l.jsx("div",{className:"mt-12 text-center",children:l.jsxs("div",{className:"inline-block bg-white rounded-2xl p-8 shadow-lg border border-gray-100",children:[l.jsx("h3",{className:"text-xl font-bold text-gray-800 mb-2",children:"Precisa de ajuda para escolher?"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"Nossos consultores especializados podem te ajudar a comparar planos e encontrar a melhor opção."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[l.jsxs("a",{href:"https://wa.me/5511959305175?text=Olá! Gostaria de comparar planos de saúde de diferentes operadoras.",target:"_blank",rel:"noopener noreferrer",className:"bg-gradient-to-r from-green-500 to-green-600 text-white px-6 py-3 rounded-xl font-semibold hover:from-green-600 hover:to-green-700 transition-all duration-300 flex items-center justify-center space-x-2 shadow-lg hover:shadow-xl",children:[l.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:l.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 00-3.48-8.413Z"})}),l.jsx("span",{children:"Falar com Consultor"})]}),l.jsxs("a",{href:"tel:+551141165378",className:"bg-gradient-to-r from-purple-500 to-purple-600 text-white px-6 py-3 rounded-xl font-semibold hover:from-purple-600 hover:to-purple-700 transition-all duration-300 flex items-center justify-center space-x-2 shadow-lg hover:shadow-xl",children:[l.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),l.jsx("span",{children:"(11) 4116-5378"})]})]})]})})]})})})},b=({operadora:e,pageType:l})=>{const[n,d]=c.useState(!1),[p,m]=c.useState(!1),[x,h]=c.useState(null);return{submitLead:n=>{return c=void 0,p=null,x=function*(){d(!0),h(null);try{let d;if(n instanceof FormData?d={name:n.get("nome")||n.get("name"),email:n.get("email"),phone:n.get("telefone")||n.get("phone"),message:"Interesse em planos ".concat(e," - ").concat(l," - ").concat(n.get("tipo_plano")||"Não especificado"),operadora:e.toLowerCase(),subject:"Cotação ".concat(e," - ").concat(l),idade:n.get("idades")||n.get("idade")||"",tem_cnpj:"on"===n.get("tem_cnpj")}:(c=((e,a)=>{for(var r in a||(a={}))s.call(a,r)&&i(e,r,a[r]);if(t)for(var r of t(a))o.call(a,r)&&i(e,r,a[r]);return e})({},n),p={operadora:n.operadora||e.toLowerCase(),subject:n.subject||"Cotação ".concat(e," - ").concat(l)},d=a(c,r(p))),"undefined"!=typeof window&&window.WebplanForms){const a=yield window.WebplanForms.enviarLead(d);if(a.success)return g(e.toLowerCase(),{operadora:d.operadora,tem_cnpj:d.tem_cnpj,idade:d.idade,pageType:l}),m(!0),{success:!0,data:d};throw new Error(a.error||"Erro ao enviar formulário")}return yield new Promise(e=>setTimeout(e,1e3)),g(e.toLowerCase(),{operadora:d.operadora,tem_cnpj:d.tem_cnpj,idade:d.idade,pageType:l}),m(!0),{success:!0,data:d}}catch(x){const e=x instanceof Error?x.message:"Erro desconhecido";return h(e),{success:!1,error:e}}finally{d(!1)}var c,p},new Promise((e,a)=>{var r=e=>{try{s(x.next(e))}catch(r){a(r)}},t=e=>{try{s(x.throw(e))}catch(r){a(r)}},s=a=>a.done?e(a.value):Promise.resolve(a.value).then(r,t);s((x=x.apply(c,p)).next())});var c,p,x},isSubmitting:n,isSuccess:p,error:x,resetState:()=>{d(!1),m(!1),h(null)}}};export{j as R,b as u};