/*
 * Stoemp 1.0.0 — feuille du thème de « Restaurant Pont Neuf », magazine de cuisine maison.
 * Univers : la cuisine de maison belge (stoemp, chicons, gaufres) ; bleu canard plein pour l'en-tête et le pied,
 * UNE couleur d'accent (moutarde), fonds pâles alternés (crème, blanc, eau), étiquettes neutres, images aux angles
 * droits. Motifs : liseré de torchon (double filet), cuillère en bois devant les surtitres, intercalaires numérotés
 * d'un classeur à recettes, minuteur pour la durée de lecture.
 * Polices auto-hébergées (crédits) :
 *   - Erode (titres), Indian Type Foundry, Fontshare — ITF Free Font License (usage commercial libre, y compris sur le web).
 *   - Author (texte), Indian Type Foundry, Fontshare — ITF Free Font License (usage commercial libre, y compris sur le web).
 */
@font-face { font-family: "Erode"; src: url("../polices/erode-300-700.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Erode"; src: url("../polices/erode-300-700-italique.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Author"; src: url("../polices/author-200-700.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Author"; src: url("../polices/author-200-700-italique.woff2") format("woff2"); font-weight: 200 700; font-style: italic; font-display: swap; }

:root {
    --stp-canard: #0F4A52;
    --stp-canard-fonce: #0A373D;
    --stp-moutarde: #E2A92C;
    --stp-moutarde-texte: #8A5E00;
    --stp-encre: #1B2426;
    --stp-texte: #2C3537;
    --stp-gris: #5D696B;
    --stp-trait: #E3DDCF;
    --stp-creme: #FAF5E9;
    --stp-eau: #EAF2F1;
    --stp-blanc: #FFFFFF;
    --stp-titre: "Erode", "Iowan Old Style", Georgia, serif;
    --stp-corps: "Author", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --stp-tete: 72px;
    --stp-largeur: 1240px;
}

/* ---------- socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--stp-tete) + 16px); -webkit-text-size-adjust: 100%; }
body.stp { margin: 0; background: var(--stp-blanc); color: var(--stp-texte); font-family: var(--stp-corps); font-size: 17px; line-height: 1.6; font-weight: 400; overflow-x: clip; -webkit-font-smoothing: antialiased; }
:where(.stp) img { max-width: 100%; height: auto; display: block; }
:where(.stp) a { color: inherit; }
:where(.stp) :where(h1, h2, h3, h4) { font-family: var(--stp-titre); color: var(--stp-encre); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.005em; }
:where(.stp) p { margin: 0; }
.stp-masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stp-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--stp-moutarde); color: var(--stp-encre); padding: 10px 16px; font-weight: 600; }
.stp-evitement:focus { top: 12px; }
.stp-large { width: 100%; max-width: var(--stp-largeur); margin: 0 auto; padding: 0 32px; }
.stp-large--lecture { max-width: 860px; }
.stp-large--article { max-width: 1180px; }
.stp :focus-visible { outline: 3px solid var(--stp-moutarde); outline-offset: 2px; }

/* fonds pâles alternés */
.stp-fond--blanc { background: var(--stp-blanc); }
.stp-fond--creme { background: var(--stp-creme); }
.stp-fond--eau { background: var(--stp-eau); }

/* liseré de torchon : deux filets bleu canard sur fond crème */
.stp-lisere, .stp-article-tete::after, .stp-ouverture__image::after {
    background: linear-gradient(to bottom, transparent 0 3px, var(--stp-canard) 3px 6px, transparent 6px 9px, var(--stp-canard) 9px 10px, transparent 10px);
}

/* ---------- en-tête ---------- */
.stp-tete { position: sticky; top: 0; z-index: 50; background: var(--stp-canard); color: var(--stp-blanc); }
.stp-tete__rang { display: flex; align-items: center; gap: 28px; height: var(--stp-tete); }
.stp-tete__marque { flex: none; display: block; }
.stp-tete__marque img { width: 232px; height: auto; }
.stp-menu { margin-left: auto; }
.stp-menu__liste { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.stp-menu__liste a { display: flex; align-items: baseline; gap: 6px; padding: 10px 14px; color: var(--stp-blanc); text-decoration: none; font-weight: 500; font-size: 1rem; letter-spacing: .01em; border-bottom: 3px solid transparent; }
.stp-menu__num { font-family: var(--stp-titre); font-style: italic; font-size: .82rem; color: rgba(255,255,255,.62); }
.stp-menu__liste a:hover, .stp-menu__liste a[aria-current="page"] { border-bottom-color: var(--stp-moutarde); }
.stp-tete__loupe, .stp-tete__burger { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,.35); color: var(--stp-blanc); cursor: pointer; padding: 0; }
.stp-tete__loupe:hover, .stp-tete__burger:hover { border-color: var(--stp-moutarde); }
.stp-tete__burger { display: none; }
.stp-tete__traits { display: grid; gap: 5px; width: 20px; }
.stp-tete__traits span { display: block; height: 2px; background: currentColor; }
.stp-cherche { background: var(--stp-canard-fonce); padding: 16px 0; }
.stp-cherche__forme { display: flex; gap: 0; max-width: 760px; }
.stp-cherche__forme input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 12px 16px; border: 1px solid var(--stp-trait); border-right: 0; background: var(--stp-blanc); color: var(--stp-encre); border-radius: 0; }
.stp-cherche__forme button { font: inherit; font-weight: 600; padding: 12px 20px; border: 0; background: var(--stp-moutarde); color: var(--stp-encre); cursor: pointer; border-radius: 0; }
.stp-cherche__forme--page { margin-top: 22px; }

/* ---------- éléments communs ---------- */
.stp-section { padding: 72px 0; }
.stp-section--serree { padding: 48px 0; }
.stp-surtitre { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--stp-moutarde-texte); margin-bottom: 12px; }
.stp-cuillere { flex: none; color: var(--stp-moutarde); }
.stp-titre { font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.45rem); color: var(--stp-canard); }
.stp-titre--moyen { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.95rem); }
.stp-chapeau { margin-bottom: 34px; }
.stp-chapeau .stp-titre { padding-bottom: 14px; background: linear-gradient(var(--stp-moutarde), var(--stp-moutarde)) left bottom / 56px 3px no-repeat; }
.stp-chapeau--ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stp-chapeau__aide { color: var(--stp-gris); max-width: 26em; }
.stp-tout { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--stp-canard); text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid var(--stp-moutarde); white-space: nowrap; }
.stp-tout::after { content: "→"; }
.stp-tout:hover { color: var(--stp-moutarde-texte); }
.stp-bouton { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; background: var(--stp-moutarde); color: var(--stp-encre); text-decoration: none; font-weight: 600; border: 2px solid var(--stp-moutarde); white-space: nowrap; }
.stp-bouton:hover { background: #F0BC45; border-color: #F0BC45; }
.stp-bouton--trait { background: transparent; color: var(--stp-canard); border-color: var(--stp-canard); }
.stp-bouton--trait:hover { background: var(--stp-canard); color: var(--stp-blanc); border-color: var(--stp-canard); }
.stp-etiq { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stp-gris); margin-bottom: 8px; }
.stp-ariane { font-size: .88rem; color: var(--stp-gris); margin-bottom: 18px; }
.stp-ariane a { color: var(--stp-gris); text-decoration: none; border-bottom: 1px solid var(--stp-trait); }
.stp-ariane a:hover { color: var(--stp-canard); }

