:root {
  --primary-color: #1a3a5f;
  --secondary-color: #2c5282;
  --accent-color: #e2e8f0;
  --text-color: #2d3748;
  --light-color: #f8fafc;
}

body {
  background-color: #f5f7fa;
  color: var(--text-color);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  padding-top: 160px;
  /* Ajuste para header fixo */
}

/

/* Conteúdo Principal */
.legal-page {
  min-height: calc(100vh - 160px);
}

.legal-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

/* Cabeçalho */
.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--accent-color);
}

.page-header h1 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.last-updated {
  color: #718096;
  font-size: 0.95rem;
}

/* Seções */
.policy-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.policy-section:last-child {
  border-bottom: none;
}

.section-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary-color);
}

/* Tabela Profissional */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-table thead {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
}

.cookie-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-table td {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.cookie-table tbody tr {
  transition: background-color 0.2s ease;
}

.cookie-table tbody tr:hover {
  background-color: #f8fafc;
}

.cookie-table tbody tr:last-child td {
  border-bottom: none;
}

/* Listas */
.policy-list {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.policy-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.policy-list li:before {
  content: "•";
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Categorias de Cookies */
.cookie-category {
  background: #f8fafc;
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0;
  border-left: 4px solid var(--secondary-color);
}

.cookie-category h5 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

/* Controles de Cookies */
.browser-controls {
  background: #edf2f7;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.browser-controls h5 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Informações de Contato */
.contact-info {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
}

.contact-info h5 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.contact-item {
  padding: 12px 0;
}

/* Responsividade */
@media (max-width: 768px) {
  body {
    padding-top: 140px;
  }

  .legal-page {
    min-height: calc(100vh - 140px);
  }

  .legal-content {
    padding: 25px 20px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .cookie-table {
    display: block;
    overflow-x: auto;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .nome-empresa {
    font-size: 1rem;
  }

  .logo {
    height: 40px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 120px;
  }

  .legal-page {
    min-height: calc(100vh - 120px);
  }

  .legal-content {
    padding: 20px 15px;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.1rem;
  }
}

/* Impressão */
@media print {
  body {
    padding-top: 0;
  }

  .fixed-top {
    display: none;
  }

  .legal-content {
    box-shadow: none;
    padding: 0;
  }

  .cookie-table {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .cookie-table thead {
    background: #f1f1f1 !important;
    color: black !important;
    -webkit-print-color-adjust: exact;
  }
}
