{"version":3,"file":"Footer.CSH1Al17.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/HNjqBnGbDjWWHG8R49a1/wAQEo2BJs95vp4H80b5B/Footer.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const PAPER=\"#F4F0E8\";export default function ServiceFooter(props){const{backLabel,backLink,showArrow,copyright,links}=props;const[mobile,setMobile]=useState(false);useEffect(()=>{const mq=window.matchMedia(\"(max-width: 600px)\");const on=()=>setMobile(mq.matches);on();mq.addEventListener(\"change\",on);return()=>mq.removeEventListener(\"change\",on);},[]);return /*#__PURE__*/_jsxs(\"footer\",{style:{position:\"relative\",background:\"#0F0F0F\",padding:mobile?\"28px 1.2rem 24px\":\"32px 60px 26px\",fontFamily:\"'JetBrains Mono', monospace\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{marginBottom:18},children:/*#__PURE__*/_jsx(BackBtn,{label:backLabel,link:backLink,showArrow:showArrow})}),/*#__PURE__*/_jsx(\"div\",{style:{height:1,background:\"rgba(255,255,255,0.12)\",marginBottom:18}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:mobile?\"flex-start\":\"center\",justifyContent:\"space-between\",gap:mobile?\"0.7rem\":\"1rem\",flexDirection:mobile?\"column\":\"row\",flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11,textTransform:\"uppercase\",letterSpacing:\"0.1em\",color:\"rgba(244,240,232,0.55)\"},children:copyright}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:8,fontSize:11,textTransform:\"uppercase\",letterSpacing:\"0.1em\",flexWrap:\"wrap\"},children:(links||[]).map((l,i)=>/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:8},children:[i>0&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"rgba(244,240,232,0.3)\"},children:\"\\xb7\"}),/*#__PURE__*/_jsx(FootLink,{label:l.label,link:l.link})]},i))})]})]});}function BackBtn({label,link,showArrow}){const[h,setH]=useState(false);return /*#__PURE__*/_jsxs(\"a\",{href:link,onMouseEnter:()=>setH(true),onMouseLeave:()=>setH(false),style:{display:\"inline-flex\",alignItems:\"center\",gap:8,fontSize:12,textTransform:\"uppercase\",letterSpacing:\"0.18em\",color:PAPER,opacity:h?1:.8,textDecoration:\"none\",transition:\"opacity .2s\"},children:[showArrow&&/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",width:14,height:14,fill:\"none\",stroke:\"currentColor\",strokeWidth:2.5,strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"19\",y1:\"12\",x2:\"5\",y2:\"12\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"12 19 5 12 12 5\"})]}),label]});}function FootLink({label,link}){const[h,setH]=useState(false);return /*#__PURE__*/_jsx(\"a\",{href:link,onMouseEnter:()=>setH(true),onMouseLeave:()=>setH(false),style:{color:PAPER,textDecoration:\"none\",opacity:h?.6:1,transition:\"opacity .2s\"},children:label});}addPropertyControls(ServiceFooter,{backLabel:{type:ControlType.String,title:\"Retour\",defaultValue:\"Retour aux services\"},backLink:{type:ControlType.Link,title:\"Lien retour (#services)\"},showArrow:{type:ControlType.Boolean,title:\"Fl\\xe8che\",enabledTitle:\"Oui\",disabledTitle:\"Non\",defaultValue:true},copyright:{type:ControlType.String,title:\"Copyright\",defaultValue:\"Copyright \\xa9 2026 Cl\\xe9rima Vidange Assainissement — Tous droits r\\xe9serv\\xe9s\"},links:{type:ControlType.Array,title:\"Liens l\\xe9gaux\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Texte\",defaultValue:\"\"},link:{type:ControlType.Link,title:\"Lien\"}}},defaultValue:[{label:\"Mentions l\\xe9gales\"},{label:\"Confidentialit\\xe9\"},{label:\"CGV\"}]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ServiceFooter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Footer.map"],"mappings":"4LAAyK,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,YAAU,WAAS,YAAU,YAAU,SAAO,EAAW,CAAC,EAAO,GAAWA,EAAS,EAAK,EAA+L,OAA7L,MAAc,CAAC,IAAM,EAAG,EAAO,WAAW,oBAAoB,EAAQ,MAAO,EAAU,EAAG,OAAO,EAAwC,OAAtC,EAAG,EAAE,EAAG,iBAAiB,SAAS,CAAE,MAAY,EAAG,oBAAoB,SAAS,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAM,SAAS,CAAC,MAAM,CAAC,SAAS,WAAW,WAAW,UAAU,QAAQ,EAAO,mBAAmB,iBAAiB,WAAW,6BAA6B,EAAE,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,EAAE,SAAsB,EAAK,EAAQ,CAAC,MAAM,EAAU,KAAK,EAAmB,WAAS,CAAC,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,yBAAyB,aAAa,EAAE,CAAC,CAAC,EAAe,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,EAAO,aAAa,SAAS,eAAe,gBAAgB,IAAI,EAAO,SAAS,OAAO,cAAc,EAAO,SAAS,MAAM,SAAS,MAAM,EAAE,SAAS,CAAc,EAAK,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,cAAc,YAAY,cAAc,QAAQ,MAAM,wBAAwB,EAAE,SAAS,CAAS,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,cAAc,WAAW,SAAS,IAAI,EAAE,SAAS,GAAG,cAAc,YAAY,cAAc,QAAQ,SAAS,MAAM,EAAE,UAAU,GAA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