/* cartes */
.stp-carte { display: flex; flex-direction: column; min-width: 0; background: var(--stp-blanc); }
.stp-carte__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stp-eau); }
.stp-carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.stp-carte:hover .stp-carte__image img { transform: scale(1.035); }
.stp-carte__image--vide { display: flex; align-items: center; justify-content: center; color: var(--stp-canard); }
.stp-cuillere--vide { width: 64px; height: auto; opacity: .45; }
.stp-carte__corps { padding: 16px 2px 0; }
.stp-carte__titre { font-size: 1.16rem; line-height: 1.28; }
.stp-carte__titre a { text-decoration: none; }
.stp-carte__titre a:hover { color: var(--stp-canard); text-decoration: underline; text-decoration-color: var(--stp-moutarde); text-underline-offset: 4px; }
.stp-carte__chapo { margin-top: 8px; color: var(--stp-texte); font-size: .96rem; line-height: 1.55; }
.stp-carte__date { margin-top: 8px; font-size: .84rem; color: var(--stp-gris); }
.stp-carte--carre .stp-carte__image { aspect-ratio: 1 / 1; }
.stp-carte--haute .stp-carte__image { aspect-ratio: 4 / 5; }
.stp-carte--large .stp-carte__image { aspect-ratio: 16 / 10; }
.stp-carte--large .stp-carte__titre { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); }
.stp-carte--large .stp-carte__corps { padding-top: 20px; }
.stp-carte--ligne { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; background: transparent; }
.stp-carte--ligne .stp-carte__corps { padding: 0; }
.stp-carte--ligne .stp-carte__titre { font-size: 1.08rem; }
.stp-fond--creme .stp-carte:not(.stp-carte--ligne), .stp-fond--eau .stp-carte:not(.stp-carte--ligne) { background: transparent; }

