/* Guides Cobaye : même copie corrigée que la page d'accueil, en version texte long. */
:root {
  color-scheme: light;
  --papier: #FFFFFF;
  --papier-2: #F4F2FB;
  --encre: #1B1440;
  --encre-2: #57507A;
  --trait: #DCD8EC;
  --feutre: #E5321F;
  --fluo: #FFF07A;
  --ok: #0B8F63;
  --titre: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --main: "Kalam", "Comic Sans MS", "Bradley Hand", cursive;
  --code: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--titre); font-size: 1.09rem; line-height: 1.6; }
a { color: inherit; text-decoration-color: var(--feutre); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--feutre); outline-offset: 3px; border-radius: 4px; }
.cadre { max-width: 760px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

.haut { border-bottom: 1px solid var(--trait); }
.haut .cadre { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: -.05em; text-decoration: none; }
.logo span { color: var(--feutre); }
.bouton { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--encre); color: #fff; font-weight: 650; font-size: .98rem; text-decoration: none; }
.bouton:hover { background: #2B2260; }

article { padding-block: clamp(36px, 6vw, 72px); }
.fil { font-size: .92rem; color: var(--encre-2); }
h1 { margin: 14px 0 0; font-size: clamp(2.1rem, 6vw, 3.3rem); font-weight: 750; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.maj { margin-top: 14px; font-size: .92rem; color: var(--encre-2); }
.reponse { margin-top: 28px; padding: 22px 24px; background: var(--papier-2); border-radius: 14px; font-size: 1.14rem; }
.reponse p { margin: 0; }
.reponse p + p { margin-top: 12px; }
h2 { margin: 56px 0 0; font-size: clamp(1.55rem, 3.6vw, 2.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
h3 { margin: 30px 0 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
p, ul, ol { margin: 16px 0 0; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 8px; }
mark { background: var(--fluo); color: inherit; padding: 1px 3px; border-radius: 2px; }
code { font-family: var(--code); font-size: .88em; background: var(--papier-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.note { margin-top: 18px; font-family: var(--main); color: var(--feutre); font-size: 1.2rem; line-height: 1.35; }

.cases { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 12px; }
.cases li { margin: 0; padding: 14px 16px 14px 46px; border: 1.5px solid var(--trait); border-radius: 12px; position: relative; }
.cases li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border: 2px solid var(--encre); border-radius: 4px; }
.cases b { display: block; }
.cases span { color: var(--encre-2); font-size: 1rem; }

.defile { margin-top: 20px; overflow-x: auto; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .98rem; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
thead th { font-weight: 650; border-bottom: 1.5px solid var(--encre); }
tbody th { font-weight: 600; }

.faits { list-style: none; padding: 0; display: grid; gap: 14px; }
.faits li { margin: 0; padding-left: 16px; border-left: 3px solid var(--feutre); }
.faits a { display: block; margin-top: 4px; font-size: .92rem; color: var(--encre-2); }

details { border-bottom: 1px solid var(--trait); padding: 16px 0; }
details:first-of-type { margin-top: 18px; border-top: 1px solid var(--trait); }
summary { cursor: pointer; font-weight: 650; }
details p { color: var(--encre-2); }

.appel { margin-top: 60px; padding: clamp(26px, 5vw, 40px); background: var(--encre); color: #fff; border-radius: 18px; }
.appel h2 { margin: 0; color: #fff; }
.appel p { color: #D8D3F0; }
.appel .bouton { margin-top: 22px; background: #fff; color: var(--encre); }
.appel .bouton:hover { background: var(--fluo); }

footer { border-top: 1px solid var(--trait); padding-block: 28px 40px; font-size: .92rem; color: var(--encre-2); }
footer .cadre { display: flex; flex-wrap: wrap; gap: 8px 22px; }
