/*
 * Les pages légales, à la voix du site institutionnel.
 *
 * Elles suivent hellobible.ai (demande de Sarah, 13/08/2026) et non la porte de
 * l'app : logo en haut à gauche, titres Roboto gras, colonne centrée de 960
 * pixels, liens verts. C'est la maison mère qui signe un document d'éditeur ;
 * la porte, elle, garde `style.css`.
 */

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --encre: #333333;
  --texte: #4a4a4a;
  --sourdine: #767676;
  --vert: #159e00;
  --vert-sombre: #0e7a00;
  --filet: #e6e6e6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #ffffff;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--texte);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* L'en-tête du site : le logo, et rien d'autre. */
.entete-inner,
.doc,
.pied-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.entete-inner {
  padding-top: 24px;
  padding-bottom: 24px;
}

.entete img {
  display: block;
  height: 29px;
  width: auto;
}

.doc {
  flex: 1;
  padding-bottom: 64px;
}

/* Le titre centré, comme sur les pages légales du site. */
h1 {
  margin: clamp(24px, 5vw, 56px) 0 clamp(20px, 3vw, 32px);
  text-align: center;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--encre);
}

h2 {
  margin: clamp(32px, 5vw, 48px) 0 12px;
  font-size: clamp(23px, 3.5vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--encre);
  scroll-margin-top: 24px;
}

p,
li {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

p {
  margin-bottom: 12px;
}

.maj {
  font-size: 14px;
  color: var(--sourdine);
  margin-bottom: clamp(24px, 4vw, 40px);
}

.chapeau {
  font-size: 17px;
  color: var(--encre);
}

strong {
  color: var(--encre);
  font-weight: 700;
}

ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--vert);
  /* Une adresse email ne doit jamais forcer un défilement horizontal sur un
     téléphone étroit. */
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--vert-sombre);
}

/* Le pied du site : le filet, les liens, l'éditeur. */
.pied {
  border-top: 1px solid var(--filet);
}

.pied-inner {
  padding-top: 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--sourdine);
}

.pied a {
  color: var(--sourdine);
  text-decoration: none;
}

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

.pied nav {
  display: flex;
  gap: 20px;
}