.stp-rangee { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stp-rangee--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stp-rangee--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stp-rangee--1 { grid-template-columns: minmax(0, 520px); }
.stp-grille { display: grid; gap: 40px 26px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- accueil : ouverture ---------- */
.stp-ouverture { background: var(--stp-eau); padding: 40px 0; display: flex; align-items: center; min-height: min(calc(100svh - var(--stp-tete) - 92px), 780px); }
.stp-ouverture__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); gap: 56px; align-items: center; }
.stp-ouverture__sur { margin-bottom: 18px; }
.stp-ouverture__titre { font-size: clamp(2.3rem, 1.4rem + 2.6vw, 3.7rem); line-height: 1.06; color: var(--stp-canard); font-weight: 600; margin-bottom: 22px; }
.stp-ouverture__titre em { font-style: italic; font-weight: 500; color: var(--stp-encre); }
.stp-ouverture__chapo { font-size: 1.18rem; line-height: 1.6; max-width: 31em; margin-bottom: 30px; }
.stp-ouverture__boutons { display: flex; gap: 14px; flex-wrap: nowrap; }
.stp-ouverture__image { margin: 0; position: relative; padding-bottom: 18px; }
.stp-ouverture__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; max-height: calc(min(calc(100svh - var(--stp-tete) - 92px), 780px) - 98px); }
.stp-ouverture__image::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; }

/* classeur des rubriques (intercalaires à photo) */
.stp-classeur { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.stp-fiche a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--stp-blanc); border: 1px solid var(--stp-trait); }
.stp-fiche__onglet { align-self: flex-start; display: inline-flex; gap: 8px; align-items: baseline; margin: -1px 0 0 -1px; padding: 6px 14px 5px; background: var(--stp-canard); color: var(--stp-blanc); font-weight: 600; font-size: .86rem; }
.stp-fiche__onglet span { font-family: var(--stp-titre); font-style: italic; color: var(--stp-moutarde); }
.stp-fiche__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.stp-fiche__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.stp-fiche a:hover .stp-fiche__image img { transform: scale(1.04); }
.stp-fiche__nom { display: block; padding: 14px 16px 2px; font-family: var(--stp-titre); font-weight: 600; font-size: 1.12rem; line-height: 1.25; color: var(--stp-encre); }
.stp-fiche__nb { display: block; padding: 4px 16px 16px; margin-top: auto; font-size: .86rem; color: var(--stp-gris); }
.stp-fiche a:hover .stp-fiche__nom { color: var(--stp-canard); }

/* la sélection de la semaine */
.stp-semaine { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.stp-semaine--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stp-semaine__item { position: relative; padding-top: 6px; border-top: 1px solid var(--stp-trait); }
.stp-semaine__num { display: block; font-family: var(--stp-titre); font-style: italic; font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--stp-moutarde-texte); margin: 6px 0 12px; }

/* plats : une grande carte et une liste */
.stp-plat { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.stp-plat__liste { display: grid; gap: 22px; }
.stp-plat__liste .stp-carte--ligne { padding-bottom: 22px; border-bottom: 1px dashed var(--stp-trait); }
.stp-plat__liste .stp-carte--ligne:last-child { border-bottom: 0; padding-bottom: 0; }

/* en bref */
.stp-bref { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.stp-bref__texte p:last-child { margin-top: 14px; max-width: 40em; }
.stp-bref__chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.stp-bref__chiffres div { border-top: 3px solid var(--stp-canard); padding-top: 12px; }
.stp-bref__chiffres dt { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--stp-gris); }
.stp-bref__chiffres dd { margin: 4px 0 0; font-family: var(--stp-titre); font-size: 2.2rem; line-height: 1.1; font-weight: 600; color: var(--stp-canard); }

/* boissons : intro et trois tasses */
.stp-tasse { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr); gap: 48px; align-items: start; }
.stp-tasse__tete { padding-right: 8px; border-right: 3px solid var(--stp-moutarde); padding-bottom: 6px; }
.stp-tasse__tete .stp-titre { margin-bottom: 14px; }
.stp-tasse__intro, .stp-placard__intro { color: var(--stp-texte); margin-bottom: 22px; }

