/* ===== Testimonials Rene / 10-hero (live: framer-f34q7p, framer-185gnnp, framer-1b5wdtw) =====
   700px at every width. Stage = flex row holding the video (flex 1) plus the tint layer, which Framer sizes with
   inset -941px -2749px -941px -2748px; the content is absolutely placed inside that tint, so its left offsets
   below are the tint maths rewritten against the section width (tint width = 100% + 5497px).
   Desktop: left 46% of tint, translate -50%, bottom 988px of tint (47px of the section).
   Tablet:  left 50% of tint (= 50% + 0.5px), translate -50%, bottom 996px of tint (55px).
   Phone:   a sibling of the stage on live: left 16px, bottom 62px, width 83%. */

.nf-rs-hero {
  /* Framer appear springs, sampled per frame on live (opacity and y share the progress) */
  --nf-rs-hero-ease-a: linear(0, 0.016 3.6%, 0.068 7.1%, 0.145 10.9%, 0.235 14.4%, 0.334 18.4%, 0.418 21.8%, 0.503 25.6%, 0.6 30.7%, 0.666 34%, 0.793 42.2%, 0.852 47.8%, 0.909 55.3%, 0.947 62.7%, 0.971 70.2%, 0.985 77.6%, 0.994 84.9%, 0.998 92.2%, 1);
  --nf-rs-hero-ease-b: linear(0, 0.007 2.9%, 0.124 10%, 0.163 11.7%, 0.236 14.8%, 0.317 18.3%, 0.393 21.3%, 0.465 24.4%, 0.541 27.7%, 0.611 31.5%, 0.713 37.3%, 0.801 43.8%, 0.866 50.2%, 0.912 56.7%, 0.944 62.9%, 0.966 69.4%, 0.981 76.2%, 0.99 82.3%, 0.996 88.7%, 1);
  --nf-rs-hero-ease-c: linear(0, 0.007 1.8%, 0.042 3.7%, 0.094 5.7%, 0.158 7.7%, 0.249 10.1%, 0.315 11.8%, 0.391 13.8%, 0.47 15.9%, 0.54 17.8%, 0.613 19.9%, 0.73 23.9%, 0.822 28.3%, 0.891 32.1%, 0.946 36.6%, 0.975 40.4%, 0.987 42.3%, 0.999 45.5%, 1.0077 48.4%, 1.0134 52.4%, 1.0151 56.5%, 1.0145 60.5%, 1.0127 64.6%, 1.0104 68.7%, 1.008 72.7%, 1.0058 76.8%, 1.0041 80.7%, 1.0025 85.6%, 1.0012 91.1%, 1.0006 95.1%, 1);
  --nf-rs-hero-sfns-medium: SFProText-Medium, "SF Pro Text", "Nafas Inter", sans-serif;
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 0;
  flex: 0 0 auto; width: 100%; height: 700px; padding: 0; overflow: clip;
}
.nf-rs-hero__stage {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 10px;
  flex: 1 0 0px; width: 1px; height: 100%; padding: 0; overflow: clip;
}
.nf-rs-hero__media { position: relative; flex: 1 0 0px; width: 1px; height: 100%; }
.nf-rs-hero__video {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  border-radius: 0; background-color: rgba(0, 0, 0, 0); overflow: clip;
}
.nf-rs-hero__tint {
  position: absolute; inset: -941px -2749px -941px -2748px; z-index: 0; flex: 0 0 auto;
  background-color: rgba(0, 0, 0, 0.2); overflow: clip;
}

/* ---------- content ---------- */
.nf-rs-hero__content {
  position: absolute; z-index: 1; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 30px;
  flex: 0 0 auto; height: min-content; padding: 0; overflow: hidden;
}
.nf-rs-hero__quote-box {
  position: relative; flex: 0 0 auto; height: auto; will-change: transform;
  animation: nf-rs-hero-rise 600ms cubic-bezier(0.44, 0, 0.56, 1) 100ms both;
}
.nf-rs-hero__quote {
  margin: 0; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif; font-weight: 500; font-style: normal;
  line-height: 1.15em; color: #fff; text-align: start;
}
.nf-rs-hero__meta {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: clip;
}
.nf-rs-hero__name-box { position: relative; flex: 0 0 auto; width: 100%; height: auto; }
.nf-rs-hero__name {
  margin: 0; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
  font-family: var(--nf-rs-hero-sfns-medium); font-weight: 500; color: #fff; text-align: left;
}

/* ---------- Watch Video pill (no hover or press state on live) ---------- */
.nf-rs-hero__pill {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 8px;
  flex: 0 0 auto; width: min-content; height: min-content; padding: 8px 16px; border-radius: 99px;
  background-color: #fff; cursor: pointer; overflow: clip; will-change: transform; box-sizing: border-box;
}
.nf-rs-hero__pill:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nf-rs-hero__play { position: relative; display: block; flex: 0 0 auto; width: 20px; aspect-ratio: 1 / 1; }
.nf-rs-hero__play svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.nf-rs-hero__pill-box { position: relative; display: flex; flex-flow: column; flex: 0 0 auto; width: auto; height: auto; white-space: pre; }
.nf-rs-hero__pill-label {
  display: block; margin: 0; white-space: pre; font-family: var(--nf-rs-hero-sfns-medium); font-weight: 500;
  font-size: 20px; line-height: 1.2em; letter-spacing: -0.6px; color: #000; text-align: left;
}

