@font-face {
  font-family: "Source Serif 4";
  src: url("polices/source-serif-4-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("polices/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("polices/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --blanc: #ffffff;
  --marine: #1b2b4b;
  --texte: #22262b;
  --lien: #1257a6;
  --bandeau: #f2f4f7;
  --filet: #d5dae1;
  --titres: "Source Serif 4", Georgia, "Times New Roman", serif;
  --courant: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --mesure: 68ch;
  --marge: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--courant);
  font-size: 1.125rem;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  hyphens: manual;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--titres);
  font-weight: 600;
  font-style: normal;
  color: var(--marine);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.6rem + 2vw, 2.625rem);
}

h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.75rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3125rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

p,
ul,
ol,
dl,
table,
figure {
  margin: 0 0 1.25rem;
}

ul,
ol {
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: var(--lien);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lien);
  outline-offset: 3px;
}

sup {
  font-size: 0.7em;
  line-height: 0;
}

.cadre {
  width: 100%;
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 var(--marge);
}

.evitement {
  position: absolute;
  left: var(--marge);
  top: -10rem;
  background: var(--blanc);
  color: var(--lien);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--filet);
  z-index: 2;
}

.evitement:focus {
  top: 0.75rem;
}

.entete {
  border-bottom: 1px solid var(--filet);
}

.entete-cadre {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

.signature {
  font-family: var(--titres);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--marine);
  text-decoration: none;
  line-height: 1.2;
}

.signature:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.menu > summary {
  cursor: pointer;
  list-style: none;
  color: var(--lien);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.menu a {
  color: var(--texte);
  text-decoration: none;
}

.menu a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.menu a[aria-current] {
  color: var(--marine);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

@media (max-width: 55.99em) {
  .navigation {
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .menu {
    width: 100%;
  }

  .menu > summary {
    display: inline-block;
    position: absolute;
    right: var(--marge);
    top: 1.75rem;
  }

  .entete-cadre {
    position: relative;
  }

  .menu ul {
    border-top: 1px solid var(--filet);
  }

  .menu li {
    margin: 0;
    border-bottom: 1px solid var(--filet);
  }

  .menu li:last-child {
    border-bottom: 0;
  }

  .menu a {
    display: block;
    padding: 0.6rem 0;
  }
}

@media (min-width: 56em) {
  .menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.75rem;
    margin: 0;
  }

  .menu li + li {
    margin-top: 0;
  }
}

@supports selector(::details-content) {
  @media (min-width: 56em) {
    .menu > summary {
      display: none;
    }

    .menu::details-content {
      content-visibility: visible;
      display: contents;
    }
  }
}

main {
  padding-bottom: 4rem;
}

.fil {
  font-size: 0.9375rem;
  margin-top: 1.5rem;
}

.fil ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.fil li + li {
  margin-top: 0;
}

.fil li + li::before {
  content: "/";
  margin: 0 0.6em;
  color: var(--texte);
}

.fil a {
  color: var(--texte);
}

.tete {
  margin-top: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--filet);
  margin-bottom: 1rem;
}

.tete h1 + .chapeau {
  margin-top: 1.25rem;
}

.chapeau {
  font-size: 1.3125rem;
  line-height: 1.5;
  max-width: 62ch;
  margin-bottom: 0;
}

.corps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.texte {
  max-width: var(--mesure);
}

.texte > :first-child,
.texte > section:first-child > h2:first-child {
  margin-top: 2rem;
}

.sommaire,
.voir {
  font-size: 1rem;
}

.sommaire {
  background: var(--bandeau);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}

.sommaire h2,
.voir h2 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
}

.sommaire ol,
.voir ul {
  margin: 0;
  padding-left: 1.1em;
}

.voir {
  border-top: 1px solid var(--filet);
  padding-top: 1.25rem;
  margin-top: 3rem;
}

.voir ul {
  list-style: square;
}

