/* Politique de confidentialité (/confidentialite) — page de texte long.
   Même gabarit que /notes : une colonne étroite, cartes à bordure fine, pas
   d'ombre. Tout en jetons (tokens.css) : suit clair/sombre/daltonien.
   Lecture « tous âges » : corps à 15px et interlignage large. */

.privacy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  font-size: calc(15px * var(--mil-fs, 1));
  line-height: 1.65;
  color: var(--c-text);
}

/* --- En-tête --- */
.privacy-head { margin-bottom: 28px; }
.privacy-head h1 {
  font-size: calc(24px * var(--mil-fs, 1));
  font-weight: 600;
  margin: 0 0 10px;
}
.privacy-lead {
  margin: 0;
  color: var(--c-text-mid);
}
.privacy-date {
  margin: 12px 0 0;
  font-size: calc(13px * var(--mil-fs, 1));
  color: var(--c-text-muted);
}
/* Tant que le CA n'a pas adopté le texte, on le dit — plutôt que de laisser
   croire à un document officiel. */
.privacy-draft {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--c-warning);
  border-left-width: 3px;
  border-radius: 3px;
  background: var(--c-warning-soft);
  font-size: calc(14px * var(--mil-fs, 1));
}

/* --- Sections --- */
.privacy-section {
  border-top: 1px solid var(--c-border);
  padding-top: 22px;
  margin-top: 22px;
}
.privacy-section h2 {
  font-size: calc(18px * var(--mil-fs, 1));
  font-weight: 600;
  margin: 0 0 12px;
}
.privacy-section p { margin: 0 0 12px; }
.privacy-section p:last-child { margin-bottom: 0; }

.privacy-note {
  color: var(--c-text-mid);
  font-size: calc(14px * var(--mil-fs, 1));
}

/* --- Liste « quoi / pourquoi » --- */
.privacy-list { margin: 0; }
.privacy-list dt {
  font-weight: 600;
  margin-top: 16px;
  color: var(--c-text);
}
.privacy-list dt:first-child { margin-top: 0; }
.privacy-list dd {
  margin: 4px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--c-border);
  color: var(--c-text-mid);
}

/* --- Puces --- */
.privacy-bullets { margin: 0; padding-left: 20px; }
.privacy-bullets li { margin-bottom: 8px; }
.privacy-bullets li:last-child { margin-bottom: 0; }

/* --- Table « qui voit quoi » --- */
/* Le tableau défile dans son propre conteneur : la page ne défile jamais
   horizontalement, même sur un téléphone étroit. */
.privacy-table-wrap {
  overflow-x: auto;
  margin: 0 0 12px;
  border: 1px solid var(--c-border);
  border-radius: 3px;
}
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: calc(14px * var(--mil-fs, 1));
}
.privacy-table th,
.privacy-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-border);
}
/* Même traitement d'en-tête que les tables de /ca : pas de fond, un libellé
   discret en capitales — le filet du bas suffit à séparer. */
.privacy-table thead th {
  font-size: calc(11px * var(--mil-fs, 1));
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-text-muted);
  white-space: nowrap;
}
.privacy-table tbody tr:last-child td { border-bottom: none; }
.privacy-table td:first-child {
  font-weight: 500;
  white-space: nowrap;
  color: var(--c-text);
}
.privacy-table td:last-child { color: var(--c-text-mid); }

/* --- Contact --- */
.privacy-contact { border-top-color: var(--c-accent); }
.privacy-mail a { color: var(--c-accent); }

/* Sur téléphone, la colonne « Qui » ne peut plus rester sur une ligne :
   on la laisse se replier plutôt que d'imposer un défilement latéral. */
@media (max-width: 560px) {
  .privacy-page { padding: 18px 14px 56px; }
  .privacy-table td:first-child,
  .privacy-table thead th { white-space: normal; }
}