/* astuces : gestes numérotés */
.stp-gestes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stp-trait); }
.stp-geste { display: grid; grid-template-columns: 70px 190px minmax(0, 1fr); gap: 26px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--stp-trait); }
.stp-geste__num { font-family: var(--stp-titre); font-style: italic; font-size: 3rem; line-height: 1; color: var(--stp-moutarde-texte); text-align: center; }
.stp-geste__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.stp-geste__image img { width: 100%; height: 100%; object-fit: cover; }
.stp-geste__titre { font-size: 1.3rem; line-height: 1.25; margin-bottom: 6px; }
.stp-geste__titre a { text-decoration: none; }
.stp-geste__titre a:hover { color: var(--stp-canard); text-decoration: underline; text-decoration-color: var(--stp-moutarde); }
.stp-geste__chapo { color: var(--stp-texte); max-width: 52em; }

/* ingrédients : l'étagère */
.stp-placard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 56px; align-items: start; }
.stp-placard__tete .stp-titre { margin-bottom: 14px; }
.stp-placard__etagere { display: grid; gap: 26px; }
.stp-carte--etagere { padding-bottom: 18px; border-bottom: 5px solid var(--stp-moutarde); grid-template-columns: 200px minmax(0, 1fr); }
.stp-carte--etagere .stp-carte__chapo { font-size: .93rem; }

/* rédaction */
.stp-redaction { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: center; }
.stp-redaction__liste { display: grid; gap: 20px; }
.stp-auteur { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; align-items: start; }
.stp-auteur__portrait { display: block; width: 84px; height: 84px; overflow: hidden; background: var(--stp-blanc); }
.stp .stp-auteur__portrait img.avatar { width: 84px; height: 84px; max-width: none; object-fit: cover; border-radius: 0; margin: 0; }
.stp-auteur__nom { font-family: var(--stp-titre); font-weight: 600; font-size: 1.25rem; color: var(--stp-encre); }
.stp-auteur__nom a { text-decoration: none; }
.stp-auteur__nom a:hover { color: var(--stp-canard); text-decoration: underline; }
.stp-auteur__nb { font-size: .86rem; color: var(--stp-gris); margin: 2px 0 8px; }
.stp-auteur__bio { font-size: .96rem; max-width: 46em; }

/* panneau du magazine et questions */
.stp-panneau { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; background: var(--stp-creme); padding: 48px 52px; border-left: 6px solid var(--stp-canard); }
.stp-panneau__texte .stp-titre { margin-bottom: 18px; }
.stp-panneau__texte p:not(.stp-surtitre) { margin-bottom: 14px; font-size: 1rem; line-height: 1.7; }
.stp-panneau__texte a { color: var(--stp-canard); text-decoration-color: var(--stp-moutarde); text-underline-offset: 3px; }
.stp-panneau__faq-titre { font-size: 1.3rem; margin-bottom: 14px; color: var(--stp-canard); }
.stp-panneau__faq details { border-top: 1px solid var(--stp-trait); background: var(--stp-blanc); margin-bottom: 8px; }
.stp-panneau__faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 600; color: var(--stp-encre); position: relative; }
.stp-panneau__faq summary::-webkit-details-marker { display: none; }
.stp-panneau__faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--stp-titre); font-size: 1.4rem; color: var(--stp-moutarde-texte); }
.stp-panneau__faq details[open] summary::after { content: "−"; }
.stp-panneau__faq details p { padding: 0 16px 16px; font-size: .96rem; }
.stp-panneau__faq a { color: var(--stp-canard); }

