/* legal.css: estilos exclusivos para páginas de Política de Privacidade e Termos e Condições */

.privacy-policy, .terms-conditions {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg);
  font-family: var(--font-family-body);
  line-height: 1.6;
  color: var(--text-primary);
}

.privacy-policy h1, .terms-conditions h1 {
  font-family: var(--font-family-heading);
  font-size: var(--font-xxl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.privacy-policy h2, .terms-conditions h2 {
  font-family: var(--font-family-heading);
  font-size: var(--font-xl);
  color: var(--accent-blue);
  margin: var(--spacing-xl) 0 var(--spacing-md) 0;
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: var(--spacing-xs);
}

.privacy-policy h3, .terms-conditions h3 {
  font-family: var(--font-family-heading);
  font-size: var(--font-lg);
  color: var(--text-primary);
  margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

.privacy-policy h4, .terms-conditions h4 {
  font-family: var(--font-family-heading);
  font-size: var(--font-md);
  color: var(--text-primary);
  margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.privacy-policy p, .terms-conditions p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.privacy-policy ul, .privacy-policy ol,
.terms-conditions ul, .terms-conditions ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.privacy-policy li, .terms-conditions li {
  margin-bottom: var(--spacing-xs);
  color: var(--text-secondary);
}

.privacy-policy strong, .terms-conditions strong {
  color: var(--text-primary);
  font-weight: var(--font-weight-benzin-semibold);
}

.privacy-policy a, .terms-conditions a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-policy a:hover, .terms-conditions a:hover {
  color: var(--accent-purple);
  text-decoration: underline;
}

.last-updated {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
}

.back-link {
  position: fixed;
  left: 2vw;
  bottom: 2vw;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--accent-purple, #171572) 0%, var(--accent-blue, #1e90ff) 100%);
  padding: 0.7em 1.2em;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.back-link:hover {
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

.back-link span, .back-link i {
  color: #eeeeee
}

.header {
  background-color: var(--primary-dark) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.main {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .privacy-policy, .terms-conditions {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  .privacy-policy h1, .terms-conditions h1 {
    font-size: var(--font-xl);
  }
  .privacy-policy h2, .terms-conditions h2 {
    font-size: var(--font-lg);
  }
}

@media (max-width: 600px) {
  .back-link {
    left: 4vw;
    bottom: 4vw;
    padding: 0.6em 1em;
    font-size: var(--font-sm);
  }
}

@media (max-width: 900px) {
  .header-actions {
    position: static;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    padding-left: 0;
  }
  .header-actions select {
    width: 120px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    font-size: var(--font-md);
    height: 40px;
  }
}
