/* FIT'WORLD, page Résultats v2 - AES Communication, 19/11/2026
   Complète pages-v5.css (socle tiré de Coaching v2 validé). Préfixe rv-.
   Ouverture : séance avec une coach, cadrée sur les deux personnes.
   Nicolas : vraie photo à sa taille réelle, balayée une fois par le rouge du logo au défilement. */

/* ---------- Ouverture ---------- */
.rv .cv-ouverture .fv-diapo__vue{object-position:42% 62%}

/* ---------- Méthode : cadrage des photos portrait ---------- */
.rv .cv-coach .cv-photo:first-child img{object-position:50% 40%}

/* ---------- Le coach : Nicolas ---------- */
.rv-coach{background:var(--fv-noir);color:#fff}
.rv-coach__grille{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);align-items:center}
.rv-coach__photo{position:relative;margin:0;overflow:hidden;background:#111;align-self:stretch;min-height:100%}
.rv-coach__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:46% 50%}
.rv-coach__photo figcaption{position:absolute;left:0;bottom:0;z-index:2;padding:14px 20px;background:var(--fv-rouge);color:#fff;font-weight:600;font-size:15px}
.rv-coach__photo::after{content:"";position:absolute;inset:0;z-index:3;background:var(--fv-rouge);transform:translateX(-101%);pointer-events:none}
.rv-coach__photo::before{content:"";display:block;aspect-ratio:1124/840}
.rv-coach__texte{padding:clamp(56px,4.4vw,90px) var(--fv-bord) clamp(56px,4.4vw,90px) clamp(36px,4.6vw,96px);max-width:900px}
.rv-coach__texte p{font-size:clamp(18px,1.15vw,20px);line-height:1.6;color:#E4E1DC}
.rv-coach__texte p:first-of-type{color:#fff}
.rv-coach .fv-actions{margin-top:26px}

/* ---------- La règle des avant / après ---------- */
.rv-regle .cv-appel__photo{object-position:50% 70%}
.rv-regle .cv-appel__liste{margin:4px 0 18px}

/* ---------- Appel de fin ---------- */
.rv-fin .cv-appel__photo{object-position:50% 40%}

/* ---------- Mouvement : le rouge passe une fois sur la photo de Nicolas ---------- */
@supports (animation-timeline:view()){
  html:not(.fv-test) .rv-coach__photo::after{animation:rv-balaie linear both;animation-timeline:view();animation-range:entry 35% cover 50%}
  html:not(.fv-test) .rv-coach__photo img{animation:rv-recul linear both;animation-timeline:view();animation-range:entry 0% cover 55%}
  @keyframes rv-balaie{0%{transform:translateX(-101%)}46%,54%{transform:translateX(0)}100%{transform:translateX(101%)}}
  @keyframes rv-recul{from{transform:scale(1.14)}to{transform:scale(1)}}
}
@media (prefers-reduced-motion:reduce){ .rv-coach__photo::after{display:none} .rv-coach__photo img{animation:none!important} }

/* ---------- Tablette ---------- */
@media (max-width:1180px){
  .rv-coach__grille{grid-template-columns:1fr}
  .rv-coach__photo{min-height:0}
  .rv-coach__texte{max-width:none;padding:56px var(--fv-bord) 64px}
}

/* ---------- Téléphone ---------- */
@media (max-width:760px){
  .rv .cv-ouverture .fv-diapo__vue{object-position:30% 60%}
  .rv-coach__photo figcaption{font-size:14px;padding:10px 14px}
}

/* ---------- Captures page entière (?page=1) : hauteurs en vh ramenées à celles d'un écran ---------- */
.fv-page .rv .cv-etape{min-height:520px}
@media (max-width:760px){
  .fv-page .rv .cv-coach__photos{height:400px}
  .fv-page .rv .cv-etape{min-height:360px}
  .fv-page .rv .cv-appel{min-height:740px}
  .fv-page .rv .fv-ouverture{min-height:780px!important}
}
