{"version":3,"file":"shared-lib.gCVFayTI.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/kB8erh2eWTDpwhGOCEUh/XItuFR6xGEoZx72w1EFb/Footer.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState}from\"react\";/**\n * XCUBES QUÉBEC — FOOTER\n * Slept On Studio · SO-XCUBES-2026-004\n * Contact réel, liens légaux (Loi 25), logo, copyright.\n * Mise en page en CSS media queries (fiable dans le rendu SSR par breakpoint).\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */const T={marine:\"#17334F\",fonce:\"#122a41\",clair:\"#F5F5F6\",doux:\"rgba(245,245,246,0.66)\",filet:\"rgba(245,245,246,0.16)\",rouge:\"#D8232A\",urbanist:'\"Urbanist\", -apple-system, Helvetica, Arial, sans-serif',onest:'\"Onest\", -apple-system, Helvetica, Arial, sans-serif'};const CSS=`\n.xcft-foot{padding:72px 120px 40px}\n.xcft-top{display:flex;flex-direction:row;justify-content:space-between;gap:48px;padding-bottom:48px;border-bottom:1px solid ${T.filet}}\n.xcft-bottom{display:flex;flex-direction:row;justify-content:space-between;gap:12px;padding-top:24px}\n@media (max-width:1199px){\n  .xcft-foot{padding:72px 64px 40px}\n}\n@media (max-width:809px){\n  .xcft-foot{padding:48px 22px 32px}\n  .xcft-top{flex-direction:column;gap:36px;padding-bottom:32px}\n  .xcft-bottom{flex-direction:column}\n}\n`;const A11Y_CSS=\":root{--xc-focus:#D8232A}\"+\"a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--xc-focus);outline-offset:2px;border-radius:2px}\"+\"a:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}\"+\"[id]{scroll-margin-top:88px}\"+\"@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}\";const JSONLD={\"@context\":\"https://schema.org\",\"@type\":\"Organization\",name:\"XCUBES\",description:\"Conception et fabrication de b\\xe2timents modulaires durables et abordables, adapt\\xe9s aux r\\xe9alit\\xe9s du Qu\\xe9bec.\",url:\"https://www.xcubes.ca\",email:\"info@xcubes.ca\",telephone:\"+1-418-444-9300\",areaServed:{\"@type\":\"AdministrativeArea\",name:\"Qu\\xe9bec, Canada\"},founder:[{\"@type\":\"Person\",name:\"Guy Ellemberg\"},{\"@type\":\"Person\",name:\"Christoph Boucar Diouf\"}],knowsAbout:[\"Construction modulaire\",\"B\\xe2timents pr\\xe9fabriqu\\xe9s\",\"B\\xe2timents institutionnels modulaires\",\"Fabrication en usine\"]};function usePolices(){useEffect(()=>{if(typeof document===\"undefined\")return;if(!document.getElementById(\"xc-polices\")){const b=document.createElement(\"link\");b.id=\"xc-polices\";b.rel=\"stylesheet\";b.href=\"https://fonts.googleapis.com/css2?family=Onest:wght@400;500&family=Urbanist:wght@400;500&display=swap\";document.head.appendChild(b);}if(!document.getElementById(\"xc-global-a11y\")){const s=document.createElement(\"style\");s.id=\"xc-global-a11y\";s.appendChild(document.createTextNode(A11Y_CSS));document.head.appendChild(s);}if(!document.getElementById(\"xc-jsonld-org\")){const j=document.createElement(\"script\");j.id=\"xc-jsonld-org\";j.type=\"application/ld+json\";j.appendChild(document.createTextNode(JSON.stringify(JSONLD)));document.head.appendChild(j);}},[]);}export default function XcubesFooter(props){usePolices();const{logo,baseline,courriel,telephone,adresse,mentionLegale,l1t,l1h,l2t,l2h,l3t,l3h,l4t,l4h,l5t,l5h,l6t,l6h,l7t,l7h}=props;const liens=[[l1t,l1h],[l2t,l2h],[l3t,l3h],[l4t,l4h],[l5t,l5h],[l6t,l6h],[l7t,l7h]].filter(([t])=>t&&String(t).trim().length>0).map(([label,href])=>({label,href}));const[survol,setSurvol]=useState(-1);const annee=new Date().getFullYear();return /*#__PURE__*/_jsxs(\"footer\",{className:\"xcft-foot\",style:{width:\"100%\",background:T.marine,fontFamily:T.urbanist},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsxs(\"div\",{className:\"xcft-top\",children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:14,maxWidth:360},children:[logo?/*#__PURE__*/_jsx(\"img\",{src:logo?.src??logo,alt:\"XCUBES\",style:{height:28,width:\"auto\",objectFit:\"contain\",alignSelf:\"flex-start\"}}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:22,fontWeight:500,letterSpacing:\"0.04em\",color:T.clair},children:\"XCUBES\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,fontWeight:400,lineHeight:1.45,color:T.doux},children:baseline})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:T.onest,fontSize:12,fontWeight:400,lineHeight:\"12px\",textTransform:\"uppercase\",color:\"rgba(244,239,227,0.72)\"},children:\"Contact\"}),courriel?/*#__PURE__*/_jsx(\"a\",{href:`mailto:${courriel}`,style:{fontSize:15,fontWeight:400,color:T.clair,textDecoration:\"none\"},children:courriel}):null,telephone?/*#__PURE__*/_jsx(\"a\",{href:`tel:${telephone.replace(/[^0-9+]/g,\"\")}`,style:{fontSize:15,fontWeight:400,color:T.clair,textDecoration:\"none\"},children:telephone}):null,String(adresse||\"\").trim()?/*#__PURE__*/_jsx(\"span\",{style:{fontSize:15,fontWeight:400,lineHeight:1.4,color:T.doux},children:adresse}):null]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:T.onest,fontSize:12,fontWeight:400,lineHeight:\"12px\",textTransform:\"uppercase\",color:\"rgba(244,239,227,0.72)\"},children:\"Informations\"}),(liens||[]).map((l,i)=>/*#__PURE__*/_jsx(\"a\",{href:l.href,onMouseEnter:()=>setSurvol(i),onMouseLeave:()=>setSurvol(-1),style:{fontSize:15,fontWeight:400,color:survol===i?T.clair:T.doux,textDecoration:\"none\",transition:\"color 180ms ease\"},children:l.label},i))]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"xcft-bottom\",children:[/*#__PURE__*/_jsxs(\"span\",{style:{fontFamily:T.onest,fontSize:12,fontWeight:400,lineHeight:1.4,textTransform:\"uppercase\",color:T.doux},children:[\"\\xa9 \",annee,\" XCUBES. Tous droits r\\xe9serv\\xe9s.\"]}),String(mentionLegale||\"\").trim()?/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:T.onest,fontSize:12,fontWeight:400,lineHeight:1.4,color:T.doux},children:mentionLegale}):null]})]});}XcubesFooter.defaultProps={baseline:\"Construction de b\\xe2timents modulaires \\xe9cologiques et abordables, adapt\\xe9s aux r\\xe9alit\\xe9s du Qu\\xe9bec.\",courriel:\"info@xcubes.ca\",telephone:\"418 444-9300\",adresse:\"\",mentionLegale:\"\",l1t:\"Le mod\\xe8le standard\",l1h:\"#apropos\",l2t:\"Syst\\xe8me constructif\",l2h:\"#structure\",l3t:\"L'usine\",l3h:\"#usine\",l4t:\"Demander une \\xe9tude de faisabilit\\xe9\",l4h:\"#contact\",l5t:\"Politique de confidentialit\\xe9\",l5h:\"/confidentialite\",l7t:\"\",l7h:\"\",l6t:\"\",l6h:\"\"};addPropertyControls(XcubesFooter,{logo:{type:ControlType.Image,title:\"Logo\"},baseline:{type:ControlType.String,title:\"Baseline\",displayTextArea:true},courriel:{type:ControlType.String,title:\"Courriel\"},telephone:{type:ControlType.String,title:\"T\\xe9l\\xe9phone\"},adresse:{type:ControlType.String,title:\"Adresse\",displayTextArea:true},mentionLegale:{type:ControlType.String,title:\"Mention l\\xe9gale (optionnel)\"},l1t:{type:ControlType.String,title:\"Lien 1 libell\\xe9\"},l1h:{type:ControlType.String,title:\"Lien 1 lien\"},l2t:{type:ControlType.String,title:\"Lien 2 libell\\xe9\"},l2h:{type:ControlType.String,title:\"Lien 2 lien\"},l3t:{type:ControlType.String,title:\"Lien 3 libell\\xe9\"},l3h:{type:ControlType.String,title:\"Lien 3 lien\"},l4t:{type:ControlType.String,title:\"Lien 4 libell\\xe9\"},l4h:{type:ControlType.String,title:\"Lien 4 lien\"},l5t:{type:ControlType.String,title:\"Lien 5 libell\\xe9\"},l5h:{type:ControlType.String,title:\"Lien 5 lien\"},l7t:{type:ControlType.String,title:\"Lien 7 libell\\xe9\"},l7h:{type:ControlType.String,title:\"Lien 7 lien\"},l6t:{type:ControlType.String,title:\"Lien 6 libell\\xe9\",description:\"Libell\\xe9 vide = lien masqu\\xe9.\"},l6h:{type:ControlType.String,title:\"Lien 6 lien\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"XcubesFooter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Footer.map"],"mappings":"wLAmBioC,SAAS,GAAY,CAAC,MAAc,CAAI,YAAO,SAAW,KAAmB,IAAG,CAAC,SAAS,eAAe,YAAY,EAAE,CAAC,IAAM,EAAE,SAAS,cAAc,MAAM,EAAE,EAAE,GAAG,aAAa,EAAE,IAAI,aAAa,EAAE,KAAK,wGAAwG,SAAS,KAAK,YAAY,CAAC,CAAE,CAAC,GAAG,CAAC,SAAS,eAAe,gBAAgB,EAAE,CAAC,IAAM,EAAE,SAAS,cAAc,OAAO,EAAE,EAAE,GAAG,iBAAiB,EAAE,YAAY,SAAS,eAAe,CAAQ,CAAC,EAAE,SAAS,KAAK,YAAY,CAAC,CAAE,CAAC,GAAG,CAAC,SAAS,eAAe,eAAe,EAAE,CAAC,IAAM,EAAE,SAAS,cAAc,QAAQ,EAAE,EAAE,GAAG,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,YAAY,SAAS,eAAe,KAAK,UAAU,CAAM,CAAC,CAAC,EAAE,SAA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