/* ==========================================================================
   COMO — Pages légales
   ========================================================================== */

body.legal-page {
  background: var(--bg);
}

/* ── En-tête ──────────────────────────────────── */

.legal-header {
  padding: 140px var(--container-pad) 48px;
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.legal-header .section-label {
  color: var(--gold);
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 90px);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text);
  line-height: 1;
  margin: 12px 0 16px;
}

.legal-date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── Corps ────────────────────────────────────── */

.legal-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--container-pad) clamp(60px, 10vw, 120px);
}

.legal-body {
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.legal-section p,
.legal-section li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}

.legal-section ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-section a:hover {
  color: var(--accent-hover);
}

/* ── Tableau cookies ──────────────────────────── */

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.legal-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--green);
  color: rgba(245, 243, 241, 0.7);
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.legal-table th:first-child { border-radius: var(--radius) 0 0 0; }
.legal-table th:last-child  { border-radius: 0 var(--radius) 0 0; }

.legal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  vertical-align: top;
}

.legal-table tr:last-child td:first-child { border-radius: 0 0 0 var(--radius); }
.legal-table tr:last-child td:last-child  { border-radius: 0 0 var(--radius) 0; }

/* ── Bouton retour ────────────────────────────── */

.legal-back {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.legal-back-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-back-link:hover {
  color: var(--accent-hover);
}

/* ── Responsive ───────────────────────────────── */

@media (max-width: 768px) {
  .legal-header {
    padding: 110px 24px 32px;
  }

  .legal-title { font-size: clamp(30px, 8vw, 56px); }
  .legal-body  { padding-top: 44px; gap: 36px; }

  .legal-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .legal-header { padding: 92px 16px 24px; }
  .legal-main   { padding-left: 16px; padding-right: 16px; }
  .legal-body   { padding-top: 32px; gap: 28px; }
}
