// Burger Summit 2026 — App principal + Tweaks const { useState, useEffect } = React; const ACCENTS = { '#D94A1A': '#EA5A22', // Brasa '#E6192B': '#F23A4B', // Vermelho '#00A859': '#14C46D', // Verde campo }; const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "accent": "#D94A1A", "heroTone": "hot", "dots": true, "urgency": "Lote 1 virando · últimas vagas com preço promocional" }/*EDITMODE-END*/; function scrollToId(id) { const el = document.getElementById(id); if (el) window.scrollTo({ top: el.getBoundingClientRect().top + window.scrollY - 64, behavior: 'smooth' }); } function MobileMenu({ open, onClose, onNav }) { if (!open) return null; const links = [['Manifesto','manifesto'],['Palestrantes','palestrantes'],['Local','local'],['VIP','vip'],['Ingressos','ingressos'],['FAQ','faq']]; return (
e.stopPropagation()}> {links.map(([l,id])=>( {onClose(); setTimeout(()=>onNav(id),60);}} style={{color:'#fff',textDecoration:'none',fontFamily:'var(--font-display)',fontWeight:900,textTransform:'uppercase',fontSize:'26px',padding:'12px 0',borderBottom:'1px solid rgba(255,255,255,.1)'}}>{l} ))}
); } function App() { const [t, setTweak] = useTweaks(TWEAK_DEFAULTS); const [plan, setPlan] = useState(null); const [menu, setMenu] = useState(false); const [activePlan, setActivePlan] = useState('VIP'); useEffect(() => { const id = setTimeout(() => window.setupReveals && window.setupReveals(), 80); return () => clearTimeout(id); }, []); const buy = (label) => setPlan(label || 'Garantir ingresso'); const accentBright = ACCENTS[t.accent] || t.accent; return (
buy('Garantir ingresso')} onMenu={()=>setMenu(true)} /> buy('Garantir ingresso')} onNav={scrollToId} /> buy('Fazer inscrição')} /> buy('Garantir inscrição')} /> buy('Garantir ingresso')} />
); } ReactDOM.createRoot(document.getElementById('root')).render();