{"version":3,"file":"GradientGlow.BGetuL7l.mjs","names":[],"sources":["https:/framerusercontent.com/modules/xXyKHubs7RzsLvysgDgU/mUoBZHn6aMgU6kAajCym/Textstyle_white.js","https:/framerusercontent.com/modules/wLEF2LalTyOdnTeSb6i8/0mtWrjGJGdvdeyAgiVfA/GradientGlow.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function GradientHero(Component){return /*#__PURE__*/forwardRef((props,ref)=>/*#__PURE__*/_jsx(Component,{ref:ref,...props,className:[props.className,\"xama-grad-hero\"].filter(Boolean).join(\" \")}));}\nexport const __FramerMetadata__ = {\"exports\":{\"GradientHero\":{\"type\":\"reactHoc\",\"name\":\"GradientHero\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Textstyle_white.map","// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * GRADIENT GLOW — Xamã AI design system (v2 — bug fix)\n *\n * 🔧 BUG FIX vs versão anterior:\n *   O default `containEffect: true` adicionava `contain: layout paint` +\n *   `willChange: filter` ao elemento, que combinado com `filter: blur(75px)`\n *   causava clipping/overflow inconsistente em larguras de viewport entre\n *   1200-1440px (laptop pequeno).\n *\n *   Causa: `contain: paint` clipa qualquer pintura fora das bordas do elemento,\n *   mas `filter: blur()` precisa pintar até `blur radius` pixels além das bordas.\n *   Em layouts onde o elemento muda de tamanho (breakpoints), a nova layer\n *   criada pelo `willChange` fica mal-posicionada antes do reflow do parent.\n *\n *   Solução: separar GPU compositing (que é seguro) de paint containment\n *   (que conflita com blur). Agora o componente:\n *   1. Sempre força GPU layer com `transform: translateZ(0)` (mais estável que willChange)\n *   2. NUNCA aplica `contain: paint` — sempre permitir o blur sangrar\n *   3. Mantém `contain: layout` que é seguro e ainda traz ganho de performance\n *\n * Ideal pra usar como camada de fundo em hero sections, behind-cards,\n * ou qualquer seção que precise de glow ambiente.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1514\n * @framerIntrinsicHeight 851\n */export default function GradientGlow(props){const{// Forma e centro do gradiente\nsizeX,sizeY,centerX,centerY,// Stops do gradiente\nstop1Color,stop1Position,stop2Color,stop2Position,stop3Color,stop3Position,stop4Color,stop4Position,stop5Color,stop5Position,stop6Color,stop6Position,stop7Color,stop7Position,// Efeitos\nblur,opacity,// Performance\ngpuOptimize,style}=props;const gradient=`radial-gradient(${sizeX}% ${sizeY}% at ${centerX}% ${centerY}%, `+`${stop1Color} ${stop1Position}%, `+`${stop2Color} ${stop2Position}%, `+`${stop3Color} ${stop3Position}%, `+`${stop4Color} ${stop4Position}%, `+`${stop5Color} ${stop5Position}%, `+`${stop6Color} ${stop6Position}%, `+`${stop7Color} ${stop7Position}%)`;return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",background:gradient,filter:`blur(${blur}px)`,opacity:opacity/100,pointerEvents:\"none\",// 🔧 FIX 1: GPU compositing via transform (mais estável que willChange)\n// translateZ(0) é o método clássico pra forçar uma layer composta na GPU\n// sem os efeitos colaterais de willChange (que pode causar layout shifts\n// ao alternar entre layers em breakpoint changes).\ntransform:gpuOptimize?\"translateZ(0)\":undefined,// 🔧 FIX 2: Apenas `contain: layout` — NUNCA `paint`.\n// `contain: layout` evita que mudanças de tamanho desse elemento causem\n// reflow no resto da página (ganho real de performance).\n// `contain: paint` clipa o blur sangrando além das bordas (BUG).\ncontain:gpuOptimize?\"layout\":\"none\",// 🔧 FIX 3: backfaceVisibility evita flicker em alguns navegadores\n// quando o elemento muda de layer durante mudança de breakpoint\nbackfaceVisibility:gpuOptimize?\"hidden\":\"visible\"},\"aria-hidden\":\"true\"});}addPropertyControls(GradientGlow,{// ============================================================\n// FORMA E CENTRO\n// ============================================================\nsizeX:{type:ControlType.Number,title:\"Size X (%)\",defaultValue:93.93,min:0,max:200,step:.01,description:\"Largura do gradiente em % do componente\"},sizeY:{type:ControlType.Number,title:\"Size Y (%)\",defaultValue:97.55,min:0,max:200,step:.01,description:\"Altura do gradiente em % do componente\"},centerX:{type:ControlType.Number,title:\"Centro X (%)\",defaultValue:50,min:0,max:100,step:1,description:\"Posi\\xe7\\xe3o horizontal do centro (0=esquerda, 100=direita)\"},centerY:{type:ControlType.Number,title:\"Centro Y (%)\",defaultValue:100,min:0,max:100,step:1,description:\"Posi\\xe7\\xe3o vertical do centro (0=topo, 100=base)\"},// ============================================================\n// STOPS DO GRADIENTE — 7 cores\n// ============================================================\nstop1Color:{type:ControlType.Color,title:\"Stop 1 — Cor\",defaultValue:\"#FAE8FF\"},stop1Position:{type:ControlType.Number,title:\"Stop 1 — Pos %\",defaultValue:0,min:0,max:100,step:.1},stop2Color:{type:ControlType.Color,title:\"Stop 2 — Cor\",defaultValue:\"#E371F0\"},stop2Position:{type:ControlType.Number,title:\"Stop 2 — Pos %\",defaultValue:15,min:0,max:100,step:.1},stop3Color:{type:ControlType.Color,title:\"Stop 3 — Cor\",defaultValue:\"#8400FF\"},stop3Position:{type:ControlType.Number,title:\"Stop 3 — Pos %\",defaultValue:30,min:0,max:100,step:.1},stop4Color:{type:ControlType.Color,title:\"Stop 4 — Cor\",defaultValue:\"#902ABF\"},stop4Position:{type:ControlType.Number,title:\"Stop 4 — Pos %\",defaultValue:42,min:0,max:100,step:.1},stop5Color:{type:ControlType.Color,title:\"Stop 5 — Cor\",defaultValue:\"#E371F0\"},stop5Position:{type:ControlType.Number,title:\"Stop 5 — Pos %\",defaultValue:53.83,min:0,max:100,step:.1},stop6Color:{type:ControlType.Color,title:\"Stop 6 — Cor\",defaultValue:\"#FAE8FF\"},stop6Position:{type:ControlType.Number,title:\"Stop 6 — Pos %\",defaultValue:65,min:0,max:100,step:.1},stop7Color:{type:ControlType.Color,title:\"Stop 7 — Cor\",defaultValue:\"rgba(240, 240, 240, 0)\"},stop7Position:{type:ControlType.Number,title:\"Stop 7 — Pos %\",defaultValue:96.75,min:0,max:100,step:.1},// ============================================================\n// EFEITOS\n// ============================================================\nblur:{type:ControlType.Number,title:\"Blur (px)\",defaultValue:75,min:0,max:200,step:1,description:\"Suavidade do gradiente. 0 = bordas duras, 100+ = et\\xe9reo\"},opacity:{type:ControlType.Number,title:\"Opacity (%)\",defaultValue:100,min:0,max:100,step:1,unit:\"%\"},// ============================================================\n// PERFORMANCE\n// ============================================================\ngpuOptimize:{type:ControlType.Boolean,title:\"Otimizar GPU\",defaultValue:true,enabledTitle:\"Sim\",disabledTitle:\"N\\xe3o\",description:\"Renderiza o glow em uma camada GPU. Seguro com blur (n\\xe3o clipa).\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GradientGlow\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"851\",\"framerIntrinsicWidth\":\"1514\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GradientGlow.map"],"mappings":"qKAAyE,SAAgB,EAAa,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAmB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,UAAU,CAAC,EAAM,UAAU,iBAAiB,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,kBAAzO,IAA8B,IC4BtE,SAAwB,EAAa,EAAM,CAAC,GAAK,CACpD,QAAM,QAAM,UAAQ,UACpB,aAAW,gBAAc,aAAW,gBAAc,aAAW,gBAAc,aAAW,gBAAc,aAAW,gBAAc,aAAW,gBAAc,aAAW,gBACjK,OAAK,UACL,cAAY,SAAO,EAAY,EAAS,mBAAmB,EAAM,IAAI,EAAM,OAAO,EAAQ,IAAI,EAAQ,KAAQ,EAAW,GAAG,EAAc,KAAQ,EAAW,GAAG,EAAc,KAAQ,EAAW,GAAG,EAAc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