/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  cursor: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64">\
<text x="50%" y="50%" dominant-baseline="central" text-anchor="middle" font-size="30">🔧</text>\
</svg>') 32 32, auto;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #f4f4f4;
  color: #222;
  line-height: 1.6;
}

/* BOTÃO VOLTAR AO TOPO */
.btn-top{
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #e63946;
  color: white;
  font-size: 20px;
  font-weight: bold;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.2s;
  z-index: 1000;
}
.btn-top:hover {
  background: #b31d2d;
  transform: scale(1.1);
}

/* CABEÇALHO E NAVEGAÇÃO */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  background-color: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav img {
  border-radius: 8px;
  transition: transform .3s;
  background-color: white;
}
nav img:hover {
  transform: scale(1.05);
}

nav span {
  display: flex;
  gap: 24px;
}

.navegador {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 6px 0;
  transition: color .3s;
}
.navegador::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e63946;
  transition: width .3s;
}
.navegador:hover {
  color: #e63946;
}
.navegador:hover::after {
  width: 100%;
}

/* TÍTULOS */
h1 {
  text-align: center;
  color: #d63333;
  margin: 30px 0 20px;
  font-size: 2.2rem;
}
h2 {
  color: #b02a2a;
  margin-bottom: 10px;
  border-left: 6px solid #e63946;
  padding-left: 10px;
  font-size: 1.5rem;
}

/* SEÇÕES */
section {
  background: #fff;
  padding: 20px 24px;
  margin: 20px auto;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 900px;
}
p {
  margin: 8px 0 14px;
  line-height: 1.6;
}

/* LISTAS */
ul {
  margin: 8px 0 14px 22px;
}
ul li {
  margin-bottom: 6px;
}

/* Estilo numerado para algumas seções */
ol {
  margin: 8px 0 14px 22px;
}
ol li {
  margin-bottom: 6px;
  padding-left: 4px;
}

/* Lista de definições */
dl {
  margin: 12px 0 16px 10px;
}
dt {
  font-weight: bold;
  color: #b02a2a;
  margin-top: 8px;
}
dd {
  margin-left: 16px;
  margin-bottom: 6px;
}

/* LINKS GERAIS */
#link {
  color: #e63946;
  text-decoration: none;
  transition: color .3s;
}
#link:hover {
  color: #b31d2d;
  text-decoration: underline;
}

/* footer */
footer{
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}