:root {
  --trm-encre: #191c23;
  --trm-papier: #ffffff;
  --trm-gris: #eceeef;
  --trm-paon: #00677a;
  --trm-capucine: #e4572e;
  --trm-brume: #d7dadd;
  --trm-texte2: #4f5560;
  --trm-capucine-clair: #f2875f;
  --trm-titres: "Rufina", Georgia, serif;
  --trm-corps: "Inria Sans", "Segoe UI", sans-serif;
  --trm-lisiere: repeating-linear-gradient(90deg, var(--trm-paon) 0 7px, transparent 7px 8px, var(--trm-capucine) 8px 15px, transparent 15px 16px) 0 0 / 100% calc(50% - 1px) no-repeat, repeating-linear-gradient(90deg, var(--trm-capucine) 0 7px, transparent 7px 8px, var(--trm-paon) 8px 15px, transparent 15px 16px) 0 100% / 100% calc(50% - 1px) no-repeat;
  --trm-lisiere-v: repeating-linear-gradient(180deg, var(--trm-paon) 0 7px, transparent 7px 8px, var(--trm-capucine) 8px 15px, transparent 15px 16px) 0 0 / calc(50% - 1px) 100% no-repeat, repeating-linear-gradient(180deg, var(--trm-capucine) 0 7px, transparent 7px 8px, var(--trm-paon) 8px 15px, transparent 15px 16px) 100% 0 / calc(50% - 1px) 100% no-repeat;
  --trm-chaine: repeating-linear-gradient(90deg, rgba(25, 28, 35, .05) 0 1px, transparent 1px 7px);
  --trm-navette: polygon(0 50%, 22% 8%, 78% 8%, 100% 50%, 78% 92%, 22% 92%);
  --trm-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='%2300677a' stroke-width='2.2'%3E%3Cpath d='M0 6h21M15.5 1 21.5 6 15.5 11'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.trm { margin: 0; font-synthesis: none; background: var(--trm-papier); color: var(--trm-encre); font-family: var(--trm-corps); font-size: 18px; line-height: 1.6; }
:where(.trm) img { max-width: 100%; height: auto; }
:where(.trm) a { color: inherit; }
.trm :focus-visible { outline: 3px solid var(--trm-capucine); outline-offset: 2px; }
.trm-saut { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 10px 16px; background: var(--trm-encre); color: var(--trm-papier); font-weight: 700; text-decoration: none; }
.trm-saut:focus { top: 12px; }
.trm-boite { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.trm-boite--lecture { max-width: 808px; }
.trm-main { display: block; }

.trm-tete { position: relative; z-index: 30; background: var(--trm-papier); }
.trm-tete::after { content: ""; display: block; height: 8px; background: var(--trm-lisiere); }
.trm-tete__rang { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 86px; padding-top: 12px; padding-bottom: 12px; }
.trm-tete__accueil { display: block; flex: none; line-height: 0; }
.trm-tete__logo { display: block; width: auto; height: 54px; }
.trm-tete__bouton { display: none; }
.trm-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.trm-menu__point { margin: 0; }
.trm-menu__lien { display: block; padding: 12px 12px 14px; color: var(--trm-encre); font-family: var(--trm-corps); font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; background: linear-gradient(var(--trm-capucine), var(--trm-capucine)) no-repeat 12px calc(100% - 4px) / 0 3px; transition: background-size .2s ease; }
.trm-menu__lien:hover, .trm-menu__lien:focus-visible { background-size: calc(100% - 24px) 3px; }
.trm-menu__lien--ici, .trm-menu__point--ici > .trm-menu__lien { color: var(--trm-paon); background-image: linear-gradient(var(--trm-paon), var(--trm-paon)); background-size: calc(100% - 24px) 3px; }

.trm-fil { margin: 0 0 18px; font-family: var(--trm-corps); font-size: 15px; line-height: 1.45; color: var(--trm-texte2); }
.trm-fil ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.trm-fil li { margin: 0; padding: 0; }
.trm-fil li::before { content: none; }
.trm-fil a { color: var(--trm-paon); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.trm-fil a:hover { color: var(--trm-encre); text-decoration-color: var(--trm-capucine); }
.trm-fil li[aria-hidden] { color: var(--trm-texte2); }
.trm-fil li[aria-current] span { color: var(--trm-texte2); }
.trm-art .trm-fil li[aria-current="page"], .trm-art .trm-fil li:has(+ li[aria-current="page"]) { display: none; }

.trm-section__tete { margin: 0 0 30px; }
.trm-section__titre { margin: 0; font-family: var(--trm-titres); font-size: 32px; font-weight: 700; line-height: 1.15; }
.trm-section__titre::before { content: ""; display: block; width: 64px; height: 10px; margin: 0 0 14px; background: var(--trm-lisiere); }
.trm-section__aide { max-width: 44em; margin: 10px 0 0; color: var(--trm-texte2); font-size: 17px; line-height: 1.5; }

.trm-une { padding: 44px 0 64px; }
.trm-une__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.trm-une__grille:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.trm-une__sur { margin: 0 0 16px; color: var(--trm-paon); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.trm-une__titre { margin: 0; font-family: var(--trm-titres); font-size: 50px; font-weight: 700; line-height: 1.08; }
.trm-une__devise { max-width: 26em; margin: 18px 0 0; color: var(--trm-texte2); font-size: 20px; line-height: 1.5; }
.trm-une__devise::after { content: ""; display: block; width: 96px; height: 10px; margin-top: 26px; background: var(--trm-lisiere); }
.trm-piece { position: relative; margin: 0; padding: 0 14px; }
.trm-piece::before, .trm-piece::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10px; background: var(--trm-lisiere-v); }
.trm-piece::before { left: 0; }
.trm-piece::after { right: 0; }
.trm-piece:not(:has(img)) { display: none; }
.trm-une__piece img, .trm-une__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.trm-rubs { padding: 64px 0 72px; background-color: var(--trm-gris); }
.trm-rubs__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.trm-rubs__carte { margin: 0; }
.trm-rubs__lien { --trm-p1: 0px; --trm-p2: 9px; --trm-p3: 4px; display: flex; flex-direction: column; height: 100%; padding: 0 22px 22px; background: var(--trm-papier); color: var(--trm-encre); text-decoration: none; box-shadow: 0 0 0 1px var(--trm-brume); transition: box-shadow .15s ease; }
.trm-rubs__lien::before { content: ""; display: block; height: 44px; margin: 0 -22px 20px; background: radial-gradient(circle, var(--trm-gris) 0 3.6px, transparent 4.2px) var(--trm-p1) 6px / 24px 12px repeat-x, radial-gradient(circle, var(--trm-gris) 0 3.6px, transparent 4.2px) var(--trm-p2) 18px / 40px 12px repeat-x, radial-gradient(circle, var(--trm-gris) 0 3.6px, transparent 4.2px) var(--trm-p3) 30px / 56px 12px repeat-x, var(--trm-paon); }
.trm-rubs__carte:nth-child(2) .trm-rubs__lien { --trm-p1: 12px; --trm-p2: 25px; --trm-p3: 36px; }
.trm-rubs__carte:nth-child(3) .trm-rubs__lien { --trm-p1: 6px; --trm-p2: 1px; --trm-p3: 20px; }
.trm-rubs__carte:nth-child(4) .trm-rubs__lien { --trm-p1: 18px; --trm-p2: 33px; --trm-p3: 48px; }
.trm-rubs__lien:hover, .trm-rubs__lien:focus-visible { box-shadow: 0 0 0 2px var(--trm-encre); }
.trm-rubs__nom { font-family: var(--trm-titres); font-size: 25px; font-weight: 700; line-height: 1.15; }
.trm-rubs__titre { margin-top: 8px; color: var(--trm-texte2); font-size: 17px; font-style: italic; line-height: 1.4; }
.trm-rubs__aide { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--trm-brume); font-size: 16px; line-height: 1.5; }
.trm-rubs__aller { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; color: var(--trm-paon); font-size: 16px; font-weight: 700; line-height: 1.3; }
.trm-rubs__aller::after { content: ""; flex: none; width: 24px; height: 12px; background: var(--trm-fleche) no-repeat center / contain; transition: transform .15s ease; }
.trm-rubs__lien:hover .trm-rubs__aller::after { transform: translateX(4px); }

.trm-recents { padding: 68px 0 76px; }
.trm-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }

.trm-carte { margin: 0; min-width: 0; }
.trm-carte__lien { display: flex; flex-direction: column; height: 100%; background: var(--trm-papier); color: var(--trm-encre); text-decoration: none; box-shadow: 0 0 0 1px var(--trm-brume); transition: box-shadow .15s ease; }
.trm-carte__lien:hover, .trm-carte__lien:focus-visible { box-shadow: 0 0 0 2px var(--trm-encre); }
.trm-vignette { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background-color: var(--trm-gris); background-image: var(--trm-chaine); }
.trm-vignette img, .trm-carte__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trm-vignette:not(:has(img))::before, .trm-vignette:not(:has(img))::after { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; background-position: center; background-size: 50% auto; }
.trm-vignette:not(:has(img))::before { clip-path: polygon(0 0, 100% 0, 100% 51%, 95% 51%, 95% 56%, 90% 56%, 90% 51%, 85% 51%, 85% 56%, 80% 56%, 80% 51%, 75% 51%, 75% 56%, 70% 56%, 70% 51%, 65% 51%, 65% 56%, 60% 56%, 60% 51%, 55% 51%, 55% 56%, 50% 56%, 50% 51%, 45% 51%, 45% 56%, 40% 56%, 40% 51%, 35% 51%, 35% 56%, 30% 56%, 30% 51%, 25% 51%, 25% 56%, 20% 56%, 20% 51%, 15% 51%, 15% 56%, 10% 56%, 10% 51%, 5% 51%, 5% 56%, 0 56%); }
.trm-vignette:not(:has(img))::after { filter: grayscale(1); opacity: .42; clip-path: polygon(0 100%, 100% 100%, 100% 51%, 95% 51%, 95% 56%, 90% 56%, 90% 51%, 85% 51%, 85% 56%, 80% 56%, 80% 51%, 75% 51%, 75% 56%, 70% 56%, 70% 51%, 65% 51%, 65% 56%, 60% 56%, 60% 51%, 55% 51%, 55% 56%, 50% 56%, 50% 51%, 45% 51%, 45% 56%, 40% 56%, 40% 51%, 35% 51%, 35% 56%, 30% 56%, 30% 51%, 25% 51%, 25% 56%, 20% 56%, 20% 51%, 15% 51%, 15% 56%, 10% 56%, 10% 51%, 5% 51%, 5% 56%, 0 56%); }
.trm-carte__corps { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 16px 16px; }
.trm-carte__rubrique { position: relative; display: inline-block; max-width: 100%; padding: 3px 10px 4px 24px; border-radius: 0 3px 3px 0; background: #e3eff1; color: var(--trm-paon); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.trm-carte__rubrique::before { content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--trm-papier); box-shadow: inset 0 0 0 1.5px var(--trm-paon); }
.trm-carte__titre { margin: 0; font-family: var(--trm-titres); font-size: 21px; font-weight: 700; line-height: 1.27; }
.trm-carte__lien:hover .trm-carte__titre { text-decoration: underline; text-decoration-color: var(--trm-capucine); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.trm-carte__resume { display: block; color: var(--trm-texte2); font-size: 16px; line-height: 1.55; }
.trm-carte__date { display: block; margin-top: auto; padding-top: 8px; color: var(--trm-texte2); font-size: 14px; line-height: 1.35; }

.trm-accueil { padding: 68px 0 84px; background-color: var(--trm-gris); }
.trm-accueil__texte { margin-top: 26px; }

.trm-rub { padding: 0 0 56px; }
.trm-rub::before { content: ""; display: block; height: 48px; margin-bottom: 28px; background: radial-gradient(circle, var(--trm-papier) 0 4.2px, transparent 4.8px) 0 6px / 26px 12px repeat-x, radial-gradient(circle, var(--trm-papier) 0 4.2px, transparent 4.8px) 15px 18px / 44px 12px repeat-x, radial-gradient(circle, var(--trm-papier) 0 4.2px, transparent 4.8px) 7px 30px / 62px 12px repeat-x, var(--trm-paon); }
.trm-rub__sur { margin: 0 0 10px; color: var(--trm-paon); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.trm-rub__titre { max-width: 24em; margin: 0 0 30px; font-family: var(--trm-titres); font-size: 46px; font-weight: 700; line-height: 1.1; }
.trm-rub__intro { font-size: 18px; line-height: 1.65; }
.trm-rub__liste { padding: 60px 0 80px; background-color: var(--trm-gris); }
.trm-grille--rub .trm-carte__rubrique { display: none; }

.trm-art { padding: 30px 0 72px; }
.trm-art__tete { max-width: 900px; margin: 0 0 30px; }
.trm-art__titre { margin: 0; font-family: var(--trm-titres); font-size: 44px; font-weight: 700; line-height: 1.12; }
.trm-art__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin-top: 22px; color: var(--trm-texte2); font-size: 16px; line-height: 1.4; }
.trm-art__ligne > div { display: flex; align-items: center; }
.trm-art__ligne > div + div::before { content: ""; flex: none; width: 14px; height: 7px; margin: 0 12px; background: var(--trm-capucine); clip-path: var(--trm-navette); }
.trm-art__auteur { color: var(--trm-encre); font-weight: 700; }

.trm-art__corps { display: block; }
.trm-art__colonne { min-width: 0; max-width: 760px; }

.trm-sommaire { position: sticky; top: 0; z-index: 20; margin: 0 -24px 24px; background: var(--trm-papier); }
.trm-sommaire::after { content: ""; display: block; height: 6px; background: var(--trm-lisiere); }
.trm-sommaire__titre { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 24px; color: var(--trm-encre); font-size: 16px; font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; }
.trm-sommaire__titre::-webkit-details-marker { display: none; }
.trm-sommaire__titre::marker { content: ""; }
.trm-sommaire__libelle { display: flex; align-items: center; gap: 10px; }
.trm-sommaire__libelle::before { content: ""; flex: none; width: 16px; height: 8px; background: var(--trm-capucine); clip-path: var(--trm-navette); }
.trm-sommaire__titre::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2.5px solid var(--trm-encre); border-bottom: 2.5px solid var(--trm-encre); transform: translateY(-3px) rotate(45deg); transition: transform .15s ease; }
.trm-sommaire[open] .trm-sommaire__titre::after { transform: translateY(3px) rotate(225deg); }
.trm-sommaire:not([open]) .trm-sommaire__liste { display: none; }
.trm-sommaire__liste { max-height: 60vh; overflow-y: auto; padding: 4px 24px 14px; border-top: 1px solid var(--trm-brume); overscroll-behavior: contain; }
.trm-sommaire__liste nav { margin: 0; }
.trm-sommaire__liste ul, .trm-sommaire__liste ol { margin: 0; padding: 0; list-style: none; counter-reset: trm-som; }
.trm-sommaire__liste li { position: relative; margin: 0; padding: 8px 0 8px 32px; line-height: 1.35; border-bottom: 1px solid var(--trm-brume); counter-increment: trm-som; }
.trm-sommaire__liste li:last-child { border-bottom: 0; }
.trm-sommaire__liste li::before { content: counter(trm-som); position: absolute; left: 0; top: 8px; min-width: 22px; color: var(--trm-paon); font-size: 15px; font-weight: 700; line-height: 1.35; }
.trm-sommaire__liste li li { padding: 4px 0 4px 14px; border-bottom: 0; }
.trm-sommaire__liste li li::before { content: none; }
.trm-sommaire__liste a { color: var(--trm-encre); font-size: 15.5px; line-height: 1.35; text-decoration: none; }
.trm-sommaire__liste li li a { color: var(--trm-texte2); font-size: 14.5px; }
.trm-sommaire__liste a:hover { color: var(--trm-paon); text-decoration: underline; }

.trm-art__une { margin: 0 0 32px; }
.trm-art__une img, .trm-art__img { display: block; width: 100%; height: auto; }

.trm-texte { font-size: 19px; line-height: 1.7; overflow-wrap: break-word; }
.trm-texte > :first-child { margin-top: 0; }
.trm-texte > :last-child { margin-bottom: 0; }
.trm-texte p { margin: 0 0 1em; }
.trm-art__texte > p:first-child { font-size: 1.2em; line-height: 1.55; color: var(--trm-encre); }
.trm-texte h2 { margin: 1.3em 0 .6em; font-family: var(--trm-titres); font-size: 1.55em; font-weight: 700; line-height: 1.2; scroll-margin-top: 76px; }
.trm-texte h2::before { content: ""; display: block; width: 48px; height: 8px; margin: 0 0 14px; background: var(--trm-lisiere); }
.trm-texte h3 { margin: 1.5em 0 .5em; color: var(--trm-paon); font-size: 1.14em; font-weight: 700; line-height: 1.32; scroll-margin-top: 76px; }
.trm-texte h4 { margin: 1.3em 0 .4em; font-size: 1em; font-weight: 700; }
.trm-texte a { color: var(--trm-paon); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.trm-texte a:hover { color: var(--trm-encre); text-decoration-color: var(--trm-capucine); }
.trm-texte strong, .trm-texte b { font-weight: 700; }
.trm-texte ul, .trm-texte ol { margin: 0 0 1.1em; padding-left: 1.5em; }
.trm-texte li { margin: 0 0 .45em; padding-left: .1em; }
.trm-texte ul > li { position: relative; list-style: none; }
.trm-texte ul > li::before { content: ""; position: absolute; left: -1.2em; top: .66em; width: .78em; height: .38em; background: var(--trm-capucine); clip-path: var(--trm-navette); }
.trm-texte ol { list-style: none; counter-reset: trm-ol; }
.trm-texte ol > li { position: relative; counter-increment: trm-ol; }
.trm-texte ol > li::before { content: counter(trm-ol) "."; position: absolute; left: -1.6em; width: 1.25em; color: var(--trm-paon); font-weight: 700; text-align: right; }
.trm-texte li > ul, .trm-texte li > ol { margin: .45em 0 0; }
.trm-texte table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: .86em; line-height: 1.45; box-shadow: 0 0 0 1px var(--trm-brume); }
.trm-texte thead th, .trm-texte tr:first-child th { background: var(--trm-encre); color: var(--trm-papier); }
.trm-texte th { padding: 11px 12px; background: var(--trm-gris); font-weight: 700; text-align: left; vertical-align: bottom; }
.trm-texte td { padding: 10px 12px; border-top: 1px solid var(--trm-brume); vertical-align: top; }
.trm-texte tbody tr:nth-child(even) td { background: #f6f7f7; }
.trm-texte blockquote { position: relative; margin: 1.6em 0; padding: 22px 24px 22px 64px; background: var(--trm-gris); font-style: italic; }
.trm-texte blockquote::before { content: "«"; position: absolute; left: 20px; top: 10px; color: var(--trm-capucine); font-family: var(--trm-titres); font-size: 56px; font-style: normal; font-weight: 700; line-height: 1; }
.trm-texte blockquote p:last-child { margin-bottom: 0; }
.trm-texte img { display: block; margin: 1.4em 0; }
.trm-texte figure { margin: 1.6em 0; }
.trm-texte figcaption { margin-top: 8px; color: var(--trm-texte2); font-size: .82em; }
.trm-texte hr { height: 10px; margin: 2em 0; border: 0; background: var(--trm-lisiere); opacity: .85; }

.trm-signe { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; margin: 56px 0 0; padding: 26px 26px 24px; background-color: var(--trm-gris); }
.trm-signe::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--trm-lisiere); }
.trm-signe:not(:has(.trm-signe__photo img)) { grid-template-columns: minmax(0, 1fr); }
.trm-epingle { position: relative; margin: 0; padding: 7px; background: var(--trm-papier); box-shadow: 0 1px 4px rgba(25, 28, 35, .18); }
.trm-epingle::before { content: ""; position: absolute; z-index: 3; top: -7px; left: 22px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6a383 0 2px, var(--trm-capucine) 2.5px); box-shadow: 0 1px 2px rgba(25, 28, 35, .35); }
.trm-epingle::after { content: ""; position: absolute; z-index: 2; top: 4px; left: 29px; width: 2px; height: 34px; background: linear-gradient(var(--trm-encre), #8a9099); transform: rotate(-38deg); transform-origin: 50% 0; }
.trm-epingle:not(:has(img)) { display: none; }
.trm-signe__photo { width: 112px; }
.trm-signe__img, .trm-signe__photo img { display: block; width: 98px; height: 98px; object-fit: cover; object-position: 45% 30%; }
.trm-signe__sur { margin: 0; color: var(--trm-paon); font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.trm-signe__nom { margin: 6px 0 10px; font-family: var(--trm-titres); font-size: 24px; font-weight: 700; line-height: 1.15; }
.trm-signe__bio { font-size: 17px; line-height: 1.55; }
.trm-signe__bio p { margin: 0; }
.trm-signe__bio p:not(:first-of-type) { display: none; }

.trm-suite { padding: 60px 0 76px; background-color: var(--trm-gris); }
.trm-suite:not(:has(a)) { display: none; }

.trm-page, .trm-profil { padding: 30px 0 80px; }
.trm-page__titre { margin: 4px 0 30px; font-family: var(--trm-titres); font-size: 42px; font-weight: 700; line-height: 1.1; }
.trm-page__titre::after { content: ""; display: block; width: 64px; height: 10px; margin-top: 18px; background: var(--trm-lisiere); }
.trm-page__texte { font-size: 18px; }
.trm-page__texte h2 { font-size: 1.36em; }

.trm-portrait { position: relative; display: flow-root; margin: 0 0 1.4em; }
.trm-portrait img { float: right; width: 260px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 45% 30%; margin: 8px 0 20px 34px; padding: 9px; background: var(--trm-papier); box-shadow: 0 0 0 1px var(--trm-brume), 0 3px 10px rgba(25, 28, 35, .14); }
.trm-portrait::before { content: ""; position: absolute; z-index: 3; top: 0; right: 200px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f6a383 0 2.5px, var(--trm-capucine) 3px); box-shadow: 0 1px 2px rgba(25, 28, 35, .35); }
.trm-portrait::after { content: ""; position: absolute; z-index: 2; top: 8px; right: 207px; width: 2px; height: 42px; background: linear-gradient(var(--trm-encre), #8a9099); transform: rotate(-40deg); transform-origin: 50% 0; }
.trm-portrait:not(:has(img))::before, .trm-portrait:not(:has(img))::after { display: none; }
.trm-texte .trm-portrait img { margin-top: 8px; margin-bottom: 20px; }
.trm-portrait p { margin: 0 0 1em; }

.trm-form, #contactForm { position: relative; display: grid; gap: 14px; margin: 1.6em 0 0; padding: 30px 26px 26px; background-color: var(--trm-gris); }
.trm-form::before, #contactForm::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--trm-lisiere); }
.trm-form > div, #contactForm > div { margin: 0; }
.trm-champ, #contactForm input, #contactForm textarea { display: block; width: 100%; margin: 0; padding: 12px 14px; border: 1.5px solid var(--trm-encre); border-radius: 2px; background: var(--trm-papier); color: var(--trm-encre); font-family: var(--trm-corps); font-size: 17px; line-height: 1.4; }
#contactForm textarea, .trm-form textarea { min-height: 170px; resize: vertical; }
.trm-champ::placeholder, #contactForm input::placeholder, #contactForm textarea::placeholder { color: #5d636d; opacity: 1; }
.trm-champ:focus, #contactForm input:focus, #contactForm textarea:focus { border-color: var(--trm-paon); outline: 3px solid rgba(0, 103, 122, .28); outline-offset: 0; }
.trm-form button, #contactForm button, #contactForm [type="submit"] { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 13px 28px; border: 0; border-radius: 2px; background: var(--trm-paon); color: var(--trm-papier); font-family: var(--trm-corps); font-size: 18px; font-weight: 700; line-height: 1.3; cursor: pointer; transition: background-color .15s ease; }
.trm-form button::after, #contactForm button::after { content: ""; flex: none; width: 18px; height: 9px; background: var(--trm-capucine-clair); clip-path: var(--trm-navette); }
.trm-form button:hover, #contactForm button:hover { background: var(--trm-encre); }
.contactform-confirm { margin: 16px 0 0; padding: 14px 18px; border: 1.5px solid var(--trm-paon); background: var(--trm-papier); color: var(--trm-encre); font-size: 17px; font-weight: 700; line-height: 1.5; }
.contactform-confirm.error { border-color: var(--trm-encre); background: var(--trm-encre); color: var(--trm-papier); }
.contactform-confirm:empty { display: none; }

.trm-editeur { display: flow-root; width: fit-content; max-width: 100%; margin: 0 0 1.8em; padding: 28px 28px 22px; background: var(--trm-papier); box-shadow: 0 0 0 1px var(--trm-brume); position: relative; }
.trm-editeur::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--trm-lisiere); }
.trm-editeur img, .trm-texte .trm-editeur img { display: block; width: auto; max-width: 100%; height: auto; margin: 0; }
.trm-editeur p { margin: 0; }

.trm-profil__tete { display: flex; align-items: center; gap: 32px; margin: 18px 0 32px; }
.trm-profil__photo { flex: none; width: 176px; }
.trm-profil__img, .trm-profil__photo img { display: block; width: 162px; height: 162px; object-fit: cover; object-position: 45% 30%; }
.trm-profil__sur { margin: 0 0 8px; color: var(--trm-paon); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.trm-profil__nom { margin: 0; font-family: var(--trm-titres); font-size: 42px; font-weight: 700; line-height: 1.08; }
.trm-profil__suite { margin: 34px 0 0; font-size: 18px; }
.trm-profil__suite a { color: var(--trm-paon); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.trm-profil__suite a::after { content: ""; display: inline-block; width: 24px; height: 12px; margin-left: 10px; vertical-align: .05em; background: var(--trm-fleche) no-repeat center / contain; }

.trm-pied { background: var(--trm-encre); color: var(--trm-brume); font-size: 16px; line-height: 1.6; }
.trm-pied::before { content: ""; display: block; height: 8px; background: var(--trm-lisiere); }
.trm-pied__haut { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 64px; padding-top: 52px; padding-bottom: 36px; }
.trm-pied__accueil { display: inline-block; padding: 14px 18px; background: var(--trm-papier); line-height: 0; outline: 1px dashed #9aa0a8; outline-offset: -6px; }
.trm-pied__logo { display: block; width: auto; height: 50px; }
.trm-pied__phrase { max-width: 36em; margin: 22px 0 0; color: var(--trm-brume); font-size: 17px; }
.trm-pied__titre { margin: 0 0 16px; color: var(--trm-papier); font-family: var(--trm-titres); font-size: 22px; font-weight: 700; line-height: 1.15; }
.trm-pied__menu { margin: 0; padding: 0; list-style: none; }
.trm-pied__point { margin: 0; border-top: 1px solid #343944; }
.trm-pied__point:last-child { border-bottom: 1px solid #343944; }
.trm-pied__lien { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--trm-papier); text-decoration: none; line-height: 1.4; }
.trm-pied__lien::before { content: ""; flex: none; width: 14px; height: 7px; background: var(--trm-capucine-clair); clip-path: var(--trm-navette); }
.trm-pied__lien:hover { color: var(--trm-capucine-clair); text-decoration: underline; text-underline-offset: 3px; }
.trm-pied__bas { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 28px; background: linear-gradient(#343944, #343944) no-repeat 50% 0 / calc(100% - 48px) 1px; font-size: 15px; }
.trm-pied__droits { margin: 0; color: var(--trm-brume); }
.trm-pied__legal { color: var(--trm-capucine-clair); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.trm-pied__legal:hover { color: var(--trm-papier); }

@media (min-width: 980px) {
  .trm-rub__intro { column-count: 2; column-gap: 56px; column-rule: 1px solid var(--trm-brume); }
  .trm-rub__intro p { orphans: 3; widows: 3; }
}

@media (min-width: 720px) {
  .trm-grille--rub > .trm-carte:only-child { grid-column: 1 / -1; max-width: 940px; }
  .trm-grille--rub > .trm-carte:only-child .trm-carte__lien { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .trm-grille--rub > .trm-carte:only-child .trm-vignette { aspect-ratio: auto; height: auto; min-height: 300px; }
  .trm-grille--rub > .trm-carte:only-child .trm-vignette img { position: absolute; inset: 0; }
  .trm-grille--rub > .trm-carte:only-child .trm-carte__corps { padding: 26px 28px 24px; gap: 14px; }
  .trm-grille--rub > .trm-carte:only-child .trm-carte__titre { font-size: 26px; }
  .trm-grille--rub > .trm-carte:only-child .trm-carte__resume { font-size: 17px; }
}

@media (min-width: 1100px) {
  .trm-art__tete { margin-left: 316px; }
  .trm-art__corps { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 0 56px; align-items: start; }
  .trm-sommaire { grid-column: 1; grid-row: 1; top: 24px; margin: 0; padding: 0 0 0 26px; background-color: var(--trm-gris); background-image: radial-gradient(circle, var(--trm-papier) 0 3.8px, transparent 4.4px); background-repeat: repeat-y; background-position: 5px 4px; background-size: 16px 18px; }
  .trm-sommaire::after { display: none; }
  .trm-sommaire__titre { min-height: 0; padding: 18px 18px 10px 4px; color: var(--trm-paon); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: default; }
  .trm-sommaire__titre::after { display: none; }
  .trm-sommaire .trm-sommaire__liste, .trm-sommaire:not([open]) .trm-sommaire__liste { display: block; max-height: calc(100vh - 110px); padding: 0 16px 14px 4px; border-top: 0; }
  .trm-art__colonne { grid-column: 2; grid-row: 1; }
}

@media (max-width: 1099px) {
  .trm-rubs__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trm-art__colonne { margin: 0 auto; }
  .trm-art__tete { margin-left: auto; margin-right: auto; max-width: 760px; }
  .trm-art__corps { max-width: 760px; margin: 0 auto; }
  .trm-une__titre { font-size: 42px; }
}

@media (max-width: 1180px) and (min-width: 940px) {
  .trm-menu { gap: 2px; }
  .trm-menu__lien { padding: 12px 10px 14px; font-size: 16px; background-position: 10px calc(100% - 4px); }
  .trm-menu__lien:hover, .trm-menu__lien:focus-visible, .trm-menu__lien--ici, .trm-menu__point--ici > .trm-menu__lien { background-size: calc(100% - 20px) 3px; }
}

@media (max-width: 939px) {
  .trm-tete__rang { min-height: 70px; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .trm-tete__logo { height: 44px; }
  .trm-tete__bouton { display: inline-flex; flex: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--trm-encre); border-radius: 2px; background: var(--trm-papier); color: var(--trm-encre); font-family: var(--trm-corps); font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer; }
  .trm-tete__traits { position: relative; display: block; width: 18px; height: 2px; background: var(--trm-capucine); }
  .trm-tete__traits::before, .trm-tete__traits::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--trm-encre); transition: transform .15s ease; }
  .trm-tete__traits::before { top: -6px; }
  .trm-tete__traits::after { top: 6px; }
  .trm-tete__bouton[aria-expanded="true"] .trm-tete__traits { background: transparent; }
  .trm-tete__bouton[aria-expanded="true"] .trm-tete__traits::before { transform: translateY(6px) rotate(45deg); }
  .trm-tete__bouton[aria-expanded="true"] .trm-tete__traits::after { transform: translateY(-6px) rotate(-45deg); }
  .trm-tete__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 4px 24px 20px; background: var(--trm-papier); box-shadow: 0 12px 18px rgba(25, 28, 35, .16); }
  .trm-tete__nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--trm-lisiere); }
  .trm-tete--ouverte .trm-tete__nav, .trm-tete__bouton[aria-expanded="true"] + .trm-tete__nav { display: block; }
  .trm-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .trm-menu__point + .trm-menu__point { border-top: 1px solid var(--trm-brume); }
  .trm-menu__lien { padding: 15px 2px; font-size: 19px; background-position: 2px calc(100% - 7px); }
  .trm-menu__lien:hover, .trm-menu__lien:focus-visible, .trm-menu__lien--ici, .trm-menu__point--ici > .trm-menu__lien { background-size: 56px 3px; }
  .trm-une__grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .trm-une__devise::after { margin-top: 22px; }
  .trm-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trm-pied__haut { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .trm-texte table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trm-texte th, .trm-texte td { min-width: 9.5em; }
}

@media (max-width: 640px) {
  .trm-portrait img { float: none; display: block; width: 220px; margin: 22px auto 22px; }
  .trm-texte .trm-portrait img { margin: 22px auto 22px; }
  .trm-portrait::before { top: 14px; right: auto; left: calc(50% - 64px); }
  .trm-portrait::after { top: 22px; right: auto; left: calc(50% - 57px); }
}

@media (max-width: 599px) {
  body.trm { font-size: 17px; }
  .trm-boite { padding: 0 20px; }
  .trm-tete__nav { padding: 4px 20px 20px; }
  .trm-section__titre { font-size: 27px; }
  .trm-section__tete { margin-bottom: 24px; }
  .trm-section__aide { font-size: 16px; }
  .trm-une { padding: 30px 0 48px; }
  .trm-une__sur { font-size: 13.5px; }
  .trm-une__titre { font-size: 34px; }
  .trm-une__devise { font-size: 18px; }
  .trm-piece { padding: 0 11px; }
  .trm-piece::before, .trm-piece::after { width: 8px; }
  .trm-rubs { padding: 48px 0 52px; }
  .trm-rubs__liste { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .trm-rubs__lien { padding: 0 18px 18px; }
  .trm-rubs__lien::before { height: 34px; margin: 0 -18px 16px; }
  .trm-rubs__nom { font-size: 24px; }
  .trm-recents, .trm-accueil, .trm-suite, .trm-rub__liste { padding: 48px 0 56px; }
  .trm-grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .trm-carte__titre { font-size: 20px; }
  .trm-rub { padding-bottom: 40px; }
  .trm-rub::before { height: 30px; margin-bottom: 14px; }
  .trm-rub__titre { font-size: 32px; margin-bottom: 22px; }
  .trm-rub__intro { font-size: 17px; }
  .trm-art { padding: 22px 0 48px; }
  .trm-art__tete { margin-bottom: 24px; }
  .trm-art__titre { font-size: 30px; line-height: 1.15; }
  .trm-art__ligne { font-size: 15px; margin-top: 18px; }
  .trm-art__ligne > div + div::before { margin: 0 9px; }
  .trm-art__date { flex: 0 0 100%; }
  .trm-art__ligne > .trm-art__auteur::before { display: none; }
  .trm-sommaire { margin: 0 -20px 20px; }
  .trm-sommaire__titre { padding: 8px 20px; }
  .trm-sommaire__liste { padding: 4px 20px 12px; }
  .trm-art__une { margin: 0 0 20px; }
  .trm-art__texte > h2:first-child::before { margin-bottom: 8px; }
  .trm-texte { font-size: 18px; line-height: 1.65; }
  .trm-art__texte > p:first-child { font-size: 1.14em; }
  .trm-texte h2 { font-size: 1.38em; }
  .trm-texte blockquote { padding: 18px 18px 18px 52px; }
  .trm-texte blockquote::before { left: 14px; font-size: 46px; }
  .trm-signe { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 44px; padding: 26px 20px 22px; }
  .trm-signe__photo { width: 96px; }
  .trm-signe__img, .trm-signe__photo img { width: 82px; height: 82px; }
  .trm-signe__nom { font-size: 23px; }
  .trm-page, .trm-profil { padding: 22px 0 56px; }
  .trm-page__titre { font-size: 32px; margin-bottom: 24px; }
  .trm-page__texte { font-size: 17px; }
  .trm-form, #contactForm { padding: 26px 16px 18px; }
  .trm-form button, #contactForm button { justify-self: stretch; justify-content: center; }
  .trm-editeur { padding: 20px 10px 12px; }
  .trm-profil__tete { flex-direction: column; align-items: flex-start; gap: 22px; }
  .trm-profil__photo { width: 146px; }
  .trm-profil__img, .trm-profil__photo img { width: 132px; height: 132px; }
  .trm-profil__nom { font-size: 32px; }
  .trm-pied__haut { padding-top: 40px; padding-bottom: 28px; }
  .trm-pied__logo { height: 44px; }
  .trm-pied__bas { background-size: calc(100% - 40px) 1px; }
}
