1import{c as y,R as n,j as e,L as t}from"./index-Bb7MW16W.js";import{B as w}from"./button-r_rzVEzm.js";import{c as m}from"./utils-BpQQxgda.js";import{s as C}from"./scalancy-logo-jY5SBOLv.js";import{C as x}from"./chevron-down-C_FHnrEt.js";import{A as k}from"./arrow-right-Ba4LUjMb.js";import{X as A}from"./x-DODLCocl.js";const L=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],S=y("menu",L),f=[{slug:"start",label:"SCALANCY Start",tagline:"Tu cherches des process finance IA plug & play"},{slug:"studio",label:"SCALANCY Studio",tagline:"Tu cherches à couvrir tes process finance existants avec lâIA"},{slug:"managed",label:"SCALANCY Managed",tagline:"Tu cherches à externaliser ta fonction finance en capitalisant sur lâIA"},{slug:"partners",label:"SCALANCY Partners",tagline:"Tu cherches à équiper tes clients avec une solution dâIA pour la finance"}],M=[{to:"/v2",label:"L'IA pour la finance"},{to:"/agents",label:"Nos agents"},{to:"/infrastructure",label:"Notre infrastru
1cture"},{to:"/blog",label:"Nos réflexions"}];function D({solid:p=!1}){const[h,g]=n.useState(!1),[a,l]=n.useState(!1),[i,r]=n.useState(!1),[c,u]=n.useState(!1),d=n.useRef(null),o=n.useRef(null);n.useEffect(()=>{const s=()=>g(window.scrollY>100);return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)},[]),n.useEffect(()=>{const s=v=>{d.current&&!d.current.contains(v.target)&&r(!1)};return document.addEventListener("mousedown",s),()=>document.removeEventListener("mousedown",s)},[]);const b=()=>{o.current&&clearTimeout(o.current),r(!0)},N=()=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>r(!1),120)},j=p||h||a;return e.jsx("header",{children:e.jsx("nav",{className:m("w-full z-30 transition-all duration-300",j?"fixed top-0 bg-background/95 backdrop-blur-lg border-b border-primary/10":"absolute top-0"),children:e.jsxs("div",{className:"w-full px-4 sm:px-6 lg:px-12",children:[e.jsxs("div",{className:"flex items-center justify-between py-2 sm:py-3",children:[e.jsxs(t,{to:"/",className:"flex items-center space-x-2",onClick:()=>l(!1),children:[e.jsx("img",{src:C,alt:"SCALANCY Logo",width:32,height:32,className:"size-8 object-contain"}),e.jsx("span",{className:"text-base sm:text-lg font-bold whitespace-nowrap text-scalancy-gold",children:"SCALANCY"})]}),e.jsxs("div",{className:"hidden md:flex items-center gap-6 lg:gap-8",children:[e.jsx(t,{to:"/",className:"text-sm font-medium text-muted-foreground hover:text-scalancy-gold transition-colors",children:"L'IA pour la finance"}),e.jsxs("div",{ref:d,className:"relative",onMouseEnter:b,onMouseLeave:N,children:[e.jsxs("button",{type:"button","aria-haspopup":"menu","aria-expanded":i,onClick:()=>r(s=>!s),className:"inline-flex items-center gap-1 text-sm font-medium text-muted-foreground hover:text-scalancy-gold transition-colors",children:["Nos offres",e.jsx(x,{className:m("size-3.5 transition-transform",i&&"rotate-180")})]}),i&&e.jsx("div",{role:"menu",className:"absolute left-1/2 -translate-x-1/2 top-full pt-3 w-[320px]",children:e.jsxs("div",{className:"rounded-xl border border-white/[0.08] bg-background/95 backdrop-blur-lg shadow-2xl shadow-black/40 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-scalancy-gold/40 to-transparent"}),e.jsx("ul",{className:"py-2",children:f.map(s=>e.jsx("li",{children:e.jsxs(t,{to:"/offers/$slug",params:{slug:s.slug},onClick:()=>r(!1),className:"group flex flex-col px-4 py-3 hover:bg-white/[0.03] transition-colors",children:[e.jsx("span",{className:"text-sm font-semibold text-white group-hover:text-scalancy-gold transition-colors",children:s.label}),e.jsx("span",{className:"mt-0.5 text-[12px] text-muted-foreground leading-snug",children:s.tagline})]})},s.slug))})]})})]}),e.jsx(t,{to:"/agents",className:"text-sm font-medium text-muted-foreground hover:text-scalancy-gold transition-colors",children:"Nos agents"}),e.jsx(t,{to:"/infrastructure",className:"text-sm font-medium text-muted-foreground hover:text-scalancy-gold transition-colors",children:"Notre infrastru
1cture"}),e.jsx(t,{to:"/blog",className:"text-sm font-medium text-muted-foreground hover:text-scalancy-gold transition-colors",children:"Nos réflexions"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(w,{variant:"waitlist",size:"sm",className:"group text-xs sm:text-sm h-auto py-2",asChild:!0,children:e.jsx(t,{to:"/book-meeting",children:e.jsxs("span",{className:"inline-flex items-center font-semibold",children:[e.jsx("span",{className:"hidden sm:inline",children:"Prendre RDV avec le fondateur"}),e.jsx("span",{className:"sm:hidden",children:"RDV"}),e.jsx(k,{className:"ml-1 size-3 group-hover:translate-x-0.5 transition-transform"})]})})}),e.jsx("button",{type:"button","aria-label":a?"Fermer le menu":"Ouvrir le menu","aria-expanded":a,onClick:()=>l(s=>!s),className:"md:hidden inline-flex items-center justify-center size-9 rounded-md text-scalancy-gold hover:bg-scalancy-gold/10 transition-colors",children:a?e.jsx(A,{className:"size-5"}):e.jsx(S,{className:"size-5"})})]})]}),a&&e.jsxs("div",{className:"md:hidden border-t border-white/[0.08] py-3 flex flex-col",children:[e.jsx(t,{to:"/",onClick:()=>l(!1),className:"py-3 text-sm font-medium text-foreground/90 hover:text-scalancy-gold transition-colors",children:"L'IA pour la finance"}),e.jsxs("button",{type:"button",onClick:()=>u(s=>!s),"aria-expanded":c,className:"flex items-center justify-between py-3 text-sm font-medium text-foreground/90 hover:text-scalancy-gold transition-colors",children:[e.jsx("span",{children:"Nos offres"}),e.jsx(x,{className:m("size-4 transition-transform",c&&"rotate-180")})]}),c&&e.jsx("ul",{className:"pl-4 pb-2 border-l border-scalancy-gold/20 ml-1 space-y-1",children:f.map(s=>e.jsx("li",{children:e.jsx(t,{to:"/offers/$slug",params:{slug:s.slug},onClick:()=>{l(!1),u(!1)},className:"block py-2 pl-3 text-[13.5px] text-muted-foreground hover:text-scalancy-gold transition-colors",children:s.label})},s.slug))}),M.filter(s=>s.to!=="/v2").map(s=>e.jsx(t,{to:s.to,onClick:()=>l(!1),className:"py-3 text-sm font-medium text-foreground/90 hover:text-scalancy-gold transition-colors",children:s.label},s.label))]})]})})})}export{D as M};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.