.terms-page {
  background: var(--background-gradient);
  min-height: 100vh;
  padding: 2rem 0;
}

.terms-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--card-background);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-soft);
  border: 1px solid var(--border-light);
}

.terms-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 3px solid var(--secondary-color);
}

.terms-header h1 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.terms-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-family: var(--font-body);
  margin-bottom: 0.5rem;
}

.last-updated {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.terms-content {
  line-height: 1.8;
  color: var(--text-color);
  font-family: var(--font-body);
}

.terms-content h1,
.terms-content h2,
.terms-content h3 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.terms-content h1 {
  font-size: 2rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.terms-content h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.terms-content h3 {
  font-size: 1.25rem;
  color: var(--secondary-color);
}

.terms-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.terms-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

.terms-content ul,
.terms-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.terms-content li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.terms-content blockquote {
  background: var(--background-color);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.terms-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.terms-content th,
.terms-content td {
  border: 1px solid var(--border-light);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

.terms-content th {
  background: var(--gradient-card);
  color: var(--primary-color);
  font-weight: 600;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-medium);
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow-soft);
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-medium);
  text-decoration: none;
  color: white;
}

.terms-navigation {
  position: static;
  background: var(--background-color);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow-soft);
}

.terms-navigation h4 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.terms-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-navigation li {
  margin-bottom: 0.5rem;
}

.terms-navigation a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-medium);
  display: block;
  padding: 0.25rem 0;
}

.terms-navigation a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-section {
  background: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  margin-top: 3rem;
  border: 1px solid var(--border-light);
  text-align: center;
}

.contact-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-section p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .terms-container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .terms-header h1 {
    font-size: 2rem;
  }

  .terms-navigation {
    position: static;
  }

  .terms-content {
    font-size: 0.95rem;
  }
}