@media (min-width: 64em) {
  .corps {
    grid-template-columns: minmax(0, var(--mesure)) minmax(13rem, 17rem);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "texte sommaire"
      "texte voir";
    column-gap: clamp(3rem, 6vw, 6rem);
    justify-content: space-between;
  }

  .corps-simple {
    grid-template-columns: minmax(0, var(--mesure));
    grid-template-areas: "texte";
  }

  .texte {
    grid-area: texte;
  }

  .sommaire {
    grid-area: sommaire;
    align-self: start;
  }

  .voir {
    grid-area: voir;
    align-self: start;
    margin-top: 2rem;
  }

  .corps:not(:has(.sommaire)) .voir {
    grid-row: 1 / span 2;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

caption {
  text-align: left;
  font-weight: 600;
  padding-bottom: 0.5rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--filet);
}

thead th {
  border-bottom: 1px solid var(--marine);
  font-weight: 600;
}

tbody th {
  font-weight: 400;
}

.sources {
  margin-top: 3.5rem;
  border-top: 1px solid var(--filet);
  font-size: 1rem;
}

.sources ul {
  padding-left: 1.1em;
}

.maj {
  font-size: 1rem;
  margin-top: 2rem;
}

.portrait {
  margin: 0;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.portrait figcaption {
  font-size: 0.9375rem;
  margin-top: 0.6rem;
}

.texte > .portrait {
  max-width: 18rem;
  margin-top: 2rem;
}

.presentation {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--filet);
}

.presentation-texte {
  max-width: var(--mesure);
}

.presentation h1 {
  font-size: clamp(2.375rem, 1.8rem + 2.4vw, 3rem);
}

.fonction {
  font-family: var(--titres);
  font-weight: 600;
  color: var(--marine);
  font-size: 1.3125rem;
  margin: 0.5rem 0 1.75rem;
}

.presentation .chapeau {
  margin-bottom: 1.25rem;
}

.presentation-texte > p:last-child {
  margin-bottom: 0;
}

.avec-portrait .portrait {
  margin-top: 2rem;
  max-width: 20rem;
}

@media (min-width: 56em) {
  .avec-portrait {
    display: grid;
    grid-template-columns: minmax(0, var(--mesure)) minmax(14rem, 20rem);
    column-gap: clamp(3rem, 6vw, 6rem);
    justify-content: space-between;
    align-items: start;
  }

  .avec-portrait .portrait {
    margin-top: 0;
  }
}

.reperes dl {
  margin: 0;
  border-top: 1px solid var(--marine);
}

.reperes dl > div {
  border-bottom: 1px solid var(--filet);
  padding: 0.85rem 0;
}

.reperes dt {
  font-weight: 600;
  color: var(--marine);
}

.reperes dd {
  margin: 0.15rem 0 0;
}

.source {
  display: block;
  font-size: 0.9375rem;
  margin-top: 0.2rem;
}

@media (min-width: 48em) {
  .reperes dl > div {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    column-gap: 2rem;
  }

  .reperes dd {
    margin: 0;
    max-width: 60ch;
  }
}

.rubriques ul,
.recentes ul {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--marine);
}

.rubriques li,
.recentes li {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--filet);
}

.rubriques li a {
  font-family: var(--titres);
  font-weight: 600;
  font-size: 1.1875rem;
}

.rubriques li span {
  display: block;
  margin-top: 0.15rem;
  max-width: 62ch;
}

@media (min-width: 48em) {
  .rubriques li {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    column-gap: 2rem;
    align-items: baseline;
  }

  .rubriques li span {
    margin-top: 0;
  }
}

.parution-meta {
  font-size: 0.9375rem;
  margin: 0 0 0.25rem;
}

.parution-titre {
  margin: 0;
}

.recentes .parution-titre {
  font-size: 1.0625rem;
}

.parutions {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.parutions > li {
  margin: 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--filet);
}

.parutions > li:last-child {
  border-bottom: 1px solid var(--filet);
  margin-bottom: 2rem;
}

.parution h2 {
  font-size: 1.3125rem;
  margin: 0 0 0.75rem;
}

.parution p:last-child {
  margin-bottom: 0;
}

.parution-theme {
  font-size: 1rem;
}

.plan ul {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.pied {
  background: var(--marine);
  color: var(--blanc);
  padding: 3rem 0 2.5rem;
  font-size: 1rem;
}

.pied a {
  color: var(--blanc);
}

.pied a:focus-visible {
  outline-color: var(--blanc);
}

.pied a[aria-current] {
  text-decoration-thickness: 2px;
}

.pied-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 4rem;
}

.pied-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pied-mention {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--filet);
}

@media print {
  @page {
    margin: 2cm;
  }

  body {
    font-size: 11pt;
    line-height: 1.45;
    color: var(--texte);
  }

  .entete,
  .pied,
  .fil,
  .sommaire,
  .voir,
  .evitement {
    display: none;
  }

  main {
    padding: 0;
  }

  .cadre {
    max-width: none;
    padding: 0;
  }

  .tete {
    margin-top: 0;
  }

  h1 {
    font-size: 22pt;
  }

  h2 {
    font-size: 15pt;
    margin-top: 1.5rem;
    break-after: avoid;
  }

  h3 {
    font-size: 12pt;
    break-after: avoid;
  }

  .chapeau {
    font-size: 13pt;
  }

  p,
  li {
    orphans: 3;
    widows: 3;
  }

  a {
    color: var(--texte);
    text-decoration: none;
  }

  .sources a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    overflow-wrap: anywhere;
  }

  .texte {
    max-width: none;
  }

  .portrait {
    max-width: 5cm;
  }
}