/* intercalaires (onglets de rubriques) */
.stp-intercalaires { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stp-intercalaires a { display: inline-flex; align-items: baseline; gap: 10px; padding: 11px 18px; background: var(--stp-blanc); border: 1px solid var(--stp-trait); border-top: 3px solid var(--stp-canard); text-decoration: none; font-weight: 600; color: var(--stp-encre); }
.stp-intercalaires__num { font-family: var(--stp-titre); font-style: italic; font-weight: 500; color: var(--stp-moutarde-texte); }
.stp-intercalaires a:hover, .stp-intercalaires a[aria-current="page"] { background: var(--stp-canard); color: var(--stp-blanc); border-color: var(--stp-canard); }
.stp-intercalaires a:hover .stp-intercalaires__num, .stp-intercalaires a[aria-current="page"] .stp-intercalaires__num { color: var(--stp-moutarde); }
.stp-intercalaires--perdu { margin-top: 30px; }

/* ---------- article : fiche de cuisine ---------- */
.stp-article-tete { position: relative; background: var(--stp-creme); padding: 40px 0 58px; }
.stp-article-tete::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; }
.stp-article-tete__rub { display: inline-flex; gap: 10px; align-items: baseline; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stp-gris); margin-bottom: 14px; }
.stp-article-tete__rub span { font-family: var(--stp-titre); font-style: italic; font-size: 1.05rem; letter-spacing: 0; color: var(--stp-moutarde-texte); text-transform: none; }
.stp-article-tete__titre { font-size: clamp(2rem, 1.35rem + 2vw, 3.1rem); line-height: 1.1; color: var(--stp-canard); max-width: 22em; margin-bottom: 18px; }
.stp-article-tete__chapo { font-size: 1.15rem; line-height: 1.6; max-width: 46em; margin-bottom: 22px; }
.stp-signature { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--stp-gris); }
.stp-signature__portrait { display: block; width: 40px; height: 40px; overflow: hidden; flex: none; }
.stp .stp-signature__portrait img.avatar { width: 40px; height: 40px; max-width: none; object-fit: cover; border-radius: 0; margin: 0; }
.stp-signature__qui a { color: var(--stp-encre); font-weight: 600; text-decoration: none; }
.stp-signature__qui a:hover { color: var(--stp-canard); text-decoration: underline; }
.stp-signature__lecture { display: inline-flex; align-items: center; gap: 6px; padding-left: 18px; border-left: 1px solid var(--stp-trait); }
.stp-minuteur { color: var(--stp-moutarde-texte); }

.stp-article-corps { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 44px; padding-bottom: 72px; align-items: start; }
.stp-article__image { margin: 0 0 34px; }
.stp-article__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stp-pratique { align-self: stretch; }
.stp-pratique__collant { position: sticky; top: calc(var(--stp-tete) + 24px); }
.stp-pratique__fiche { background: var(--stp-creme); border-top: 4px solid var(--stp-canard); padding: 20px 22px 8px; }
.stp-pratique__titre { font-family: var(--stp-titre); font-weight: 600; font-size: 1.2rem; color: var(--stp-canard); margin-bottom: 10px; }
.stp-pratique__titre--suite { margin-top: 30px; padding-bottom: 10px; border-bottom: 2px solid var(--stp-moutarde); }
.stp-pratique dl { margin: 0; }
.stp-pratique dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--stp-trait); font-size: .93rem; }
.stp-pratique dt { color: var(--stp-gris); }
.stp-pratique dd { margin: 0; text-align: right; font-weight: 600; color: var(--stp-encre); }
.stp-pratique dd a { color: var(--stp-canard); text-decoration: none; }
.stp-pratique dd a:hover { text-decoration: underline; }
.stp-pratique__liste { list-style: none; margin: 0; padding: 0; }
.stp-pratique__liste li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--stp-trait); }
.stp-pratique__vignette { display: block; width: 72px; height: 72px; overflow: hidden; }
.stp-pratique__vignette img { width: 72px; height: 72px; object-fit: cover; }
.stp-pratique__lien { font-family: var(--stp-titre); font-weight: 600; font-size: 1rem; line-height: 1.3; text-decoration: none; color: var(--stp-encre); }
.stp-pratique__lien:hover { color: var(--stp-canard); text-decoration: underline; }

