/* Accueil — positions relevées sur latraverse42.fr (page de 1031 × 1101 px). */

.scene { display: block; left: 4px; top: 81px; width: 1026px; height: 839px; z-index: 0;
  background: url(/static/images/scene-rideau.jpeg) center center / 1000px 840px no-repeat; }

.surtitre { left: 0; top: 0; z-index: 5; }
.surtitre > * { position: absolute; }
.surtitre-filet { top: 205px; width: 30px; height: 1px; background-color: #c9983a; }
.surtitre-filet.gauche { left: 312.5px; }
.surtitre-filet.droite { left: 713.5px; }
.surtitre-texte { left: 348.5px; top: 199px; width: 364px; height: 13px; white-space: nowrap;
  font-family: 'DM Mono', sans-serif; font-size: 10px; letter-spacing: 0.5em; text-transform: uppercase;
  font-variant: small-caps; color: #E8C46A; text-align: center; }

/* Photo du bandeau : 521 px de large, coupée à 300 px de haut, à 60 % d'opacité une fois affichée. */
.cadre-photo { left: 255.5px; top: 344px; width: 521px; height: 300px; overflow: hidden; z-index: 1; }
.photo-bandeau { display: block; width: 100%; border-radius: 20px; }
.photo-bandeau:not([src]) { visibility: hidden; }

.titre-la { left: 254px; top: 218px; width: 117px; height: 141px; z-index: 2;
  font-family: 'Playfair Display', serif; font-size: 100px; font-weight: 800; color: #F5EFE0; }
.titre-sous { left: 269px; top: 646px; width: 492px; height: 27px; z-index: 3;
  font-family: 'Cormorant Garamond', sans-serif; font-size: 20px; font-weight: 300; font-style: italic;
  letter-spacing: 0.08em; color: #F5EFE0; text-align: center; white-space: nowrap; }
.titre-traverse { left: 404px; top: 216px; width: 360px; height: 112px; z-index: 4;
  font-family: 'PlayfairDisplay-Medium Italic', sans-serif; font-size: 100px; font-weight: bold; font-style: italic;
  color: #E8C46A; }

/* ===== Téléphone : bandeau de titre, photo et sous-titre les uns sous les autres, sur la scène ===== */
@media (max-width: 820px) {
  .page-accueil #page { background: var(--fond) url(/static/images/scene-rideau.jpeg) center 64px / auto 600px no-repeat; }
  .scene { display: none !important; }
  .surtitre { order: 1; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; width: auto; }
  .surtitre > * { position: static; }
  .surtitre-filet { flex: none; }
  .surtitre-texte { width: auto; height: auto; white-space: normal; font-size: 11px; letter-spacing: 0.35em; }
  /* « La » et « Traverse » sur la même ligne, à la taille de l'écran. */
  #page > .titre-la { order: 2; flex: 0 0 auto; width: auto; height: auto; margin: 6px 0 0 auto; padding-right: 0.18em;
    font-size: clamp(48px, 17vw, 100px); line-height: 1.1; }
  #page > .titre-traverse { order: 3; flex: 0 0 auto; width: auto; height: auto; margin: 6px auto 0 0;
    font-size: clamp(48px, 17vw, 100px); line-height: 1.1; }
  #page > .cadre-photo { order: 4; flex: 0 0 auto; width: calc(100% - 32px); max-width: 521px; height: auto; aspect-ratio: 521 / 300;
    margin: 18px auto 0; }
  #page > .titre-sous { order: 5; width: auto; height: auto; margin-top: 16px; padding: 0 20px; white-space: normal;
    font-size: 19px; line-height: 1.35; }
  #page > .pied { order: 9; }
}
