
.guide{max-width:1040px;margin:0 auto;padding:36px clamp(16px,3vw,48px) 72px}
.guide-head{max-width:70ch;margin-bottom:28px}
.guide h1{font-family:var(--font-display);font-weight:700;color:var(--burgundy);font-size:clamp(36px,4.5vw,56px);line-height:1.02;margin:6px 0 12px}
.guide .lead{font-family:var(--font-display);font-size:20px;line-height:1.45;margin:0}
.guide-block{margin:34px 0 0}
.guide h2{font-family:var(--font-display);font-weight:700;color:var(--burgundy);font-size:clamp(26px,3vw,34px);margin:0 0 14px}
.guide h3{font-family:var(--font-display);font-size:21px;margin:0 0 6px}
.guide .hint{color:#6F655E;margin:0 0 12px;max-width:70ch}
.stages3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.stage{background:#FFFDF8;border:1px solid var(--stone);border-radius:14px;padding:18px 20px;position:relative}
.stage .num{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--burgundy);color:#FCF9F3;font-family:var(--font-display);font-weight:700;font-size:18px;margin-bottom:10px}
.stage p{margin:0 0 10px;color:#4A413B}
.stage .link{color:var(--burgundy);font-weight:600}
.paths{display:grid;gap:14px}
.path{background:#FFFDF8;border:1px solid var(--stone);border-radius:14px;padding:16px 20px}
.path ol{margin:8px 0 0;padding-left:22px;display:grid;gap:5px}
.lexicon{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.lexicon .term{background:#FFFDF8;border:1px solid var(--stone);border-radius:12px;padding:12px 16px}
.lexicon dt{font-family:var(--font-display);font-weight:700;font-size:18px;color:var(--burgundy);margin:0 0 4px}
.lexicon dd{margin:0;color:#4A413B;font-size:15px;line-height:1.5}
.faq details{background:#FFFDF8;border:1px solid var(--stone);border-radius:12px;padding:10px 16px;margin-bottom:8px}
.faq summary{cursor:pointer;font-family:var(--font-display);font-weight:700;font-size:18px;color:var(--burgundy)}
.faq p{margin:8px 0 4px;color:#4A413B}

/* Encadré « Vous débutez avec le site ? » du guide */
.guide-callout{display:flex;gap:14px;align-items:flex-start;background:#FFF6E6;border:1px solid var(--gold);border-radius:14px;padding:14px 18px;margin:0 0 6px}
.guide-callout svg{width:32px;height:32px;flex:none;color:var(--burgundy)}
.guide-callout p{margin:0;line-height:1.5}
.guide-callout a{color:var(--burgundy);font-weight:600;white-space:nowrap}

/* Tutoriel : grands débutants — gros texte, une action par étape, cibles de 44 px, contraste AA */
.tuto{font-size:19px;line-height:1.6}
.tuto-head .lead{max-width:60ch}
.tuto-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 14px}
.tuto .btn-big{min-height:52px;font-size:19px;padding:12px 26px}
.tuto .btn-line{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:10px;border:1.5px solid var(--gold);background:#FFFDF8;color:var(--burgundy);font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.tuto .btn-line:hover{background:#F7F1E7}
.tuto .btn-line svg{width:22px;height:22px;flex:none}
.tuto .btn-line[aria-pressed="true"]{background:var(--burgundy);color:#FCF9F3;border-color:var(--burgundy)}
.tuto .hint{color:#5C534C}
/* Sommaire */
.toc{background:#FFFDF8;border:1px solid var(--stone);border-radius:16px;padding:18px 20px;margin:24px 0 8px}
.toc h2{margin:0 0 4px}
.toc-list{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:4px 18px}
.toc-list li{display:flex;align-items:center;gap:10px;min-height:48px}
.toc-check{width:32px;height:32px;flex:none;border-radius:50%;border:2px solid var(--gold);background:#fff;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.toc-check svg{width:18px;height:18px;opacity:0}
.toc-check.is-done{background:#4F6B2E;border-color:#4F6B2E}
.toc-check.is-done svg{opacity:1}
.toc-list a{display:flex;align-items:center;gap:10px;flex:1;min-height:44px;color:var(--charcoal);text-decoration:none;border-bottom:1px solid transparent}
.toc-list a:hover .toc-title{color:var(--burgundy);text-decoration:underline}
.toc-num{font-family:var(--font-display);font-weight:700;color:var(--burgundy);width:1.4em;text-align:right;flex:none}
.toc-title{flex:1}
.toc-min{color:#6F655E;font-size:15px;white-space:nowrap}
/* Leçons */
.lesson{background:#FFFDF8;border:1px solid var(--stone);border-radius:18px;padding:clamp(18px,3vw,32px);margin:28px 0 0;scroll-margin-top:16px}
.lesson.is-read{border-color:#B9C7A2}
.lesson-eyebrow{margin:0;font-family:var(--font-ui);font-weight:600;font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:#6F655E}
.lesson-head h2{margin:6px 0 8px}
.lesson-intro{margin:0 0 12px;max-width:65ch;font-size:20px}
.lesson-tools{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 4px}
.steps{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:18px}
.step{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:start}
.step-num{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--burgundy);color:#FCF9F3;font-family:var(--font-display);font-weight:700;font-size:22px}
.step-body{min-width:0;display:grid;gap:10px}
.step-action{margin:0;max-width:65ch;padding-top:8px}
.step-result{margin:0;max-width:65ch;padding:10px 14px;border-left:4px solid var(--gold);background:#FFF6E6;border-radius:0 10px 10px 0;color:#3E3631}
.step-list{margin:0;padding-left:22px;display:grid;gap:6px;max-width:65ch}
/* Captures annotées */
.shot{margin:4px 0 0}
.shot-frame{position:relative;display:block;max-width:100%}
.shot-frame.is-phone{max-width:300px}
.shot-frame.is-desktop{max-width:760px}
.shot-frame img{display:block;width:100%;height:auto;border:1px solid var(--stone);border-radius:14px;background:#fff}
.shot-mark{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.shot-pair{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start}
.shot-pair>div{display:grid;gap:6px;flex:1 1 260px;min-width:0}
.shot-label{margin:0;font-weight:600;color:#6F655E;font-size:15px}
.shot-svg svg{width:min(100%,360px);height:auto;display:block}
.shot-svg-s svg{width:min(100%,220px)}
/* Mots et astuces */
.lesson-word,.lesson-tip{margin:18px 0 0;padding:14px 18px;border-radius:12px}
.lesson-word{background:#F3ECE2;border:1px solid var(--stone)}
.lesson-tip{background:#EEF3E4;border:1px solid #B9C7A2}
.word-label,.tip-label{margin:0 0 4px;font-family:var(--font-ui);font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#6F655E}
.lesson-word p:last-child,.lesson-tip p:last-child{margin:0;max-width:65ch}
.lesson-tip .shot{margin-top:12px}
.lesson-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:22px;padding-top:16px;border-top:1px solid var(--stone)}
.lesson-done{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.lesson-done input{width:26px;height:26px;accent-color:#4F6B2E}
.lesson-nav{display:flex;flex-wrap:wrap;gap:10px}
.lesson-nav .btn{min-height:48px}
.lesson-end{text-align:center}
.lesson-end h2{margin-top:0}
.lesson-end .lesson-nav{justify-content:center;margin:14px 0}
/* Texte plus grand : un cran sur toute la page */
html.tuto-big .tuto{font-size:23px;line-height:1.65}
html.tuto-big .lesson-intro{font-size:24px}
html.tuto-big .toc-min{font-size:18px}
html.tuto-big .shot-frame.is-phone{max-width:360px}
@media (max-width:480px){
  .step{grid-template-columns:36px 1fr;gap:10px}
  .step-num{width:36px;height:36px;font-size:19px}
  .shot-frame.is-phone{max-width:100%}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{
  body{background:#fff}
  .paper::before{display:none}
  .site-header,.site-footer,.skip,.tuto-actions,.lesson-tools,.lesson-nav,.lesson-done,.toc,.lesson-end .lesson-nav{display:none!important}
  body[data-print-lesson] .tuto-head,body[data-print-lesson] .lesson:not(.is-printing){display:none!important}
  .lesson{border:0;padding:0;margin:0;break-inside:avoid-page}
  .step{break-inside:avoid}
  .shot-frame.is-phone{max-width:240px}
  .step-result{background:none;border-left:3px solid #999}
  .tuto{font-size:13pt}
  .lesson-word,.lesson-tip{border:1px solid #999;background:none}
  a[href]::after{content:""}
}
.toc-list a.is-muted{opacity:.55}
.lesson-note{margin:10px 0 0;font-style:italic}
