/* ibusiness Assessment — base visual v5. Fonte Manrope vem do Google Fonts em cada página. */

:root {
  --navy: #0a1528;
  --navy-2: #16233d;
  --fundo: #f4f6fa;
  --card: #fbfcfe;
  --texto: #0a1528;
  --texto-2: #4a5568;
  --texto-3: #7a8599;
  --fio: #dfe4ee;
  --fio-2: #c9d1df;
  --foco: #2f6fd6;
  --erro: #b42318;
  --erro-fundo: #fdf0ee;
  --raio: 14px;
  --sombra: 0 1px 2px rgba(10, 21, 40, 0.05), 0 2px 8px rgba(10, 21, 40, 0.04);
  --sombra-alta: 0 10px 28px rgba(10, 21, 40, 0.16);
  /* Fatores (só para telas de resultado; nunca na tela do respondente). */
  --fator-d: #d9483b;
  --fator-i: #e8a817;
  --fator-s: #2f9e6e;
  --fator-c: #2f6fd6;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

/* Tudo que é clicável troca o cursor; desabilitado mostra que não dá. */
a[href], select, button, summary, label[for], [role="button"],
input[type="checkbox"], input[type="radio"], input[type="file"], input[type="date"], input[type="submit"] {
  cursor: pointer;
}
select:disabled, button:disabled, input:disabled, [aria-disabled="true"] { cursor: not-allowed; }

:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; }

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.botao:hover:not(:disabled) { background: var(--navy-2); }
.botao:disabled { opacity: 0.45; }
.botao--largo { width: 100%; }

.campo { display: grid; gap: 6px; }
.campo > span { font-size: 14px; font-weight: 600; color: var(--texto-2); }
.campo input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--fio-2);
  border-radius: 10px;
  background: #fff;
  color: var(--texto);
  font: inherit;
  font-size: 16px; /* 16px evita o zoom automático do iOS */
}
.campo input:focus { outline: none; border-color: var(--foco); box-shadow: 0 0 0 3px rgba(47, 111, 214, 0.18); }

.aviso-erro {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--erro-fundo);
  color: var(--erro);
  font-size: 14px;
  font-weight: 600;
}
.aviso-erro:empty { display: none; }
