/* global React */ const { useState, useEffect, useRef } = React; // Count-up hook: tween from 0 -> target when ref enters viewport (or immediately) function useCountUp(target, { duration = 1400, delay = 0, immediate = true } = {}) { const [val, setVal] = useState(0); const ref = useRef(null); const started = useRef(false); useEffect(() => { const start = () => { if (started.current) return; started.current = true; const t0 = performance.now() + delay; const tick = (now) => { if (now < t0) { requestAnimationFrame(tick); return; } const p = Math.min(1, (now - t0) / duration); // ease-out cubic const eased = 1 - Math.pow(1 - p, 3); setVal(target * eased); if (p < 1) requestAnimationFrame(tick); else setVal(target); }; requestAnimationFrame(tick); }; if (immediate) { start(); return; } const el = ref.current; if (!el || !("IntersectionObserver" in window)) { start(); return; } const io = new IntersectionObserver((entries) => { if (entries.some(e => e.isIntersecting)) { start(); io.disconnect(); } }, { threshold: 0.3 }); io.observe(el); return () => io.disconnect(); }, [target, duration, delay, immediate]); return [val, ref]; } function CountStat({ value, suffix = "", prefix = "", delay = 0, decimals = 0 }) { const [v, ref] = useCountUp(value, { delay, immediate: true }); const rounded = decimals === 0 ? Math.round(v) : v.toFixed(decimals); return {prefix}{rounded}{suffix}; } // ============================================================ // ICONS (inline SVG) // ============================================================ const Icon = { Shield: (p) => ( ), Trend: (p) => ( ), Truck: (p) => ( ), Headset: (p) => ( ), Beef: (p) => ( ), ShieldSm: (p) => ( ), Drop: (p) => ( ), Flask: (p) => ( ), Doc: (p) => ( ), Tag: (p) => ( ), Award: (p) => ( ), Cap: (p) => ( ), People: (p) => ( ), Factory: (p) => ( ), Discount: (p) => ( ), Chat: (p) => ( ), Cocho: (p) => ( ), ChatBubble: (p) => ( ), Insta: (p) => ( ), Mail: (p) => ( ), Pin: (p) => ( ), WhatsApp: (p) => ( ), }; // ============================================================ // NAV // ============================================================ function Nav() { return (
NUTROW Quero saber mais
); } // ============================================================ // STICKY NAV — appears after user scrolls past hero // ============================================================ function StickyNav() { const [visible, setVisible] = useState(false); const [mobileOpen, setMobileOpen] = useState(false); useEffect(() => { const onScroll = () => setVisible(window.scrollY > 300); onScroll(); window.addEventListener("scroll", onScroll, { passive: true }); return () => window.removeEventListener("scroll", onScroll); }, []); useEffect(() => { document.body.style.overflow = mobileOpen ? "hidden" : ""; return () => { document.body.style.overflow = ""; }; }, [mobileOpen]); const close = () => setMobileOpen(false); return ( <>
NUTROW
Quero saber mais
e.stopPropagation()}> Produtos Sobre Como Comprar Contato Quero saber mais
); } // ============================================================ // HERO // ============================================================ function Hero() { return (
); } // ============================================================ // QUEM SOMOS // ============================================================ function QuemSomos() { return (
Quem somos

Nutrição que
converte em
arroba.

A NUTROW é fabricante de suplemento mineral e proteico para bovinos. Vendemos direto da fábrica para o produtor, sem atravessador, com registro MAPA e suporte técnico no WhatsApp.

Porque o boi que come bem, engorda mais. E o produtor que compra direto, paga menos.

Por que comprar direto

Sem revenda, sem atravessador. ATÉ 30% mais barato que o mesmo produto na revenda. Você fala direto com quem fabrica.

{[ { Icon: Icon.ShieldSm, title: "Registro MAPA", desc: "Composição garantida no rótulo" }, { Icon: Icon.Trend, title: "Resultado Real", desc: "GPD mensurável na balança" }, { Icon: Icon.Truck, title: "Entrega na Fazenda", desc: "Direto do fabricante para você" }, { Icon: Icon.Headset, title: "Suporte Técnico", desc: "Tira-dúvidas no WhatsApp" }, ].map((f, i) => (
{f.title}
{f.desc}
))}
); } // ============================================================ // RESULTADO POR PRODUTO // ============================================================ function ResultadoPorProduto() { const stats = [ { icon: Icon.Beef, name: "Nutrow Engorda Max", val: "+200g", lbl: "Ganho de peso por dia", desc: "Mais arroba na balança em menos tempo de cocho.", }, { icon: Icon.ShieldSm, name: "Nutrow Imuno", val: "90%", lbl: "Menos bicheira no rebanho", desc: "Selênio e zinco quelados que fortalecem a imunidade do animal.", }, { icon: Icon.Drop, name: "Nutrow Leite", val: "+15%", lbl: "Produção de leite por vaca", desc: "Cálcio e fósforo elevados para sustentar a lactação sem ureia.", }, ]; return (
Resultado por produto

Cada produto,
um resultado real.

Não é promessa. São números medidos em fazendas que já usam o suplemento NUTROW direto do fabricante.

{stats.map((s, i) => (
{String(i+1).padStart(2,"0")} / 03
{s.name}
{s.val}
{s.lbl}

{s.desc}

))}
30%
Mais barato direto da fábrica
100%
Registro MAPA garantido
0
Atravessador entre nós
BR
Entregamos em todo país
); } window.SectionsTop = { Nav, StickyNav, Hero, QuemSomos, ResultadoPorProduto, Icon };