@layer composants {
  .photonotes-page {
    & .produit-hero .produit-grille {
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
      gap: clamp(28px, 5vw, 72px);

      @media (width <= 920px) { grid-template-columns: minmax(0, 1fr); }
    }

    & .produit-hero .heros-visuel {
      order: 0;
      margin: 0;
      justify-self: center;
      max-width: 350px;
    }

    & .produit-hero .produit-accroche {
      font-size: clamp(1.8rem, 3.1vw, 2.65rem);
      max-width: 19ch;
    }

    & .produit-hero .visuel-cadre {
      padding: 0;
      border-radius: 8px;
      background: white;
      box-shadow: var(--shadow);
    }

    & .produit-hero .visuel-cadre img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 8px;
      object-fit: contain;
    }

    & .carte-actions { flex-wrap: wrap; }
    & .carte-actions .bouton { max-width: 100%; white-space: normal; text-align: center; }
  }

  .rapport-acces {
    margin-block-start: 18px;
    color: var(--muted);
    max-width: 36rem;
    font-size: 0.92rem;
    line-height: 1.65;

    & strong { color: var(--ink); }
  }

  .rapport-legende {
    margin-block-start: 14px;
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
    color: var(--muted);
  }

  .rapport-etapes {
    padding-inline-start: 1.2em;
    display: grid;
    gap: 12px;
    margin-block: 18px 24px;
    color: var(--muted);

    & strong { color: var(--ink); }
    & li::marker { color: var(--accent); font-weight: 800; }
  }

  .rapport-page {
    margin: 0;
    max-width: 320px;
    justify-self: center;

    & img {
      display: block;
      width: 100%;
      height: auto;
      background: white;
      border: 1px solid var(--line);
      border-radius: 6px;
      box-shadow: var(--shadow);
      object-fit: contain;
    }
  }
}
