{"version":3,"file":"shared-lib.CB1i_clR.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/dnFd2s6cv7Ae3gGHq8wo/48GQbxvZzbmhYgfGD7NQ/KmkIlJ4i4.js","https:/framerusercontent.com/modules/SmJaXSVy2uuA7nGsY4o6/fUDOZdaKc3FVJxl81arw/TitleZoom.js"],"sourcesContent":["// Generated by Framer (a050651)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Bilbao Normal\",\"CUSTOMV2;Bilbao Medium\",\"CUSTOMV2;Bilbao Bold italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Bilbao Normal\",source:\"custom\",style:\"normal\",uiFamilyName:\"Bilbao\",url:\"https://framerusercontent.com/assets/TYhXeZGIXciVVO6juE0WK3L79iA.woff2\",weight:\"600\"},{cssFamilyName:\"Bilbao Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"Bilbao\",url:\"https://framerusercontent.com/assets/o8xEXzvJOhtko3rtleUuVyR5K0.woff2\",weight:\"800\"},{cssFamilyName:\"Bilbao Bold italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"Bilbao\",url:\"https://framerusercontent.com/assets/QQgSYp8lfepk2L8X8XJQartL5s.woff2\",weight:\"900\"}]}];export const css=['.framer-VsBn0 .framer-styles-preset-1ii2do3:not(.rich-text-wrapper), .framer-VsBn0 .framer-styles-preset-1ii2do3.rich-text-wrapper p { --framer-font-family: \"Bilbao Normal\", \"Bilbao Normal Placeholder\", sans-serif; --framer-font-family-bold: \"Bilbao Medium\", \"Bilbao Medium Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Bilbao Bold italic\", \"Bilbao Bold italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 600; --framer-font-weight-bold: 800; --framer-font-weight-bold-italic: 900; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-VsBn0 .framer-styles-preset-1ii2do3:not(.rich-text-wrapper), .framer-VsBn0 .framer-styles-preset-1ii2do3.rich-text-wrapper p { --framer-font-family: \"Bilbao Normal\", \"Bilbao Normal Placeholder\", sans-serif; --framer-font-family-bold: \"Bilbao Medium\", \"Bilbao Medium Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Bilbao Bold italic\", \"Bilbao Bold italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 600; --framer-font-weight-bold: 800; --framer-font-weight-bold-italic: 900; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-VsBn0 .framer-styles-preset-1ii2do3:not(.rich-text-wrapper), .framer-VsBn0 .framer-styles-preset-1ii2do3.rich-text-wrapper p { --framer-font-family: \"Bilbao Normal\", \"Bilbao Normal Placeholder\", sans-serif; --framer-font-family-bold: \"Bilbao Medium\", \"Bilbao Medium Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Bilbao Bold italic\", \"Bilbao Bold italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 600; --framer-font-weight-bold: 800; --framer-font-weight-bold-italic: 900; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-VsBn0\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";// Zoom léger des gros titres pendant le scroll (ni apparition ni disparition : le titre reste visible).\n// Le titre grossit doucement de 1 à MAX_SCALE sur DISTANCE px de scroll, avec un mouvement amorti.\n// Le zoom est plafonné par la marge libre de chaque côté : le titre ne dépasse jamais de l'écran.\nconst MAX_SCALE=1.07;const DISTANCE=700;export function withSoftZoom(Component){return props=>{const ref=useRef(null);useEffect(()=>{const root=ref.current?.firstElementChild;if(!root)return;if(window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches)return;root.style.willChange=\"transform\";let raf=0;let shown=0;let scale=1;function tick(){// mesure sans la transformation en cours\nconst rect=root.getBoundingClientRect();const width=rect.width/scale;const height=rect.height/scale;const left=rect.left+(rect.width-width)/2;const top=rect.top+(rect.height-height)/2;const docTop=top+window.scrollY;const anchor=Math.min(docTop,window.innerHeight*.8);const target=Math.max(0,Math.min(1,(anchor-top)/DISTANCE));shown+=(target-shown)*.12;const room=Math.max(0,Math.min(left,window.innerWidth-(left+width))-6);const limit=width>0?1+2*room/width:1;scale=1+shown*(Math.min(MAX_SCALE,limit)-1);root.style.transform=\"scale(\"+scale.toFixed(4)+\")\";raf=requestAnimationFrame(tick);}raf=requestAnimationFrame(tick);return()=>{cancelAnimationFrame(raf);root.style.transform=\"\";};},[]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withSoftZoom\":{\"type\":\"reactHoc\",\"name\":\"withSoftZoom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TitleZoom.map"],"mappings":"8MAC6B,EAAC,EAAU,UAAU,CAAC,yBAAyB,yBAAyB,6BAA6B,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,gBAAgB,OAAO,SAAS,MAAM,SAAS,aAAa,SAAS,IAAI,yEAAyE,OAAO,KAAK,EAAE,CAAC,cAAc,gBAAgB,OAAO,SAAS,MAAM,SAAS,aAAa,SAAS,IAAI,wEAAwE,OAAO,KAAK,EAAE,CAAC,cAAc,qBAAqB,OAAO,SAAS,MAAM,SAAS,aAAa,SAAS,IAAI,wEAAwE,OAAO,KAAK,CAAC,CAAC,CAAC,EAAe,EAAI,CAAC,6+BAA6+B,miCAAmiC,+hCAA+hC,EAAe,EAAU,kBCEzvH,SAAgB,EAAa,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAIA,EAAO,IAAI,EAC8jB,OAD5jB,MAAc,CAAC,IAAM,EAAK,EAAI,SAAS,kBAAkC,GAAb,CAAC,GAAe,EAAO,WAAW,kCAAkC,CAAC,CAAC,QAAQ,OAAO,EAAK,MAAM,WAAW,YAAY,IAAI,EAAI,EAAM,EAAM,EAAM,EAAM,EAAE,SAAS,GAAM,CAC1V,IAAM,EAAK,EAAK,sBAAsB,EAAQ,EAAM,EAAK,MAAM,EAAY,EAAO,EAAK,OAAO,EAAY,EAAK,EAAK,MAAM,EAAK,MAAM,GAAO,EAAQ,EAAI,EAAK,KAAK,EAAK,OAAO,GAAQ,EAAQ,EAAO,EAAI,EAAO,QAAc,EAAO,KAAK,IAAI,EAAO,EAAO,YAAY,EAAE,EAAQ,EAAO,KAAK,IAAI,EAAE,KAAK,IAAI,GAAG,EAAO,GAAK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