{"version":3,"file":"FAQ.qOGnytnP.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/04d3x8SMc1DdIQ8jTHmU/FPLVSMVsyoJshl3ffVMh/FAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useRef,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";/**\n * @framerIntrinsicWidth 1440\n * @framerIntrinsicHeight 900\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function FAQ(props){const{tag,tagColor,heading,headingColor,items,questionColor,answerColor,iconColor,iconActiveBackground,iconActiveColor,dividerColor,backgroundColor,tagFont,headingFont,questionFont,answerFont}=props;const[openIndex,setOpenIndex]=useState(0);const[width,setWidth]=useState(1440);const containerRef=useRef(null);useEffect(()=>{if(!containerRef.current)return;const observer=new ResizeObserver(entries=>{for(const entry of entries)setWidth(entry.contentRect.width);});observer.observe(containerRef.current);return()=>observer.disconnect();},[]);const isMobile=width<810;const isTablet=width>=810&&width<1200;const headingSize=isMobile?\"32px\":isTablet?\"48px\":\"64px\";const questionSize=isMobile?\"16px\":\"18px\";const answerSize=isMobile?\"14px\":\"15px\";const tagSize=isMobile?\"11px\":\"13px\";const padding=isMobile?\"60px 20px\":isTablet?\"80px 40px\":\"120px 80px\";const itemPadding=isMobile?\"20px 0\":\"28px 0\";return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",backgroundColor,padding,boxSizing:\"border-box\",...props.style},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:\"950px\",margin:\"0 auto\",display:\"flex\",flexDirection:\"column\",gap:isMobile?\"40px\":\"60px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:isMobile?\"16px\":\"24px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{...tagFont,color:tagColor,textTransform:\"uppercase\",fontSize:tagSize},children:tag}),/*#__PURE__*/_jsx(\"h2\",{style:{...headingFont,color:headingColor,margin:0,fontSize:headingSize,lineHeight:1.05,whiteSpace:\"pre-line\"},children:heading})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\"},children:items.map((item,index)=>{const isOpen=openIndex===index;return /*#__PURE__*/_jsxs(\"div\",{style:{borderTop:`1px solid ${dividerColor}`,...index===items.length-1?{borderBottom:`1px solid ${dividerColor}`}:{}},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setOpenIndex(isOpen?null:index),style:{width:\"100%\",background:\"transparent\",border:\"none\",padding:itemPadding,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,cursor:\"pointer\",textAlign:\"left\",font:\"inherit\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...questionFont,color:questionColor,fontSize:questionSize},children:item.question}),/*#__PURE__*/_jsx(\"span\",{style:{flexShrink:0,width:32,height:32,borderRadius:\"50%\",background:isOpen?iconActiveBackground:\"transparent\",color:isOpen?iconActiveColor:iconColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:\"20px\",fontWeight:300,lineHeight:1,transition:\"all 0.3s ease\"},children:isOpen?\"\\xd7\":\"+\"})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isOpen&&/*#__PURE__*/_jsx(motion.div,{initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:\"easeInOut\"},style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:{...answerFont,color:answerColor,fontSize:answerSize,paddingBottom:isMobile?20:28,paddingRight:isMobile?0:48,lineHeight:1.6},children:item.answer})})})]},index);})})]})});}addPropertyControls(FAQ,{tag:{type:ControlType.String,title:\"Tag\",defaultValue:\"QUESTIONS FR\\xc9QUENTES\"},tagColor:{type:ControlType.Color,title:\"Tag Color\",defaultValue:\"#FF5A01\"},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Tout ce que\\nvous voulez savoir.\",displayTextArea:true},headingColor:{type:ControlType.Color,title:\"Heading Color\",defaultValue:\"#0A0A0A\"},items:{type:ControlType.Array,title:\"Items\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Question ?\"},answer:{type:ControlType.String,title:\"Answer\",defaultValue:\"R\\xe9ponse.\",displayTextArea:true}}},defaultValue:[{question:\"Quels sont vos d\\xe9lais pour d\\xe9marrer un chantier ?\",answer:\"Nous fournissons un devis sous 48 heures apr\\xe8s la visite sur site. Un chantier de viabilisation classique d\\xe9marre g\\xe9n\\xe9ralement entre deux et quatre semaines apr\\xe8s acceptation, selon la disponibilit\\xe9 des machines et l'obtention des autorisations administratives. Pour les chantiers urgents (parking commercial, acc\\xe8s professionnel), nous pouvons mobiliser une \\xe9quipe sous 5 jours.\"},{question:\"Intervenez-vous pour des particuliers ou uniquement des professionnels ?\",answer:\"Les deux. Environ 60 % de notre activit\\xe9 concerne les particuliers — viabilisation de terrain, am\\xe9nagement ext\\xe9rieur, piscines, murs de sout\\xe8nement — et 40 % les professionnels — promoteurs immobiliers, soci\\xe9t\\xe9s, collectivit\\xe9s. Nous adaptons notre approche selon le client : interlocuteur unique pour les particuliers, coordination de chantier compl\\xe8te pour les pros.\"},{question:\"Couvrez-vous les d\\xe9marches administratives ?\",answer:\"Oui, c'est l'une de nos sp\\xe9cialit\\xe9s. Pour les particuliers, nous prenons en charge le montage des dossiers en mairie, les contacts avec les concessionnaires (Enedis, fournisseur d'eau, GRDF, Orange) et le suivi jusqu'\\xe0 validation. Pour les promoteurs, le package \\xab conduite de chantier \\xbb inclut la coordination des corps d'\\xe9tat. Aucun suppl\\xe9ment factur\\xe9 sur la partie administrative.\"},{question:\"Quelle est votre zone d'intervention ?\",answer:\"Nous intervenons principalement dans les Bouches-du-Rh\\xf4ne depuis notre base \\xe0 Miramas : Salon-de-Provence, Berre-l'\\xc9tang, Marseille, Vitrolles, Sept\\xe8mes-les-Vallons, Puyricard, Velaux, Saint-Martin-de-Crau, Port-de-Bouc, Aix-en-Provence, et toute la zone PACA dans un rayon de 60 km. Possibilit\\xe9 d'intervention plus lointaine pour les projets de grande envergure.\"},{question:\"Quelles sont vos sp\\xe9cialit\\xe9s techniques en enrob\\xe9 et b\\xe9ton ?\",answer:\"Cinq techniques d'enrob\\xe9 ma\\xeetris\\xe9es : enrob\\xe9 \\xe0 chaud, bicouche, b\\xe9ton d\\xe9sactiv\\xe9, grave rolac, pav\\xe9. Le choix d\\xe9pend de l'usage pr\\xe9vu (trafic, charge, dur\\xe9e vis\\xe9e). Nous travaillons aussi le b\\xe9ton coul\\xe9 pour dalles, terrasses, fondations, et les murs de sout\\xe8nement (r\\xe9alisations courantes de 5 \\xe0 35 m\\xe8tres lin\\xe9aires). Chaque chantier est dimensionn\\xe9 sp\\xe9cifiquement, pas de recette unique.\"},{question:\"Faites-vous des piscines compl\\xe8tes ou seulement le terrassement ?\",answer:\"Piscines cl\\xe9 en main : terrassement du bassin, dalle p\\xe9riph\\xe9rique, pose du bassin, raccordements hydrauliques, \\xe9quipements (filtration, traitement de l'eau), mise en eau. Garantie d\\xe9cennale piscine sp\\xe9cifique. Nous g\\xe9rons \\xe9galement les contraintes d'acc\\xe8s difficile — terrains en pente, passages \\xe9troits, longue distance entre rue et terrain.\"},{question:\"\\xcates-vous assur\\xe9s et certifi\\xe9s ?\",answer:\"Oui : garantie d\\xe9cennale construction couvrant l'ensemble de nos prestations TP, garantie d\\xe9cennale piscine sp\\xe9cifique pour les chantiers aquatiques, Responsabilit\\xe9 Civile Professionnelle, certification RGE et qualifications techniques \\xe0 jour. Tous les justificatifs sont disponibles sur demande avant signature du devis.\"},{question:\"Quels sont vos d\\xe9lais types pour un chantier complet ?\",answer:\"\\xc0 titre indicatif : viabilisation d'un terrain particulier 2 \\xe0 4 semaines, mur de sout\\xe8nement de 35 m\\xe8tres lin\\xe9aires 2 \\xe0 3 semaines, refonte de parking 800 m\\xb2 avec r\\xe9seaux 3 \\xe0 5 jours, piscine cl\\xe9 en main 5 \\xe0 8 semaines, lotissement 8 lots viabilis\\xe9s 6 \\xe0 8 semaines. Chaque devis pr\\xe9cise un calendrier pr\\xe9visionnel d\\xe9taill\\xe9 poste par poste.\"}],maxCount:20},questionColor:{type:ControlType.Color,title:\"Question Color\",defaultValue:\"#0A0A0A\"},answerColor:{type:ControlType.Color,title:\"Answer Color\",defaultValue:\"#666666\"},iconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#0A0A0A\"},iconActiveBackground:{type:ControlType.Color,title:\"Icon Active BG\",defaultValue:\"#0A0A0A\"},iconActiveColor:{type:ControlType.Color,title:\"Icon Active Color\",defaultValue:\"#FFFFFF\"},dividerColor:{type:ControlType.Color,title:\"Divider Color\",defaultValue:\"#E5E5E5\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FAFAFA\"},tagFont:{type:ControlType.Font,title:\"Tag Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"13px\",variant:\"Semibold\",letterSpacing:\"0.1em\",lineHeight:\"1em\"}},headingFont:{type:ControlType.Font,title:\"Heading Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"64px\",variant:\"Bold\",letterSpacing:\"-0.02em\",lineHeight:\"1.05em\"}},questionFont:{type:ControlType.Font,title:\"Question Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.4em\"}},answerFont:{type:ControlType.Font,title:\"Answer Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Regular\",letterSpacing:\"0em\",lineHeight:\"1.6em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1440\",\"framerIntrinsicHeight\":\"900\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQ.map"],"mappings":"uPAKG,SAAwB,EAAI,EAAM,CAAC,GAAK,CAAC,MAAI,WAAS,UAAQ,eAAa,QAAM,gBAAc,cAAY,YAAU,uBAAqB,kBAAgB,eAAa,kBAAgB,UAAQ,cAAY,eAAa,cAAY,EAAW,CAAC,EAAU,GAAcA,EAAS,CAAC,EAAO,CAAC,EAAM,GAAUA,EAAS,IAAI,EAAQ,EAAaC,EAAO,IAAI,EAAE,MAAc,CAAC,GAAG,CAAC,EAAa,QAAQ,OAAO,IAAM,EAAS,IAAI,eAAe,GAAS,CAAC,IAAI,IAAM,KAAS,EAAQ,EAAS,EAAM,YAAY,KAAK,CAAE,CAAC,EAAyC,OAAvC,EAAS,QAAQ,EAAa,OAAO,MAAY,EAAS,WAAW,CAAE,EAAE,CAAC,CAAC,EAAE,IAAM,EAAS,EAAM,IAAU,EAAS,GAAO,KAAK,EAAM,KAAW,EAAY,EAAS,OAAO,EAAS,OAAO,OAAa,EAAa,EAAS,OAAO,OAAa,EAAW,EAAS,OAAO,OAAa,EAAQ,EAAS,OAAO,OAAa,EAAQ,EAAS,YAAY,EAAS,YAAY,aAAmB,EAAY,EAAS,SAAS,SAAS,OAAoB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,kBAAgB,UAAQ,UAAU,aAAa,GAAG,EAAM,KAAK,EAAE,SAAsB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,QAAQ,OAAO,SAAS,QAAQ,OAAO,cAAc,SAAS,IAAI,EAAS,OAAO,MAAM,EAAE,SAAS,CAAc,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,cAAc,SAAS,IAAI,EAAS,OAAO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