/* ═══════════════════════════════════════════════════════════════════════
   Mentions légales — direction « Linear futuriste ».
   Sections Éditeur / Hébergeur / Propriété intellectuelle / RGPD / Cookies /
   CGU-CGV + date de mise à jour. S'appuie sur les tokens (css/index.css) et
   les primitives (.card, .page-head…). Aucun hex en dur — variables uniquement.
   ═══════════════════════════════════════════════════════════════════════ */

.view.legal {
  max-width: 860px;
}

/* Titre légèrement plus serré que le titre de page générique, comme le proto */
.view.legal .page-title {
  font-size: 21px;
}

/* ── Ligne « Dernière mise à jour » ── */
.legal-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin: -6px 0 6px;
}

/* ── Pastille [texte en attente] / [date] ── */
.legal-ph {
  display: inline-block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1px 8px;
  white-space: nowrap;
}

/* La date hérite des mêmes codes mais d'un liseré accent discret */
.legal-updated .legal-ph {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
}

/* ── Empilement des sections ── */
.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Carte de section ──
   Réutilise .card (verre + bordure + rayon). On affine padding et on pose
   un filet d'accent vertical à gauche pour le rythme « Linear ». */
.legal-sect {
  padding: 18px 22px 20px;
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.legal-sect::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.legal-sect:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-md);
}
.legal-sect:hover::after {
  opacity: 1;
}

/* ── En-tête de section ── */
.legal-sect-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.legal-sect-tick {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.legal-sect-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.011em;
  color: var(--text);
  margin: 0;
}

/* ── Liste de champs ── */
.legal-fields {
  display: grid;
  gap: 9px;
}
.legal-field {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.45;
}
.legal-field-label {
  color: var(--text-muted);
}
.legal-field-sep {
  color: var(--text-dim);
  margin-left: -2px;
}

/* ── Paragraphe libre (Propriété intellectuelle / CGU-CGV) ── */
.legal-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ── Réduction d'animation ── */
@media (prefers-reduced-motion: reduce) {
  .legal-sect,
  .legal-sect::after {
    transition: none;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .legal-sect {
    padding: 16px 16px 18px;
  }
  .legal-sect::after {
    left: 0;
  }
}
