PageSourceSearch

https://capitaineaventure.fr/assets/FreeStoriesLanding-CAwlJETC.js

js capitaineaventure.fr collected 2026-10-02 01:02:16 UTC 24,035 bytes, 6 lines download raw bytes

1import{j as e}from"./vendor-query-DFKzjVri.js";import{u as Y,e as W,r as l,L as g}from"./vendor-react-B9UTwVUJ.js";import{L as J}from"./Layout-U3hfl5tA.js";import{S as K}from"./SEO-DL9ijUL0.js";import{s as A,B as v}from"./index-BmRjENVC.js";import{C}from"./card-CwhdHZ1t.js";import{B as G}from"./badge-DnwlTu3o.js";import{S as H}from"./switch-CLf6G2nk.js";import{r as L}from"./utils-DwDCYpck.js";import{p as X}from"./purify.es-BKfhsMPj.js";import{u as Z}from"./useProfileManager-Caeai6EV.js";import{s as ee}from"./readingModePref-DMsA7_no.js";import{S as $}from"./sparkles-Cy9dIcCr.js";import{V as F}from"./volume-2-C2seD3g2.js";import{B as _}from"./brain-CXhmdynA.js";import{S as te}from"./shield-CZ_izf6j.js";import{B as q}from"./book-open-Dg5RAkxZ.js";import{S as se}from"./star-Ch5qU6bd.js";import{U as re}from"./users-DDvM2Vv6.js";import{C as ae}from"./clapperboard-tlLP344R.js";import{A as z}from"./arrow-right-BIkgX-iq.js";import"./use-toast-tfTEdvO_.js";import"./sheet-CR4W5BFg.js";import"./vendor-ui-5lK0Gku8.js";import"./dialog-DtmeHtV9.js";import"./createLucideIcon-DcuJWPyU.js";import"./separator-DO-uaT3r.js";import"./engagementMilestones-JMZ1KSvC.js";import"./crown-Ulhw-YL6.js";import"./settings-k-fEU8RX.js";import"./vendor-supabase-IraqMp5m.js";import"./index-C3pLyADc.js";const h=["4-6","7-9","10-12","13-15"],Be=()=>{const b=Y(),[D]=W(),d=D.get("age"),j=D.get("story"),{readerName:E}=Z(),[a,y]=l.useState(()=>d&&h.includes(d)?d:"7-9"),[f,T]=l.useState({}),[m,P]=l.useState(!0),[w,M]=l.useState(null),[x,B]=l.useState(!1),[n,O]=l.useState(!0),[u,R]=l.useState(!1),k=w&&E?E:"Capitaine Aventure";l.useEffect(()=>{A.auth.getSession().then(({data:s})=>{M(s.session?.user??null)});const{data:{subscription:t}}=A.auth.onAuthStateChange((s,r)=>{M(r?.user??null)});return()=>{t.unsubscribe()}},[]),l.useEffect(()=>{(async()=>{P(!0);try{const{data:s,error:r}=await A.from("stories").select("id, name, description, cover_image_url, age_range, slug, themes").eq("is_free_demo",!0).eq("is_draft",!1).order("created_at",{ascending:!1});if(r)throw r;const i={};if(h.forEach(c=>{const N=s?.find(Q=>Q.age_range===c);i[c]=N||null}),T(i),j){const c=s?.find(N=>N.id===j||N.slug===j);c&&h.includes(c.age_range)&&y(c.age_range)}else d&&h.includes(d)&&y(d)}catch{}finally{P(!1)}})()},[d,j]);const I=t=>{const s=new URLSearchParams;x&&s.append("dyslexia","true"),ee(n?"cinema":"livre"),n||s.append("livre","1"),u&&s.append("shared","true");const r=s.toString(),i=r?`?${r}`:"";if(!w){b(`/reader/${t.id}${i}`);return}t.slug?b(`/histoires/${t.slug}${i}`):b(`/reader/${t.id}${i}`)},S=t=>({"4-6":"4-6 ans","7-9":"7-9 ans","10-12":"10-12 ans","13-15":"13-15 ans"})[t]||t,U=t=>({"4-6":"🧒","7-9":"👧","10-12":"🧑","13-15":"👦"})[t]||"👶",o=a?f[a]:null,p=h.reduce((t,s)=>{const r=f[s];return r?.slug&&t.push({age:s,story:r}),t},[]),V=w?"-mt-24 pt-24":"-mt-[8.5rem] pt-[8.5rem]";return e.jsxs(J,{children:[e.jsx(K,{title:"Histoires Interactives Gratuites pour Enfants | Capitaine Aventure",description:"Découvrez des histoires interactives gratuites pour enfants de 4 à 15 ans. Choisissez une aventure par âge et commencez sans inscription, avec des options audio et DYS.",keywords:"histoires interactives gratuites enfants, histoires interactives gratuites, lecture enfants gratuit, histoires personnalisées, histoires DYS, histoire dont tu es le héros gratuite",structuredData:{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage",name:"Histoires Interactives Gratuites pour Enfants",description:"Collection d'histoires interactives gratuites pour enfants de 4 à 15 ans. Chaque histoire propose des choix qui changent le cours de l'aventure.",url:"https://capitaineaventure.fr/histoires-gratuites",isPartOf:{"@type":"WebSite",name:"Capitaine Aventure",url:"https://capitaineaventure.fr"},breadcrumb:{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Accueil",item:"https://capitaineaventure.fr/"},{"@type":"ListItem",position:2,name:"Histoires Gratuites",item:"https://capitaineaventure.fr/histoires-gratuites"}]}},{"@type":"ItemList",name:"Histoires gratuites par tranche d'âge",numberOfItems:Object.values(f).filter(
1Boolean).length,itemListElement:Object.entries(f).filter(([,t])=>t).map(([t,s],r)=>({"@type":"ListItem",position:r+1,item:{"@type":"Book",name:s.name.replace(/\{prenom\}/gi,"votre enfant"),description:s.description?.replace(/\{prenom\}/gi,"votre enfant").replace(/<[^>]*>/g,""),url:`https://capitaineaventure.fr/histoires/${s.slug}`,image:s.cover_image_url,inLanguage:"fr",typicalAgeRange:`${t} ans`,isAccessibleForFree:!0,interactivityType:"active",genre:["Interactive Fiction","Children's Literature"]}}))},{"@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Les histoires gratuites nécessitent-elles une inscription ?",acceptedAnswer:{"@type":"Answer",text:"Non, aucune inscription n'est requise pour tester nos histoires gratuites. Vous pouvez commencer à lire immédiatement."}},{"@type":"Question",name:"Les histoires sont-elles adaptées aux enfants dyslexiques ?",acceptedAnswer:{"@type":"Answer",text:"Oui, toutes nos histoires proposent un mode DYS avec une police adaptée (OpenDyslexic), un espacement optimisé et une mise en page simplifiée."}},{"@type":"Question",name:"Comment fonctionne la personnalisation ?",acceptedAnswer:{"@type":"Answer",text:"Le prénom de votre enfant est intégré directement dans l'histoire. Il devient le héros de l'aventure et ses choix déterminent la suite du récit."}}]}]}}),e.jsxs("div",{className:`relative overflow-hidden ${V}`,children:[e.jsx("div",{className:"absolute inset-0 -top-20 bg-gradient-to-b from-primary/5 via-purple-50/50 to-transparent dark:from-primary/10 dark:via-purple-900/20 dark:to-transparent"}),e.jsx("div",{className:"absolute -top-10 left-10 w-72 h-72 bg-pink-200/30 rounded-full blur-3xl"}),e.jsx("div",{className:"absolute top-0 right-10 w-96 h-96 bg-violet-200/30 rounded-full blur-3xl"}),e.jsxs("div",{className:"relative page-container pb-8 pt-10 max-w-4xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-gradient-to-r from-green-500/10 to-emerald-500/10 text-green-700 dark:text-green-400 px-4 py-2 rounded-full text-sm font-medium mb-6 border border-green-200/50",children:[e.jsx($,{className:"w-4 h-4"}),!m&&p.length>0?`${p.length} histoire${p.length>1?"s":""} gratuite${p.length>1?"s":""}, sans inscription ni carte bancaire`:"Histoires gratuites, sans inscription ni carte bancaire"]}),e.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-5xl font-bold mb-5 text-foreground leading-tight",children:["Histoires interactives gratuites pour enfants :"," ",e.jsx("span",{className:"bg-gradient-to-r from-pink-500 via-purple-500 to-violet-500 bg-clip-text text-transparent",children:"votre enfant est le héros"})]}),e.jsxs("p",{className:"text-lg sm:text-xl text-muted-foreground max-w-xl mx-auto leading-relaxed",children:["Choisissez l'âge de votre enfant et commencez une aventure offerte.",e.jsx("br",{}),e.jsx("span",{className:"text-foreground font-medium",children:"Chaque choix change la suite de l'histoire, sans créer de compte."})]}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-3 mt-8",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-muted-foreground bg-background/80 backdrop-blur-sm px-3 py-1.5 rounded-full border",children:[e.jsx(F,{className:"w-4 h-4 text-primary"}),"Audio inclus"]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-muted-foreground bg-background/80 backdrop-blur-sm px-3 py-1.5 rounded-full border",children:[e.jsx(_,{className:"w-4 h-4 text-sky-500"}),"Mode Dyslexie"]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-muted-foreground bg-background/80 backdrop-blur-sm px-3 py-1.5 rounded-full border",children:[e.jsx(te,{className:"w-4 h-4 text-green-500"}),"Sans pub"]})]})]}),e.jsxs(C,{className:"p-6 sm:p-8 mb-8 bg-background/80 backdrop-blur-sm border-2 border-primary/10 shadow-xl",children:[e.jsxs("h2",{className:"text-lg sm:text-xl font-semibold text-center mb-6 text-foreground flex items-center justify-center gap-2",children:[e.jsx(q,{className:"w-5 h-5 text-primary"}),"Choisissez l'âge de votre enfant"]}),e.jsx("div",{className:"flex flex-wrap justify-center gap-3 sm:gap-4",children:h.map((t,s)=>{const r=!!f[t],i=a===t,c=!a&&r&&s===1;return e.jsxs("button",{onClick:()=>y(t),disabled:!r&&!m,className:`
2                      relative flex flex-col items-center gap-1 px-5 sm:px-6 py-3 sm:py-4 rounded-2xl font-semibold transition-all duration-300
3                      ${i?"bg-gradient-to-br from-primary to-primary/80 text-primary-foreground shadow-lg shadow-primary/25 scale-105":"bg-muted/50 hover:bg-muted text-foreground hover:scale-102 border-2 border-transparent hover:border-primary/20"}
4                      ${!r&&!m?"opacity-40 cursor-not-allowed":"cursor-pointer"}
5                      ${c?"animate-nudge":""}
6                    `,children:[e.jsx("span",{className:"text-2xl",children:U(t)}),e.jsx("span",{className:"text-sm sm:text-base",children:S(t)}),i&&e.jsx("div",{className:"absolute -top-1 -right-1 w-4 h-4 bg-green-500 rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-white text-xs",children:"✓"})})]},t)})}),!m&&!a&&e.jsxs("p",{className:"text-center text-sm text-muted-foreground mt-5 flex items-center justify-center gap-2",children:[e.jsx(se,{className:"w-4 h-4 text-amber-400"}),"Une histoire différente adaptée à chaque tranche d'âge"]}),e.jsxs("details",{className:"group mt-6 border-t border-border/50 pt-5",children:[e.jsxs("summary",{className:"flex cursor-pointer list-none items-center justify-center gap-2 text-sm font-semibold text-foreground",children:[e.jsx($,{className:"w-4 h-4 text-primary"}),"Personnaliser la lecture",e.jsx("span",{className:"text-xs font-normal text-muted-foreground",children:"(facultatif)"}),e.jsx("span",{className:"transition-transform group-open:rotate-180","aria-hidden":"true",children:"⌄"})]}),e.jsxs("div",{className:"mt-4 grid grid-cols-1 sm:grid-cols-3 gap-3",children:[e.jsxs("div",{className:`flex items-center gap-3 p-3 rounded-xl border-2 transition-all cursor-pointer ${u?"border-violet-400 bg-vi
6olet-50 dark:bg-violet-950/30":"border-border bg-muted/20"}`,onClick:()=>R(!u),children:[e.jsx("div",{className:`w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0 ${u?"bg-violet-100 dark:bg-violet-900":"bg-muted/50"}`,children:e.jsx(re,{className:`w-5 h-5 ${u?"text-violet-600 dark:text-violet-400":"text-muted-foreground"}`})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"text-sm font-semibold text-foreground",children:"Lecture en duo"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Parent & enfant ensemble"})]}),e.jsx(H,{checked:u,onCheckedChange:R,className:"data-[state=checked]:bg-violet-500 flex-shrink-0"})]}),e.jsxs("div",{className:`flex items-center gap-3 p-3 rounded-xl border-2 transition-all cursor-pointer ${x?"border-sky-400 bg-sky-50 dark:bg-sky-950/30":"border-border bg-muted/20"}`,onClick:()=>B(!x),children:[e.jsx("div",{className:`w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0 ${x?"bg-sky-100 dark:bg-sky-900":"bg-muted/50"}`,children:e.jsx(_,{className:`w-5 h-5 ${x?"text-sky-600 dark:text-sky-400":"text-muted-foreground"}`})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"text-sm font-semibold text-foreground",children:"Mode Dyslexie"}),e.jsx("div",{className:"text-xs text-muted-foreground",children:"Lecture facilitée DYS"})]}),e.jsx(H,{checked:x,onCheckedChange:B,className:"data-[state=checked]:bg-sky-500 flex-shrink-0"})]}),e.jsxs("div",{className:"flex flex-col gap-2 p-3 rounded-xl border-2 border-border bg-muted/20",children:[e.jsx("p",{className:"text-xs font-medium text-muted-foreground text-center",children:"Choisis le mode de lecture"}),e.jsxs("div",{className:"flex rounded-xl overflow-hidden border border-border bg-background",children:[e.jsxs("button",{type:"button",onClick:()=>O(!1),className:`flex-1 flex flex-col items-center justify-center gap-1 py-3 px-2 transition-all ${n?"bg-muted/30 text-muted-foreground hover:bg-muted/50":"bg-primary text-primary-foreground shadow-inner"}`,"aria-pressed":!n,children:[e.jsx(q,{className:`w-5 h-5 ${n?"text-muted-foreground":"text-primary-foreground"}`}),e.jsx("span",{className:"text-xs font-semibold",children:"Mode livre"}),e.jsx("span",{className:"text-[10px] opacity-80 leading-tight text-center hidden sm:block",children:"Page par page"})]}),e.jsx("div",{className:"w-px bg-border"}),e.jsxs("button",{type:"button",onClick:()=>O(!0),className:`flex-1 flex flex-col items-center justify-center gap-1 py-3 px-2 transition-all ${n?"bg-amber-500 text-white shadow-inner":"bg-muted/30 text-muted-foreground hover:bg-muted/50"}`,"aria-pressed":n,children:[e.jsx(ae,{className:`w-5 h-5 ${n?"text-white":"text-muted-foreground"}`}),e.jsx("span",{className:"text-xs font-semibold",children:"Mode cinéma"}),e.jsx("span",{className:"text-[10px] opacity-90 leading-tight text-center hidden sm:block",children:"Ligne par ligne"})]})]})]})]})]})]})]})]}),e.jsxs("div",{className:"page-container pb-20 max-w-4xl mx-auto",children:[m?e.jsxs("div",{className:"text-center py-16",children:[e.jsxs("div",{className:"relative inline-block",children:[e.jsx("div",{className:"w-16 h-16 border-4 border-primary/20 border-t-primary rounded-full animate-spin"}),e.jsx("span",{className:"absolute inset-0 flex items-center justify-center text-2xl",children:"📚"})]}),e.jsx("p",{className:"text-muted-foreground mt-4",children:"Chargement des histoires..."})]}):a&&o?e.jsx(C,{className:"overflow-hidden border-0 shadow-2xl mb-12 bg-gradient-to-br from-background to-muted/30",children:e.jsxs("div",{className:"md:flex",children:[e.jsxs("div",{className:"md:w-2/5 relative cursor-pointer group",onClick:()=>I(o),children:[e.jsx("div",{className:"aspect-[16/10] md:aspect-auto md:h-full",children:e.jsx("img",{src:o.cover_image_url,alt:o.name,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"})}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
6parent to-transparent"}),e.jsx(G,{className:"absolute top-4 left-4 bg-green-500/90 backdrop-blur-sm text-white text-sm shadow-lg",children:"✨ Gratuit"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:e.jsx("div",{className:"w-20 h-20 bg-white/90 backdrop-blur-sm rounded-full flex items-center justify-center shadow-2xl transform group-hover:scale-110 transition-transform",children:e.jsx("span",{className:"text-primary text-3xl ml-1",children:"▶"})})})]}),e.jsxs("div",{className:"md:w-3/5 p-6 sm:p-8 flex flex-col justify-between",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[e.jsx(G,{variant:"outline",className:"text-xs",children:S(a)}),e.jsx("span",{className:"text-muted-foreground text-sm",children:"⏱️ 10-15 min"})]}),e.jsx("h3",{className:"text-2xl sm:text-3xl font-bold mb-4 text-foreground leading-tight",children:L(o.name,k)}),e.jsx("p",{className:"text-muted-foreground mb-6 line-clamp-3 text-base leading-relaxed",dangerouslySetInnerHTML:{__html:X.sanitize(L(o.description,k),{ALLOWED_TAGS:["b","i","em","strong","span","br"],ALLOWED_ATTR:["class"]})}}),e.jsxs("div",{className:"flex flex-wrap gap-2 mb-6",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs bg-primary/10 text-primary px-3 py-1.5 rounded-full",children:[e.jsx(F,{className:"w-3.5 h-3.5"}),"Audio"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs bg-sky-500/10 text-sky-600 dark:text-sky-400 px-3 py-1.5 rounded-full",children:[e.jsx(_,{className:"w-3.5 h-3.5"}),"Mode Dyslexie"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs bg-purple-500/10 text-purple-600 dark:text-purple-400 px-3 py-1.5 rounded-full",children:[e.jsx($,{className:"w-3.5 h-3.5"}),"Personnalisé"]})]})]}),e.jsxs(v,{onClick:()=>I(o),size:"lg",className:"w-full text-lg font-bold py-7 bg-gradient-to-r from-primary to-primary/90 hover:from-primary/90 hover:to-primary shadow-lg shadow-primary/20 group relative overflow-hidden shimmer-button",children:[e.jsx("span",{className:"absolute inset-0 w-full h-full pointer-events-none",children:e.jsx("span",{className:"absolute inset-0 w-1/3 h-full bg-gradient-to-r from-transparent via-white/40 to-transparent animate-shimmer"})}),e.jsx("span",{className:"mr-2 group-hover:scale-110 transition-transform inline-block relative z-10",children:"▶"}),e.jsx("span",{className:"relative z-10",children:"Lire l'histoire offerte"}),e.jsx(z,{className:"w-5 h-5 ml-2 group-hover:translate-x-1 transition-transform relative z-10"})]})]})]})}):a&&!o?e.jsxs(C,{className:"p-10 text-center border-dashed border-2 bg-muted/20",children:[e.jsx("div",{className:"text-4xl mb-4",children:"📭"}),e.jsx("p",{className:"text-muted-foreground mb-4",children:"Aucune histoire gratuite disponible pour cette tranche d'âge."}),e.jsx(v,{onClick:()=>b("/bibliotheque"),variant:"outline",children:"Explorer la bibliothèque Premium"})]}):null,!m&&p.length>0&&e.jsxs("section",{"aria-labelledby":"free-stories-list-title",className:"mb-12",children:[e.jsx("h2",{id:"free-stories-list-title",className:"text-2xl sm:text-3xl font-bold text-center mb-3",children:"Les histoires gratuites disponibles"}),e.jsx("p",{className:"text-muted-foreground text-center max-w-2xl mx-auto mb-6",children:"Retrouvez chaque aventure offerte avec sa tranche d'âge. Ouvrez celle qui convient à votre enfant pour découvrir son histoire et commencer à lire."}),e.jsx("div",{className:"grid gap-4 sm:grid-cols-2",children:p.map(({age:t,story:s})=>e.jsxs(g,{to:`/histoires/${s.slug}`,className:"group flex gap-4 rounded-2xl border border-border bg-background p-3 hover:border-primary/50 hover:shadow-md transition-colors",children:[e.jsx("img",{src:s.cover_image_url,alt:"",loading:"lazy",className:"h-24 w-20 shrink-0 rounded-xl object-cover"}),e.jsxs("span",{className:"flex min-w-0 flex-col justify-center",children:[e.jsxs("span",{className:"text-sm text-muted-foreground",children:["Histoire offerte · ",S(t)]}),e.jsx("span",{className:"font-semibold text-foreground group-hover:text-primary",children:L(s.name,k)}),e.jsx("span",{className:"mt-1 text-sm font-medium text-primary",children:"Découvrir l'histoire →"})]})]},s.id))})]}),!a&&!m&&e.jsx("div",{className:"mb-12 text-center max-w-md mx-auto",children:e.jsxs("div",{className:"inline-flex items-start gap-3 bg-amber-50 dark:bg-amber-950/30 text-amber-800 dark:text-amber-200 px-5 py-4 rounded-2xl border border-amber-200/50 dark:border-amber-800/50",children:[e.jsx("span",{className:"text-2xl",children:"💡"}),e.jsxs("p",{className:"text-sm text-left",children:["L'âge choisi adapte la ",e.jsx("strong",{children:"complexité du vocabulaire"}),", le ",e.jsx("strong",{children:"rythme de l'histoire"})," et les ",e.jsx("strong",{children:"thèmes abordés"}),"."]})]})}),e.jsxs("div",{className:"relative overflow-hidden rounded-3xl bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900 p-8 sm:p-10 text-white",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-primary/20 rounded-full blur-3xl"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-48 h-48 bg-violet-500/20 rounded-full blur-3xl"}),e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h3",{className:"text-2xl sm:text-3xl font-bold mb-3",children:"✨ Découvrez l’expérience Premium"}),e.jsx("p",{className:"text-slate-300 max-w-2xl mx-auto text-sm sm:text-base leading-relaxed",children:"Profitez d'un accès illimité à toutes les histoires, du Mode Auteur, du Grand Voyage complet et de jusqu'à 6 profils enfants - sans engagement."})]}),e.jsx("div",{className:"max-w-xl mx-auto mb-8",children:e.jsxs("div",{className:"bg-gradient-to-br from-primary/25 to-violet-500/25 backdrop-blur-sm rounded-2xl p-5 border border-primary/40 relative shadow-[0_20px_60px_rgba(14,165,233,0.18)] flex flex-col items-start",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 mb-3 w-full",children:[e.jsxs("div",{className:"text-left",children:[e.jsx("h4",{className:"font-semibold text-lg mb-1 flex items-center gap-2",children:"👑 Abonnement Premium"}),e.jsx("p",{className:"text-sm text-slate-200",children:"Toute l'expérience Capitaine Aventure"})]}),e.jsx("span",{className:"bg-yellow-400 text-slate-900 text-[10px] font-bold px-2 py-0.5 rounded-full shrink-0",children:"RECOMMANDÉ"})]}),e.jsxs("p",{className:"text-2xl font-bold text-yellow-300 mb-3 text-left",children:["3,99€",e.jsx("span",{className:"text-sm font-normal text-yellow-300/70",children:"/mois"})]}),e.jsxs("ul",{className:"space-y-2 text-sm pl-1 w-full text-left",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-yellow-400 w-4 shrink-0 text-center mt-0.5",children:"✓"}),e.jsx("span",{className:"flex-1",children:e.jsx("strong",{className:"text-yellow-200",children:"Histoires illimitées"})})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-yellow-400 w-4 shrink-0 text-center mt-0.5",children:"✓"}),e.jsx("span",{className:"flex-1",children:e.jsx("strong",{className:"text-yellow-200",children:"Jusqu'à 6 profils enfants"})})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-yellow-400 w-4 shrink-0 text-center mt-0.5",children:"✓"}),e.jsxs("span",{className:"flex-1",children:["Accès à l'",e.jsx("strong",{className:"text-yellow-200",children:"Atelier de Création d'histoires"})," ✍️"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-yellow-400 w-4 shrink-0 text-center mt-0.5",children:"✓"}),e.jsxs("span",{className:"flex-1",children:["Mode ",e.jsx("strong",{className:"text-yellow-200",children:"Grand Voyage"})," complet 🧭"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-yellow-400 w-4 shrink-0 text-center mt-0.5",children:"✓"}),e.jsx("span",{className:"flex-1",children:"0 publicité"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-yellow-400 w-4 shrink-0 text-center mt-0.5",children:"✓"}),e.jsx("span",{className:"flex-1",children:"Sans engagement"})]})]}),e.jsx("p",{className:"text-xs text-slate-300/80 mt-3 text-left",children:"Sans engagement - résiliable à tout moment."}),e.jsx(v,{asChild:!0,size:"sm",className:"w-full mt-4 bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-bold",children:e.jsxs(g,{to:"/auth?tab=premium",className:"flex items-center justify-center",children:["S'abonner ",e.jsx(z,{className:"w-4 h-4 ml-1"})]})})]})}),e.jsx("div",{className:"text-center",children:e.jsx(v,{asChild:!0,size:"lg",className:"bg-white text-slate-900 hover:bg-slate-100 font-bold px-6 sm:px-8 py-5 sm:py-6 text-base sm:text-lg shadow-xl max-w-full",children:e.jsxs(g,{to:"/bibliotheque",className:"flex items-center justify-center gap-2 whitespace-nowrap",children:[e.jsx(q,{className:"h-5 w-5 flex-shrink-0"}),e.jsx("span",{children:"Découvrir le catalogue"}),e.jsx(z,{className:"w-5 h-5 flex-shrink-0"})]})})})]})]}),e.jsx("div",{className:"mt-12 text-center",children:e.jsxs("div",{className:"inline-flex flex-wrap justify-center gap-4 sm:gap-6 text-sm",children:[e.jsx(g,{to:"/bibliotheque",className:"text-muted-foreground hover:text-primary transition-colors flex items-center gap-1.5",children:"📚 Bibliothèque"}),e.jsx(g,{to:"/apropos",className:"text-muted-foreground hover:text-primary transition-colors flex items-center gap-1.5",children:"ℹ️ À propos"})]})})]})]})};export{Be 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.