/* Photo d'ouverture des accueils Amour (outils/photo_accueil.py), proposition A du 2026-11-24 */
.hero--photo { overflow: hidden; }
.hero--photo .desirs { display: none !important; }
.hero--photo > h1, .hero--photo > .hero__foot { position: relative; z-index: 2; }
.ph-fond { position: absolute; inset: 0 0 0 auto; width: 56%; z-index: 1; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 22%, #000 52%), linear-gradient(0deg, transparent 0%, #000 24%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 22%, #000 52%), linear-gradient(0deg, transparent 0%, #000 24%); mask-composite: intersect; }
.ph-fond img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.ph-leg { position: absolute; z-index: 3; right: 14px; bottom: 10px; margin: 0; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 238, 232, .5); }
@media (max-width: 900px) {
  /* téléphone : photo décalée à droite pour que le visage ne soit pas caché par le titre (2026-11-24) */
  .ph-fond { inset: 0 0 auto auto; width: 66%; height: 56%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 50%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 50%, transparent 100%); mask-composite: intersect; }
  .ph-fond img { object-position: 10% 12%; }
  .ph-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 7, 9, .05) 0%, rgba(11, 7, 9, .25) 45%, rgba(11, 7, 9, .55) 75%); }
  .ph-leg { font-size: 8.5px; left: var(--pad); right: var(--pad); bottom: 8px; text-align: right; line-height: 1.5; }
}

/* Désir : proposition 4 (photo n° 6, noir et rose), 2026-11-24 — photo à droite, fondue, remontée un peu */
.ph-fond--desir { width: 64%; background: #14060d; }
.ph-fond--desir img { object-position: 50% 68%; filter: grayscale(1) contrast(1.25) brightness(.78); mix-blend-mode: screen; }
.ph-fond--desir::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--accent); mix-blend-mode: multiply; opacity: .8; }
.ph-fond--desir::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(11, 7, 9, .75) 0%, rgba(11, 7, 9, .4) 40%, rgba(11, 7, 9, .28) 100%); }
@media (max-width: 900px) {
  /* téléphone : photo décalée à droite pour que la cagoule ne soit pas cachée par le titre (2026-11-24) */
  .ph-fond--desir { inset: 0 0 auto auto; width: 66%; height: 56%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 50%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 50%, transparent 100%); mask-composite: intersect; }
  .ph-fond--desir img { object-position: 8% 18%; }
  .ph-fond--desir::after { background: linear-gradient(180deg, rgba(11, 7, 9, .1) 0%, rgba(11, 7, 9, .3) 45%, rgba(11, 7, 9, .6) 75%); }
}