/* texte des articles et des pages (contenu jamais modifié : la feuille seule l'habille) */
.stp-texte { font-size: 1.08rem; line-height: 1.78; color: var(--stp-texte); overflow-wrap: anywhere; }
.stp-texte > * { margin-top: 0; }
.stp-texte p { margin: 0 0 1.15em; }
.stp-texte a { color: var(--stp-canard); text-decoration: underline; text-decoration-color: var(--stp-moutarde); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.stp-texte a:hover { color: var(--stp-moutarde-texte); }
.stp-texte h2 { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.85rem); line-height: 1.2; color: var(--stp-canard); margin: 2em 0 .8em; padding-bottom: 16px; background: linear-gradient(to bottom, var(--stp-moutarde) 0 3px, transparent 3px 6px, var(--stp-moutarde) 6px 7px) left bottom / 64px 7px no-repeat; }
.stp-texte h3 { font-family: var(--stp-titre); font-weight: 600; font-size: 1.28rem; line-height: 1.3; color: var(--stp-encre); margin: 1.6em 0 .55em; }
.stp-texte h3::before { content: "— "; color: var(--stp-moutarde-texte); }
.stp-texte h4 { font-family: var(--stp-corps); font-weight: 700; font-size: 1.04rem; margin: 1.4em 0 .5em; }
.stp-texte ul, .stp-texte ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.stp-texte li { margin-bottom: .45em; }
.stp-texte ul > li::marker { color: var(--stp-moutarde-texte); }
.stp-texte ol > li::marker { color: var(--stp-canard); font-weight: 700; }
.stp-texte img { max-width: 100%; height: auto; }
.stp-texte figure { margin: 1.6em 0; }
.stp-texte figcaption { font-size: .86rem; color: var(--stp-gris); margin-top: 8px; }
.stp-texte blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--stp-moutarde); font-family: var(--stp-titre); font-style: italic; font-size: 1.18rem; color: var(--stp-encre); }
.stp-texte table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.stp-texte th, .stp-texte td { padding: 10px 12px; border: 1px solid var(--stp-trait); text-align: left; vertical-align: top; }
.stp-texte th { background: var(--stp-eau); color: var(--stp-encre); font-weight: 600; }
.stp-texte iframe { max-width: 100%; }
.stp-texte--page h2 { background: none; padding-bottom: 0; }
/* encadré d'ouverture (« Le point en quelques lignes ») : style en ligne de l'article, recoloré aux tons du thème */
.stp .stp-texte > div[style*="border-left"]:first-child { background: var(--stp-eau) !important; border-left-color: var(--stp-canard) !important; border-radius: 0 !important; }
/* sommaire Easy TOC */
.stp #ez-toc-container { width: 100% !important; background: var(--stp-creme) !important; border: 0 !important; border-top: 4px solid var(--stp-canard) !important; border-radius: 0 !important; box-shadow: none !important; padding: 18px 24px !important; margin: 0 0 1.8em !important; font-family: var(--stp-corps); }
.stp #ez-toc-container .ez-toc-title { font-family: var(--stp-titre); font-weight: 600; font-size: 1.2rem !important; color: var(--stp-canard) !important; }
.stp #ez-toc-container a { color: var(--stp-encre) !important; text-decoration: none; font-size: .97rem; }
.stp #ez-toc-container a:hover { color: var(--stp-canard) !important; text-decoration: underline; }
.stp #ez-toc-container ul li::marker { color: var(--stp-gris); }
.stp #ez-toc-container .ez-toc-btn { background: transparent !important; border: 0 !important; box-shadow: none !important; }
/* encarts « A lire » (Intelly Related Posts) */
.stp .stp-texte div[style*="clear:both"] > a { display: block; margin: .4em 0; padding: 14px 18px !important; background: var(--stp-creme) !important; border: 0 !important; border-left: 4px solid var(--stp-moutarde) !important; border-radius: 0 !important; box-shadow: none !important; text-decoration: none !important; opacity: 1 !important; }
.stp .stp-texte div[style*="clear:both"] > a > div { padding: 0 !important; }
.stp .stp-texte div[style*="clear:both"] .ctaText { display: block; margin-bottom: 2px; color: var(--stp-moutarde-texte) !important; font-family: var(--stp-corps); font-size: .74rem !important; font-weight: 600 !important; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; }
.stp .stp-texte div[style*="clear:both"] .postTitle { color: var(--stp-encre) !important; font-family: var(--stp-titre); font-weight: 600 !important; font-size: 1.08rem !important; text-decoration: none !important; }
.stp .stp-texte div[style*="clear:both"] > a:hover .postTitle { color: var(--stp-canard) !important; text-decoration: underline !important; }
/* boîte d'auteur (Simple Author Box) */
.stp .stp-texte .saboxplugin-wrap { margin: 2em 0 0 !important; border: 1px solid var(--stp-trait) !important; border-top: 4px solid var(--stp-canard) !important; border-radius: 0 !important; background: var(--stp-blanc) !important; box-shadow: none !important; }
.stp .stp-texte .saboxplugin-wrap .saboxplugin-tab { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: start; gap: 6px 22px; padding: 22px; }
.stp .stp-texte .saboxplugin-wrap .saboxplugin-gravatar { grid-row: 1 / span 2; float: none !important; padding: 0 !important; margin: 0 !important; }
.stp .stp-texte .saboxplugin-wrap .saboxplugin-authorname, .stp .stp-texte .saboxplugin-wrap .saboxplugin-desc { margin: 0 !important; padding: 0 !important; }
.stp .stp-texte .saboxplugin-wrap .saboxplugin-desc p { margin: 0; }
.stp .stp-texte .saboxplugin-wrap .clearfix { display: none; }
.stp .stp-texte .saboxplugin-wrap .saboxplugin-gravatar img { border-radius: 0 !important; }
.stp .stp-texte .saboxplugin-wrap .saboxplugin-authorname a { color: var(--stp-canard) !important; font-family: var(--stp-titre); font-weight: 600; text-decoration: none; }
.stp .stp-texte .saboxplugin-wrap .saboxplugin-desc { color: var(--stp-texte) !important; font-size: .95rem; }

