/* Règles de confidentialité — mise en page de la page confidentialite.html.
   Vit sous assets/css/ parce que c'est le seul préfixe public par
   construction sur le VPS (voir CLAUDE.md, règle 1). La palette vient de
   css/lk-ink-paper.css (« Encre & Papier »), chargée avant cette feuille. */

body.lk-ink.confidentialite {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.conf-page {
  width: min(720px, 100% - 2rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) 0 clamp(3rem, 8vh, 6rem);
}

/* Le retour à l'accueil, discret, en tête : pas de barre de navigation, la
   page est un document que l'on lit, pas un couloir. */
.conf-retour {
  display: inline-block;
  margin-bottom: clamp(2rem, 5vh, 3.2rem);
  font-family: 'DM Mono', monospace;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 231, 215, .22);
  padding-bottom: .15rem;
  transition: color .25s ease, border-color .25s ease;
}
.conf-retour:hover,
.conf-retour:focus-visible {
  color: var(--text-primary);
  border-color: var(--accent-gold);
}

.conf-sur-titre {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.conf-page h1 {
  margin: .5rem 0 .8rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.1;
  color: var(--text-primary);
}

.conf-chapeau {
  margin: 0 0 clamp(2rem, 5vh, 3rem);
  font-size: 1.06rem;
  color: var(--text-secondary);
}

.conf-page section + section {
  margin-top: clamp(2rem, 5vh, 3rem);
  padding-top: clamp(1.4rem, 3vh, 2rem);
  border-top: 1px solid rgba(238, 231, 215, .12);
}

.conf-page h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  color: var(--text-primary);
}

.conf-page h3 {
  margin: 1.4rem 0 .4rem;
  font-family: 'DM Mono', monospace;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.conf-page p,
.conf-page li {
  margin: 0 0 .8rem;
  color: var(--text-secondary);
}

.conf-page ul {
  margin: 0 0 .8rem;
  padding-left: 1.2rem;
}
.conf-page li { margin-bottom: .45rem; }

.conf-page strong {
  color: var(--text-primary);
  font-weight: 600;
}

.conf-page a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 132, 77, .7);
}
.conf-page a:hover,
.conf-page a:focus-visible { text-decoration-color: var(--accent-gold); }

/* Le résumé en tête : trois engagements, lisibles avant le détail. */
.conf-engagements {
  margin: 0 0 clamp(2rem, 5vh, 3rem);
  padding: 1.2rem 1.4rem;
  list-style: none;
  border: 1px solid rgba(238, 231, 215, .17);
  border-radius: 2px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 6px),
    #201d19;
}
.conf-engagements li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
}
.conf-engagements li:last-child { margin-bottom: 0; }
.conf-engagements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: .55rem;
  height: .55rem;
  border: 1px solid var(--accent-gold);
  transform: rotate(45deg);
}

.conf-date {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 231, 215, .12);
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  body.lk-ink.confidentialite { font-size: .95rem; }
  .conf-engagements { padding: 1rem 1rem; }
}
