color: var(--text-secondary); font-size: 0.9rem; } /* Footer */ footer { background: var(--primary-dark); color: white; text-align: center; padding: 3rem 0; margin-top: 4rem; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 1rem; } .footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; } .footer-links a { color: white; text-decoration: none; opacity: 0.8; transition: opacity 0.3s ease; } .footer-links a:hover { opacity: 1; } /* Responsive */ @media (max-width: 768px) { .converter-header h1 { font-size: 2rem; } .bmi-grid { grid-template-columns: 1fr; } .bmi-value { font-size: 2.5rem; } } /* Icons */ .icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; } /* Badge */ .badge { background: var(--accent-color); color: white; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: bold; margin-left: 0.5rem; } /* Ad Space */ .ad-space { background: var(--background); border: 2px dashed var(--border-color); padding: 2rem; text-align: center; color: var(--text-secondary); margin: 2rem 0; border-radius: 8px; }

Calculadora de IMC

Calcule seu Índice de Massa Corporal usando medidas métricas ou imperiais. Importante para monitorar a saúde no trabalho físico.

📏 Sistema Métrico

📐 Sistema Imperial

📊 Escala do IMC

<18.5
Abaixo do peso
18.5-24.9
Normal
25-29.9
Sobrepeso
30-34.9
Obesidade I
>35
Obesidade II+

📋 Categorias de IMC

Abaixo do peso
IMC < 18.5
Normal
IMC 18.5 - 24.9
Sobrepeso
IMC 25 - 29.9
Obesidade Grau I
IMC 30 - 34.9
Obesidade Grau II+
IMC ≥ 35

Espaço reservado para publicidade

💡 Dicas Profissionais

Saúde no Trabalho

Trabalho pesado na construção requer boa condição física. IMC normal facilita mobilidade e reduz lesões.

Equipamentos de Segurança

Arnês e EPIs têm limites de peso. Verifique especificações se seu IMC indica sobrepeso.

Hidratação

Peso corporal afeta necessidade de água. Em clima quente, beba 500ml/hora durante trabalho pesado.

Aptidão Física

Muitas empresas oferecem programas de saúde. Aproveite para manter forma física adequada ao trabalho.

= lang; document.querySelectorAll('.lang-btn').forEach(btn => btn.classList.remove('active')); event.target.classList.add('active'); updateTranslations(); localStorage.setItem('preferred-language', lang); } function updateTranslations() { document.querySelectorAll('[data-i18n]').forEach(element => { const key = element.getAttribute('data-i18n'); if (translations[currentLang][key]) { element.textContent = translations[currentLang][key]; } }); } // BMI Calculation function calculateBMI(weight, height) { return weight / (height * height); } function getBMICategory(bmi) { if (bmi < 18.5) return 'underweight'; if (bmi < 25) return 'normal'; if (bmi < 30) return 'overweight'; if (bmi < 35) return 'obese'; return 'extreme'; } function updateBMIDisplay(bmi, resultId, valueId, categoryId, descId) { const category = getBMICategory(bmi); const categoryText = translations[currentLang][category]; const descText = translations[currentLang][`desc-${category}`]; document.getElementById(resultId).style.display = 'block'; document.getElementById(valueId).textContent = bmi.toFixed(1); document.getElementById(categoryId).textContent = categoryText; document.getElementById(descId).textContent = descText; // Update scale indicator let position = 0; if (bmi < 18.5) position = (bmi / 18.5) * 18.5; else if (bmi < 25) position = 18.5 + ((bmi - 18.5) / 6.5) * 6.5; else if (bmi < 30) position = 25 + ((bmi - 25) / 5) * 5; else if (bmi < 35) position = 30 + ((bmi - 30) / 5) * 5; else position = Math.min(35 + (bmi - 35) * 0.5, 100); document.getElementById('scale-indicator').style.left = position + '%'; } // Unit conversion functions function convertHeight(value, unit) { switch(unit) { case 'm': return value; case 'cm': return value / 100; case 'ft': return value * 0.3048; case 'in': return value * 0.0254; default: return value; } } function convertWeight(value, unit) { switch(unit) { case 'kg': return value; case 'g': return value / 1000; case 'lb': return value * 0.453592; case 'oz': return value * 0.0283495; case 'stone': return value * 6.35029; default: return value; } } // Metric BMI function calculateMetricBMI() { const heightValue = parseFloat(document.getElementById('height-metric').value); const weightValue = parseFloat(document.getElementById('weight-metric').value); const heightUnit = document.getElementById('height-metric-unit').value; const weightUnit = document.getElementById('weight-metric-unit').value; if (heightValue && weightValue) { const height = convertHeight(heightValue, heightUnit); const weight = convertWeight(weightValue, weightUnit); const bmi = calculateBMI(weight, height); updateBMIDisplay(bmi, 'metric-result', 'metric-bmi', 'metric-category', 'metric-description'); } } document.getElementById('height-metric').addEventListener('input', calculateMetricBMI); document.getElementById('weight-metric').addEventListener('input', calculateMetricBMI); document.getElementById('height-metric-unit').addEventListener('change', calculateMetricBMI); document.getElementById('weight-metric-unit').addEventListener('change', calculateMetricBMI); // Imperial BMI function calculateImperialBMI() { const heightUnit = document.getElementById('height-imperial-unit').value; let heightInMeters = 0; if (heightUnit === 'ft-in') { const feet = parseFloat(document.getElementById('height-feet').value) || 0; const inches = parseFloat(document.getElementById('height-inches').value) || 0; const totalInches = feet * 12 + inches; heightInMeters = totalInches * 0.0254; } else { const heightValue = parseFloat(document.getElementById('height-imperial').value) || 0; heightInMeters = convertHeight(heightValue, heightUnit); } const weightValue = parseFloat(document.getElementById('weight-imperial').value); const weightUnit = document.getElementById('weight-imperial-unit').value; if (heightInMeters && weightValue) { const weight = convertWeight(weightValue, weightUnit); const bmi = calculateBMI(weight, heightInMeters); updateBMIDisplay(bmi, 'imperial-result', 'imperial-bmi', 'imperial-category', 'imperial-description'); } } // Height unit change handler document.getElementById('height-imperial-unit').addEventListener('change', function() { const feetInchesInput = document.getElementById('feet-inches-input'); const heightImperialInput = document.getElementById('height-imperial'); if (this.value === 'ft-in') { feetInchesInput.style.display = 'block'; heightImperialInput.style.display = 'none'; } else { feetInchesInput.style.display = 'none'; heightImperialInput.style.display = 'block'; } calculateImperialBMI(); }); document.getElementById('height-imperial').addEventListener('input', calculateImperialBMI); document.getElementById('height-feet').addEventListener('input', calculateImperialBMI); document.getElementById('height-inches').addEventListener('input', calculateImperialBMI); document.getElementById('weight-imperial').addEventListener('input', calculateImperialBMI); document.getElementById('weight-imperial-unit').addEventListener('change', calculateImperialBMI); // Initialize document.addEventListener('DOMContentLoaded', function() { // Load saved language const savedLang = localStorage.getItem('preferred-language') || 'pt'; currentLang Calculadora de IMC - Converte Aqui!