/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
  padding: 1rem;
}

/* Container principal */
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);
}

/* Cabeçalho */
header {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

/* Logo */
header img.logo {
  height: 50px;
  user-select: none;
}

/* Navegação */
nav a {
  text-decoration: none;
  color: #000;
  margin-left: 2rem;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #555;
}

/* Seções */
section {
  margin-bottom: 2rem;
}

h2 {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.4rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.3rem;
}

/* Listas */
ul {
  list-style: none;
}

ul li {
  margin-bottom: 0.8rem;
}

ul li a {
  color: #000;
  text-decoration: none;
}

ul li a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  max-width: 900px;
  margin: 3rem auto 1rem;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  border-top: 1px solid #ddd;
}

/* Formulários simples */
form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 400px;
}

label {
  flex: 1 0 100%;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input[type="number"] {
  flex: 1 0 100%;
  padding: 0.5rem;
  border: 1px solid #000;
  border-radius: 4px;
}

button {
  padding: 0.6rem 1.2rem;
  border: none;
  background: #000;
  color: white;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #333;
}

/* Resultado das ferramentas */
#result {
  margin-top: 1rem;
  font-weight: 700;
  color: #000;
}

.converter-description {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.converter fieldset {
  border: 1px solid #ccc;
  padding: 1.5rem;
  border-radius: 8px;
}

.converter legend {
  font-weight: bold;
  padding: 0 0.5rem;
}

.converter label {
  display: block;
  margin-top: 1rem;
}

.converter input,
.converter select {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
}

.converter button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
}

.result {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.seo-text {
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
  line-height: 1.4;
}

.seo-text-discrete {
  font-size: 0.8rem;
  color: #777;
  margin-top: 3rem;
  line-height: 1.4;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
  opacity: 0.7;
}