1import{j as e}from"./ui-vendor-BqP7nUKl.js";import{r as c,L as d}from"./react-vendor-DKmRkCg0.js";import{c as o,H as b,l as p,N as h,U as j,i as m,s as N}from"./index-B70RwDyr.js";import{A as w}from"./arrow-left-BsEmW9mD.js";import{m as a}from"./motion-wteJqCuK.js";import{C as y}from"./chevron-down-kbo1wQFU.js";import{S as k}from"./send-BYJokhZg.js";import{S as z}from"./shield-check-DB9MmE4M.js";import{E as I}from"./eye-bOCRCH6J.js";import"./supabase-Bd53hCCy.js";import"./query-CrneLqUN.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const V=o("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const q=o("FilePenLine",[["path",{d:"m18 5-2.414-2.414A2 2 0 0 0 14.172 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2",key:"142zxg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const L=o("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/** 17 * @license lucide-react v0.462.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const T=o("Percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]),n={hidden:{opacity:0,y:30},visible:s=>({opacity:1,y:0,transition:{delay:s*.1,duration:.6,ease:"easeOut"}})},R=[{icon:j,title:"Recommandez",desc:"Vous recommandez TRIBU à une entreprise ou un entrepreneur de votre réseau."},{icon:q,title:"Le prospect signe",desc:"Le prospect signe un contrat avec TRIBU : vidéo, pub social media, contenu viral."},{icon:V,title:"Vous êtes payé",desc:"Vous recevez 25% du montant HT du contrat, versé dès le paiement du client."}],_=[{icon:T,title:"Commission généreuse",desc:"25% sur chaque contrat signé grâce à votre recommandation."},{icon:z,title:"Aucun engagement",desc:"Pas de quota, pas de contrainte. Recommandez quand vous voulez."},{icon:I,title:"Suivi transparent",desc:"Vous êtes informé à chaque étape du processus commercial."},{icon:L,title:"Pas besoin de vendre",desc:"TRIBU s'occupe de tout le closing et de la production."}],C=[{q:"Qui peut devenir apporteur d'affaires ?",a:"Tout le monde : entrepreneurs, freelances, commerciaux, étudiants, ou toute personne avec un réseau."},{q:"Quand est-ce que je suis payé ?",a:"Dès que le client règle sa facture, votre commission est versée sous 7 jours."},{q:"Y a-t-il un contrat à signer ?",a:"Oui, un contrat d'apporteur d'affaires simple et transparent, sans engagement de durée."},{q:"Comment le prospect est-il suivi ?",a:"Vous recevez un suivi par email à chaque étape : premier contact, rendez-vous, signature, paiement."},{q:"Est-ce cumulable ?",a:"Oui, pas de plafond. Plus vous recommandez, plus vous gagnez."}],Q=()=>{const[s,i]=c.useState({first_name:"",last_name:"",email:"",phone:"",message:""}),[u,x]=c.useState(!1),[l,g]=c.useState(null),v=async t=>{if(t.preventDefault(),!s.first_name.trim()||!s.last_name.trim()||!s.email.trim()||!s.phone.trim()){m.error("Veuillez remplir tous les champs obligatoires.");return}x(!0);const{error:r}=await N.from("referral_submissions").insert({first_name:s.first_name.trim(),last_name:s.last_name.trim(),email:s.email.trim(),phone:s.phone.trim(),message:s.message.trim()||null});x(!1),r?m.error("Une erreur est survenue. Réessayez."):(m.success("Votre demande a bien été envoyée ! Nous vous recontactons rapidement."),i({first_name:"",last_name:"",email:"",ph
21one:"",message:""}))},f=()=>{document.getElementById("formulaire")?.scrollIntoView({behavior:"smooth"})};return e.jsxs(e.Fragment,{children:[e.jsxs(b,{children:[e.jsx("title",{children:"Programme Parrainage - TRIBU | Gagnez 25% de commission"}),e.jsx("meta",{name:"description",content:"Devenez apporteur d'affaires pour TRIBU et gagnez 25% de commission sur chaque contrat signé grâce à votre recommandation."})]}),e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsxs("nav",{className:"flex items-center justify-between px-6 py-4 max-w-6xl mx-auto",children:[e.jsx(d,{to:"/",className:"flex-shrink-0",children:e.jsx("img",{src:p,alt:"Tribu Logo",className:"h-10 sm:h-14 w-auto"})}),e.jsxs(d,{to:"/",className:"flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[e.jsx(w,{className:"w-4 h-4"}),"Retour au site"]})]}),e.jsxs("section",{className:"relative overflow-hidden pt-12 pb-20 sm:pt-24 sm:pb-32",children:[e.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[600px] h-[600px] rounded-full opacity-20 blur-[120px] pointer-events-none",style:{background:"radial-gradient(circle, hsl(326 72% 72%), transparent 70%)"}}),e.jsx("div",{className:"absolute bottom-0 right-0 w-[400px] h-[400px] rounded-full opacity-15 blur-[100px] pointer-events-none",style:{background:"radial-gradient(circle, hsl(280 65% 70%), transparent 70%)"}}),e.jsxs("div",{className:"relative max-w-4xl mx-auto px-6 text-center",children:[e.jsx(a.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:0,className:"section-tag mb-6",children:"Programme Apporteur d'Affaires"}),e.jsxs(a.h1,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:1,className:"text-3xl sm:text-5xl md:text-6xl font-extrabold leading-tight tracking-tight",style:{fontFamily:"'Agrandir', sans-serif"},children:["Recommandez TRIBU,"," ",e.jsx("span",{className:"font-medium bg-clip-text text-transparent",style:{backgroundImage:"linear-gradient(to right, #e879b9, #c77dce)"},children:"gagnez 25% de commission."})]}),e.jsx(a.p,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:2,className:"mt-6 text-base sm:text-lg text-muted-foreground max-w-2xl mx-auto leading-relaxed",children:"Vous nous apportez un client, on vous reverse 25% du montant du contrat signé. Simple, transparent, sans engagement."}),e.jsx(a.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:3,className:"mt-8",children:e.jsx(h,{onClick:f,variant:"solid",size:"lg",children:"Devenir apporteur d'affaires"})})]})]}),e.jsx("section",{className:"section-padding px-6 bg-muted/30",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsx(a.h2,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:0,className:"text-center section-title mb-14",children:"Comment ça marche ?"}),e.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:R.map((t,r)=>e.jsxs(a.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:r+1,className:"relative p-8 rounded-2xl card-interactive group",children:[e.jsxs("div",{className:"text-xs font-bold text-primary mb-4 tracking-wider",children:["ÃTAPE ",r+1]}),e.jsx("div",{className:"icon-container-lg mb-5 group-hover:scale-105 transition-transform",children:e.jsx(t.icon,{className:"icon-lg text-primary-foreground"})}),e.jsx("h3",{className:"text-lg font-bold mb-2",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.desc})]},r))})]})}),e.jsx("section",{className:"section-padding px-6",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsx(a.h2,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:0,className:"text-center section-title mb-14",children:"Pourquoi devenir apporteur ?"}),e.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:_.map((t,r)=>e.jsxs(a.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:r+1,className:"flex gap-5 p-6 rounded-2xl card-interactive",children:[e.jsx("div",{className:"icon-container-md flex-shrink-0",children:e.jsx(t.icon,{className:"icon-md text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold mb-1",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.desc})]})]},r))})]})}),e.jsx("section",{className:"section-padding px-6 bg-muted/30",children:e.jsx("div",{className:"max-w-3xl mx-auto",children:e.jsxs(a.div,{initial:"hidden",
21whileInView:"visible",viewport:{once:!0},variants:n,custom:0,className:"rounded-2xl border border-primary/20 p-8 sm:p-10",style:{background:"var(--gradient-card)"},children:[e.jsx("h2",{className:"section-title mb-6",children:"Exemple concret"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"text-primary text-xl mt-0.5",children:"â"}),e.jsxs("p",{className:"text-muted-foreground",children:["Vous recommandez un ",e.jsx("strong",{className:"text-foreground",children:"restaurateur"})," à TRIBU"]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"text-primary text-xl mt-0.5",children:"â"}),e.jsxs("p",{className:"text-muted-foreground",children:["Il signe un ",e.jsx("strong",{className:"text-foreground",children:"pack vidéo à 2 000⬠HT"})]})]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"text-accent text-xl mt-0.5",children:"ð°"}),e.jsxs("p",{className:"text-muted-foreground",children:["Vous touchez"," ",e.jsx("strong",{className:"text-2xl sm:text-3xl font-extrabold bg-gradient-primary bg-clip-text text-transparent",children:"500â¬"})]})]})]}),e.jsx("div",{className:"mt-8 pt-6 border-t border-border",children:e.jsxs("p",{className:"text-muted-foreground text-sm",children:[e.jsx("strong",{className:"text-foreground",children:"3 recommandations par mois"})," ="," ",e.jsx("span",{className:"text-primary font-bold text-lg",children:"1 500â¬/mois"})," ","de revenus passifs."]})})]})})}),e.jsx("section",{className:"section-padding px-6",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx(a.h2,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:0,className:"text-center section-title mb-12",children:"Questions fréquentes"}),e.jsx("div",{className:"space-y-3",children:C.map((t,r)=>e.jsxs(a.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:r,className:"rounded-xl border border-border bg-card overflow-hidden",children:[e.jsxs("button",{onClick:()=>g(l===r?null:r),className:"w-full flex items-center justify-between px-6 py-5 text-left hover:bg-muted/50 transition-colors",children:[e.jsx("span",{className:"font-semibold text-sm sm:text-base pr-4",children:t.q}),e.jsx(y,{className:`w-5 h-5 text-muted-foreground flex-shrink-0 transition-transform duration-300 ${l===r?"rotate-180":""}`})]}),e.jsx("div",{className:`overflow-hidden transition-all duration-300 ${l===r?"max-h-40 pb-5":"max-h-0"}`,children:e.jsx("p",{className:"px-6 text-sm text-muted-foreground leading-relaxed",children:t.a})})]},r))})]})}),e.jsx("section",{id:"formulaire",className:"section-padding px-6 bg-muted/30",children:e.jsxs("div",{className:"max-w-xl mx-auto",children:[e.jsx(a.h2,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:0,className:"text-center section-title mb-4",children:"Devenez apporteur d'affaires"}),e.jsx(a.p,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:1,className:"text-center text-muted-foreground text-sm mb-10",children:"Remplissez le formulaire, on vous recontacte sous 24h."}),e.jsxs(a.form,{onSubmit:v,initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:n,custom:2,className:"space-y-4",children:[e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsx("input",{type:"text",placeholder:"Prénom *",value:s.first_name,onChange:t=>i({...s,first_name:t.target.value}),required:!0,maxLength:100,className:"w-full px-5 py-4 rounded-xl bg-card border border-border text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/50 focus:ring-1 focus:ring-primary/30 transition-all text-sm"}),e.jsx("input",{type:"text",placeholder:"Nom *",value:s.last_name,onChange:t=>i({...s,last_name:t.target.value}),required:!0,maxLength:100,className:"w-full px-5 py-4 rounded-xl bg-card border border-border text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/50 focus:ring-1 focus:ring-primary/30 transition-all text-sm"})]}),e.jsx("input",{type:"email",placeholder:"Email *",value:s.email,onChange:t=>i({...s,email:t.target.value}),required:!0,maxLength:255,className:"w-full px-5 py-4 rounded-xl bg-card border border-border text-foreground placeholder:text-muted-foreground
21/50 focus:outline-none focus:border-primary/50 focus:ring-1 focus:ring-primary/30 transition-all text-sm"}),e.jsx("input",{type:"tel",placeholder:"Téléphone *",value:s.phone,onChange:t=>i({...s,phone:t.target.value}),required:!0,maxLength:20,className:"w-full px-5 py-4 rounded-xl bg-card border border-border text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/50 focus:ring-1 focus:ring-primary/30 transition-all text-sm"}),e.jsx("textarea",{placeholder:"Comment avez-vous connu TRIBU ? (optionnel)",value:s.message,onChange:t=>i({...s,message:t.target.value}),maxLength:1e3,rows:3,className:"w-full px-5 py-4 rounded-xl bg-card border border-border text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/50 focus:ring-1 focus:ring-primary/30 transition-all text-sm resize-none"}),e.jsxs(h,{type:"submit",variant:"solid",size:"lg",className:"w-full",disabled:u,children:[e.jsx(k,{className:"w-4 h-4"}),u?"Envoi en cours...":"Je deviens apporteur"]})]})]})}),e.jsx("footer",{className:"border-t border-border py-8 px-6",children:e.jsxs("div",{className:"max-w-5xl mx-auto flex flex-col sm:flex-row items-center justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("img",{src:p,alt:"Tribu Logo",className:"h-8 w-auto"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Agence de création vidéo virale"})]}),e.jsx(d,{to:"/",className:"text-sm text-muted-foreground hover:text-primary transition-colors",children:"agence-tribu.fr"})]})})]})]})};export{Q as default};
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.