/* =========================================================
   Gestimatech — Guides (www.gestimatech.com/guides/…)
   Ce que styles.css n'a pas : la colonne de lecture, le sommaire,
   les listes du texte, les cartes de fin. Mêmes variables que le site
   (palette « encre + or ») : rien d'autre à définir ici.
   Chargée APRÈS styles.css, avec son ?v= (banc-versions-cache.mjs).
   Aucun style en ligne dans la page : la CSP du Worker (style-src 'self') les refuserait.
   ========================================================= */

/* ---------- En-tête de la page : plus bas que le hero d'une page de vente ---------- */
.hero--guide > .container { padding-block: clamp(44px, 7vw, 88px); }
.hero--guide h1 { max-width: 20ch; margin-bottom: 16px; }
.guide-meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  color: var(--sky); margin-bottom: 24px; }
.guide-reponse { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.6;
  color: var(--on-ink); max-width: 56ch; }

/* ---------- Colonne de lecture : environ 68 caractères par ligne ---------- */
.guide-fond { background: var(--paper); padding-block: clamp(36px, 6vw, 72px) clamp(56px, 9vw, 104px); }
.guide-colonne { max-width: 760px; }
.guide-colonne p, .guide-colonne li { font-size: 1.125rem; line-height: 1.72; color: var(--text); }
.guide-colonne p { margin-bottom: 1.1em; }
.guide-colonne strong { color: var(--ink); }
.guide-colonne a { color: var(--blue-deep); text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.guide-colonne a:hover { color: #1b4ecb; }

/* Titres : la serif du site ; le premier paragraphe qui suit se colle à son titre */
.guide-colonne h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: var(--ink);
  margin: clamp(40px, 6vw, 64px) 0 16px; scroll-margin-top: 92px; }
.guide-colonne h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); color: var(--ink);
  margin: 30px 0 10px; line-height: 1.2; }
/* Les cinq gestes : un filet bleu à gauche les distingue des autres titres */
.guide-colonne h2.geste { padding-left: 16px; border-left: 4px solid var(--blue-deep); }

/* Listes : numérotées ou à puces, repères bleus lisibles sur blanc */
.guide-colonne ol, .guide-colonne ul { margin: 0 0 1.2em 1.4em; padding: 0; }
.guide-colonne li { margin-bottom: .55em; padding-left: .25em; }
.guide-colonne li::marker { color: var(--blue-deep); font-weight: 700; }

/* ---------- Sommaire : les cinq gestes, un clic chacun ---------- */
.sommaire { background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 20px 24px 14px; margin-bottom: clamp(8px, 2vw, 20px); }
.sommaire-titre { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 6px; }
.guide-colonne .sommaire p { font-size: .72rem; line-height: 1.4; margin-bottom: 6px; color: var(--gold-deep); }
.guide-colonne .sommaire ol { list-style: none; margin: 0; }
.guide-colonne .sommaire li { margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.guide-colonne .sommaire li:first-child { border-top: 0; }
.guide-colonne .sommaire a { display: flex; align-items: center; min-height: 44px; padding: 8px 0;
  font-size: 1.02rem; line-height: 1.35; text-decoration: none; color: var(--ink); font-weight: 600; }
.guide-colonne .sommaire a:hover { color: var(--blue-deep); text-decoration: underline; }

/* ---------- Cartes : les 5 points, la suite, la FAQ, les sources ---------- */
.guide-colonne section { margin-top: clamp(40px, 6vw, 64px); }
.guide-colonne section > h2 { margin-top: 0; }

.guide-retenir { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 34px); }
.guide-retenir ol { margin-bottom: 0; }

/* La suite proposée : fond encre, deux liens bien visibles */
.guide-suite { background: var(--ink); color: var(--on-ink); border-radius: var(--radius-lg);
  padding: clamp(24px, 4.5vw, 40px); }
.guide-colonne .guide-suite h2 { color: #fff; }
.guide-colonne .guide-suite p { color: var(--on-ink); margin-bottom: 1em; }
.guide-colonne .guide-suite p:last-child { margin-bottom: 0; }
.guide-colonne .guide-suite a { color: #fff; font-weight: 700; text-decoration-color: var(--gold); }
.guide-colonne .guide-suite a:hover { color: var(--gold); }
.guide-suite a:focus-visible { outline-color: var(--gold); }

.guide-faq h3 { padding-top: 22px; border-top: 1px solid var(--line-2); margin: 22px 0 8px; }
.guide-faq h2 + h3 { border-top: 0; padding-top: 0; margin-top: 0; }
/* « faut-il » ne se coupe pas après le trait d'union (390 px) */
.sans-coupure { white-space: nowrap; }

/* Sources : plus discret, et une adresse trop longue passe à la ligne au lieu de déborder */
.guide-sources li, .guide-sources a { font-size: .98rem; overflow-wrap: anywhere; }
