import{r as i,j as e}from"./vendor-react-Ci7aBfa0.js";import{f as $,b as z,p as V,S as B,o as R}from"./SEO-DMWyZzYz.js";import{D as W}from"./index-Bc-jHh02.js";import{s as O}from"./prerender-CvGl2zE9.js";import{A as J,a as U,b as _,c as H}from"./accordion-V_Dp__k7.js";import{L as r}from"./vendor-Clsy4qE9.js";import{b as o,d as D,c as Q,M as K,p as X,W as P,r as Y,q as Z,t as ee,s as se,ad as te,a1 as le,h as ae}from"./vendor-icons-4GGNjGXS.js";function ie({onReady:n}){const[c,x]=i.useState([]),[d,m]=i.useState(!0);return i.useEffect(()=>{W(3).then(t=>x(t.posts||[])).catch(()=>x([])).finally(()=>{m(!1),n?.()})},[n]),d?e.jsx("section",{className:"py-16 md:py-20 bg-white",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:e.jsx("div",{className:"w-8 h-8 border-4 border-[#D45A00] border-t-transparent rounded-full animate-spin mx-auto"})})}):c.length===0?null:e.jsx("section",{className:"py-16 md:py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-4 mb-10",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-sm font-semibold text-[#D45A00] uppercase tracking-wide",children:"Nos conseils"}),e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-[#333333] mt-1",children:"Articles recommandés"}),e.jsx("p",{className:"text-gray-500 mt-2 max-w-xl",children:"Guides et conseils pour bien choisir votre traceur GPS."})]}),e.jsxs(r,{to:"/blog",className:"inline-flex items-center text-[#D45A00] font-semibold hover:underline shrink-0",children:["Voir tous les articles ",e.jsx(o,{className:"w-4 h-4"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:c.map(t=>{const h=Math.max(1,Math.ceil((t.excerpt?.length||0)/400));return e.jsxs("article",{className:"group bg-[#F8F9FA] rounded-2xl overflow-hidden hover:shadow-lg transition-all duration-300 flex flex-col border border-gray-100",children:[e.jsx(r,{to:`/blog/${t.slug}`,className:"block relative aspect-[16/10] bg-[#F2F2F2] overflow-hidden",children:t.coverImage?e.jsx("img",{src:t.coverImage,alt:t.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}):e.jsx("div",{className:"w-full h-full flex items-center justify-center text-gray-400",children:e.jsx(te,{className:"w-12 h-12"})})}),e.jsxs("div",{className:"p-5 flex-1 flex flex-col",children:[e.jsxs("div",{className:"flex items-center gap-3 text-xs text-gray-500 mb-3",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(le,{className:"w-3.5 h-3.5"})," ",new Date(t.publishedAt).toLocaleDateString("fr-FR")]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(ae,{className:"w-3.5 h-3.5"})," ",h," min"]})]}),e.jsx(r,{to:`/blog/${t.slug}`,children:e.jsx("h3",{className:"text-lg font-bold text-[#333333] mb-2 group-hover:text-[#D45A00] transition-colors line-clamp-2 leading-tight",children:t.title})}),e.jsx("p",{className:"text-sm text-gray-600 line-clamp-2 mb-4 flex-1",children:t.excerpt}),e.jsxs(r,{to:`/blog/${t.slug}`,className:"inline-flex items-center text-sm font-semibold text-[#D45A00] hover:underline mt-auto",children:["Lire l'article ",e.jsx(o,{className:"w-4 h-4"})]})]})]},t.id)})})]})})}const re=[{icon:X,text:"Livraison 2-4h à Abidjan",sub:"Ou retrait à Cocody Faya"},{icon:P,text:"Installation par pro",sub:"À domicile ou en atelier"},{icon:Y,text:"Garantie 12 mois",sub:"SAV 7j/7"},{icon:Z,text:"Paiement Mobile Money",sub:"Wave, OM, MoMo"}];function ge(n){const{slug:c,title:x,metaTitle:d,metaDescription:m,keywords:t,ogImage:h,heroH1:S,heroSubtitle:F,heroImage:u,heroImageAlt:k,audience:j,introTitle:L,introText:C,features:q,faqs:b,ctaTitle:M,ctaText:T,relatedProducts:p,productOffer:a,showBlogPreview:f=!0}=n,[G,I]=i.useState(!1),[N,E]=i.useState(!f);i.useEffect(()=>{window.scrollTo(0,0),I(!0)},[]),i.useEffect(()=>{N&&O()},[N]);const g=`/${c}`,v=$(b),w=z([{name:"Accueil",url:"/"},{name:x,url:g}]),y=R(),A=a?V(a.name,a.description,a.price,a.image||u,a.sku,a.availability||"InStock",`https://abidjangps.com${g}`):null;return e.jsxs(e.Fragment,{children:[e.jsx(B,{title:d,description:m,keywords:t,url:g,image:h,jsonLd:A?[y,A,w,v]:[y,w,v]}),e.jsxs("main",{children:[e.jsxs("section",{className:"relative min-h-[70vh] md:min-h-[75vh] flex items-center overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:u,alt:k,className:"w-full h-full object-cover",fetchPriority:"high",width:"1920",height:"1080",decoding:"async"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#1a1a1a]/95 via-[#1a1a1a]/75 to-[#1a1a1a]/50"})]}),e.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 w-full pt-24 md:pt-28",children:e.jsxs("div",{className:"max-w-2xl",children:[e.jsx("span",{className:"inline-block px-4 py-1.5 bg-[#D45A00]/20 border border-[#D45A00]/40 text-[#D45A00] rounded-full text-sm font-medium mb-6",children:"Disponible à Abidjan & environs"}),e.jsx("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-extrabold text-white leading-tight mb-6",children:S}),e.jsx("p",{className:"text-lg md:text-xl text-white/80 mb-8 max-w-xl",children:F}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsxs(r,{to:"/boutique",className:"inline-flex items-center justify-center px-8 py-4 bg-[#D45A00] text-white rounded-lg font-semibold text-lg hover:bg-[#E55A00] transition-all hover:scale-[1.02]",children:["Voir les traceurs",e.jsx(o,{className:"w-5 h-5 ml-2"})]}),e.jsxs("a",{href:"https://wa.me/2250170090932?text=Bonjour%20AbidjanGPS%2C%20je%20veux%20un%20devis%20traceur%20GPS",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center px-8 py-4 border-2 border-[#25D366] text-white rounded-lg font-semibold text-lg hover:bg-[#25D366] transition-all",children:[e.jsx(D,{className:"w-5 h-5 mr-2"}),"Devis WhatsApp"]})]}),e.jsxs("div",{className:"mt-8 flex flex-wrap items-center gap-4 text-white/70 text-sm",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(Q,{className:"w-4 h-4 text-[#D45A00]"}),e.jsx("a",{href:"tel:+2250170090932",className:"hover:text-white transition-colors",children:"+225 01 70 09 09 32"})]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(K,{className:"w-4 h-4 text-[#D45A00]"}),"Cocody Faya, Abidjan"]})]})]})})]}),e.jsx("section",{className:"bg-[#F2F2F2] py-5",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:re.map((s,l)=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-[#D45A00]/10 flex items-center justify-center shrink-0",children:e.jsx(s.icon,{className:"w-5 h-5 text-[#D45A00]"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-[#333333]",children:s.text}),e.jsx("p",{className:"text-xs text-gray-500",children:s.sub})]})]},l))})})}),e.jsx("section",{className:`py-16 md:py-20 bg-white transition-all duration-700 ${G?"opacity-100 translate-y-0":"opacity-0 translate-y-4"}`,children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-[#333333] mb-6",children:L}),e.jsx("div",{className:"space-y-4 text-gray-600 leading-relaxed text-left md:text-center",children:C.map((s,l)=>e.jsx("p",{children:s},l))})]})}),e.jsx("section",{className:"py-16 md:py-20 bg-[#333333]",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-3",children:["Pourquoi choisir AbidjanGPS ",j?`pour votre ${j}`:""," ?"]}),e.jsx("p",{className:"text-gray-400 max-w-2xl mx-auto",children:"6 ans d'expérience, plus de 3 000 installations et un support réactif à Abidjan."})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:q.map((s,l)=>e.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-xl p-6 hover:bg-white/10 hover:border-[#D45A00]/40 transition-all duration-300 group",children:[e.jsx("div",{className:"w-12 h-12 rounded-lg bg-[#D45A00]/20 flex items-center justify-center mb-4 group-hover:bg-[#D45A00]/30 transition-colors",children:e.jsx(s.icon,{className:"w-6 h-6 text-[#D45A00]"})}),e.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:s.title}),e.jsx("p",{className:"text-gray-400 leading-relaxed",children:s.description})]},l))})]})}),e.jsx("section",{className:"py-16 md:py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-[#333333] mb-3",children:"Comment ça marche ?"}),e.jsx("p",{className:"text-gray-500",children:"De la commande à l'installation en 3 étapes"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12",children:[{icon:ee,title:"Choisissez votre solution",desc:"Traceur GPS, accessoire ou pack flotte selon votre besoin."},{icon:se,title:"Commandez en ligne ou sur WhatsApp",desc:"Paiement Mobile Money, espèces ou à la livraison."},{icon:P,title:"Installation et configuration",desc:"Nos techniciens installent, testent et vous forment à l'utilisation."}].map((s,l)=>e.jsxs("div",{className:"relative flex flex-col items-center text-center",children:[e.jsxs("div",{className:"w-24 h-24 rounded-full bg-[#D45A00] flex items-center justify-center mb-6 relative z-10 shadow-lg shadow-[#D45A00]/20",children:[e.jsx(s.icon,{className:"w-10 h-10 text-white"}),e.jsx("span",{className:"absolute -top-2 -right-2 w-8 h-8 bg-[#333333] text-white rounded-full flex items-center justify-center text-sm font-bold",children:l+1})]}),e.jsx("h3",{className:"text-xl font-bold text-[#333333] mb-2",children:s.title}),e.jsx("p",{className:"text-gray-500 max-w-xs",children:s.desc})]},l))})]})}),p&&p.length>0&&e.jsx("section",{className:"py-16 md:py-20 bg-[#F2F2F2]",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-[#333333] mb-3",children:"Solutions complémentaires"}),e.jsx("p",{className:"text-gray-500",children:"Découvrez nos autres offres de géolocalisation"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:p.map((s,l)=>e.jsxs(r,{to:s.href,className:"group bg-white rounded-xl p-6 shadow-sm hover:shadow-lg hover:-translate-y-1 transition-all duration-300 flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-[#D45A00]/10 flex items-center justify-center shrink-0",children:e.jsx(s.icon,{className:"w-6 h-6 text-[#D45A00]"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-[#333333] group-hover:text-[#D45A00] transition-colors",children:s.label}),e.jsxs("span",{className:"text-sm text-gray-500 flex items-center gap-1",children:["En savoir plus ",e.jsx(o,{className:"w-3 h-3"})]})]})]},l))})]})}),e.jsx("section",{className:"py-12 bg-[#D45A00]",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 text-center text-white",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-3xl md:text-4xl font-extrabold",children:"6+"}),e.jsx("p",{className:"text-white/80 text-sm",children:"années d'expérience"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-3xl md:text-4xl font-extrabold",children:"3 000+"}),e.jsx("p",{className:"text-white/80 text-sm",children:"installations"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-3xl md:text-4xl font-extrabold",children:"500+"}),e.jsx("p",{className:"text-white/80 text-sm",children:"clients satisfaits"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-3xl md:text-4xl font-extrabold",children:"4,3/5"}),e.jsx("p",{className:"text-white/80 text-sm",children:"sur Google Avis"})]})]})})}),n.extraContent,f&&e.jsx(ie,{onReady:()=>E(!0)}),e.jsx("section",{className:"py-16 md:py-20 bg-white",children:e.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-[#333333] mb-3",children:"Questions fréquentes"}),e.jsx("p",{className:"text-gray-500",children:"Tout ce qu'il faut savoir avant d'installer un traceur GPS à Abidjan"})]}),e.jsx(J,{type:"single",collapsible:!0,className:"space-y-3",children:b.map((s,l)=>e.jsxs(U,{value:`faq-${l}`,className:"bg-[#F2F2F2] rounded-lg border-none px-6",children:[e.jsx(_,{className:"text-left font-semibold text-[#333333] hover:text-[#D45A00] hover:no-underline py-4",children:s.question}),e.jsx(H,{className:"text-gray-600 pb-4 leading-relaxed",children:s.answer})]},l))})]})}),e.jsx("section",{className:"py-16 md:py-20 bg-gradient-to-r from-[#D45A00] to-[#E55A00]",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-4",children:M}),e.jsx("p",{className:"text-white/80 text-lg mb-8 max-w-xl mx-auto",children:T}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx(r,{to:"/boutique",className:"inline-flex items-center justify-center px-8 py-4 bg-white text-[#D45A00] rounded-lg font-bold text-lg hover:bg-gray-100 transition-colors",children:"Voir la boutique"}),e.jsxs("a",{href:"https://wa.me/2250170090932?text=Bonjour%20AbidjanGPS%2C%20je%20souhaite%20un%20devis",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center px-8 py-4 border-2 border-white text-white rounded-lg font-bold text-lg hover:bg-white/10 transition-colors",children:[e.jsx(D,{className:"w-5 h-5 mr-2"}),"Devis gratuit WhatsApp"]})]}),e.jsxs("p",{className:"mt-6 text-white/70 text-sm",children:["Ou appelez-nous directement au"," ",e.jsx("a",{href:"tel:+2250170090932",className:"underline hover:text-white",children:"+225 01 70 09 09 32"})," ","— Lun-Ven 8h-17h, Sam 9h-14h"]})]})})]})]})}export{ge as L};