/* Page /securite — « Comment on protège vos documents » (2026-07-17).
   Style aligné sur la marque : accent maroon #970000 (theme.ts app), fond blanc,
   pas de mode sombre (cohérent avec /envoyer et /confidentialite).
   CSP stricte (style-src 'self') → tout le style vit ici, rien d'inline. */

:root {
  --accent: #970000;      /* maroon de marque */
  --texte: #0B0F1A;
  --texte-2: #5A6072;
  --fond: #FFFFFF;
  --element: #F2F3F7;
  --bord: #E7E8EE;
  --terminal-fond: #14161C;
  --terminal-texte: #D6D9E0;
  --terminal-attenue: #6B7180;
  --terminal-vert: #7BC97F;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

header {
  background: var(--accent);
  color: #fff;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
}
header h1 { font-size: 1.7rem; font-weight: 700; margin-bottom: .4rem; }
header .promesse { font-size: 1rem; opacity: .95; max-width: 42ch; margin: .5rem auto 0; font-style: italic; }
header .maj { font-size: .8rem; opacity: .8; margin-top: .8rem; }

main { max-width: 760px; margin: 2rem auto; padding: 0 1.25rem 4rem; }

/* ─── Section « preuve » : ce que le serveur voit ─── */
.preuve {
  background: var(--terminal-fond);
  color: var(--terminal-texte);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.1rem;
}
.preuve h2 { font-size: 1.15rem; color: #fff; margin-bottom: .5rem; }
.preuve > p { font-size: .92rem; color: #A9AEBB; margin-bottom: 1rem; }
.preuve .intitule {
  font-size: .78rem;
  font-weight: 600;
  color: var(--terminal-vert);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 1.1rem 0 .35rem;
}
.preuve pre {
  background: #0C0E13;
  border: 1px solid #262A33;
  border-radius: 10px;
  padding: .8rem 1rem;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .74rem;
  line-height: 1.5;
  color: var(--terminal-texte);
}
.preuve pre .att { color: var(--terminal-attenue); }
.preuve .legende {
  font-size: .8rem;
  color: var(--terminal-attenue);
  margin-top: 1rem;
  font-style: italic;
}
.preuve .cle-absente {
  margin-top: 1rem;
  border: 1px dashed #3A4050;
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .88rem;
  color: #C9CDD6;
}
.preuve .cle-absente strong { color: #fff; }

/* ─── Piliers numérotés ─── */
section.pilier {
  position: relative;
  overflow: hidden;
  background: var(--fond);
  border: 1px solid var(--bord);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.1rem;
}
/* Numéro en grand chiffre « contour » dans le coin haut-droit (filigrane,
   même design que les étapes de la page d'accueil). Repli plein très pâle
   si -webkit-text-stroke n'est pas supporté. */
section.pilier .num {
  position: absolute;
  top: -0.8rem;
  right: 0.8rem;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgba(151, 0, 0, 0.09);
  pointer-events: none;
}
@supports (-webkit-text-stroke: 1px red) {
  section.pilier .num {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(151, 0, 0, 0.26);
  }
}
section.pilier h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .7rem;
  position: relative;
  padding-right: 3rem; /* garde le titre hors du filigrane */
}
section.pilier > p { font-size: .95rem; color: #33384A; }
section.pilier > p + p { margin-top: .6rem; }

details {
  margin-top: .9rem;
  border-top: 1px dashed var(--bord);
  padding-top: .75rem;
}
details summary {
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "▸"; transition: transform .15s; }
details[open] summary::before { transform: rotate(90deg); }
details ul, details p { font-size: .88rem; color: var(--texte-2); margin-top: .6rem; }
details ul { padding-left: 1.2rem; }
details li { margin-bottom: .35rem; }

/* ─── « Vérifiez par vous-même » ─── */
.verifs { margin: 2rem 0; }
.verifs h2 { font-size: 1.15rem; color: var(--accent); margin-bottom: .4rem; }
.verifs > p { font-size: .92rem; color: var(--texte-2); margin-bottom: 1rem; }
.verif {
  background: var(--element);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: .8rem;
}
.verif strong { display: block; margin-bottom: .3rem; font-size: .95rem; }
.verif span { font-size: .9rem; color: var(--texte-2); }

/* ─── Icônes SVG inline (trait, style Feather) - remplacent les emojis ─── */
.icone {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: .4rem;
  color: var(--accent);
  flex-shrink: 0;
}
/* Liste « ce qu'on ne fait jamais » : l'icône interdit remplace la puce. */
ul.interdits {
  list-style: none;
  padding-left: 0;
}
ul.interdits li {
  display: flex;
  gap: .1rem;
}
ul.interdits li .icone { margin-top: 2px; }

/* ─── Compromis assumé ─── */
.compromis {
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin: 2rem 0;
}
.compromis h2 { font-size: 1.1rem; color: var(--accent); margin-bottom: .6rem; }
.compromis p { font-size: .95rem; color: #33384A; }
.compromis p + p { margin-top: .6rem; }

/* ─── FAQ ─── */
.faq h2 { font-size: 1.15rem; color: var(--accent); margin: 2rem 0 1rem; }
.faq .q { background: var(--element); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; }
.faq .q strong { display: block; margin-bottom: .3rem; font-size: .95rem; }
.faq .q span { font-size: .9rem; color: var(--texte-2); }

footer { text-align: center; font-size: .8rem; color: #8A8F9C; padding: 1rem 0 2rem; }
footer a { color: var(--accent); }

a { color: var(--accent); }
