Tecnologia

30 Outubro 2026

SURFBOARD VOLUME CALCULATOR

SURFBOARD VOLUME CALCULATOR
<div id="slcalc-v2" style="max-width:1100px;margin:25px auto;padding:clamp(22px,4vw,52px);background:#ffffff;border:1px solid #dce3e8;border-radius:18px;box-shadow:0 12px 35px rgba(16,34,49,.10);font-family:Arial,Helvetica,sans-serif;color:#182531;text-align:left;box-sizing:border-box;">
<div style="font-size:12px;font-weight:700;letter-spacing:2px;color:#41778c;margin-bottom:12px;">SURFERSLAB TOOLS / SURFBOARD GUIDE</div>
<div style="font-size:clamp(27px,4vw,44px);line-height:1.12;font-weight:800;margin-bottom:14px;color:#14212a;">Find your ideal surfboard volume.</div>
<div style="font-size:16px;line-height:1.6;color:#54636c;max-width:690px;margin-bottom:30px;">Descobre uma estimativa de volume para a tua próxima prancha. Ajusta o teu peso, nível e estilo de surf para obteres um intervalo indicativo em litros.</div>
<div style="display:flex;flex-wrap:wrap;gap:28px;align-items:stretch;">
<div style="flex:1 1 300px;min-width:0;">
<label for="slc-weight" style="display:block;font-weight:700;font-size:15px;margin-bottom:9px;">O teu peso (kg)</label>
<input id="slc-weight" type="number" min="30" max="200" value="75" oninput="if(window.slcRecalc)window.slcRecalc()" style="width:100%;max-width:100%;padding:14px 16px;font-size:19px;border:1px solid #a9b8c1;border-radius:8px;background:#fff;color:#14212a;box-sizing:border-box;margin-bottom:24px;" />
<div style="font-weight:700;font-size:15px;margin-bottom:10px;">Nível de surf</div>
<div style="display:flex;flex-wrap:wrap;gap:9px;margin-bottom:24px;">
<label style="border:1px solid #cbd5dc;border-radius:8px;padding:11px 13px;cursor:pointer;font-size:14px;"><input type="radio" name="slc-level-v2" value="beginner" onchange="if(window.slcRecalc)window.slcRecalc()" /> Iniciante</label>
<label style="border:1px solid #cbd5dc;border-radius:8px;padding:11px 13px;cursor:pointer;font-size:14px;"><input type="radio" name="slc-level-v2" value="intermediate" onchange="if(window.slcRecalc)window.slcRecalc()" /> Intermédio</label>
<label style="border:1px solid #cbd5dc;border-radius:8px;padding:11px 13px;cursor:pointer;font-size:14px;"><input type="radio" name="slc-level-v2" value="advanced" checked onchange="if(window.slcRecalc)window.slcRecalc()" /> Avançado</label>
</div>
<div style="font-weight:700;font-size:15px;margin-bottom:10px;">Estilo de surf</div>
<div style="display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px;">
<label style="border:1px solid #cbd5dc;border-radius:8px;padding:11px 13px;cursor:pointer;font-size:14px;"><input type="radio" name="slc-style-v2" value="allround" onchange="if(window.slcRecalc)window.slcRecalc()" /> All-round</label>
<label style="border:1px solid #cbd5dc;border-radius:8px;padding:11px 13px;cursor:pointer;font-size:14px;"><input type="radio" name="slc-style-v2" value="performance" checked onchange="if(window.slcRecalc)window.slcRecalc()" /> Performance</label>
<label style="border:1px solid #cbd5dc;border-radius:8px;padding:11px 13px;cursor:pointer;font-size:14px;"><input type="radio" name="slc-style-v2" value="relaxed" onchange="if(window.slcRecalc)window.slcRecalc()" /> Mais flutuação</label>
</div>
<button type="button" onclick="if(window.slcRecalc){window.slcRecalc()}else{document.getElementById('slc-status').textContent='O editor bloqueou JavaScript. Os campos HTML funcionam, mas o cálculo não pode ser executado aqui.'}" style="padding:14px 23px;border:0;border-radius:8px;background:#14212a;color:white;font-weight:700;font-size:15px;cursor:pointer;">CALCULAR VOLUME</button>
</div>
<div style="flex:1 1 260px;min-width:0;background:#e9f3f7;border-radius:12px;padding:clamp(22px,3vw,38px);display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;">
<div style="font-size:12px;letter-spacing:1.4px;font-weight:700;color:#3b6c7e;">VOLUME ESTIMADO</div>
<div id="slc-result" aria-live="polite" style="font-size:clamp(38px,6vw,64px);font-weight:800;line-height:1.25;margin:12px 0;color:#14212a;">22–27 L</div>
<div style="font-size:14px;line-height:1.6;color:#435865;">Uma referência inicial para orientar a escolha da tua próxima prancha.</div>
<div id="slc-status" style="font-size:13px;color:#a13b35;margin-top:12px;min-height:18px;"></div>
</div>
</div>
<div style="font-size:12px;line-height:1.6;color:#687982;margin-top:24px;padding-top:18px;border-top:1px solid #e0e7eb;">Ferramenta demonstrativa com coeficientes simplificados. Não substitui aconselhamento especializado. Idade, condição física, frequência de surf, formato e tipo de prancha também influenciam o volume ideal; longboards requerem avaliação própria.</div>
</div>
<script>
(function(){
window.slcRecalc=function(){
var root=document.getElementById('slcalc-v2');if(!root)return;
var weight=Number(root.querySelector('#slc-weight').value);
var level=root.querySelector('input[name="slc-level-v2"]:checked');
var style=root.querySelector('input[name="slc-style-v2"]:checked');
var output=root.querySelector('#slc-result');var status=root.querySelector('#slc-status');
if(!Number.isFinite(weight)||weight<30||weight>200||!level||!style){output.textContent='—';status.textContent='Introduz um peso entre 30 e 200 kg.';return;}
var factors={beginner:[.75,.95],intermediate:[.42,.52],advanced:[.32,.40]};
var adjustments={allround:1,performance:.9,relaxed:1.15};
var f=factors[level.value],a=adjustments[style.value];
output.textContent=Math.round(weight*f[0]*a)+'–'+Math.round(weight*f[1]*a)+' L';status.textContent='';
};
window.slcRecalc();
})();
</script>

Deixa o teu comentário sobre este artigo

O formulário foi submetido com sucesso.
Campo de preenchimento obrigatório.
Campo de email inválido
Campo com limite máximo de caracteres
Este campo não coincide com o anterior
Campo com limite mínimo de caracteres
Ocorreu um erro na submissão, por favor revê o formulário.

* Campos de preenchimento obrigatório.