import{r as l,j as e}from"./vendor-react-f9GpqhU8.js";import{e as n,c as i}from"./vendor-icons-CVr-VGw8.js";import{K as x}from"./index-JGtyZa8y.js";import"./vendor-utils-DjInyQU5.js";import"./vendor-ui-E0laiDhI.js";import"./vendor-supabase-DU84N46d.js";const f=()=>{const[a,r]=l.useState(null),o=s=>{r(a===s?null:s)};return e.jsx("section",{id:"faq",className:"py-20 bg-gradient-to-br from-blue-50 to-white",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("h2",{className:"text-2xl md:text-4xl font-bold text-gray-900 mb-16 text-center",children:"Questions fréquentes sur l'hypnothérapie"}),e.jsx("div",{className:"max-w-3xl mx-auto",children:e.jsx("div",{className:"space-y-4",children:x.map((s,t)=>e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow",children:[e.jsxs("button",{className:"flex justify-between items-center w-full p-6 text-left hover:bg-gray-50 transition-colors",onClick:()=>o(t),children:[e.jsx("span",{className:"font-semibold text-gray-900 pr-4",children:s.question}),a===t?e.jsx(n,{className:"text-blue-500 flex-shrink-0",size:24}):e.jsx(i,{className:"text-blue-500 flex-shrink-0",size:24})]}),e.jsx("div",{className:`px-6 overflow-hidden transition-all duration-300 ${a===t?"max-h-96 pb-6":"max-h-0"}`,children:e.jsx("p",{className:"text-gray-600 leading-relaxed whitespace-pre-line",children:s.answer})})]},t))})})]})})};export{f as default};