/* ---------- appear: quote rises once on load; name and pill fade in at >= 50% visible and out again ---------- */
@keyframes nf-rs-hero-rise { from { opacity: 0.001; transform: translateY(50px); } to { opacity: 1; transform: none; } }
.nf-rs-hero.is-js .nf-rs-hero__name-box { opacity: 0; transition: opacity 520ms var(--nf-rs-hero-ease-b); }
.nf-rs-hero.is-js .nf-rs-hero__pill { opacity: 0; transform: translateY(-8px); transition: opacity 820ms var(--nf-rs-hero-ease-c), transform 820ms var(--nf-rs-hero-ease-c); }
.nf-rs-hero.is-js .nf-rs-hero__pill-box { opacity: 0; transition: opacity 450ms var(--nf-rs-hero-ease-a); }
.nf-rs-hero.is-js .nf-rs-hero__name-box.is-in,
.nf-rs-hero.is-js .nf-rs-hero__pill.is-in,
.nf-rs-hero.is-js .nf-rs-hero__pill.is-in .nf-rs-hero__pill-box { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nf-rs-hero__quote-box { animation: none; }
}

/* ---------- Desktop (>= 1440) ---------- */
@media (min-width: 1440px) {
  .nf-rs-hero__content { width: 826px; bottom: 988px; left: 46%; transform: translate(-50%); }
  .nf-rs-hero__quote-box { width: 685px; }
  .nf-rs-hero__quote { font-size: 52px; letter-spacing: normal; }
  .nf-rs-hero__meta { gap: 48px; }
  .nf-rs-hero__name { font-size: 30px; line-height: 1.25em; letter-spacing: -0.6px; }
}

/* ---------- Tablet (810 to 1439.98) ---------- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .nf-rs-hero__content { width: 690px; bottom: 996px; left: 50%; transform: translate(-50%); }
  .nf-rs-hero__quote-box { width: 552px; }
  .nf-rs-hero__quote { font-size: 48px; letter-spacing: -0.03em; }
  .nf-rs-hero__meta { gap: 48px; }
  .nf-rs-hero__name { font-size: 30px; line-height: 1.2em; letter-spacing: -0.6px; }
}

/* ---------- Phone (<= 809.98) ---------- */
@media (max-width: 809.98px) {
  .nf-rs-hero__content { width: calc(83% - 4562.51px); bottom: 1003px; left: 2764px; gap: 5px; }
  .nf-rs-hero__quote-box { width: 100%; }
  .nf-rs-hero__quote { font-size: 38px; letter-spacing: normal; }
  .nf-rs-hero__meta { gap: 16px; }
  .nf-rs-hero__name { font-size: 20px; line-height: 1.2em; letter-spacing: -0.4px; }
  .nf-rs-hero__play { width: 16px; }
  .nf-rs-hero__pill-label { font-size: 14px; letter-spacing: -0.42px; }
}

/* ---------- Watch Video overlay (appended to body by js/10-hero.js; live: #overlay framer-ryjhdo + framer-11hh4a2-container) ---------- */
.nf-rs-hero-film__backdrop {
  position: fixed; inset: 0; z-index: 4; background-color: rgba(0, 0, 0, 0.8); user-select: none; -webkit-user-select: none;
  opacity: 0; transition: opacity 300ms cubic-bezier(0.5, 0, 0.88, 0.77);
}
.nf-rs-hero-film__backdrop:focus { outline: none; }
.nf-rs-hero-film__backdrop.is-open { opacity: 1; }
.nf-rs-hero-film__backdrop.is-closing { opacity: 0; transition: opacity 300ms cubic-bezier(0.12, 0.23, 0.5, 1); }
.nf-rs-hero-film__box {
  position: fixed; top: 50%; left: 50%; z-index: 4; flex: 0 0 auto; width: 1200px; height: auto; aspect-ratio: 1.78547 / 1;
  transform: translate(-50%, -50%);
}
/* Below 1440 (Danny's decision; live Rene opens nothing here): live Elodie's tablet/phone overlay, z-index 10 */
@media (max-width: 1439.98px) {
  .nf-rs-hero-film__backdrop, .nf-rs-hero-film__box { z-index: 10; }
  .nf-rs-hero-film__box { width: 700px; }
}
@media (max-width: 809.98px) {
  .nf-rs-hero-film__box { width: 325px; }
}
.nf-rs-hero-film__box video {
  display: block; width: 100%; height: 100%; border-radius: 32px; object-fit: cover; object-position: 50% 50%;
  background-color: rgba(0, 0, 0, 0); cursor: auto;
}

/* ---------- Fit the film player to the screen (Danny, 2026-10-19) ----------
   Phone: the full screen width minus a 16px margin each side. Every size: never taller than the visible screen (a
   short window or a phone held sideways still shows the whole film). Desktop / tablet keep their size when it fits.
   The vh line is the fallback for browsers without dvh. */
.nf-rs-hero-film__box { width: min(1200px, calc(100vw - 32px), calc((100vh - 32px) * 1.78547)); width: min(1200px, calc(100vw - 32px), calc((100dvh - 32px) * 1.78547)); height: auto; aspect-ratio: 1.78547 / 1; }
@media (min-width: 810px) and (max-width: 1439.98px) { .nf-rs-hero-film__box { width: min(700px, calc(100vw - 32px), calc((100vh - 32px) * 1.78547)); width: min(700px, calc(100vw - 32px), calc((100dvh - 32px) * 1.78547)); } }
@media (max-width: 809.98px) { .nf-rs-hero-film__box { width: min(calc(100vw - 32px), calc((100vh - 32px) * 1.78547)); width: min(calc(100vw - 32px), calc((100dvh - 32px) * 1.78547)); aspect-ratio: 1.78547 / 1; } }

/* Hero text 60px from the left at every width from 810, in line with the page content and with Antoine's page (live:
   30px at 1440, centred at 1000-1280). The positioning layer starts at -2748px, as the phone rule's 2764px shows. QC 2026-10-28. */
@media (min-width: 810px) { .nf-rs-hero__content { left: 2808px; transform: none; } }
