/* Home About block (25/09/2026), on the About page grammar.
   Kicker DM Mono 14px signal ink, title DM Sans 500 48px (36px on phones) with a grey second line, the home
   description, the four facts as editorial figures (IBM Plex Serif, short claret rule), the site button,
   and a montage of the three founders: Romain large in front, Kélian and Antoine in overlapping frames. */

.home-people {
  padding: 104px 0 112px;
  overflow: hidden;
  background: var(--paper);
}
.home-people__inner {
  display: grid;
  gap: 56px;
  width: var(--shell);
  margin-inline: auto;
}
.home-people__copy {
  min-width: 0;
}
.home-people .kicker {
  margin: 0 0 14px;
}
.home-people h2 {
  margin: 0;
  font: 500 clamp(34px, 3.4vw, 48px) / 1.03 var(--sans);
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: balance;
}
.home-people h2 em {
  font-style: normal;
  font-weight: 400;
  color: var(--mineral);
}
.home-people .home-people__description {
  max-width: 470px;
  margin: 24px 0 0;
  font: 400 16px / 1.6 var(--sans);
  color: var(--muted);
}

.home-people__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
  max-width: 520px;
  margin: 34px 0 38px;
  padding: 0;
}
.home-people__facts > div {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  padding-top: 18px;
}
.home-people__facts > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--claret);
}
.home-people__facts dd {
  margin: 0;
  font:
    400 clamp(24px, 2.2vw, 30px) / 1.02 "IBM Plex Serif",
    Georgia,
    serif;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: var(--ink);
}
.home-people__facts dt {
  font: 400 14px / 1.45 var(--sans);
  color: var(--muted);
}

/* Montage: positions in percentages of a fixed-ratio stage, so it scales from phone to desktop. */
.home-people__montage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1.02;
  margin-inline: auto;
}
.home-people__montage figure {
  position: absolute;
  margin: 0;
}
.home-people__photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(
      ellipse at 50% 38%,
      #b8a998 0%,
      #a39483 58%,
      #95857563 100%
    ),
    #9d8e7f;
  box-shadow: 0 22px 48px rgba(22, 42, 54, 0.18);
}
.home-people__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}
.home-people__frame-1 {
  top: 6%;
  right: 0;
  z-index: 3;
  width: 56%;
  height: 78%;
}
.home-people__frame-2 {
  top: 0;
  left: 0;
  z-index: 2;
  width: 42%;
  height: 50%;
}
.home-people__frame-3 {
  bottom: 0;
  left: 12%;
  z-index: 4;
  width: 40%;
  height: 46%;
}
.home-people__frame-2 .home-people__photo,
.home-people__frame-3 .home-people__photo {
  border: 4px solid var(--paper);
}
.home-people__montage figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(248, 246, 241, 0.94);
  box-shadow: 0 8px 20px rgba(22, 42, 54, 0.12);
}
.home-people__montage figcaption strong {
  font: 500 14px / 1.2 var(--sans);
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.home-people__montage figcaption span {
  font: 500 10.5px / 1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal-ink);
  /* Rôle sur une ligne (28/09/2026). Sur téléphone, voir plus bas : deux lignes au plus. */
  white-space: nowrap;
}
.home-people__frame-1 figcaption {
  left: auto;
  right: 14px;
  bottom: 14px;
}

@media (min-width: 900px) {
  .home-people__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 72px;
  }
}
@media (max-width: 700px) {
  .home-people {
    padding: 72px 0 80px;
  }
  .home-people h2 {
    font-size: 36px;
  }
  .home-people__facts dd {
    font-size: 22px;
  }
  .home-people__montage figcaption {
    left: 8px;
    bottom: 8px;
    padding: 6px 9px;
  }
  .home-people__frame-1 figcaption {
    right: 8px;
    bottom: 8px;
  }
  .home-people__montage figcaption strong {
    font-size: 12px;
  }
  .home-people__montage figcaption span {
    font-size: 11px;
    /* Photos étroites sur téléphone : le rôle passe sur deux lignes équilibrées plutôt que de déborder. */
    white-space: normal;
    text-wrap: balance;
    letter-spacing: .015em;
  }
  .home-people .home-people__montage figcaption { max-width: calc(100% - 12px); padding-inline: 7px; }
}
/* Phones: Antoine's frame covers the bottom of Romain's, so his label moves to the top. */
@media (max-width: 899px) { .home-people .home-people__frame-1 figcaption { top: 10px; right: 10px; bottom: auto; } }
/* Phones and tablets, final: Antoine's frame moves left so it no longer covers Romain's; his label stays at the bottom. */
@media (max-width: 899px) {
  .home-people .home-people__frame-1 figcaption { top: auto; right: 10px; bottom: 10px; }
  .home-people .home-people__frame-3 { left: 2%; width: 40%; }
}

/* Same headroom for Romain in the montage as in the two studio portraits. */
.home-people__photo img[src*="romain-official"] { object-position: 50% 0; transform: translateY(8%); }

/* Review 25/09: a shorter title and no figures; the montage keeps its first composition. */
.home-people h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.06; letter-spacing: -.035em; }
.home-people .home-people__description { margin-bottom: 34px; }
@media (max-width: 700px) { .home-people h2 { font-size: 30px; } }

/* Review 25/09 (Antoine): Kélian and Antoine are symmetrical, same size, stacked in a left column at the same
   distance from Romain's portrait, with no overlap, so no co-founder reads as in front of the other. */
.home-people .home-people__frame-1 { top: 6%; right: 0; z-index: 3; width: 55%; height: 78%; }
.home-people .home-people__frame-2 { top: 0; left: 0; z-index: 2; width: 41%; height: 48%; }
.home-people .home-people__frame-3 { top: auto; bottom: 0; left: 0; z-index: 2; width: 41%; height: 48%; }
@media (max-width: 899px) { .home-people .home-people__frame-3 { left: 0; width: 41%; } }

/* Review 25/09 (Antoine): the founding lawyer on the left, Kélian and Antoine stacked on the right, same size,
   same distance from Romain. Labels all sit bottom-left. */
.home-people .home-people__frame-1 { top: 6%; right: auto; left: 0; }
.home-people .home-people__frame-2 { top: 0; right: 0; left: auto; }
.home-people .home-people__frame-3 { top: auto; bottom: 0; right: 0; left: auto; }
.home-people .home-people__frame-1 figcaption { top: auto; right: auto; left: 12px; bottom: 12px; }
@media (max-width: 899px) {
  .home-people .home-people__frame-3 { left: auto; right: 0; }
  .home-people .home-people__frame-1 figcaption { left: 8px; right: auto; bottom: 8px; }
}
/* Très petits téléphones (≤ 380 px) : rôle sur deux lignes au plus. */
@media (max-width: 380px) {
  .home-people .home-people__montage figcaption { max-width: calc(100% - 10px); padding-inline: 6px; }
  .home-people__montage figcaption span { letter-spacing: 0; }
}
