/* ═══════════════════════════════════════
   PUBLIO — Legal pages style
   Mentions légales, CGU, Politique de confidentialité
   ═══════════════════════════════════════ */

.legal-page {
  min-height: calc(100vh - 68px);
  padding: 120px 0 80px;
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
}
.legal-page::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0, 113, 227, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.legal-page > * { position: relative; z-index: 1; }

.legal-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.1;
}
.legal-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-page section {
  margin-bottom: 48px;
}
.legal-page section:last-child {
  margin-bottom: 0;
}

.legal-page h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-page h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-top: 28px;
  margin-bottom: 14px;
}

.legal-page p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-page p:last-child {
  margin-bottom: 0;
}
.legal-page p strong,
.legal-page li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-list {
  padding-left: 0;
  margin: 12px 0 18px;
}
.legal-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.legal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent);
  font-weight: 700;
}

.legal-page a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(90, 200, 250, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.legal-page a:hover {
  color: #fff;
  text-decoration-color: var(--accent-light);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.legal-table tr:last-child td {
  border-bottom: none;
}
.legal-table th {
  background: rgba(0, 113, 227, 0.08);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.legal-table td {
  color: var(--text-secondary);
}
.legal-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

@media (max-width: 640px) {
  .legal-page { padding: 100px 0 60px; }
  .legal-page h2 { font-size: 1.35rem; }
  .legal-page h3 { font-size: 1.05rem; }
  .legal-page p, .legal-list li { font-size: 0.95rem; }
  .legal-table th, .legal-table td { padding: 10px 12px; font-size: 0.85rem; }
}
