/* Pages d'information (accueil, données personnelles) : même direction que la galerie
   (figures 15 à 19), en colonne de lecture. */

.document {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px max(32px, env(safe-area-inset-bottom));
}

.document-header {
  padding-top: max(14px, env(safe-area-inset-top));
}

a.brand:hover {
  opacity: 0.8;
}

.document-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.document-footer nav {
  margin-top: 8px;
}

.document-footer a,
.home-hint a {
  color: var(--teal-ink);
  font-weight: 700;
  text-decoration: none;
}

.document-footer a:hover,
.home-hint a:hover,
.legal a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ Accueil */

.home-hero {
  padding-top: clamp(40px, 9vh, 88px);
}

.home-mark {
  width: 56px;
}

.home-title {
  margin-top: 30px;
  font-size: clamp(32px, 4vw + 16px, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.home-lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.steps {
  display: grid;
  gap: 24px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 52px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -5px;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 15px;
  font-weight: 800;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.step-text {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.promises {
  display: grid;
  gap: 12px;
  margin: 44px 0 0;
  padding: 20px;
  border-radius: 16px;
  background: var(--canvas);
  list-style: none;
}

.promises li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.promises .icon {
  margin-top: 1px;
  color: var(--teal);
  stroke-width: 2.4;
}

.home-hint {
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ------------------------------------------------------------------ Données personnelles */

.legal {
  padding-top: 32px;
}

.legal-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.legal-lede {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.legal section {
  margin-top: 32px;
}

.legal h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.legal p,
.legal li {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.legal section p {
  margin-top: 8px;
}

.legal ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--teal-ink);
  font-weight: 700;
}

.legal-updated {
  margin-top: 36px;
  color: var(--muted);
  font-size: 13px;
}
