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

body {
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  padding: 0;
  margin: 0;
}



/*Botao volta ao inicio*/
.btn-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #e63946;       /* cor de fundo */
  color: white;              /* cor da seta */
  font-size: 20px;
  font-weight: bold;
  width: 48px;
  height: 48px;
  border-radius: 50%;        /* formato circular */
  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;             /* sempre por cima */
}

.btn-top:hover {
  background: #b31d2d;       /* cor mais escura no hover */
  transform: scale(1.1);     /* aumenta um pouco */
}



/* Header e nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  background-color: #111;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  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 ul {
  display: flex;
  gap: 24px;
  list-style-type: none;
}

.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%;
}

/* Barra de números fixa */
.faq-nav {
  position: sticky;
  top: 70px; /* abaixo do nav */
  background-color: #fff;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #e63946;
  z-index: 90;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-nav span {
  font-weight: bold;
  color: #333;
}

.faq-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.faq-nav-links a {
  display: inline-block;
  background-color: #e63946;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.faq-nav-links a:hover {
  background-color: #d62828;
  transform: scale(1.1);
}

/* Container FAQ */
.faq-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* FAQ items */
.faq-item {
  background: #fff;
  border-left: 5px solid #e63946;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 8px;
  transition: transform 0.3s;
}

.faq-item:hover {
  transform: translateY(-3px);
}

.faq-item h2 {
  font-size: 1.2em;
  color: #e63946;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-number {
  background-color: #e63946;
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 50%;
  min-width: 28px;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 50px;
  color: #777;
  font-size: 0.9em;
  padding: 20px 0;
  background-color: #f1f1f1;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}