/* Impasto : sortie du four (balisage : scene.mjs ; mouvement : scene.js).
   Composition finale, fixe : la pizza en plein écran, le titre posé à gauche sur le bois sombre. */

.scene-four { --scene-fond: #0c0b0a; --grain: .1; }
.fo-voute { inset: 0; z-index: 1; }
.fo-pizza { inset: 0; }
.fo-pizza > img { object-position: 78% 50%; }
/* Le front de chaleur qui porte la pizza vers le haut (invisible dans la composition finale). */
.fo-front {
  position: absolute; left: 0; right: 0; top: 0; height: 36%; opacity: 0;
  background: linear-gradient(transparent, rgb(255 120 30 / .5) 50%, rgb(255 190 110 / .0) 51%, transparent);
}
.fo-ombre { position: absolute; inset: 0; background: #0c0b0a; opacity: 0; }
/* La lueur du four, derrière la voûte : elle respire tant que la scène est à l'écran. */
.fo-lueur {
  position: absolute; left: 62%; bottom: 4%; width: 80vmin; height: 80vmin; margin-left: -40vmin; opacity: 0;
  background: radial-gradient(closest-side, rgb(255 150 60 / .55), rgb(200 40 28 / .25) 45%, transparent);
}
.scene-four.en-vue .fo-lueur { animation: fo-souffle 3.2s ease-in-out infinite alternate; }
@keyframes fo-souffle { from { transform: scale(.9); } to { transform: scale(1.06); } }
.fo-braises { z-index: 3; }
.fo-voile {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(12 11 10 / .9) 0%, rgb(12 11 10 / .62) 34%, rgb(12 11 10 / 0) 62%),
    linear-gradient(0deg, rgb(12 11 10 / .55), transparent 30%);
}
.scene-four .scene-texte { left: var(--g); top: 50%; transform: translateY(-46%); width: min(40%, 560px); color: #f3ead9; }
.scene-four h2 { font-size: clamp(38px, 5vw, 80px); text-shadow: 0 2px 30px rgb(0 0 0 / .5); }
.scene-four .eyebrow { color: #ffc27a; }
.scene-four .sc-mots { color: #f3ead9; opacity: .8; }

@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .fo-pizza > img { object-position: 74% 50%; }
  .fo-lueur { left: 50%; bottom: 10%; width: 110vmin; height: 110vmin; margin-left: -55vmin; }
  .fo-voile { background: linear-gradient(180deg, rgb(12 11 10 / .92) 0%, rgb(12 11 10 / .7) 38%, rgb(12 11 10 / 0) 62%), linear-gradient(0deg, rgb(12 11 10 / .5), transparent 25%); }
  .scene-four .scene-texte { top: 84px; transform: none; width: auto; right: var(--g); }
  .scene-four h2 { font-size: clamp(31px, 8.4vw, 64px); }
}
@media (max-aspect-ratio: 1/1) and (min-width: 761px) { .scene-four .scene-texte { top: 120px; } }
