/* Gustoso : la feuille laminée (balisage : scene.mjs ; mouvement : scene.js).
   Composition finale, fixe : la salle dans la bande entre les deux filets, le tirage des tagliatelles posé
   dessus en bas à gauche, le titre dans la colonne de gauche. */

.scene-laminoir {
  --scene-fond: #f3eadb; --or: #b38b3e; --grain: .09;
  /* La bande photo : entre les deux filets. */
  --b-haut: 15%; --b-bas: 15%; --b-gauche: 41%;
}
.scene-laminoir .scene-cadre {
  background: radial-gradient(ellipse 70% 60% at 22% 50%, #fbf6ec, transparent 70%), #f3eadb;
}
.lm-bande, .lm-tirage { top: var(--b-haut); bottom: var(--b-bas); left: var(--b-gauche); right: 0; }
.lm-bande > img { object-position: 50% 60%; }
/* Le tirage : la photo des tagliatelles, repliée en petit, bordée de crème, posée sur la salle. */
.lm-tirage {
  z-index: 2; transform-origin: 0 100%;
  transform: translate(-3%, 7%) scale(.42);
  box-shadow: 0 0 0 16px #fbf6ec, 0 40px 60px -20px rgb(43 33 24 / .45);
}
.lm-tirage img { object-position: 30% 50%; }
.lm-filet {
  position: absolute; left: 0; right: 0; z-index: 1; height: 1px; background: var(--or);
  transform-origin: 50% 50%;
}
.lm-filet-haut { top: calc(var(--b-haut) - 14px); }
.lm-filet-bas { bottom: calc(var(--b-bas) - 14px); }
/* Deux rubans d'or sous le titre, comme deux tagliatelles. */
.lm-rubans { display: block; width: min(100%, 300px); height: auto; margin-top: 26px; overflow: visible; }
.lm-rubans path { fill: none; stroke: var(--or); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.scene-laminoir .sc-mots { margin-top: 18px; }

.scene-laminoir .scene-texte {
  left: var(--g); width: calc(var(--b-gauche) - var(--g) - 48px);
  top: 50%; transform: translateY(-50%);
}
.scene-laminoir h2 { font-size: clamp(38px, 4.7vw, 78px); }
.scene-laminoir h2 em { color: #a9853d; }
.scene-laminoir .sc-mots { color: #7a5c1e; }

/* Écran en hauteur (téléphone, tablette) : le titre en haut, la bande photo dessous, au-dessus de la barre. */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .scene-laminoir { --b-haut: 43%; --b-bas: var(--bas); --b-gauche: 0%; }
  .lm-tirage { transform: translate(5%, -6%) scale(.44); box-shadow: 0 0 0 12px #fbf6ec, 0 30px 40px -16px rgb(43 33 24 / .45); }
  .scene-laminoir .scene-texte { top: 84px; transform: none; width: auto; right: var(--g); }
  .scene-laminoir h2 { font-size: clamp(31px, 8.4vw, 64px); }
  .lm-rubans { width: 200px; margin-top: 14px; }
}
@media (max-aspect-ratio: 1/1) and (min-width: 761px) {
  .scene-laminoir .scene-texte { top: 120px; }
}
