/*
 * Styles des GUIDES (pages éditoriales autonomes, hors bundle React).
 *
 * Feuille séparée de `legal.css` : une page légale se parcourt en diagonale,
 * un guide se lit. D'où une colonne plus étroite (680 px, ~75 signes), une
 * hauteur de ligne plus généreuse, et de quoi poser des tableaux comparatifs,
 * des encadrés et un appel à l'action en fin de lecture.
 *
 * Aucune police distante : la pile système suffit et évite un aller-retour
 * réseau sur une page dont le seul enjeu est d'être lue vite.
 */
:root { color-scheme: light; }
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: #334155;
  background: #ffffff;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

/* En-tête ------------------------------------------------------------- */
.site-header { border-bottom: 1px solid #f1f5f9; background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .inner {
  max-width: 760px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
  display: grid; place-items: center; flex: none;
}
.brand .name { font-weight: 700; font-size: 17px; color: #0c2230; letter-spacing: -0.01em; }
.brand .name span { color: #14b8a6; }
.header-cta {
  font-size: 14px; font-weight: 600; color: #fff; background: #0d9488;
  padding: 8px 14px; border-radius: 10px; text-decoration: none; white-space: nowrap;
}
.header-cta:hover { background: #0f766e; }

/* Fil d'Ariane --------------------------------------------------------- */
.breadcrumb { max-width: 680px; margin: 0 auto; padding: 20px 24px 0; font-size: 13px; color: #94a3b8; }
.breadcrumb a { color: #64748b; text-decoration: none; }
.breadcrumb a:hover { color: #0d9488; text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* Corps ---------------------------------------------------------------- */
main { max-width: 680px; margin: 0 auto; padding: 12px 24px 72px; }
h1 {
  font-size: clamp(1.9rem, 5.2vw, 2.5rem); color: #0c2230;
  letter-spacing: -0.025em; line-height: 1.15; margin: 12px 0 10px;
}
.lead { font-size: 1.12rem; color: #475569; margin: 0 0 8px; }
.meta { color: #94a3b8; font-size: 13.5px; margin: 0 0 36px; }
h2 {
  font-size: 1.4rem; color: #0c2230; letter-spacing: -0.015em;
  margin: 48px 0 12px; line-height: 1.25; scroll-margin-top: 80px;
}
h3 { font-size: 1.08rem; color: #0c2230; margin: 30px 0 6px; }
p { margin: 0 0 16px; }
a { color: #0d9488; }
strong { color: #1e293b; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin: 8px 0; }

/* Sommaire ------------------------------------------------------------- */
.toc {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 18px 22px; margin: 0 0 40px;
}
.toc p { font-weight: 700; color: #0c2230; margin: 0 0 8px; font-size: 0.92rem; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 5px 0; font-size: 0.95rem; }

/* Tableaux ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 460px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
th { color: #0c2230; font-weight: 700; background: #f8fafc; }
td strong { color: #0f766e; }

/* Encadrés ------------------------------------------------------------- */
.callout {
  border-left: 3px solid #14b8a6; background: #f0fdfa;
  border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 0 0 22px;
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: #f59e0b; background: #fffbeb; }
.callout .label {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: #0f766e; margin-bottom: 4px;
}
.callout.warn .label { color: #b45309; }

/* Questions fréquentes -------------------------------------------------- */
.qa { border-top: 1px solid #e2e8f0; padding-top: 18px; margin-top: 8px; }
.qa h3 { margin-top: 0; }

/* Appel à l'action ------------------------------------------------------ */
.cta {
  margin: 52px 0 0; padding: 28px; border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, #0c2230, #115e59); color: #e2e8f0;
}
.cta h2 { color: #fff; margin: 0 0 8px; font-size: 1.3rem; }
.cta p { color: #cbd5e1; margin: 0 0 18px; font-size: 0.98rem; }
.cta a.primary {
  display: inline-block; background: #14b8a6; color: #04241f; font-weight: 700;
  padding: 12px 24px; border-radius: 12px; text-decoration: none;
}
.cta a.primary:hover { background: #2dd4bf; }
.cta .fine { font-size: 13px; color: #94a3b8; margin: 14px 0 0; }

/* Guides liés ----------------------------------------------------------- */
.related { margin-top: 48px; border-top: 1px solid #e2e8f0; padding-top: 24px; }
.related h2 { margin-top: 0; font-size: 1.15rem; }
.related ul { list-style: none; padding: 0; }
.related li { margin: 12px 0; }
.related a { font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }
.related .desc { display: block; color: #64748b; font-size: 0.9rem; font-weight: 400; margin-top: 2px; }

/* Sommaire des guides (page /guides) ------------------------------------ */
.cards { display: grid; gap: 16px; margin: 32px 0 0; }
.card {
  display: block; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px 22px;
  text-decoration: none; color: inherit; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: #99f6e4; box-shadow: 0 2px 10px rgba(13, 148, 136, .08); }
.card h2 { font-size: 1.1rem; margin: 0 0 6px; color: #0c2230; }
.card p { margin: 0; color: #64748b; font-size: 0.95rem; }

/* Pied de page ---------------------------------------------------------- */
.site-footer {
  border-top: 1px solid #f1f5f9; background: #f8fafc;
  color: #94a3b8; font-size: 13px; padding: 28px 24px;
}
.site-footer .inner { max-width: 680px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.site-footer a { color: #64748b; text-decoration: none; }
.site-footer a:hover { color: #0d9488; }
