import{t as e,u as t}from"./link-D6qMr5cH.js";import{n,t as r}from"./Reveal-B5L63d2i.js";import{o as i}from"./site-DtkC9bu0.js";import{t as a}from"./services_._slug--NbVVp3A.js";import{t as o}from"./arrow-right-C8YMDV_S.js";import{i as s,n as c,r as l,t as u}from"./utensils-crossed-Efvi1nlK.js";import{t as d}from"./check-DTLEu4mF.js";import{t as f}from"./sparkles-bAsKkdSv.js";import{t as p}from"./waves-horizontal-Vu1ni8Kf.js";import{t as m}from"./HeroBanner-D8ssKLQC.js";import{t as h}from"./CTA-Bmbg-OCB.js";var g=t(),_={bed:s,utensils:u,waves:p,tent:l,trophy:c,sparkles:f};function v({slug:t}){let a=i.find(e=>e.slug===t)??i[0],s=_[a.icon]??f,c=i.filter(e=>e.slug!==a.slug).slice(0,3);return(0,g.jsxs)(n,{children:[(0,g.jsx)(m,{title:a.title,parent:`Services`,parentHref:`/services`,image:a.image}),(0,g.jsx)(`section`,{className:`hj-section`,children:(0,g.jsxs)(`div`,{className:`hj-container grid gap-12 lg:grid-cols-2 items-start`,children:[(0,g.jsxs)(r,{children:[(0,g.jsx)(`div`,{className:`w-16 h-16 rounded-full bg-[var(--blue)]/10 grid place-items-center text-[var(--blue)] mb-6`,children:(0,g.jsx)(s,{size:28})}),(0,g.jsx)(`span`,{className:`eyebrow text-[var(--blue)]`,children:`Notre service`}),(0,g.jsx)(`h2`,{className:`text-3xl md:text-4xl mt-2 text-[var(--blue-deep)]`,style:{fontFamily:`var(--font-display)`},children:a.title}),(0,g.jsx)(`div`,{className:`w-14 h-[2px] bg-[var(--blue)] my-4`}),(0,g.jsx)(`p`,{className:`text-muted-foreground leading-relaxed`,children:a.longDescription}),(0,g.jsx)(`h3`,{className:`mt-8 mb-4 text-xl text-[var(--blue-deep)]`,style:{fontFamily:`var(--font-display)`},children:`Ce que vous trouverez`}),(0,g.jsx)(`ul`,{className:`grid sm:grid-cols-2 gap-3`,children:a.highlights.map(e=>(0,g.jsxs)(`li`,{className:`flex items-center gap-2 text-sm`,children:[(0,g.jsx)(`span`,{className:`w-6 h-6 rounded-full bg-[var(--blue)]/10 text-[var(--blue)] grid place-items-center`,children:(0,g.jsx)(d,{size:14})}),e]},e))}),(0,g.jsxs)(`div`,{className:`mt-8 flex flex-wrap gap-3`,children:[(0,g.jsx)(e,{to:`/reservation`,className:`hj-btn hj-btn-primary`,children:`Réserver un séjour`}),(0,g.jsx)(e,{to:`/contact`,className:`hj-btn hj-btn-outline`,children:`Nous contacter`})]})]}),(0,g.jsx)(r,{children:(0,g.jsx)(`div`,{className:`grid grid-cols-2 gap-4`,children:a.gallery.map((e,t)=>(0,g.jsx)(`div`,{className:`hj-card ${t===0?`col-span-2`:``}`,children:(0,g.jsx)(`div`,{className:`hj-card-img ${t===0?`aspect-[16/10]`:`aspect-square`}`,children:(0,g.jsx)(`img`,{src:e,alt:a.title,loading:`lazy`})})},e+t))})})]})}),(0,g.jsx)(`section`,{className:`hj-section bg-[var(--sand)]/30`,children:(0,g.jsxs)(`div`,{className:`hj-container`,children:[(0,g.jsxs)(`div`,{className:`hj-section-title`,children:[(0,g.jsx)(`span`,{className:`eyebrow`,children:`Explorez`}),(0,g.jsx)(`h2`,{children:`Nos autres services`}),(0,g.jsx)(`div`,{className:`divider`})]}),(0,g.jsx)(`div`,{className:`grid gap-6 md:grid-cols-3`,children:c.map(t=>{let n=_[t.icon]??f;return(0,g.jsxs)(e,{to:`/services/$slug`,params:{slug:t.slug},className:`hj-card group block`,children:[(0,g.jsx)(`div`,{className:`hj-card-img aspect-[4/3]`,children:(0,g.jsx)(`img`,{src:t.image,alt:t.title})}),(0,g.jsxs)(`div`,{className:`hj-card-body`,children:[(0,g.jsxs)(`div`,{className:`flex items-center gap-2 text-[var(--blue)]`,children:[(0,g.jsx)(n,{size:18}),(0,g.jsx)(`h3`,{className:`!m-0`,children:t.title})]}),(0,g.jsx)(`p`,{className:`text-sm text-muted-foreground mt-2`,children:t.text}),(0,g.jsxs)(`span`,{className:`hj-link-underline text-sm font-semibold text-[var(--blue)] mt-4 inline-flex items-center gap-2`,children:[`Découvrir `,(0,g.jsx)(o,{size:14})]})]})]},t.slug)})})]})}),(0,g.jsx)(h,{})]})}function y(){let{slug:e}=a.useParams();return(0,g.jsx)(v,{slug:e})}export{y as component};