/* Socle commun : header et menu de l'accueil de la maquette, puis son footer. */
* { box-sizing: border-box; }
:root { --mast-height: 82px; scroll-padding-top: var(--mast-height); }
body { margin: 0; color: #171a36; font-family: var(--font-text); }
body:not(.home) { padding-top: var(--mast-height); }
.mast { position: fixed; inset: 0 0 auto; z-index: 10; height: var(--mast-height); display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(20px, 5vw, 76px); background: #fff; border-bottom: 1px solid #211a2a40; }
.admin-bar .mast { top: 32px; }
@media (max-width: 782px) { .admin-bar .mast { top: 46px; } }
.mast .brand { color: inherit; text-decoration: none; }
.menu-toggle { width: 52px; height: 52px; flex: 0 0 52px; padding: 0; border: 0; border-radius: 0; background: none; color: #171a36; cursor: pointer; }
.menu-toggle:hover { background: #e5def5; }
.menu-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.menu-toggle svg { width: 34px; vertical-align: middle; }
.menu { position: absolute; top: 100%; right: 0; width: min(100vw, 430px); padding: 24px clamp(20px, 5vw, 60px); background: white; border: 1px solid #211a2a40; }
.menu a { display: block; padding: 14px 0; border-bottom: 1px solid #211a2a40; color: #171a36; font: italic 30px var(--font-display); text-decoration: none; }
.menu a:hover, .menu a[aria-current] { color: #4c408e; }
.page-content { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 80px) clamp(20px, 6vw, 40px); line-height: 1.55; }
.page-content h1 { font: italic 400 clamp(44px, 7vw, 90px)/.95 var(--font-display); letter-spacing: -.07em; }

/* Footer */
.mast .brand img,
.footer-logo img { display: block; width: 100%; height: auto; }
.mast .brand { display: block; width: clamp(95px, 10vw, 125px); flex: none; }
.footer-logo { display: block; width: 66px; }
.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 22px;
  padding: 12px clamp(16px, 6vw, 100px);
  border-top: 1px solid #211a2a30;
  background: #fff;
  color: #211a2a;
}
.site-footer a { color: inherit; text-underline-offset: 4px; }
.site-footer address, .site-footer p { margin: 0; font-size: 14px; font-style: normal; line-height: 1.25; }
.site-footer address span::before { content: ', '; }
.site-footer > .footer-social { display: flex; flex-wrap: wrap; column-gap: 22px; }
@media (max-width: 620px) {
  .site-footer { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; }
  .footer-logo { width: clamp(45px, 13vw, 60px); }
  .site-footer address span { display: block; }
  .site-footer address span::before { content: none; }
  .site-footer > .footer-social { display: block; }
  .site-footer a { overflow-wrap: anywhere; }
}
.site-footer .footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; column-gap: 22px; }
