function Simulator({ onQuote }) { const [vehicleType, setVehicleType] = React.useState('popular'); const [age, setAge] = React.useState(35); const [region, setRegion] = React.useState('marialva'); const [parking, setParking] = React.useState('garagem'); // Simple deterministic estimate const baseByType = { popular: 89, sedan: 132, suv: 168, premium: 245 }; const ageMod = age < 25 ? 1.4 : age < 30 ? 1.15 : age < 50 ? 1 : age < 65 ? 1.08 : 1.25; const regionMod = region === 'maringa' ? 1.18 : region === 'outra' ? 1.1 : 1; const parkingMod = parking === 'rua' ? 1.3 : parking === 'condominio' ? 0.92 : 0.95; const estimate = Math.round(baseByType[vehicleType] * ageMod * regionMod * parkingMod); const high = Math.round(estimate * 1.3); return (
Simulador rápido

Em 30 segundos, uma faixa de preço para o seu seguro auto.

Estimativa baseada no perfil. A cotação final usa dados reais da seguradora — sem surpresas.

O simulador não compartilha seus dados com seguradoras. É só uma estimativa de mercado.
Tipo do veículo }> Idade do condutor: {age} anos }> setAge(+e.target.value)} style={{ width: '100%', accentColor: 'var(--primary)' }} />
1875
Onde fica à noite }>
Estimativa mensal
R$ {estimate} – R$ {high}
faixa estimada
baseada no perfil
); } function SimSection({ label, children }) { return (
{label}
{children}
); } function SimRadio({ options, value, onChange }) { return (
{options.map(o => { const active = o.v === value; return ( ); })}
); } window.Simulator = Simulator;