import { useState } from 'react'
import { motion, AnimatePresence } from 'framer-motion'
import { FiChevronDown, FiBookOpen, FiChevronRight } from 'react-icons/fi'
import { faqs, guides } from '../data/mutuelles'
function FaqItem({ faq, index }) {
const [open, setOpen] = useState(index === 0)
return (
{open && (
{faq.content.map((para, i) => (
{para}
))}
)}
)
}
export default function GuideSection({ bgSrc, bgMobileSrc }) {
return (
{/* Fond mobile (portrait) */}
{(bgMobileSrc || bgSrc) && (
)}
{/* Fond desktop (paysage, parallax) */}
{bgSrc && (
)}
{/* Overlay */}
{/* Wave ← ComparisonSection */}
{/* Wave → Footer */}
Tout savoir sur la mutuelle santé
Nos guides répondent à toutes vos questions pour faire le bon choix.
{/* FAQ accordéon */}
{faqs.map((faq, i) => (
))}
{/* Sidebar */}
{/* Guides card */}
{guides.map((guide, i) => (
-
{guide}
))}
{/* CTA card */}
Besoin d'un conseil personnalisé ?
Nos experts répondent à toutes vos questions gratuitement, sans engagement.
📞 01 80 89 10 30
)
}