/* Accueil.ch — portail Textes anciens, 17 novembre 2026.
 * Styles limites a .sa-source-portal et a la barre du catalogue historique.
 */
html body.sa-source-portal{background:#fff!important;color:#24292d!important}
html body.sa-source-portal .sa-main,
html body.sa-source-portal .sa-main *{box-sizing:border-box}
html body.sa-source-portal .sa-main{
  width:min(1232px,calc(100% - 60px));max-width:1232px;margin:0 auto;
  padding:19px 0 76px;background:#fff;color:#24292d;
  font-family:"Savoy Source Sans 3", "Source Sans 3",Arial,sans-serif;
}
html body.sa-source-portal .sa-main a{color:inherit;text-decoration:none}
html body.sa-source-portal .sa-main a:hover{text-decoration:underline;text-underline-offset:5px}
html body.sa-source-portal .sa-main a:focus-visible,
html body.sa-sources-archive .sa-archive-bar a:focus-visible{
  outline:2px solid #1e4f7a;outline-offset:4px;
}
html body.sa-source-portal .sa-main h1,
html body.sa-source-portal .sa-main h2,
html body.sa-source-portal .sa-main h3{
  font-family:"Savoy Cabin",Cabin,Arial,sans-serif!important;
  color:#21262a;letter-spacing:-.026em;text-wrap:balance;
  text-transform:none;font-style:normal;
}
html body.sa-source-portal .sa-breadcrumb{display:flex;gap:11px;align-items:center;font-size:13px;color:#68747c;margin:4px 0 40px}
html body.sa-source-portal .sa-breadcrumb a{font-weight:500}
html body.sa-source-portal .sa-eyebrow{
  margin:0 0 15px!important;font:700 11px/1.5 "Savoy Source Sans 3",Arial,sans-serif;
  letter-spacing:.125em;color:#5c686f;text-transform:uppercase;
}
html body.sa-source-portal .sa-hero{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  align-items:center;gap:clamp(26px,5vw,77px);padding:11px 0 63px;
  border-bottom:1px solid #dce0e3;
}
html body.sa-source-portal .sa-hero__copy{max-width:690px}
html body.sa-source-portal .sa-hero h1{
  font-size:clamp(39px,4.3vw,58px)!important;font-weight:600!important;
  line-height:1.06!important;margin:0 0 17px!important;
}
html body.sa-source-portal .sa-hero__lead{
  max-width:640px;margin:0 0 20px;font:500 clamp(22px,2.45vw,30px)/1.22 "Savoy Cabin",Arial,sans-serif;
  letter-spacing:-.022em;color:#313a3f;
}
html body.sa-source-portal .sa-hero__description{
  max-width:620px;margin:0 0 29px;font-size:17px;line-height:1.64;color:#4e5a60;text-wrap:pretty;
}
html body.sa-source-portal .sa-hero__links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;font:600 14px/1.4 "Savoy Cabin",Arial,sans-serif}
html body.sa-source-portal .sa-hero__links>a{padding:4px 0;border-bottom:1px solid #aab2b7}
html body.sa-source-portal .sa-hero__links>a.sa-link-strong{border-bottom:2px solid #232a2e}
html body.sa-source-portal .sa-hero__media{margin:0;max-width:100%}
html body.sa-source-portal .sa-hero__media>a{display:block;overflow:hidden;border-radius:3px;background:#e5e9e9}
html body.sa-source-portal .sa-hero__media img{
  display:block;width:100%;height:auto;aspect-ratio:1.54;object-fit:cover;object-position:center;
}
html body.sa-source-portal .sa-hero__media figcaption{font:400 12px/1.5 "Savoy Source Sans 3",Arial,sans-serif;color:#66737a;margin-top:10px}
html body.sa-source-portal .sa-hero__media figcaption a{margin-left:7px;font-weight:600;white-space:nowrap}
html body.sa-source-portal .sa-section{padding-top:60px}
html body.sa-source-portal .sa-section__heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:23px}
html body.sa-source-portal .sa-section__heading h2,
html body.sa-source-portal .sa-method h2,
html body.sa-source-portal .sa-catalogue h2{
  font-size:clamp(25px,2.4vw,34px)!important;font-weight:600!important;
  line-height:1.16!important;margin:0!important;
}
html body.sa-source-portal .sa-section__heading>p{margin:0 0 3px;max-width:325px;font-size:14px;line-height:1.5;color:#68737a}
html body.sa-source-portal .sa-works-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid #dce0e3;border-left:1px solid #dce0e3}
html body.sa-source-portal .sa-work{display:flex;flex-direction:column;min-height:235px;padding:24px 21px 19px;background:#fff;border-right:1px solid #dce0e3;border-bottom:1px solid #dce0e3;transition:background .17s ease}
html body.sa-source-portal .sa-work:hover{background:#f7f8f9;text-decoration:none!important}
html body.sa-source-portal .sa-work__kicker{font-size:10px;line-height:1.4;letter-spacing:.09em;color:#66747a;font-weight:700}
html body.sa-source-portal .sa-work h3{font-size:20px!important;line-height:1.18!important;font-weight:600!important;margin:13px 0 10px!important}
html body.sa-source-portal .sa-work p{font-size:14px;line-height:1.5;color:#58666c;margin:0 0 18px}
html body.sa-source-portal .sa-work__go{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;font-size:13px;color:#28343a;font-weight:700}
html body.sa-source-portal .sa-section--families{padding-top:69px}
html body.sa-source-portal .sa-families-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
html body.sa-source-portal .sa-family{position:relative;padding:25px 25px 26px;border:1px solid #dce0e3;border-radius:3px;min-height:224px;scroll-margin-top:115px}
html body.sa-source-portal .sa-family__number{font:600 12px/1 "Savoy Cabin",Arial,sans-serif;color:#737d84}
html body.sa-source-portal .sa-family h3{font-size:21px!important;font-weight:600!important;margin:15px 0 8px!important;line-height:1.24!important}
html body.sa-source-portal .sa-family p{font-size:14px;line-height:1.57;color:#58666c;margin:0 0 21px}
html body.sa-source-portal .sa-family>a{display:inline-block;margin-top:auto;font-weight:700;font-size:13px;border-bottom:1px solid #b9c1c5;padding-bottom:2px}
html body.sa-source-portal .sa-section--related{padding-top:71px}
html body.sa-source-portal .sa-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html body.sa-source-portal .sa-related-card{display:flex;flex-direction:column;min-height:240px;background:#f6f7f8;padding:26px 25px 24px;border-top:3px solid #293137}
html body.sa-source-portal .sa-related-card:hover{background:#ebedef;text-decoration:none!important}
html body.sa-source-portal .sa-related-card>span{font-weight:700;font-size:11px;letter-spacing:.12em;color:#68737a}
html body.sa-source-portal .sa-related-card h3{font-size:21px!important;line-height:1.27!important;margin:14px 0 10px!important;font-weight:600!important}
html body.sa-source-portal .sa-related-card p{font-size:14px;line-height:1.5;color:#5c6970;margin:0 0 17px}
html body.sa-source-portal .sa-related-card small{font-size:13px;font-weight:700;color:#242a2e;margin-top:auto}
html body.sa-source-portal .sa-method{
  margin-top:69px;padding:42px 0 43px;border-top:1px solid #dce0e3;border-bottom:1px solid #dce0e3;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:clamp(30px,6vw,90px);
}
html body.sa-source-portal .sa-method__text>p:not(.sa-eyebrow){font-size:15px;line-height:1.65;color:#526067;max-width:620px;margin:15px 0 0}
html body.sa-source-portal .sa-method__links{display:flex;flex-direction:column}
html body.sa-source-portal .sa-method__links>a{position:relative;display:flex;flex-direction:column;gap:2px;padding:14px 36px 14px 0;border-bottom:1px solid #dce0e3}
html body.sa-source-portal .sa-method__links>a:first-child{border-top:1px solid #dce0e3}
html body.sa-source-portal .sa-method__links strong{font:600 16px/1.4 "Savoy Cabin",Arial,sans-serif}
html body.sa-source-portal .sa-method__links small{font-size:13px;color:#657178}
html body.sa-source-portal .sa-method__links a>span{position:absolute;right:4px;top:20px}
html body.sa-source-portal .sa-catalogue{display:grid;grid-template-columns:1.25fr .75fr;gap:30px;padding:52px 0 0}
html body.sa-source-portal .sa-catalogue p:not(.sa-eyebrow){max-width:680px;font-size:15px;line-height:1.63;color:#526067;margin:16px 0 0}
html body.sa-source-portal .sa-catalogue__actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:17px}
html body.sa-source-portal .sa-catalogue__actions a{font-size:14px;font-weight:600;border-bottom:1px solid #aeb9bf;padding:4px 0}
html body.sa-source-portal .sa-catalogue__actions .sa-catalogue__primary{background:#242b30;color:#fff;padding:13px 17px;border:none;border-radius:3px}
html body.sa-source-portal .sa-catalogue__actions .sa-catalogue__primary:hover{background:#404b52;text-decoration:none}
html body.sa-source-portal .sa-skip{position:absolute;top:-80px;left:15px;padding:8px 12px;background:white;z-index:9999}
html body.sa-source-portal .sa-skip:focus{top:12px}
html body.sa-sources-archive .sa-archive-bar{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:20px auto 24px;padding:16px 20px;max-width:1180px;border:1px solid #cfd6da;background:#f5f7f8;color:#26313a;font:600 14px/1.4 "Savoy Cabin",Arial,sans-serif}
html body.sa-sources-archive .sa-archive-bar a{color:#26313a!important;border-bottom:1px solid #7c898f}
html body.sa-sources-archive .sa-archive-bar span{color:#607078;font-size:13px}
@media(max-width:1000px){
 html body.sa-source-portal .sa-works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.sa-source-portal .sa-families-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.sa-source-portal .sa-hero{gap:30px}
}
@media(max-width:680px){
 html body.sa-source-portal .sa-main{width:calc(100% - 32px);padding:15px 0 56px}
 html body.sa-source-portal .sa-breadcrumb{margin:0 0 25px;font-size:12px}
 html body.sa-source-portal .sa-hero{grid-template-columns:minmax(0,1fr);gap:26px;padding:4px 0 43px}
 html body.sa-source-portal .sa-hero h1{font-size:39px!important}
 html body.sa-source-portal .sa-hero__lead{font-size:24px}
 html body.sa-source-portal .sa-hero__description{font-size:15px;line-height:1.6}
 html body.sa-source-portal .sa-hero__links{gap:16px}
 html body.sa-source-portal .sa-hero__media img{aspect-ratio:1.6}
 html body.sa-source-portal .sa-section{padding-top:47px}
 html body.sa-source-portal .sa-section__heading{display:block;margin-bottom:18px}
 html body.sa-source-portal .sa-section__heading>p{margin-top:13px;max-width:500px}
 html body.sa-source-portal .sa-works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.sa-source-portal .sa-work{padding:17px 13px 16px;min-height:228px}
 html body.sa-source-portal .sa-work h3{font-size:18px!important}
 html body.sa-source-portal .sa-work p{font-size:13px;line-height:1.45}
 html body.sa-source-portal .sa-families-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 html body.sa-source-portal .sa-family{min-height:0;padding:20px 21px 21px}
 html body.sa-source-portal .sa-family h3{margin:11px 0 6px!important}
 html body.sa-source-portal .sa-family p{margin-bottom:13px}
 html body.sa-source-portal .sa-related-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 html body.sa-source-portal .sa-related-card{min-height:0;padding:21px 21px 22px}
 html body.sa-source-portal .sa-method{grid-template-columns:minmax(0,1fr);gap:24px;padding:32px 0;margin-top:47px}
 html body.sa-source-portal .sa-catalogue{grid-template-columns:minmax(0,1fr);padding-top:41px;gap:13px}
 html body.sa-source-portal .sa-catalogue__actions{padding-top:0}
 html body.sa-sources-archive .sa-archive-bar{margin:15px 16px;padding:12px 14px}
}
@media(max-width:360px){html body.sa-source-portal .sa-works-grid{grid-template-columns:minmax(0,1fr)}html body.sa-source-portal .sa-work{min-height:0}}
@media(prefers-reduced-motion:reduce){html body.sa-source-portal .sa-work,html body.sa-source-portal .sa-related-card{transition:none}}
