/* Estilos para páginas de Política de Privacidade e Termos de Uso */
.policy-content {
  padding: 30px 15px 50px;
}

.policy-section {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 16px; /* Base font size */
}

.policy-section h2 {
  font-family: "Playfair Display", serif;
  color: #333;
  margin-bottom: 25px;
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
}

.policy-section h3 {
  font-family: "Playfair Display", serif;
  color: #333;
  margin: 35px 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  font-size: 1.4rem;
  line-height: 1.3;
}

.policy-section p,
.policy-section li {
  color: #555;
  margin-bottom: 15px;
}

.policy-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.policy-section li {
  margin-bottom: 10px;
  position: relative;
}

.policy-section a {
  color: #c9a236;
  text-decoration: none;
  transition: color 0.2s;
  /* Make touch targets larger on mobile */
  padding: 2px 0;
  display: inline-block;
}

.policy-section a:hover {
  color: #a68628;
  text-decoration: underline;
}

/* Suporte para dark mode */
body.dark-mode .policy-section h2,
body.dark-mode .policy-section h3 {
  color: #e0e0e0;
}

body.dark-mode .policy-section h3 {
  border-color: #444;
}

body.dark-mode .policy-section p,
body.dark-mode .policy-section li {
  color: #cccccc;
}

body.dark-mode .policy-section strong {
  color: #ffffff;
}

body.dark-mode .policy-section a {
  color: #d5b55d;
}

body.dark-mode .policy-section a:hover {
  color: #e6c97e;
}

/* ===== OTIMIZAÇÕES PARA MOBILE ===== */
@media (max-width: 768px) {
  .policy-content {
    padding: 20px 15px 40px;
  }

  .policy-section {
    font-size: 16px;
    line-height: 1.5;
  }

  .policy-section h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .policy-section h3 {
    font-size: 1.25rem;
    margin: 30px 0 12px;
    padding-bottom: 8px;
  }

  .policy-section p,
  .policy-section li {
    margin-bottom: 12px;
  }

  .policy-section ul {
    padding-left: 15px;
  }
}

@media (max-width: 480px) {
  .policy-content {
    padding: 15px 12px 30px;
  }

  .policy-section {
    font-size: 15px;
    line-height: 1.5;
  }

  .policy-section h2 {
    font-size: 1.1rem;
  }

  .policy-section h3 {
    font-size: 1.15rem;
    margin: 25px 0 10px;
  }

  /* Aumentar área de toque para links em dispositivos móveis */
  .policy-section a {
    padding: 4px 0;
  }

  /* Melhorar espaçamento das listas */
  .policy-section ul {
    padding-left: 12px;
  }

  .policy-section li {
    padding-left: 3px;
    margin-bottom: 12px;
  }

  /* Estilo especial para destacar informações importantes */
  .policy-section strong {
    font-weight: 600;
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 320px) {
  .policy-section {
    font-size: 14px;
  }

  .policy-section h3 {
    font-size: 1.1rem;
  }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .policy-section a {
    transition: none;
  }
}
