/* Pages legales de la page d'accueil neutre : memes tokens que index.html. */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --color-ink: #1E1B19;
  --color-brand: #B30000;
  --color-sand: #F1ECE6;
  --color-white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-sand);
  color: var(--color-ink);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.7;
}

.top {
  display: flex;
  justify-content: center;
  padding: 12px 32px;
  background: var(--color-white);
}

.logo {
  height: 56px;
  width: auto;
}

main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 32px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
}

.rule {
  display: block;
  width: 56px;
  height: 4px;
  margin: 16px 0 28px;
  border-radius: 4px;
  background: var(--color-brand);
}

h2 {
  margin: 28px 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
}

p, ul {
  margin: 0;
  color: color-mix(in srgb, var(--color-ink) 80%, transparent);
}

ul { padding-inline-start: 20px; }

a { color: var(--color-brand); }

.updated {
  margin-top: 36px;
  font-size: 0.85rem;
}

.bottom {
  padding: 12px 32px;
  background: var(--color-brand);
  text-align: center;
  font-size: 12px;
  color: color-mix(in srgb, var(--color-white) 85%, transparent);
}

.bottom a { color: inherit; }

@media (max-width: 760px) {
  .top, .bottom, main { padding-left: 16px; padding-right: 16px; }
  .logo { height: 44px; }
  main { padding-top: 28px; padding-bottom: 28px; }
}
