/* =========================================================
   Charles Cuisine — Pages « hub » / guides (ex. Stérilisation)
   Design system paper. S'appuie sur paper.css + components.css.
   ========================================================= */

.guide-page {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) 4rem;
}

.guide-lead {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 44ch;
    margin-top: 1rem;
}

/* ---- Sections ---- */
.guide-section {
    margin-top: clamp(2.5rem, 6vw, 3.75rem);
}

.guide-section-title {
    font-family: var(--ff-serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    color: var(--ink);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 1.25rem;
}

/* Process : liste ordonnée, numéros rouges façon carnet */
.guide-steps {
    list-style: none;
    counter-reset: gstep;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.guide-steps li {
    counter-increment: gstep;
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    gap: 0.9rem;
    font-family: var(--ff-serif);
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--ink);
}
.guide-steps li::before {
    content: counter(gstep);
    font-family: var(--ff-hand);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--rouge);
    transform: rotate(-4deg);
}

/* Matériel : liste à puces sobres */
.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.guide-list li {
    position: relative;
    padding-left: 1.4rem;
    font-family: var(--ff-serif);
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--ink);
}
.guide-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--rouge);
}

/* ---- Tableau de références (produit … temps · température) ---- */
.ref-list {
    border-top: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    display: flex;
    flex-direction: column;
}
.ref-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: baseline;
    gap: 0 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px dashed color-mix(in srgb, var(--ink) 15%, transparent);
}
.ref-row:last-child { border-bottom: 0; }

.ref-produit {
    font-family: var(--ff-serif);
    font-size: 1.15rem;
    color: var(--ink);
}
.ref-leader {
    height: 0.55em;
    border-bottom: 2px dotted var(--ink-faint);
    transform: translateY(-0.22em);
    opacity: 0.7;
    min-width: 24px;
}
.ref-val {
    font-family: var(--ff-sans);
    font-size: 0.95rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    white-space: nowrap;
}
.ref-val .temp {
    color: var(--rouge);
    margin-left: 0.5em;
}

/* Note en aparté */
.guide-note {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: color-mix(in srgb, var(--paper-warm) 55%, transparent);
    border-left: 3px solid var(--rouge);
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--ink-soft);
}