/* ---------- rubriques, recherche, auteur, pages ---------- */
.stp-rub-tete { background: var(--stp-creme); padding: 44px 0 52px; border-bottom: 1px solid var(--stp-trait); }
.stp-rub-tete__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.stp-rub-tete--sans-photo .stp-rub-tete__grille { grid-template-columns: minmax(0, 1fr); }
.stp-rub-tete__photo { margin: 0; position: relative; }
.stp-rub-tete__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stp-rub-tete__num { display: inline-flex; gap: 10px; align-items: baseline; margin-bottom: 14px; padding: 6px 14px 5px; background: var(--stp-canard); color: var(--stp-blanc); font-size: .82rem; font-weight: 600; letter-spacing: .06em; }
.stp-rub-tete__num span { font-family: var(--stp-titre); font-style: italic; color: var(--stp-moutarde); }
.stp-rub-tete__titre { font-size: clamp(2.1rem, 1.4rem + 2vw, 3.2rem); line-height: 1.08; color: var(--stp-canard); margin-bottom: 16px; }
.stp-rub-tete__titre--moyen { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); }
.stp-rub-tete__intro { font-size: 1.12rem; line-height: 1.6; max-width: 36em; margin-bottom: 14px; }
.stp-rub-tete__nb { font-size: .9rem; color: var(--stp-gris); font-weight: 600; }
.stp-rub-tete__qui { display: flex; gap: 28px; align-items: center; }
.stp-rub-tete__portrait { display: block; width: 120px; height: 120px; flex: none; overflow: hidden; }
.stp .stp-rub-tete__portrait img.avatar { width: 120px; height: 120px; max-width: none; object-fit: cover; border-radius: 0; margin: 0; }
.stp-pages { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.stp-pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--stp-trait); text-decoration: none; color: var(--stp-encre); font-weight: 600; }
.stp-pages .page-numbers.current, .stp-pages a.page-numbers:hover { background: var(--stp-canard); border-color: var(--stp-canard); color: var(--stp-blanc); }
.stp-page__tete { background: var(--stp-creme); padding: 40px 0 36px; border-bottom: 1px solid var(--stp-trait); }
.stp-page__titre { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); color: var(--stp-canard); }
.stp-page__corps { padding-top: 40px; padding-bottom: 72px; }
.stp-perdu { padding: 72px 0; }

