/* « Voyez l'application avant de choisir » : démos et écrans réels sur les pages tarifs et agence.
   Posé par scripts/apercu-produit.py (02/11/2026, retour de visio : les pros demandaient à quoi ressemble l'app). */
.rfap { padding: 72px 20px; background: #F8F7FB; }
.ag .rfap { margin: 40px -20px; border-radius: 20px; }
.rfap__inner { max-width: 1120px; margin: 0 auto; }
.rfap__head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.rfap__title { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: #1B1726; }
.rfap__sub { margin: 0; font-size: 16px; line-height: 1.6; color: #625C73; }

.rfap__videos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rfap__video { margin: 0; background: #fff; border: 1px solid #E8E4F0; border-radius: 20px; overflow: hidden; }
.rfap__frame { position: relative; aspect-ratio: 16 / 9; background: #1B1726; }
.rfap__cap { padding: 16px 20px 20px; }
.rfap__cap strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: #1B1726; }
.rfap__cap p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: #625C73; }
.rfap__cap a { font-size: 14px; font-weight: 700; color: #7C3AED; text-decoration: none; }
.rfap__cap a:hover { text-decoration: underline; }

.rfap__shots { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rfap__shots li { margin: 0; text-align: center; }
.rfap__shots img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid #E8E4F0; background: #fff; box-shadow: 0 12px 28px -18px rgba(46,16,101,.35); }
.rfap__shots span { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #1B1726; }

/* Lecteur : même comportement que les pages fonctionnalités (assets/js/video-facade.js), styles limités au bloc. */
.rfap .vidfacade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; cursor: pointer; display: block; background-color: #1B1726; background-size: cover; background-position: center; }
.rfap .vidfacade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,23,38,0) 55%, rgba(27,23,38,.28)); transition: background .2s ease; }
.rfap .vidfacade:hover::after { background: linear-gradient(180deg, rgba(27,23,38,0) 55%, rgba(27,23,38,.18)); }
.rfap .vidfacade__play { position: absolute; left: 4%; bottom: 6%; z-index: 1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: #fff; color: #5B21B6; font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 10px 28px rgba(27,23,38,.28); transition: transform .2s ease, background .2s ease; }
.rfap .vidfacade:hover .vidfacade__play { transform: scale(1.04); background: #F1EBFE; }
.rfap .vidfacade:focus-visible { outline: 3px solid #7C3AED; outline-offset: -3px; }

@media (max-width: 860px) {
  .rfap { padding: 56px 16px; }
  .ag .rfap { margin: 32px -16px; border-radius: 0; }
  .rfap__videos { grid-template-columns: 1fr; }
  .rfap__shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .rfap__shots li { flex: 0 0 42%; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .rfap .vidfacade__play { height: 38px; padding: 0 14px 0 11px; gap: 7px; font-size: 13px; }
  .rfap .vidfacade__play svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rfap .vidfacade__play, .rfap .vidfacade::after { transition: none; }
  .rfap .vidfacade:hover .vidfacade__play { transform: none; }
}

/* 03/11/2026 : bouton de lecture au centre, affiche assombrie comme une vignette (mêmes règles que l'accueil) */
.rfap .vidfacade::after { background: rgba(27, 23, 38, .38); }
.rfap .vidfacade:hover::after { background: rgba(27, 23, 38, .18); }
.rfap .vidfacade .vidfacade__play {
  left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%);
  width: max-content; height: 60px; padding: 0 24px 0 8px; gap: 12px;
  font-size: 17px; font-weight: 700; color: #1b1726; background: #fff;
  box-shadow: 0 18px 44px rgba(27, 23, 38, .40);
}
.rfap .vidfacade .vidfacade__play svg {
  flex: none; box-sizing: border-box; width: 44px; height: 44px; padding: 13px 11px 13px 15px;
  border-radius: 50%; background: #7c3aed; color: #fff;
  animation: rf-play-pulse 2s ease-out infinite;
}
.rfap .vidfacade:hover .vidfacade__play { transform: translate(-50%, -50%) scale(1.05); background: #fff; }
@keyframes rf-play-pulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, .55); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(124, 58, 237, 0); }
}
@media (max-width: 640px) {
  .rfap .vidfacade .vidfacade__play { height: 48px; padding: 0 16px 0 6px; gap: 9px; font-size: 14px; bottom: auto; }
  .rfap .vidfacade .vidfacade__play svg { width: 36px; height: 36px; padding: 10px 8px 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rfap .vidfacade .vidfacade__play svg { animation: none; }
  .rfap .vidfacade:hover .vidfacade__play { transform: translate(-50%, -50%); }
}
