/* La feuille des pages legales du jeu : confidentialite, suppression des
   donnees. Elles ne chargent pas style.css — c'est la feuille d'une
   application en 100dvh sans defilement, tout l'inverse d'un texte qu'on lit.
   Le dessin est repris : le violet, l'encre, Baloo pour les titres. */

:root {
  --bg: #4838f0;
  --encre: #1e1144;
  --jaune: #ffd400;
  --blanc: #fff;
  --creme: #fdf7ec;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--encre);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16.5px; line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(28px, 6vw, 64px) 20px calc(72px + env(safe-area-inset-bottom));
}

/* Le texte sur une carte creme : lire un contrat sur un aplat violet fatigue
   au bout d'un paragraphe. */
.feuille {
  background: var(--creme);
  border: 4px solid var(--encre); border-radius: 22px;
  box-shadow: 0 6px 0 var(--encre);
  padding: clamp(22px, 5vw, 44px);
}

.retour {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 20px; padding: 9px 16px;
  background: var(--blanc); color: var(--encre);
  border: 3px solid var(--encre); border-radius: 999px;
  box-shadow: 0 3px 0 var(--encre);
  font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 700; font-size: 15px;
  text-decoration: none;
}
.retour:active { transform: translateY(3px); box-shadow: 0 0 0 var(--encre); }

h1 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 600; font-size: clamp(28px, 5vw, 40px); line-height: 1.12;
  margin: 0 0 6px;
}
h2 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 600; font-size: clamp(20px, 3vw, 25px); line-height: 1.2;
  margin: 36px 0 8px;
}
h3 { font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 600; font-size: 18px; margin: 22px 0 4px; }

.date { margin: 0 0 24px; font-size: 15px; opacity: 0.62; }
.chapeau {
  font-size: clamp(17px, 2vw, 18.5px);
  padding-bottom: 24px; margin-bottom: 4px;
  border-bottom: 2px solid rgba(30, 17, 68, 0.14);
}

p { margin: 0 0 12px; }
ul { margin: 12px 0 0; padding-left: 22px; }
li { margin-bottom: 10px; }
li strong { font-weight: 700; }

a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }

/* Le tableau des tiers deborde sur telephone : il defile dans son cadre, la
   page ne bouge pas. */
.tiers { display: block; overflow-x: auto; margin-top: 14px; border-collapse: collapse; font-size: 15.5px; }
.tiers th, .tiers td {
  text-align: left; padding: 10px 18px 10px 0; vertical-align: top;
  border-bottom: 1px solid rgba(30, 17, 68, 0.14);
}
.tiers th { white-space: nowrap; }
.tiers td { opacity: 0.82; }

.note {
  margin-top: 32px; padding: 18px 20px;
  background: var(--blanc);
  border: 3px solid var(--encre); border-radius: 16px;
  box-shadow: 0 4px 0 var(--encre);
  font-size: 15.5px;
}

.pied { margin-top: 26px; text-align: center; font-size: 14.5px; color: rgba(255, 255, 255, 0.78); }
.pied a { color: var(--blanc); }