/* ---------- pied ---------- */
.stp-pied { background: var(--stp-canard); color: rgba(255,255,255,.86); padding: 56px 0 28px; font-size: .95rem; }
.stp-pied__grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .7fr); gap: 48px; }
.stp-pied__logo img { width: 260px; height: auto; margin-bottom: 18px; }
.stp-pied__mention { max-width: 30em; line-height: 1.6; }
.stp-pied__titre { font-family: var(--stp-titre); font-size: 1.15rem; font-weight: 600; color: var(--stp-blanc); margin-bottom: 12px; }
.stp-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stp-pied a { color: rgba(255,255,255,.9); text-decoration: none; }
.stp-pied a:hover { color: var(--stp-moutarde); text-decoration: underline; }
.stp-pied__bas { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- écrans moyens ---------- */
@media (max-width: 1180px) {
    .stp-menu__liste a { padding: 10px 9px; }
    .stp-tete__marque img { width: 196px; }
    .stp-classeur { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stp-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stp-semaine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stp-rangee--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .stp-menu { position: absolute; top: var(--stp-tete); left: 0; right: 0; background: var(--stp-canard-fonce); display: none; margin: 0; }
    .stp-menu.stp-ouvert { display: block; }
    .stp-menu__liste { flex-direction: column; padding: 10px 24px 18px; }
    .stp-menu__liste a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .stp-tete__loupe { margin-left: auto; }
    .stp-tete__burger { display: inline-flex; }
    .stp-ouverture { min-height: 0; }
    .stp-ouverture__grille, .stp-plat, .stp-bref, .stp-tasse, .stp-placard, .stp-redaction, .stp-panneau, .stp-rub-tete__grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .stp-tasse__tete { border-right: 0; border-bottom: 3px solid var(--stp-moutarde); padding: 0 0 18px; }
    .stp-article-corps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .stp-pratique__collant { position: static; }
    .stp-pied__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .stp-pied__marque { grid-column: 1 / -1; }
}

/* ---------- mobile ---------- */
@media (max-width: 700px) {
    :root { --stp-tete: 62px; }
    body.stp { font-size: 16px; }
    .stp-large { padding: 0 18px; }
    .stp-tete__rang { gap: 10px; }
    .stp-tete__marque img { width: 172px; }
    .stp-section { padding: 52px 0; }
    .stp-section--serree { padding: 38px 0; }
    /* hero : surtitre, H1, chapô, IMAGE, boutons */
    .stp-ouverture { padding: 28px 0 36px; }
    .stp-ouverture__grille { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
    .stp-ouverture__texte { display: contents; }
    .stp-ouverture__sur { order: 1; margin: 0; }
    .stp-ouverture__titre { order: 2; margin: 0; font-size: 2.15rem; }
    .stp-ouverture__chapo { order: 3; margin: 0; font-size: 1.06rem; }
    .stp-ouverture__image { order: 4; }
    .stp-ouverture__image img { max-height: none; }
    .stp-ouverture__boutons { order: 5; }
    .stp-bouton { padding: 13px 16px; flex: 1 1 0; }
    .stp-classeur { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .stp-classeur li:first-child { grid-column: 1 / -1; }
    .stp-fiche__nom { font-size: 1rem; padding: 12px 12px 2px; }
    .stp-fiche__nb { padding: 4px 12px 12px; }
    .stp-semaine, .stp-rangee, .stp-rangee--4, .stp-rangee--2, .stp-grille { grid-template-columns: minmax(0, 1fr); }
    .stp-semaine, .stp-rangee--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
    .stp-semaine .stp-carte__titre, .stp-rangee--4 .stp-carte__titre { font-size: 1rem; }
    .stp-semaine .stp-carte__chapo { display: none; }
    .stp-semaine .stp-etiq { font-size: .64rem; letter-spacing: .08em; }
    .stp-semaine__num { font-size: 1.8rem; margin: 4px 0 8px; }
    .stp-ouverture__boutons .stp-bouton { flex: 1 1 0; }
    .stp-carte--ligne, .stp-carte--etagere { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
    .stp-geste { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
    .stp-geste__num { font-size: 2.2rem; grid-row: 1 / span 2; align-self: start; }
    .stp-geste__image { grid-column: 2; }
    .stp-geste__texte { grid-column: 2; }
    .stp-bref__chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stp-bref__chiffres dd { font-size: 1.7rem; }
    .stp-panneau { padding: 30px 20px; border-left-width: 4px; }
    .stp .stp-auteur__portrait img.avatar { width: 72px; height: 72px; max-width: none; }
    .stp-auteur { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
    .stp-auteur__portrait { width: 72px; height: 72px; }
    .stp-article-tete { padding: 28px 0 46px; }
    .stp-signature__lecture { padding-left: 0; border-left: 0; }
    .stp-texte { font-size: 1.03rem; }
    .stp .stp-texte .saboxplugin-wrap .saboxplugin-tab { grid-template-columns: 72px minmax(0, 1fr); gap: 6px 14px; padding: 16px; }
    .stp .stp-texte .saboxplugin-wrap .saboxplugin-gravatar img { width: 72px; height: auto; max-width: none; }
    .stp-rub-tete__qui { flex-direction: column; align-items: flex-start; gap: 18px; }
    .stp-rub-tete__portrait { width: 96px; height: 96px; }
    .stp .stp-rub-tete__portrait img.avatar { width: 96px; height: 96px; max-width: none; }
    .stp-pied__grille { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .stp-pied__logo img { width: 220px; }
    .stp-cherche__forme button { padding: 12px 14px; }
}
