/* Until Solution — pages de mentions (confidentialité) : en-tête de l'espace client, texte discret. */

@font-face {
  font-family: "SuisseIntl Light";
  src: local("Suisse Int'l Light"), local("SuisseIntl-Light");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SuisseIntl Light";
  src: local("Suisse Int'l Regular"), local("SuisseIntl-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Geist servie par le site (licence SIL OFL, voir /fonts) : rien n'est demandé à Google. */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #f0f0f0;
  --fg: #1a1a1a;
  --soft: #676767;
  --font: "SuisseIntl Light", "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --t2: clamp(16px, 1.15vw, 18px);
  --t3: 13px;
  --gutter: clamp(10px, 1.7vw, 24px);
  --margin: calc(var(--gutter) * 2);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-weight: 300; font-size: var(--t2); line-height: 1.5;
  font-synthesis-weight: none; -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
h1, p { margin: 0; padding: 0; font: inherit; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--soft); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--fg); color: var(--bg); }

.page {
  max-width: 1600px; margin-inline: auto;
  padding-left: max(16px, var(--margin), env(safe-area-inset-left, 0px));
  padding-right: max(16px, var(--margin), env(safe-area-inset-right, 0px));
  padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
}
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

.top { padding-top: calc(20px + env(safe-area-inset-top, 0px)); align-items: center; }
.brand { grid-column: 1 / 4; display: block; width: max-content; }
.logo { display: block; height: 18px; width: auto; fill: currentColor; }
.langues { grid-column: 9 / 13; justify-self: end; display: flex; gap: 2px; font-size: var(--t3); }
.langues a { display: inline-grid; place-items: center; min-width: 32px; min-height: 32px; color: var(--soft); text-decoration: none; }
.langues a:hover, .langues a[aria-current] { color: var(--fg); }

/* Mentions : petit texte gris, une colonne étroite, sans titres ni tableau. */
.mentions { max-width: 36em; padding-top: clamp(48px, 7vw, 104px); display: grid; gap: 0.9em;
  font-size: var(--t3); line-height: 1.6; color: var(--soft); text-wrap: pretty; }
.mentions h1 { color: var(--fg); }
.mentions .maj { margin-top: 0.6em; }

@media (max-width: 760px) {
  .brand { grid-column: 1 / 7; }
  .langues { grid-column: 7 / 13; }
}
