@@ -133,7 +133,7 @@ <h1 class="text-6xl sm:text-7xl lg:text-8xl font-black tracking-tight leading-no
133133 </ p >
134134 < div class ="flex gap-4 flex-wrap ">
135135 < a href ="#pricing " class ="bg-primary text-white px-8 py-4 rounded-full text-lg font-semibold hover:bg-primary-dark font-display "> Voir les offres</ a >
136- < a href ="#contact " class ="border-2 border-slate-300 text-slate-700 px-8 py-4 rounded-full text-lg font-semibold hover:border-primary hover:text-primary font-display "> Coaching gratuit</ a >
136+ < a href ="?offer=coaching#order-form " data-offer =" coaching " class ="border-2 border-slate-300 text-slate-700 px-8 py-4 rounded-full text-lg font-semibold hover:border-primary hover:text-primary font-display "> Coaching gratuit</ a >
137137 </ div >
138138 < div class ="flex gap-6 mt-12 text-sm text-slate-400 ">
139139 < span > ✓ Livraison 24-48h</ span >
@@ -197,7 +197,7 @@ <h3 class="text-2xl font-bold text-foreground mb-1 font-display">Agent Web UI +
197197 < li class ="flex gap-2 "> < span class ="check-icon "> ✓</ span > Code visible et documentation</ li >
198198 < li class ="flex gap-2 "> < span class ="check-icon "> ✓</ span > 1 révision incluse</ li >
199199 </ ul >
200- < a href ="#contact " class ="block text-center bg-accent text-white py-3 rounded-full font-semibold hover:bg-accent-dark font-display transition-all "> Demander l'agent — 5€</ a >
200+ < a href ="?offer=agent#order-form " data-offer =" agent " class ="block text-center bg-accent text-white py-3 rounded-full font-semibold hover:bg-accent-dark font-display transition-all "> Demander l'agent — 5€</ a >
201201 </ div >
202202
203203 <!-- Coaching -->
@@ -213,7 +213,7 @@ <h3 class="text-2xl font-bold text-foreground mb-1 font-display">Coaching IA age
213213 < li class ="flex gap-2 "> < span class ="check-icon "> ✓</ span > Priorisation du premier cas d'usage</ li >
214214 < li class ="flex gap-2 "> < span class ="check-icon "> ✓</ span > Plan d'action concret</ li >
215215 </ ul >
216- < a href ="#contact " class ="block text-center bg-primary text-white py-3 rounded-full font-semibold hover:bg-primary-dark font-display "> Réserver le coaching gratuit</ a >
216+ < a href ="?offer=coaching#order-form " data-offer =" coaching " class ="block text-center bg-primary text-white py-3 rounded-full font-semibold hover:bg-primary-dark font-display "> Réserver le coaching gratuit</ a >
217217 </ div >
218218 </ div >
219219 </ div >
@@ -296,7 +296,7 @@ <h2 class="section-title text-foreground mb-5 font-display">Commencez par un coa
296296 < p class ="text-slate-600 text-lg mb-6 max-w-xl mx-auto "> Décrivez votre besoin en 2 phrases : je vous réponds avec un diagnostic et un plan d'action concret sous 24h, sans engagement.</ p >
297297
298298 <!-- Formulaire de commande -->
299- < div class ="agentic-card bg-white rounded-2xl p-8 border border-border mb-10 max-w-xl mx-auto text-left ">
299+ < div id =" order-form " class ="agentic-card bg-white rounded-2xl p-8 border border-border mb-10 max-w-xl mx-auto text-left " style =" scroll-margin-top: 6rem; ">
300300 < h3 class ="font-bold text-xl mb-6 font-display text-center "> Choisir l'agent ou le coaching gratuit</ h3 >
301301 < form action ="mailto:laslyalexandre@gmail.com " method ="POST " enctype ="text/plain " class ="space-y-4 ">
302302 < div >
@@ -312,12 +312,13 @@ <h3 class="font-bold text-xl mb-6 font-display text-center">Choisir l'agent ou l
312312 < input type ="text " name ="entreprise " class ="w-full px-4 py-3 rounded-xl border border-border bg-white text-foreground focus:border-primary focus:ring-2 focus:ring-blue-500/20 outline-none transition-all ">
313313 </ div >
314314 < div >
315- < label class ="block text-sm font-semibold text-foreground mb-1 "> Offre souhaitée *</ label >
316- < select name ="offre " required class ="w-full px-4 py-3 rounded-xl border border-border bg-white text-foreground focus:border-primary focus:ring-2 focus:ring-blue-500/20 outline-none transition-all ">
315+ < label for =" offer-select " class ="block text-sm font-semibold text-foreground mb-1 "> Offre souhaitée *</ label >
316+ < select id =" offer-select " name ="offre " required class ="w-full px-4 py-3 rounded-xl border border-border bg-white text-foreground focus:border-primary focus:ring-2 focus:ring-blue-500/20 outline-none transition-all ">
317317 < option value =""> -- Choisir --</ option >
318318 < option value ="Agent Web UI + Telegram 5€ "> Agent Web UI + Telegram (5€)</ option >
319319 < option value ="Coaching gratuit "> Coaching gratuit</ option >
320320 </ select >
321+ < p id ="offer-prefill-status " class ="mt-2 text-sm font-semibold text-primary " aria-live ="polite "> </ p >
321322 </ div >
322323 < div >
323324 < label class ="block text-sm font-semibold text-foreground mb-1 "> Décrivez votre besoin *</ label >
@@ -337,13 +338,13 @@ <h3 class="font-bold text-xl mb-6 font-display text-center">Choisir l'agent ou l
337338 Envoyer la demande
338339 </ button >
339340 </ form >
340- < p class ="text-slate-400 text-xs text-center mt-4 "> Formulaire sécurisé. Réponse sous 24h .</ p >
341+ < p class ="text-slate-400 text-xs text-center mt-4 "> Votre messagerie s'ouvrira pour envoyer la demande. Aucune donnée n'est stockée sur ce site .</ p >
341342 </ div >
342343
343344 <!-- Accès rapide aux offres -->
344345 < div class ="grid sm:grid-cols-2 gap-4 max-w-lg mx-auto mb-8 ">
345- < a href ="#contact " class ="bg-accent text-white py-3 px-4 rounded-full font-semibold hover:bg-accent-dark font-display text-sm transition-all "> Agent Web UI + Telegram — 5€</ a >
346- < a href ="#contact " class ="bg-primary text-white py-3 px-4 rounded-full font-semibold hover:bg-primary-dark font-display text-sm transition-all "> Coaching gratuit</ a >
346+ < a href ="?offer=agent#order-form " data-offer =" agent " class ="bg-accent text-white py-3 px-4 rounded-full font-semibold hover:bg-accent-dark font-display text-sm transition-all "> Agent Web UI + Telegram — 5€</ a >
347+ < a href ="?offer=coaching#order-form " data-offer =" coaching " class ="bg-primary text-white py-3 px-4 rounded-full font-semibold hover:bg-primary-dark font-display text-sm transition-all "> Coaching gratuit</ a >
347348 </ div >
348349
349350 < div class ="flex flex-col gap-3 items-center ">
@@ -367,6 +368,23 @@ <h3 class="font-bold text-xl mb-6 font-display text-center">Choisir l'agent ou l
367368 </ div >
368369</ footer >
369370
371+ <!-- Offer prefill -->
372+ < script >
373+ ( function ( ) {
374+ const params = new URLSearchParams ( window . location . search ) ;
375+ const selectedOffer = params . get ( 'offer' ) ;
376+ const offerSelect = document . getElementById ( 'offer-select' ) ;
377+ const status = document . getElementById ( 'offer-prefill-status' ) ;
378+ const offers = {
379+ agent : 'Agent Web UI + Telegram 5€' ,
380+ coaching : 'Coaching gratuit'
381+ } ;
382+ if ( ! offerSelect || ! status || ! Object . prototype . hasOwnProperty . call ( offers , selectedOffer ) ) return ;
383+ offerSelect . value = offers [ selectedOffer ] ;
384+ status . textContent = `Offre présélectionnée : ${ offerSelect . options [ offerSelect . selectedIndex ] . text } ` ;
385+ } ) ( ) ;
386+ </ script >
387+
370388<!-- Scroll Reveal -->
371389< script >
372390( function ( ) {
0 commit comments