/* ==========================================================================
   Prittio · Savoir-faire, proposition « cinéma »
   Chaque carte empilée est un plan cinémascope. Les tailles sont relatives
   à la carte (unités cqw / cqh), donc tout reste proportionné.
   ========================================================================== */
.sfcine {
  --bar-top: 10cqh;      /* bande noire du haut */
  --bar-bottom: 31cqh;   /* bande noire du bas */
  container-type: size;
  padding: 0; overflow: hidden;
  background: #000; border-color: rgba(255, 243, 230, .12);
  color: var(--cream);
}
.sfcine__top {
  position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: var(--bar-top);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 3.2cqw;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 243, 230, .62);
}
.sfcine__scene { display: flex; align-items: center; gap: 10px; }
.sfcine__rec { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: sfRec 1.6s steps(1) infinite; }
@keyframes sfRec { 50% { opacity: .15; } }
.sfcine__pour { color: var(--peach); text-align: right; }

.sfcine__img { position: absolute; top: var(--bar-top); bottom: var(--bar-bottom); left: 0; right: 0; overflow: hidden; }
.sfcine__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo); }
.sfcine:hover .sfcine__img img { transform: scale(1.04); }
.sfcine__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .6)); }

.sfcine__title {
  position: absolute; z-index: 3; left: 3.2cqw; right: 3.2cqw; bottom: calc(var(--bar-bottom) - 6.5cqh);
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: min(7.6cqw, 15cqh); line-height: .86; text-wrap: balance;
  text-shadow: 0 12px 50px rgba(0, 0, 0, .45);
}
.sfcine__title em { font-style: normal; color: var(--orange); }

.sfcine__bottom {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: var(--bar-bottom);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto; gap: 3.4cqw; align-items: end;
  padding: 0 3.2cqw 4.2cqh;
}
.sfcine__acc { font-size: clamp(13.5px, 1.1vw, 16px); font-weight: 600; line-height: 1.45; }
.sfcine__p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: rgba(255, 243, 230, .66); }
.sfcine .sfcard__credits { margin: 0; }

/* ---------- Mobile : plan empilé simple ---------- */
@media (max-width: 900px) {
  .sfcine { container-type: normal; }
  .sfcine__top { position: relative; height: auto; padding: 18px 20px; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 10px; }
  .sfcine__pour { text-align: left; }
  .sfcine__img { position: relative; top: auto; bottom: auto; aspect-ratio: 16 / 9; }
  .sfcine__title { position: relative; left: auto; right: auto; bottom: auto; margin: -34px 20px 0; font-size: 44px; }
  .sfcine__bottom { position: relative; height: auto; grid-template-columns: 1fr; gap: 22px; padding: 20px 20px 30px; }
}

.btn-pill--orange { background: var(--orange); color: #fff; border-color: var(--orange); white-space: nowrap; }
.btn-pill--orange::before { background: var(--cream); }
.btn-pill--orange:hover { color: var(--ink); border-color: var(--cream); }

/* ---------- Alternance : un plan sur deux en miroir (classe ajoutée automatiquement) ---------- */
@media (min-width: 901px) {
  .sfcine--miroir { --bar-bottom: 25cqh; }
  .sfcine--miroir .sfcine__title { bottom: auto; top: calc(var(--bar-top) + 4cqh); text-align: right; }
  .sfcine--miroir .sfcine__img::after { background: linear-gradient(0deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .6)); }
  .sfcine--miroir .sfcine__bottom { grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1.1fr); }
  .sfcine--miroir .sfcine__bottom > .btn-pill { order: -2; }
  .sfcine--miroir .sfcine__bottom > .sfcard__credits { order: -1; }
  .sfcine--miroir .sfcine__top { flex-direction: row-reverse; }
  .sfcine--miroir .sfcine__pour { text-align: left; }
}

/* ---------- Retours du 28/10 : plus d'air entre le titre et les textes ---------- */
@media (min-width: 901px) {
  .sfcine { --bar-bottom: 37cqh; }
  .sfcine--miroir { --bar-bottom: 30cqh; }
  .sfcine__bottom { padding-bottom: 5cqh; }
}
.sfcine__acc { line-height: 1.55; }
.sfcine__p { margin-top: 14px; font-size: 13.5px; line-height: 1.75; }
.sfcine .sfcard__credits li { padding: 7px 0; }
