/* ============================================================
   RETOUR À SOI · pages secondaires (à propos, contact, légal)
   ============================================================ */

/* ---------- Hero de page ---------- */
.page-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  padding: 9rem 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__title { max-width: 14ch; }
.page-hero .mono { margin-bottom: 1.6rem; }
.page-hero__sub { max-width: 34rem; margin-top: 2rem; }
.page-hero--short { min-height: 52svh; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.about__photo { grid-column: 1 / span 5; position: sticky; top: 7rem; align-self: start; }
.about__photo .frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--blush);
  position: relative;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.92) contrast(1.03); }
.about__text { grid-column: 7 / span 6; }
.chapter { margin-bottom: clamp(6rem, 12vw, 9rem); }
.chapter:last-child { margin-bottom: 0; }
.chapter__date { display: block; margin-bottom: 1rem; opacity: 0.6; }
.chapter h2 { margin-bottom: 1.2rem; }
.chapter p + p { margin-top: 1rem; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.value h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 0.7rem; }
.value p { opacity: 0.75; }

/* ---------- Contact ---------- */
.channels { display: grid; gap: 0.5rem; }
.channel {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.2rem, 3vw, 2.4rem);
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  isolation: isolate;
}
.channel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(255, 182, 147, 0.55), rgba(229, 143, 176, 0.45) 50%, rgba(205, 180, 236, 0.55));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.channel:hover::before { transform: scaleY(1); }
.channel__name { display: block; }
.channel__meta { display: block; margin-top: 0.4rem; color: var(--ink-soft); }
.channel__arrow {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  transition: transform 0.6s var(--ease);
}
.channel:hover .channel__arrow { transform: translateX(0.6rem); }
.channel--main .channel__name { color: var(--magenta); }
.contact__note { margin-top: 2rem; max-width: 34rem; }

/* ---------- Légal ---------- */
.legal { max-width: 46rem; }
.legal__date { opacity: 0.6; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; margin: clamp(4rem, 8vw, 6rem) 0 1.6rem; scroll-margin-top: 7rem; }
.legal h3 { font-size: 1.15rem; font-weight: 500; margin: 2.2rem 0 0.6rem; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 1rem; }
.legal ul { display: grid; gap: 0.4rem; }
.legal li { position: relative; padding-left: 1.2rem; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--rose); }
.legal .fill { padding: 0.05em 0.35em; border-radius: 0.3em; background: rgba(229, 143, 176, 0.28); color: inherit; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .about__photo, .about__text { grid-column: 1 / -1; }
  .about__text { max-width: 38rem; }
  .about__photo { position: static; max-width: 24rem; margin-bottom: 3rem; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-hero { min-height: 70svh; }
  .values { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 1fr auto; }
  .channel > .mono:first-child { display: none; }
}
