/* ------------------------------------------------------------------
   Feuille de style des pages de contenu (guides, pages légales).
   La page d'accueil garde son style en ligne : elle est très visuelle
   et n'a rien à partager avec des pages de texte.
   Palette identique à l'application (src/index.css) : le site, les
   guides et le produit doivent être la même chose à l'œil.
   ------------------------------------------------------------------ */
:root {
  --eau-50:#eef6fa; --eau-100:#e2f2f8; --eau-200:#c7e5f0; --eau-400:#52aecb;
  --eau-500:#1e8fb5; --eau-600:#0a6d93; --eau-700:#0a5878; --eau-800:#0b3a4f; --eau-900:#082a3a;
  --orange:#ef6c2e; --orange-fond:#fdf0e8; --orange-encre:#8c3a10;
  --vert:#1f9d6b; --vert-fond:#e7f5ef;
  --encre:#0f2230; --gris:#5b6b76; --trait:#dfe7ec; --fond:#f4f8fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-text-size-adjust: 100%;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", Georgia, serif; line-height: 1.15; color: var(--eau-900); }
a { color: var(--eau-600); }
.zone { width: min(100% - 32px, 760px); margin-inline: auto; }

/* Barre du haut */
.barre { background: #fff; border-bottom: 1px solid var(--trait); }
.barre .zone { display: flex; align-items: center; gap: 12px; height: 62px; }
.marque { display: flex; align-items: center; gap: 9px; font-family: "Bricolage Grotesque", serif;
          font-weight: 700; font-size: 19px; color: var(--eau-900); text-decoration: none; }
.marque img { width: 28px; height: 28px; border-radius: 7px; }
.barre .bouton { margin-inline-start: auto; }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding-inline: 18px; border-radius: 12px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; transition: filter .15s; }
.bouton-plein { background: var(--eau-600); color: #fff; }
.bouton-plein:hover { filter: brightness(1.08); }
.bouton-contour { background: #fff; color: var(--eau-800); border-color: var(--trait); }

/* Fil d'Ariane */
.fil { font-size: 13.5px; color: var(--gris); padding-top: 22px; }
.fil a { color: var(--gris); }

article { background: #fff; border: 1px solid var(--trait); border-radius: 18px;
          padding: 34px 30px 38px; margin: 16px 0 34px; }
article h1 { font-size: clamp(27px, 5.2vw, 38px); margin: 0 0 14px; text-wrap: balance; }
article h2 { font-size: clamp(20px, 3.4vw, 25px); margin: 38px 0 12px; }
article h3 { font-size: 18px; margin: 26px 0 8px; }
article p, article li { color: #23333f; }
article ul, article ol { padding-inline-start: 22px; }
article li { margin-block: 6px; }
.chapeau { font-size: 18.5px; color: var(--gris); }
.maj { font-size: 13px; color: var(--gris); border-top: 1px solid var(--trait);
       margin-top: 30px; padding-top: 14px; }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--trait); vertical-align: top; }
th { background: var(--eau-50); color: var(--eau-800); font-weight: 600; }
.enveloppe-table { overflow-x: auto; }

.encart { border-radius: 12px; padding: 14px 16px; margin: 20px 0; font-size: 15.5px; }
.encart p:first-child { margin-top: 0; } .encart p:last-child { margin-bottom: 0; }
.info { background: var(--eau-50); border-left: 3px solid var(--eau-500); }
.attention { background: var(--orange-fond); border-left: 3px solid var(--orange); color: var(--orange-encre); }
.ok { background: var(--vert-fond); border-left: 3px solid var(--vert); }
.aremplir { background: #fff4d6; color: #7a5200; border-radius: 5px; padding: 1px 7px;
            font-size: 13.5px; font-weight: 600; white-space: nowrap; }

.appel { background: var(--eau-800); color: #fff; border-radius: 18px; padding: 28px 26px; margin-bottom: 34px; }
.appel h2 { color: #fff; margin: 0 0 8px; font-size: 22px; }
.appel p { color: #cfe0e8; margin: 0 0 18px; }

footer { border-top: 1px solid var(--trait); background: #fff; padding: 26px 0 40px; font-size: 14.5px; color: var(--gris); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
footer a { color: var(--gris); }

@media (max-width: 520px) { article { padding: 26px 20px 30px; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
