/* Guide utilisateur — Bilan patrimonial — Styles pour export PDF */

/* Guide utilisateur — Bilan patrimonial — Styles pour export PDF */

* { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.5;
  color: #2c3e50;
  max-width: 100%;
  margin: 0;
  padding: 1em;
}

/* ——— Titres ——— */
h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a365d;
  border-bottom: 3px solid #2b6cb0;
  padding-bottom: 0.35em;
  margin-top: 0;
  margin-bottom: 0.75em;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2c5282;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
  padding-left: 0.35em;
  border-left: 4px solid #2b6cb0;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 1em;
  margin-bottom: 0.4em;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4a5568;
  margin-top: 0.9em;
  margin-bottom: 0.35em;
}

/* ——— Encadrés (blocs citation) ——— */
blockquote {
  margin: 0.75em 0;
  padding: 0.65em 1em;
  border-radius: 6px;
  font-size: 0.95em;
}

blockquote.note {
  border-left: 4px solid #2b6cb0;
  background: #ebf8ff;
  color: #2c5282;
}

blockquote.note strong { color: #1a365d; }

blockquote.conseil {
  border-left: 4px solid #276749;
  background: #f0fff4;
  color: #276749;
}

blockquote.conseil strong { color: #22543d; }

blockquote.ecran {
  border-left: 4px solid #4a5568;
  background: #f7fafc;
  color: #4a5568;
}

blockquote.ecran strong { color: #2d3748; }

/* bloc par défaut si pas de classe */
blockquote:not([class]) {
  border-left: 4px solid #a0aec0;
  background: #edf2f7;
}

/* ——— Tableaux ——— */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75em 0;
  font-size: 0.95em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
}

thead {
  background: #2b6cb0;
  color: #fff;
}

th {
  padding: 0.5em 0.75em;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 0.5em 0.75em;
  border-bottom: 1px solid #e2e8f0;
}

tbody tr:nth-child(even) { background: #f7fafc; }
tbody tr:hover { background: #edf2f7; }

/* ——— Liens ——— */
a {
  color: #2b6cb0;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

/* ——— Code / URL ——— */
code {
  background: #edf2f7;
  color: #2d3748;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ——— Listes ——— */
ul, ol {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

li { margin: 0.25em 0; }

/* ——— Ligne de séparation ——— */
hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 1.25em 0;
}

/* ——— Légendes / sous-titres de tableau ——— */
p + table { margin-top: 0.35em; }

strong { color: #2d3748; }

/* ——— Numérotation d’étapes ——— */
h4 { color: #2b6cb0; }
