/* Direction tirée des deux vidéos fournies : scènes culinaires plein écran,
   puis broche centrale qui remplit le cadre avant l'apparition du sandwich. */
.hero {
  height: 100svh;
  min-height: 650px;
  max-height: none;
  background: #030403;
}
.cinema-slide { overflow: hidden; background: #030403; }
.cinema-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.075);
  transition: transform 7s linear;
}
.cinema-slide.is-active .cinema-backdrop { transform: scale(1); }
.cinema-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.48) 26%, transparent 56%),
              linear-gradient(0deg, rgba(0,0,0,.5), transparent 24%, transparent 80%, rgba(0,0,0,.45));
  pointer-events: none;
}
.cinema-broche .cinema-shade,
.cinema-slide:nth-of-type(4) .cinema-shade {
  background: linear-gradient(270deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.54) 25%, transparent 55%),
              linear-gradient(0deg, rgba(0,0,0,.5), transparent 24%, transparent 80%, rgba(0,0,0,.4));
}
.cinema-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 78px;
}
.cinema-copy {
  width: min(42vw, 650px);
  position: relative;
  text-shadow: 0 3px 24px rgba(0,0,0,.6);
  animation: none;
}
.cinema-copy-right { margin-left: auto; width: min(38vw, 570px); }
.cinema-copy p {
  margin: 0 0 23px;
  color: #cce6dd;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .16em;
}
.cinema-copy h2 {
  font: 900 clamp(82px, 8.4vw, 160px)/.77 var(--display);
  letter-spacing: -.018em;
  color: #fff;
  text-transform: uppercase;
  max-width: 700px;
}
.cinema-copy-right h2 { font-size: clamp(76px, 8.2vw, 150px); }
.cinema-copy .cinema-headline-long { font-size: clamp(72px, 7.1vw, 125px); }
.cinema-line { display: block; white-space: nowrap; }
.cinema-copy > span {
  display: block;
  margin-top: 27px;
  color: #e3e8e2;
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.55;
}
.cinema-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  margin-top: 36px;
  padding: 16px 21px;
  min-width: 225px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-shadow: none;
  transition: background .2s, transform .2s;
}
.cinema-copy a:hover { background: #32776c; transform: translateY(-3px); }
.cinema-copy a b { font-size: 19px; line-height: 0; font-weight: 400; }
.cinema-slide.is-active .cinema-copy { animation: cinema-copy-in .85s .1s cubic-bezier(.16,1,.3,1) both; }
.cinema-slide.is-active .cinema-line { animation: cinema-line-in .8s cubic-bezier(.16,1,.3,1) both; }
.cinema-slide.is-active .cinema-line:nth-child(1) { animation-delay: .1s; }
.cinema-slide.is-active .cinema-line:nth-child(2) { animation-delay: .2s; }
.cinema-slide.is-active .cinema-line:nth-child(3) { animation-delay: .3s; }
@keyframes cinema-copy-in {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cinema-line-in {
  from { opacity: 0; transform: translateY(.5em); clip-path: inset(100% 0 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}
.hero-controls { bottom: 25px; }
.hero-dots button { width: 53px; height: 4px; background: rgba(255,255,255,.38); }
.hero-dots button.is-active { background: #35695c; }
.hero-dots button.is-active::after { background: #d6f2e8; }

.broche-scroll { height: 275svh; background: #030403; }
.broche-sticky {
  background: #030403;
  min-height: 650px;
}
.broche-grid {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
}
.broche-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
}
.broche-stage::before,
.broche-stage::after { content: none; }
.story-broche,
.story-sandwich {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: none;
  will-change: transform, opacity;
}
.story-broche { opacity: var(--broche-alpha); transform: scale(var(--broche-scale)); }
.story-sandwich { opacity: var(--sandwich-alpha); transform: scale(var(--sandwich-scale)); }
.broche-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,rgba(0,0,0,.77),transparent 32%,transparent 69%,rgba(0,0,0,.77)),
              linear-gradient(0deg,rgba(0,0,0,.42),transparent 25%);
  pointer-events: none;
}
.broche-left,
.broche-right { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); }
.broche-left { left: clamp(28px, 5vw, 90px); width: min(18vw, 280px); }
.broche-right { right: clamp(28px, 5vw, 90px); width: min(24vw, 365px); padding: 0; text-align: right; }
.broche-left > p,
.broche-right > p { color: #cae6da; font-size: 10px; letter-spacing: .16em; }
.broche-left strong { font-size: clamp(31px, 3.7vw, 65px); line-height: .88; }
.broche-left > span { color: #d4ded6; }
.broche-right h2 { font: 900 clamp(85px, 8.7vw, 160px)/.73 var(--display); letter-spacing: -.015em; }
.broche-right h2 em { color: #9ed0bf; }
.broche-right > span { font-size: 15px; color: #dce7e0; }
.broche-progress { z-index: 5; height: 4px; }

@media (max-width: 900px) {
  .cinema-copy { width: min(48vw, 550px); }
  .cinema-copy-right { width: min(42vw, 480px); }
  .cinema-copy h2,
  .cinema-copy-right h2 { font-size: clamp(70px, 9.2vw, 112px); }
  .broche-left { width: 21vw; }
  .broche-right { width: 27vw; }
  .broche-right h2 { font-size: clamp(64px, 9vw, 108px); }
}
@media (max-width: 760px) {
  .hero { min-height: 640px; }
  .cinema-backdrop { object-position: 63% center; }
  .cinema-broche .cinema-backdrop { object-position: center; }
  .cinema-slide:nth-of-type(4) .cinema-backdrop { object-position: 37% center; }
  .cinema-shade,
  .cinema-broche .cinema-shade,
  .cinema-slide:nth-of-type(4) .cinema-shade {
    background: linear-gradient(0deg,#030403 3%,rgba(0,0,0,.93) 16%,rgba(0,0,0,.53) 45%,transparent 73%),
                linear-gradient(180deg,rgba(0,0,0,.43),transparent 25%);
  }
  .cinema-content { align-items: flex-end; padding-top: 72px; padding-bottom: 95px; }
  .cinema-copy,
  .cinema-copy-right { width: 100%; margin: 0; text-align: left; }
  .cinema-copy p { font-size: 9px; margin-bottom: 14px; }
  .cinema-copy h2,
  .cinema-copy-right h2 { font-size: clamp(63px, 13.5vw, 102px); }
  .cinema-copy .cinema-headline-long { font-size: clamp(57px, 11.7vw, 85px); }
  .cinema-copy > span { margin-top: 16px; font-size: 12px; }
  .cinema-copy a { margin-top: 21px; min-width: 195px; padding: 13px 16px; }
  .hero-controls { bottom: 20px; }
  .broche-scroll { height: 220svh; }
  .broche-sticky { min-height: 640px; }
  .broche-stage { inset: 0; height: 100%; }
  .story-broche,
  .story-sandwich { object-position: center; }
  .broche-stage::after { background: linear-gradient(0deg,rgba(0,0,0,.92),transparent 34%,transparent 72%,rgba(0,0,0,.5)); }
  .broche-left { top: 95px; left: 19px; width: calc(100% - 38px); transform: none; }
  .broche-left strong,
  .broche-left > span,
  .broche-left a { display: none; }
  .broche-right { top: auto; bottom: 56px; right: 19px; left: 19px; width: auto; transform: none; text-align: left; }
  .broche-right h2 { font-size: clamp(86px, 17vw, 125px); }
  .broche-right > span { display: block; font-size: 12px; margin-top: 20px; }
}
@media (max-width: 520px) {
  .cinema-copy h2,
  .cinema-copy-right h2 { font-size: clamp(63px, 14.5vw, 79px); }
  .cinema-copy .cinema-headline-long { font-size: clamp(54px, 11vw, 68px); }
  .hero-dots button { width: 38px; }
  .broche-right h2 { font-size: clamp(75px, 18vw, 100px); }
}
@media (prefers-reduced-motion: reduce) {
  .cinema-backdrop { transition: none; transform: none !important; }
  .cinema-slide.is-active .cinema-copy { animation: none; }
  .cinema-slide.is-active .cinema-line { animation: none; }
  .broche-scroll { height: auto; }
  .broche-sticky { position: relative; }
  .story-broche { opacity: 1 !important; transform: none !important; }
  .story-sandwich { display: none; }
}
