/* Les images de marque et les commandes du gabarit restent les points d’ancrage. */
[hidden].rfd-film-control,.zone-controls[hidden],.zone-copy[hidden],.zone-copy [hidden] { display:none!important }
.rfd-film-control,.zone-controls button { font:inherit; color:inherit; cursor:pointer; touch-action:manipulation; }
.rfd-film-control { display:inline-flex; align-items:center; justify-content:center; gap:.6rem; min-height:44px; padding:.45rem .9rem; border:1px solid #76604f; border-radius:100px; background:#12100fe8; color:#f4eee9; font-size:.8rem; line-height:1.3; font-weight:650; }
.rfd-film-control:hover { border-color:#ff9559; background:#251c16; }
.rfd-film-control:focus-visible,.zone-controls button:focus-visible { outline:2px solid #ffa263; outline-offset:3px; }
.rfd-play-glyph { display:inline-block; width:0; height:0; border-block:4.5px solid transparent; border-inline-start:7px solid #ff8a43; flex:none; }
[data-film-state="playing"]>.rfd-film-control .rfd-play-glyph,[data-film-state="playing"] .rfd-film-caption .rfd-play-glyph,.zone-tour[aria-pressed="true"] .rfd-play-glyph { width:8px; height:10px; border:0; border-left:2px solid #ff9559; border-right:2px solid #ff9559; }
.cinema-stage { position:relative; isolation:isolate; overflow:hidden; }
.rfd-film-bed { position:absolute; z-index:-1; inset:0; overflow:hidden; pointer-events:none; background:#11100f url(films/acier.webp) center/cover no-repeat; }
.cinema-stage .rfd-film-bed {
  /* Seule la matière disparaît vers les bords. Le logo, les orbites et les commandes restent au premier plan. */
  --rfd-film-fade: radial-gradient(ellipse 50% 49% at 50% 49%, #000 24%, rgba(0,0,0,.98) 46%, rgba(0,0,0,.78) 65%, rgba(0,0,0,.30) 83%, transparent 100%);
  -webkit-mask-image: var(--rfd-film-fade);
  mask-image: var(--rfd-film-fade);
}
.rfd-film-bed video { transition:opacity .5s; }
.rfd-film-bed::after { content:""; position:absolute; inset:0; background:linear-gradient(160deg,#0a0a0a14 5%,#11100b03 30%,#0b080754 66%,#080807dd 99%),radial-gradient(ellipse at 50% 49%,#15100d55 0%,transparent 62%); }
.rfd-film-bed video,.rfd-film-window video,.rfd-detail-frame video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; pointer-events:none; }
[data-film-state="playing"] video,[data-film-state="paused"] video,[data-film-state="ended"]:not([data-film="hero"]) video { opacity:1; }
.rfd-home .brand-hero { background:#0c0c0b; }
.rfd-home .brand-hero .hero-atmosphere { background:radial-gradient(ellipse at 80% 27%,#33211358,transparent 54%),#0c0c0b; }
.rfd-home .brand-hero .hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.02fr); column-gap:clamp(2rem,5vw,5rem); }
.rfd-home .brand-hero h1 { letter-spacing:-.051em; line-height:.985; font-size:clamp(3rem,5.35vw,5.8rem); }
.rfd-home .brand-hero .hero-copy .rfd-2027-specialties { max-width:44ch; font-weight:690; }
.rfd-home .brand-hero .hero-intro { line-height:1.65; }
.rfd-home .rfd-logo-stage.cinema-stage { align-self:stretch; display:grid; grid-template-areas:"replay replay" "logo logo" "caption pause"; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto 1fr auto; align-items:center; justify-items:start; align-content:normal; padding:clamp(1.25rem,2.6vw,2.3rem); margin:0; gap:1.05rem .6rem; border:0; border-radius:0; background:transparent; box-shadow:none; }
.rfd-home .cinema-stage .rfd-replay { grid-area:replay; justify-self:end; }
.rfd-home .cinema-stage .rfd-rhino-live { grid-area:logo; width:clamp(195px,24vw,330px); justify-self:center; align-self:center; margin:0; }
.rfd-home .cinema-stage .rfd-logo-caption { grid-area:caption; text-align:left; margin:0; }
.rfd-home .cinema-stage .rfd-logo-rule { width:32px; height:2px; margin:0 0 .55rem; }
.rfd-home .cinema-stage .rfd-logo-caption p { color:#f3ece5; font-size:clamp(1rem,1.6vw,1.5rem); line-height:1.25; letter-spacing:-.027em; }
.rfd-home .cinema-stage .rfd-logo-location { font-size:.75rem; color:#cac0b7; margin-top:.52rem; }
.rfd-home .cinema-stage .rfd-logo-motion { grid-area:pause; justify-self:end; align-self:end; min-height:44px; border-radius:6px; background:#0a0908bf; font-size:.75rem; }
.rfd-home .cinema-stage .rfd-satellite { width:20px; height:20px; }
.rfd-home .cinema-stage .rfd-satellite--steel { width:14px; height:14px; }
.rfd-home .rfd-orbit-tracks ellipse:first-child { stroke:#fba46975; }
.rfd-home .rfd-orbit-tracks ellipse:last-child { stroke:#d3d8db45; }
html[data-motion="active"] .cinema-stage .rfd-rhino-live { transform:perspective(750px) rotateX(var(--face-x,0deg)) rotateY(var(--face-y,0deg)); transition:transform .48s cubic-bezier(.19,.8,.25,1); }
.rfd-home .cinema-stage .rfd-rhino-live::after { mix-blend-mode:screen; }
.rfd-home .rfd-rhino-live.rfd-2027-frame::before { pointer-events:none; }
html[data-motion="active"] .rfd-home .cinema-stage .rfd-rhino-live.rfd-2027-frame > .rfd-original-logo { animation:rfd-emblem-light 2.3s cubic-bezier(.2,.7,.2,1) both!important; }
@keyframes rfd-emblem-light { 0% { opacity:.45; scale:.981; } 38% { opacity:1; } 100% { opacity:1; scale:1; } }
html[data-motion="active"] .rfd-home .brand-hero .hero-copy h1 { animation:rfd-type-in .54s cubic-bezier(.22,.76,.24,1) .18s backwards; }
@keyframes rfd-type-in { from { translate:0 .25rem; } to { translate:0 0; } }
html[data-rfd-page="ouverture"] .launch-emblem.cinema-stage,
html[data-rfd-page="ouverture"] .launch-emblem.cinema-stage .rhino-system { border:0; border-radius:0; background:transparent; box-shadow:none; }
html[data-rfd-page="ouverture"] .launch-emblem.cinema-stage .rfd-film-bed { opacity:.83; }
html[data-rfd-page="ouverture"] .launch-emblem.cinema-stage .rfd-replay { position:absolute; z-index:3; top:.65rem; right:.75rem; }
html[data-rfd-page="ouverture"] .cinema-stage .rhino-system { isolation:isolate; }
/* Les commandes restent de vrais liens et boutons, y compris au toucher. */
.rfd-brand .desktop-nav a { text-decoration:none; background-image:linear-gradient(#ff710e,#ff710e); background-repeat:no-repeat; background-position:0 calc(100% - .12rem); background-size:0 1px; transition:background-size .2s,color .2s; }
.rfd-brand .desktop-nav a:is(:hover,:focus-visible,[aria-current="page"]) { background-size:100% 1px; }
.rfd-brand .site-header .brand img, .rfd-opening-header-emblem {
  --rfd-mark-fade: radial-gradient(ellipse 74% 75% at center, #000 73%, rgba(0,0,0,.94) 83%, transparent 100%);
  -webkit-mask-image: var(--rfd-mark-fade);
  mask-image: var(--rfd-mark-fade);
}
.rfd-brand .site-header .brand img { transition:filter .24s; }
.rfd-brand .site-header .brand:is(:hover,:focus-visible) img { filter:drop-shadow(0 0 5px #ec751b9a); }
.rfd-brand .button:focus-visible,.rfd-brand .premium-service:focus-visible,.rfd-brand .premium-complement-links a:focus-visible { outline:2px solid #ffa66d; outline-offset:4px; }
.rfd-brand .premium-service:active,.rfd-brand .premium-complement-links a:active { border-color:#ff8340; }
.rfd-home .premium-service:focus-visible { border-color:#fb894e; }
.rfd-brand .service-card .rfd-film-window,.rfd-home .premium-service .rfd-film-window,.rfd-home .premium-complement-links .rfd-film-window { position:relative; display:block; overflow:hidden; padding:0; }
.rfd-film-window .rfd-card-still { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 45%; }
.rfd-film-window video { transition:opacity .2s; }
.rfd-detail-frame { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; background:#171411; }
.rfd-detail-frame>img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.rfd-detail-frame>video { background:#100f0e; object-fit:cover; }
.rfd-film-caption { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.4rem .9rem; }
.rfd-film-caption strong,.rfd-film-caption span:not(.rfd-play-glyph) { display:block; }
.rfd-film-caption strong { color:#f3eee9; font-size:1rem; line-height:1.4; }
.rfd-film-caption>div>span,.rfd-original-caption { font-size:.78rem; }
.rfd-original-caption { display:block; margin-top:.4rem; }
.rfd-home .rfd-2027-signature::before { height:46%; width:94%; aspect-ratio:auto; transform:rotate(-16deg); border-color:#aa673d8c; border-top-color:#f39a61; }
html[data-motion="active"] .rfd-home .rfd-2027-signature.rfd-2027-in-view::before { animation:rfd-signature-light 6.8s ease-in-out infinite alternate; }
@keyframes rfd-signature-light { from { opacity:.48; } to { opacity:1; } }
@media (min-width:960px) {
  .rfd-home .brand-hero { padding-top:clamp(2rem,3.7vw,3.8rem); }
  .rfd-home .rfd-2027-hero-details { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; column-gap:1.2rem; }
  .rfd-home .rfd-2027-hero-details .hero-quote-note { grid-column:1/-1; margin-top:1.1rem; }
  .rfd-home .rfd-2027-hero-details .hero-person { margin-block:1.25rem 0; }
  .rfd-home .rfd-2027-hero-details .hero-availability { margin-top:1.25rem; }
}
@media (max-width:959px) {
  .rfd-home .cinema-stage .rfd-film-bed { inset-inline-end: 40%; }
  .rfd-home .brand-hero .hero-grid { grid-template-columns:minmax(0,1fr); }
  .rfd-home .brand-hero h1 { font-size:clamp(2.4rem,7.8vw,4.5rem); }
  .rfd-home .rfd-logo-stage.cinema-stage { grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); grid-template-areas:"logo replay" "logo caption" "logo pause"; gap:.45rem 1rem; padding:1.3rem 1.6rem; }
  .rfd-home .cinema-stage .rfd-rhino-live { width:218px; max-width:80%; }
  .rfd-home .cinema-stage .rfd-replay,.rfd-home .cinema-stage .rfd-logo-motion { justify-self:start; }
}
@media (max-width:699px) {
  .rfd-home .rfd-logo-stage.cinema-stage { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:1rem .85rem; column-gap:.75rem; }
  .rfd-home .cinema-stage .rfd-rhino-live { width:155px; max-width:85%; }
  .rfd-home .cinema-stage .rfd-replay,.rfd-home .cinema-stage .rfd-logo-motion { font-size:.70rem; padding:.38rem .6rem; }
  .rfd-home .cinema-stage .rfd-logo-caption p {font-size:1.02rem;}
  .rfd-home .cinema-stage .rfd-logo-location { font-size:.68rem; }
  .rfd-home .cinema-stage .rfd-satellite { width:12px; height:12px; }
  .rfd-home .cinema-stage .rfd-satellite--steel { width:8px; height:8px; }
  .rfd-home .brand-hero h1 { font-size:clamp(1.95rem,8.55vw,3.1rem); }
  html[data-rfd-page="ouverture"] .launch-emblem.cinema-stage .rfd-replay { position:relative; top:auto; right:auto; align-self:center; justify-self:center; margin:.35rem auto; }
}
@media (prefers-reduced-motion:reduce),(update:slow) {
  .rfd-brand .desktop-nav a,.rfd-film-window video,.rfd-brand .site-header .brand img { transition:none; }
  html .cinema-stage .rfd-rhino-live,.rfd-home .brand-hero .hero-copy h1 { transform:none!important; animation:none!important; }
}
.rfd-home .rfd-2027-hero-details :is(.rfd-2027-motto,.hero-intro) { grid-column:1/-1; }
.rfd-home .rfd-2027-hero-details .rfd-2027-motto { margin:1.1rem 0 .3rem; }
.rfd-home .rfd-2027-hero-details .hero-intro { margin:0; max-width:48ch; }
.rfd-home .hero-copy .hero-location { margin-top:1rem; }
@media(max-width:699px) {
  .rfd-home .brand-hero .hero-actions { margin-top:1rem; }
  .rfd-home .rfd-2027-hero-details .rfd-2027-motto { margin-top:0; }
}
@media (min-width:960px) {
  .rfd-home .rfd-logo-stage.cinema-stage { grid-template-areas:"pause replay" "logo logo" "caption caption"; }
  .rfd-home .cinema-stage .rfd-logo-motion { justify-self:start; align-self:center; }
}
@media (prefers-reduced-motion:no-preference) {
  html[data-motion="active"][data-motion-visibility="visible"] .rfd-home .rfd-rhino-live[data-orbits-running="true"]::before { animation:rfd-emblem-breathe 5.5s ease-in-out infinite alternate 2.3s; }
  html[data-motion="active"] .site-header.is-scrolled .brand img { animation:rfd-header-settle .46s ease-out; }
  @keyframes rfd-header-settle { from { filter:drop-shadow(0 0 4px #f5812e6b); } to { filter:none; } }
  @keyframes rfd-emblem-breathe { from { opacity:.44; } to { opacity:.92; } }
  @supports (offset-path:ellipse(44% 24% at 50% 50%)) {
    .rfd-home .rfd-2027-signature::before { inset:auto; width:88%; height:48%; transform:none; }
    html[data-motion="active"] .rfd-2027-signature.rfd-2027-in-view::after { content:""; position:absolute; top:0; left:0; width:6px; height:6px; background:#ff944f; border-radius:50%; box-shadow:0 0 6px #ee670e; offset-path:ellipse(44% 24% at 50% 50%); offset-rotate:0deg; animation:rfd-footer-satellite 14s linear infinite; }
    @keyframes rfd-footer-satellite { to { offset-distance:100%; } }
  }
}
@media (hover:hover) { .rfd-home .premium-service[href*="apres-deces"]:hover { transform:none; box-shadow:none; } .rfd-brand .button:is(:hover,:focus-visible) { box-shadow:inset 0 0 0 1px #ffd0a9; } }
.rfd-brand .rfd-film-title-grid.service-title-grid { grid-template-columns:minmax(0,1.05fr) minmax(0,.82fr); gap:clamp(1.2rem,4vw,3.6rem); align-items:center; }
.rfd-film-title-grid .rfd-activity-figure { width:100%; max-width:none; }
.rfd-film-caption .rfd-film-control { min-width:8.7rem; }
@media(max-width:760px) { .rfd-brand .rfd-film-title-grid.service-title-grid { grid-template-columns:1fr; row-gap:1.2rem; } }

.rfd-service-example { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,270px); align-items:center; gap:clamp(1rem,4vw,3rem); margin-bottom:2.6rem; }
.rfd-service-example .empathy { margin-bottom:0; }
.rfd-small-example { margin:0; padding:.55rem; width:100%; max-width:270px; justify-self:end; border:1px solid #443b31; border-radius:6px; background:#181512; }
.rfd-small-example img { display:block; width:100%; height:clamp(135px,15vw,200px); object-fit:cover; object-position:50% 40%; border-radius:2px; }
.rfd-small-example figcaption { font-size:.75rem; line-height:1.5; color:#c2b8ab; margin:.35rem .1rem 0; }
@media(max-width:700px){ .rfd-service-example { grid-template-columns:1fr; gap:1rem; } .rfd-small-example { max-width:245px; justify-self:start; } }
