/* Pages de texte reprises de l’ancien site : informations légales, puis pages métiers et questions. */
.texte-entete { max-width:1020px; padding:128px 24px 40px; }
.texte-ariane ol { display:flex; flex-wrap:wrap; gap:6px; font-size:12px; color:var(--studio-muted); margin-bottom:34px; }
.texte-ariane li+li::before { content:"›"; margin-right:6px; color:var(--filet-fort); }
.texte-ariane a:hover { color:var(--encre); }
.texte-entete h1 { max-width:22ch; font-size:clamp(36px,5vw,62px); font-weight:500; letter-spacing:-.05em; line-height:1.06; margin:16px 0 18px; }
.texte-maj { font-size:13px; color:var(--studio-muted); }
.texte-layout { max-width:1020px; display:grid; grid-template-columns:220px minmax(0,1fr); gap:56px; padding-bottom:96px; }
.texte-aside { align-self:start; position:sticky; top:108px; display:grid; gap:30px; max-height:calc(100vh - 130px); overflow:auto; padding:6px 4px 6px 0; }
.texte-aside p { font-size:10px; letter-spacing:.1em; color:var(--studio-muted); margin-bottom:10px; }
.texte-aside a { display:block; padding:7px 0 7px 12px; border-left:1px solid var(--filet); font-size:13px; line-height:1.4; color:var(--studio-muted); }
.texte-aside a:hover { color:var(--encre); border-color:var(--filet-fort); }
.texte-aside a[aria-current="page"] { color:var(--encre); border-color:var(--accent); font-weight:500; }
.texte-corps { background:#fff; border:1px solid var(--filet); border-radius:28px; padding:44px 52px; max-width:none; }
.texte-corps>:first-child { margin-top:0; }
.texte-corps h2 { scroll-margin-top:110px; padding-top:30px; border-top:1px solid var(--filet); }
.texte-corps>h2:first-child { border-top:0; padding-top:0; }
.texte-corps h3,.texte-corps h4 { scroll-margin-top:110px; }
.texte-corps h4 { font-size:18px; font-weight:500; color:var(--encre); margin:22px 0 10px; }
.texte-corps .encadre { background:var(--surface-soft); border-radius:18px; padding:20px 24px; margin:18px 0 24px; }
.texte-corps .encadre p { margin:0 0 8px; font-size:15px; }
.texte-corps .encadre p:last-child { margin-bottom:0; }
.texte-corps a.encart-lien { display:block; text-decoration:none; color:inherit; border:1px solid var(--filet); border-radius:18px; padding:18px 22px; margin:0 0 12px; transition:border-color .2s, background .2s; }
.texte-corps a.encart-lien:hover { border-color:var(--accent); background:#f7f9fb; }
.texte-corps a.encart-lien strong { display:block; font-size:18px; font-weight:500; color:var(--encre); margin:0 0 4px; }
.texte-corps a.encart-lien p { margin:0; font-size:14px; color:var(--studio-muted); }
.texte-corps table { display:table; width:100%; font-size:14px; margin:18px 0 26px; }
.texte-corps th { background:var(--surface-soft); font-weight:500; }
@media (max-width:899px) {
 .texte-layout { grid-template-columns:1fr; gap:24px; }
 .texte-aside { position:static; max-height:none; overflow:visible; }
 .texte-sommaire { display:none; }
 .texte-aside { order:2; }
}
@media (max-width:599px) {
 .texte-entete { padding:104px 22px 28px; }
 .texte-entete h1 { font-size:36px; }
 .texte-corps { padding:26px 20px; border-radius:22px; font-size:16px; }
 .texte-corps table { display:block; overflow:auto; }
}
