body {
  display: flex;
  flex-direction: column;
}

html, body {
  height: 100%;
}
.ml0m {
  margin-left: 0 !important;
}

.terms-page {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 5px;
}

.sidebar-container {
  width: 250px;
  background-color: #f9f9f9;
  padding: 1rem;
  position: sticky;
  top: 0;
  max-height: 100vh;
  height: auto;
}

.sidebar-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 2px solid #000;
  padding: 2px 0 5px 0;
  line-height: 1.4;
  color: #2a2a2a;
}

.sidebar-menu {
  border-right: 1px solid #324673;
  padding-left: 10px;
}

.sidebar-link {
  display: block;
  position: relative;
  color: #53535f;
  text-decoration: none;
  padding-left: 20px;
}

.sidebar-link.active,
.sidebar-link:focus {
  font-weight: bold;
  color: #324673;
  background-color: #f0f8ff;
}

.sidebar-link.active::before,
.sidebar-link:focus::before {
  content: "→";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #324673;
}

.sidebar-link:focus {
  outline: none;
}

.terms-content {
  flex: 1;
  padding: 1rem;
  overflow-y: visible;
}

.terms-content h1 {
  font-size: 30px;
  font-weight: 400;
}

.terms-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

.terms-content p {
  font-size: 16px;
  color: #53535f;
  text-align: justify;
  padding-top: 10px;
}


.terms-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.terms-content ul li {
  display: block;
  margin-bottom: 0.5rem;
}

.terms-content li {
  position: relative;
  font-size: 16px;
  line-height: 1.8;
  color: #53535f;
  text-align: justify;
}

.terms-content li::before {
  left: 0;
  font-size: 1rem;
  line-height: 1;
}

.terms-content h2,
.terms-content section {
  scroll-margin-top: 80px;
}

.terms-content section {
  margin-left: 20px;
  margin-right: 40px;
  text-align: justify;
  text-justify: inter-word;
}

.banner-container {
  background-color: #324673;
  color: #fff;
  padding: 60px 0 2px;
  margin-top: 19px;
}

.banner-container .container {
  display: flex;
  text-align: justify;
  gap: 20px;
  flex-wrap: wrap;
}

.banner-content {
  flex: 1;
  text-align: left;
}

.banner-content h1 {
  font-size: 35px;
  font-weight: bold;
  color: #fff;
}

.banner-content p {
  font-size: 14px;
  max-width: 600px;
  margin-top: 30px;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 768px) {
  .terms-page {
    flex-direction: column;
    padding: 1rem 1.5rem;
  }

  .sidebar-container {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
    overflow: visible;
  }

  .sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
  }

  .sidebar-link {
    padding-left: 0;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .sidebar-link.active::before,
  .sidebar-link:focus::before {
    content: none;
  }

  .terms-content {
    padding: 1rem 0;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .terms-content section {
    margin-left: 0 !important;
  }
}
/* Estilo para tabela da seção "Dados Coletados" */
.tabela-dados {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tabela-dados table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0px;
  overflow: hidden;
  background: #fff;
}

.tabela-dados th,
.tabela-dados td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.tabela-dados th {
  background-color: #f2f2f2;
  font-weight: 600;
  color: #333;
}

.tabela-dados td {
  background-color: #fff;
}

.tabela-dados ul {
  margin: 0;
  padding-left: 1.2rem;
}

.tabela-dados ul li {
  margin-bottom: 0.5rem;
}

.direitos-lista {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.direitos-lista li {
  position: relative;
  padding-left: 30px;
  padding-bottom: 12px;
}

.separador {
  position: absolute;
  left: 20px;
  top: 12px;
  width: 5px;
  height: 5px;
  background-color: #53535f;
  border-radius: 50%;
}
