import{j as e}from"./vendor-radix-DNxwLykc.js";import{r as D}from"./vendor-react-BsBmf7g_.js";import{c as F,N as h,L as m}from"./vendor-router-CYowL1Ry.js";import{u as I,S as O,N as R,B as g,A as y,r as B,z as Q,D as U,E as V,G as J,$ as W,a0 as Y,F as H}from"./index-DL5tb16A.js";import{e as v}from"./english-service-content-Cyo4HjIu.js";import{f as A}from"./french-service-content-8EL2Ljws.js";import{c as j}from"./city-service-content-BIeUTSkI.js";import"./vendor-supabase-DZNfQC5M.js";import"./vendor-charts-CaDQ2cwY.js";import"./vendor-data-D4F9-7cQ.js";import"./hard-hat-NuYuA7Qh.js";import"./package--PIKt2uI.js";import"./wind-DfOwORfC.js";import"./truck-0AuXqZd1.js";import"./layers-wU3Yas93.js";import"./cog-gvI1IHqj.js";import"./droplets-BUXc29lv.js";import"./recycle-BdVWQhZj.js";import"./warehouse-BaCZ1gcs.js";import"./zap-Bul6a-WM.js";import"./store-DGdczka3.js";import"./stethoscope-CWoZtpz5.js";import"./utensils-crossed-CUoHzom8.js";import"./presentation-zdThe9Hn.js";import"./leaf-QS7fIzlt.js";const f="https://ssimple.ca",C=["montreal","laval","longueuil","brossard","terrebonne"],K=new Set(["commercial-cleaning","office-cleaning","industrial-cleaning","event-cleaning","specialized-cleaning"]),w={};for(const[c,i]of Object.entries(v)){const x=i.frPath,u=x.replace(/^\/fr\//,"");u&&u!==x&&(w[u]=c)}function ye({locale:c}){const{service:i,city:x}=F(),{language:u,setLanguage:T}=I(),s=c==="fr";if(D.useEffect(()=>{u!==c&&T(c)},[]),!i||!x)return e.jsx(h,{to:s?"/fr/services":"/services",replace:!0});const l=x;if(!C.includes(l))return e.jsx(h,{to:s?"/fr/services":"/services",replace:!0});if(K.has(i))return e.jsx(h,{to:`/services/${i}/${l}`,replace:!0});const n=j[l];if(!n)return e.jsx(h,{to:s?"/fr/services":"/services",replace:!0});const d=v[i]??(s?v[w[i]??""]:void 0),L=s?A[i]??(d?A[d.frPath.replace(/^\/fr\//,"")]:void 0):void 0,r=s?L:d;if(!r)return e.jsx(h,{to:s?"/fr/services":"/services",replace:!0});const a=s?S(l):n.name,$=C.filter(t=>t!==l),P=s?`${r.h1.replace(/\s*(dans le Grand Montr[ée]al|à Montréal|— Grand Montréal)\s*/gi,"").trim()} à ${a}`:`${r.h1.replace(/\s*(in Greater Montreal|in Greater Montréal|— Greater Montreal)\s*/gi,"").trim()} in ${a}`,k=s?`${r.badge.replace(/Grand Montr[ée]al/gi,a)}`:`${r.badge.replace(/Greater Montreal/gi,a)}`,q=s?`${r.serviceType} à ${a} | Simple Service`:`${r.serviceType} in ${a} | Simple Service`,b=s?`${r.serviceType} à ${a} et dans les municipalités voisines. Équipes locales, superviseur attitré, devis clair. ${r.serviceType} pour ${n.metroArea}.`:`${r.serviceType} in ${a} and nearby municipalities. Local crews, assigned supervisor, clear quote. ${r.serviceType} across ${n.metroArea}.`,E=s?`${r.serviceType} à ${a} avec une équipe locale attitrée. ${r.intro}`:`${r.serviceType} in ${a} with a locally-assigned crew. ${r.intro}`,p=s?`/fr/services/${i}/${l}`:`/services/${i}/${l}`,N=s?`/services/${d?Object.keys(v).find(t=>v[t]===d):i}/${l}`:r&&d?`/fr/services/${d.frPath.replace(/^\/fr\//,"")}/${l}`:p,G=r.icon,_={"@context":"https://schema.org","@type":"Service",name:`${r.serviceType} — ${a}`,description:b,url:`${f}${p}`,inLanguage:s?"fr-CA":"en-CA",serviceType:r.serviceType,areaServed:{"@type":"City",name:a,containedInPlace:{"@type":"AdministrativeArea",name:"Québec"}},provider:{"@type":"LocalBusiness",name:"Simple Service",telephone:"+1-514-237-6303",url:f}},M={"@context":"https://schema.org","@type":"FAQPage",inLanguage:s?"fr-CA":"en-CA",mainEntity:r.faqs.map(t=>({"@type":"Question",name:t.q,acceptedAnswer:{"@type":"Answer",text:t.a}}))};return e.jsxs("div",{className:"min-h-screen",children:[e.jsxs(O,{title:q,description:b,path:p,locale:s?"fr_CA":"en_CA",localeAlternate:s?"en_CA":"fr_CA",children:[e.jsx("html",{lang:s?"fr":"en"}),e.jsx("link",{rel:"alternate",hrefLang:s?"fr-CA":"en-CA",href:`${f}${p}`}),e.jsx("link",{rel:"alternate",hrefLang:s?"en-CA":"fr-CA",href:`${f}${N}`}),e.jsx("link",{rel:"alternate",hrefLang:"x-default",href:`${f}${s?N:p}`}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(_)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(M)})]}),e.jsx(R,{}),e.jsxs("main",{children:[e.jsx("section",{className:"flex items-start md:items-center justify-center px-4 md:px-8 pt-32 pb-12 md:pt-36 md:pb-20",children:e.jsx("div",{className:"container-custom",children:e.jsxs("div",{className:"flex flex-col items-center text-center max-w-4xl mx-auto",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 mb-8 px-4 py-2 rounded-full bg-accent-blue/10 text-accent-blue text-sm font-medium",children:[e.jsx(G,{className:"w-4 h-4"}),k]}),e.jsx("h1",{className:"text-4xl md:text-6xl lg:text-7xl font-light tracking-tight mb-6",children:P}),e.jsx("p",{className:"text-lg md:text-xl text-silver max-w-2xl mb-10 leading-relaxed",children:E}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsx(g,{asChild:!0,size:"lg",className:"bg-foreground text-background hover:bg-foreground/90 transition-all duration-300 text-base px-8 py-6 rounded-full group",children:e.jsxs(m,{to:"/contact",children:[s?"Demander un devis":"Request a quote",e.jsx(y,{className:"ml-2 h-5 w-5 group-hover:translate-x-1 transition-transform"})]})}),e.jsx(g,{asChild:!0,size:"lg",variant:"outline",className:"border-foreground text-foreground hover:bg-foreground hover:text-background transition-all duration-300 text-base px-8 py-6 rounded-full",children:e.jsxs(m,{to:"/pricing-calculator",children:[e.jsx(B,{className:"mr-2 h-5 w-5"}),s?"Estimer le coût":"Estimate the cost"]})})]})]})})}),e.jsx("section",{className:"section-padding bg-muted/30",children:e.jsx("div",{className:"container-custom",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-light mb-6",children:s?`${r.serviceType} à ${a}`:`${r.serviceType} in ${a}`}),e.jsx("p",{className:"text-silver leading-relaxed mb-5",children:s?`Nous opérons à ${a} depuis ${n.yearsServing}+ ans. Les quartiers d’affaires ${n.businessDistricts.slice(0,2).join(" et ")} et les zones industrielles ${n.industrialAreas.slice(0,2).join(" et ")} sont dans notre routine hebdomadaire.`:`We’ve worked in ${a} for ${n.yearsServing}+ years. The ${n.businessDistricts.slice(0,2).join(" and ")} business districts and the ${n.industrialAreas.slice(0,2).join(" and ")} industrial zones are part of our weekly route.`}),r.localContext.map((t,o)=>e.jsx("p",{className:"text-silver leading-relaxed mb-5",children:t},o)),e.jsxs("p",{className:"text-silver-muted text-sm",children:[s?"Aussi disponible dans ":"Also available in ",$.map((t,o)=>e.jsxs("span",{children:[e.jsx(m,{to:s?`/fr/services/${i}/${t}`:`/services/${i}/${t}`,className:"underline underline-offset-4 hover:text-foreground",children:s?S(t):j[t].name}),o<$.length-1?", ":"."]},t))]})]})})}),e.jsx("section",{className:"section-padding",children:e.jsxs("div",{className:"container-custom",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-light text-center mb-4",children:r.featuresTitle}),e.jsx("p",{className:"text-silver-muted text-center max-w-2xl mx-auto mb-16",children:r.featuresSubtitle}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:r.features.map((t,o)=>{const z=t.icon;return e.jsxs("div",{className:"group p-8 border border-border rounded-2xl hover:border-silver-muted transition-all duration-300 hover:bg-card",children:[e.jsx(z,{className:"h-10 w-10 mb-6 text-silver group-hover:text-foreground transition-colors"}),e.jsx("h3",{className:"text-xl font-medium mb-3",children:t.title}),e.jsx("p",{className:"text-silver-muted leading-relaxed",children:t.desc})]},o)})})]})}),e.jsx("section",{className:"section-padding bg-muted",children:e.jsxs("div",{className:"container-custom",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-light text-center mb-4",children:s?"Questions fréquentes":"Frequently asked questions"}),e.jsx("div",{className:"max-w-3xl mx-auto",children:e.jsx(Q,{type:"single",collapsible:!0,className:"w-full",children:r.faqs.map((t,o)=>e.jsxs(U,{value:`item-${o}`,children:[e.jsx(V,{className:"text-left",children:t.q}),e.jsx(J,{className:"text-silver-muted",children:t.a})]},o))})})]})}),e.jsx("section",{className:"section-padding",children:e.jsx("div",{className:"container-custom",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-light mb-4",children:s?`${r.serviceType} à ${a} — devis clair`:`${r.serviceType} in ${a} — clear quote`}),e.jsx("p",{className:"text-silver-muted mb-10 max-w-2xl mx-auto",children:s?"Décrivez votre site et vos contraintes d’horaire. Nous revenons avec un devis détaillé.":"Tell us about the site and your schedule constraints. We come back with a detailed quote."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center mb-8",children:[e.jsx(g,{asChild:!0,size:"lg",className:"bg-foreground text-background hover:bg-foreground/90 transition-all duration-300 text-base px-8 py-6 rounded-full group",children:e.jsxs(m,{to:"/contact",children:[s?"Nous contacter":"Contact us",e.jsx(y,{className:"ml-2 h-5 w-5 group-hover:translate-x-1 transition-transform"})]})}),e.jsx(g,{asChild:!0,size:"lg",variant:"outline",className:"border-foreground hover:bg-foreground hover:text-background transition-all duration-300 text-base px-8 py-6 rounded-full",children:e.jsxs("a",{href:"tel:+15142376303",onClick:W,children:[e.jsx(Y,{className:"mr-2 h-5 w-5"}),"514 237 6303"]})})]}),e.jsxs("nav",{className:"flex flex-wrap items-center justify-center gap-x-6 gap-y-3 text-sm",children:[e.jsx(m,{to:s?r.enPath||"":r.frPath||"",className:"text-silver hover:text-foreground underline underline-offset-4",children:s?"English version":"Version française"}),e.jsx(m,{to:s?"/fr/services":"/services",className:"text-silver hover:text-foreground underline underline-offset-4",children:s?"Tous nos services":"All our services"})]})]})})})]}),e.jsx(H,{})]})}function S(c){return{montreal:"Montréal",laval:"Laval",longueuil:"Longueuil",brossard:"Brossard",terrebonne:"Terrebonne"}[c]??j[c].name}export{ye as default};