/* global React, Button, useIsMobile, useInView, trackEvent, WA_URL */ const INFO = [ { icon: 'map-pin', label: 'Endereço', value: 'Av. Um, 1600 - Sala 123\nMaiobão, Paço do Lumiar - MA', }, { icon: 'clock', label: 'Horário', value: 'Seg–Sex · 08h–17h\nSáb · 08h–12h', }, { icon: 'whatsapp-logo', label: 'WhatsApp', value: '(98) 98850-2010', href: WA_URL, external: true, source: 'contato_info', }, { icon: 'instagram-logo', label: 'Instagram', value: '@cuidardosolhos', href: 'https://instagram.com/cuidardosolhos', external: true, }, ]; function InfoBlock({ icon, label, value, href, external, last, mobile, source }) { const inner = (
{label}
{value}
); if (href) { return ( { if (source) trackEvent('whatsapp_click', { whatsapp_source: source }); }} style={{ textDecoration: 'none', transition: 'opacity .15s', flex: 1 }} onMouseEnter={e => { e.currentTarget.style.opacity = '.75'; }} onMouseLeave={e => { e.currentTarget.style.opacity = '1'; }}> {inner} ); } return
{inner}
; } function ContactSection() { const isMobile = useIsMobile(); const [imgRef, imgInView] = useInView({ threshold: 0.25 }); return (
{/* Eye motif — hidden on mobile to avoid clutter */} {!isMobile && ( )}
{/* 1 — Header centrado */}
Contato · Localização

Venha nos visitar.

Estamos no Lumier Center, em um espaço pensado para receber você com conforto e sofisticação.

{/* 2 — Fachada em largura total — desembaça ao entrar na tela */}
Fachada Cuidar dos Olhos
{/* 3 — Info grid: 4-col on desktop, 2x2 on mobile */}
{INFO.map((item, i) => ( ))}
{/* 4 — CTA centralizado */}
trackEvent('whatsapp_click', { whatsapp_source: 'contato_cta' })}>
); } function Footer() { const isMobile = useIsMobile(); return ( ); } Object.assign(window, { ContactSection, Footer });