/* Landing — hero équilibré : photo dominante + texte court */

.page-home .site-main.home {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: calc(100svh - 10rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem clamp(1.25rem, 3vw, 2.75rem) 3.5rem;
  box-sizing: border-box;
}

.home__layout {
  width: min(1200px, 100%);
  display: grid;
  /* Photo ~58% / texte ~42% */
  grid-template-columns: minmax(300px, 1.25fr) minmax(260px, 0.9fr);
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: center;
}

.home-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  isolation: isolate;
}

/* Étoile rose clair derrière le coin de la vitrine */
.home-photo__star {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: clamp(8rem, 16vw, 12rem);
  height: auto;
  transform: translate(-38%, -38%);
  line-height: 0;
  pointer-events: none;
}

.home-photo__star img {
  display: block;
  width: 100%;
  height: auto;
}

.home-photo__illu {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 520px);
  object-fit: contain;
  object-position: center;
}

.home__inner {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0;
  padding: 0.5rem 0.25rem 0.5rem 0;
  text-align: left;
  justify-self: start;
}

/* 2 cœurs asymétriques */
.home-heart {
  position: absolute;
  z-index: 0;
  line-height: 0;
  pointer-events: none;
}
.home-heart img {
  display: block;
  width: 100%;
  height: auto;
}

.home-heart--b {
  bottom: -0.15rem;
  right: 0.15rem;
  width: 1.55rem;
  transform: rotate(16deg);
}

.home-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.55rem;
  font-family: var(--mc-font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--mc-ink);
  max-width: 16ch;
}

.home-baseline {
  position: relative;
  z-index: 1;
  margin: 0 0 0.55rem;
  font-family: var(--mc-font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mc-rose);
}

.home-date {
  position: relative;
  z-index: 1;
  margin: 0 0 1.5rem;
  color: var(--mc-ink);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.55rem;
  align-items: baseline;
}

.home-date__when::after {
  content: "·";
  margin-left: 0.55rem;
  opacity: 0.55;
}

.home-editorial {
  position: relative;
  z-index: 1;
}

.home-editorial p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--mc-ink);
  font-weight: 400;
}

.home-signoff {
  margin-top: 1.35rem !important;
}

.home-signoff__name {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--mc-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--mc-ink);
}

@media (max-width: 900px) {
  .page-home .site-main.home {
    min-height: 0;
    padding: 1.35rem 1.15rem 2.5rem;
    align-items: flex-start;
  }

  .home__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
  }

  /* Accroche d’abord, vitrine ensuite */
  .home__inner {
    order: 1;
    justify-self: stretch;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .home-photo {
    order: 2;
    justify-self: center;
    width: min(92%, 24rem);
    max-width: none;
    margin: 0.75rem auto 0.25rem;
    padding: 0;
    box-sizing: border-box;
  }

  .home-photo__star {
    width: clamp(5.75rem, 26vw, 7.75rem);
    transform: translate(-32%, -34%);
  }

  .home-photo__illu {
    max-height: min(40vh, 300px);
    width: 100%;
    margin: 0 auto;
  }

  .home-title {
    max-width: none;
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
    margin-bottom: 0.45rem;
  }

  .home-baseline {
    font-size: 0.78rem;
    letter-spacing: 0.045em;
    line-height: 1.35;
  }

  .home-date {
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.15rem;
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .home-date__when::after {
    content: none;
    margin: 0;
  }

  .home-editorial p {
    font-size: 1.02rem;
    margin-bottom: 0.85rem;
  }

  .home-signoff {
    margin-top: 1.1rem !important;
  }

  .home-heart--b {
    right: 0;
    bottom: -0.25rem;
  }
}

@media (max-width: 480px) {
  .page-home .site-main.home {
    padding: 1.1rem 1rem 2.15rem;
  }

  .home__layout {
    gap: 1.25rem;
  }

  .home-photo {
    width: min(94%, 20.5rem);
  }

  .home-photo__star {
    width: 5.5rem;
  }

  .home-photo__illu {
    max-height: min(36vh, 250px);
  }

  .home-editorial p { font-size: 0.98rem; }
  .home-heart--b { width: 1.25rem; }
}
