/* ─── Hero reel: pílula com preview mudo + player em tela cheia ─── */
.reel-pill { display: inline-flex; align-items: center; gap: 0.85rem; padding: 0.35rem 1.15rem 0.35rem 0.35rem; border-radius: 9999px; cursor: pointer;
  background: rgba(255,255,255,0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 2px 10px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.04);
  font: inherit; color: #0A0A0A; transition: transform .25s ease, box-shadow .25s ease; -webkit-tap-highlight-color: transparent; }
.reel-pill:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.05); }
.reel-pill:focus-visible { outline: 2px solid #0A0A0A; outline-offset: 3px; }
.reel-thumb { position: relative; width: 84px; height: 47px; border-radius: 9999px; overflow: hidden; background: #1a1a1a; flex: none; }
.reel-thumb video, .reel-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.18); transition: background .25s ease; }
.reel-pill:hover .reel-thumb::after { background: rgba(0,0,0,0.32); }
.reel-thumb svg { position: absolute; z-index: 2; left: 50%; top: 50%; width: 15px; height: 15px; transform: translate(-42%, -50%); color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); transition: transform .25s ease; }
.reel-pill:hover .reel-thumb svg { transform: translate(-42%, -50%) scale(1.15); }
.reel-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.reel-txt b { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.reel-txt span { font-size: 0.72rem; font-weight: 500; color: #8A8780; margin-top: 0.2rem; }

/* overlay */
.rp { position: fixed; inset: 0; z-index: 2147483000; display: none; }
.rp.is-open { display: block; }
.rp-bg { position: absolute; inset: 0; background: rgba(12,11,10,0.82); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); opacity: 0; transition: opacity .45s ease; }
.rp.is-shown .rp-bg { opacity: 1; }
.rp-box { position: absolute; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px rgba(0,0,0,0.7); transform-origin: 0 0; will-change: transform; }
.rp-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.rp-hit { position: absolute; inset: 0; cursor: pointer; }
.rp.is-idle .rp-hit { cursor: none; }

/* botões glass */
.rp-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; border: 0; padding: 0; cursor: pointer; color: #fff; background: transparent; transition: background .2s ease, transform .2s ease; -webkit-tap-highlight-color: transparent; }
.rp-btn:hover { background: rgba(255,255,255,0.14); }
.rp-btn:active { transform: scale(0.92); }
.rp-btn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.rp-btn svg { width: 20px; height: 20px; }
.rp-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; background: rgba(30,30,30,0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.18); opacity: 0; transition: opacity .35s ease .15s, background .2s ease; }
.rp.is-shown .rp-close { opacity: 1; }
.rp-close:hover { background: rgba(60,60,60,0.6); }

/* tela cheia nativa */
.rp-box:fullscreen { inset: 0 !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; transform: none !important; }
.rp-box:fullscreen video { object-fit: contain; }
.rp-box:-webkit-full-screen { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; transform: none !important; }
.rp-box:-webkit-full-screen video { object-fit: contain; }

/* ícone central (play/pause/seek feedback) */
.rp-flash { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(20,20,20,0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: scale(0.8); pointer-events: none; }
.rp-flash svg { width: 30px; height: 30px; }
.rp-flash.go { animation: rpFlash .6s ease forwards; }
@keyframes rpFlash { 0% { opacity: 0; transform: scale(.8); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
.rp-seekhint { position: absolute; top: 50%; transform: translateY(-50%); padding: .55rem .9rem; border-radius: 9999px; color: #fff; font: 600 .8rem/1 'Manrope', sans-serif; background: rgba(20,20,20,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.rp-seekhint.l { left: 8%; } .rp-seekhint.r { right: 8%; }
.rp-seekhint.on { opacity: 1; }

/* play central (telas de toque, como no YouTube mobile) */
.rp-center { display: none; position: absolute; z-index: 4; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(20,20,20,0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .35s ease, background .2s ease; }
.rp-center svg { width: 28px; height: 28px; }
@media (hover: none) { .rp-center { display: inline-flex; } .rp.is-idle .rp-center { opacity: 0; pointer-events: none; } }

/* barra de controles */
.rp-ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 40px 14px 10px; background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0)); transition: opacity .35s ease, transform .35s ease; }
.rp.is-idle .rp-ctrl { opacity: 0; }
.rp.is-idle .rp-ctrl { transform: translateY(6px); pointer-events: none; }
.rp-row { display: flex; align-items: center; gap: 2px; }
.rp-time { color: #fff; font: 600 .78rem/1 'Manrope', sans-serif; font-variant-numeric: tabular-nums; margin-left: 8px; opacity: .92; white-space: nowrap; }
.rp-sp { flex: 1; }
.rp-vol { display: flex; align-items: center; }
.rp-vol input { width: 0; opacity: 0; transition: width .25s ease, opacity .25s ease; accent-color: #fff; height: 3px; cursor: pointer; }
.rp-vol:hover input, .rp-vol:focus-within input { width: 72px; opacity: 1; margin: 0 6px 0 2px; }

/* scrubber */
.rp-bar { position: relative; height: 18px; margin: 0 6px 6px; cursor: pointer; touch-action: none; }
.rp-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255,255,255,0.25); overflow: hidden; transition: height .15s ease, margin .15s ease; }
.rp-bar:hover .rp-track, .rp-bar.drag .rp-track { height: 6px; margin-top: -3px; }
.rp-buf, .rp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.rp-buf { background: rgba(255,255,255,0.35); }
.rp-fill { background: #fff; }
.rp-knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); transform: scale(0); transition: transform .15s ease; pointer-events: none; }
.rp-bar:hover .rp-knob, .rp-bar.drag .rp-knob { transform: scale(1); }
.rp-tip { position: absolute; bottom: 22px; padding: .3rem .5rem; border-radius: 6px; background: rgba(20,20,20,0.75); color: #fff; font: 600 .72rem/1 'Manrope', sans-serif; font-variant-numeric: tabular-nums; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.rp-bar:hover .rp-tip, .rp-bar.drag .rp-tip { opacity: 1; }

.rp-credit { position: absolute; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.42); font: 500 10px/1.3 'Manrope', sans-serif; letter-spacing: .01em; opacity: 0; transition: opacity .4s ease .2s; padding: 0 16px; }
.rp-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rp.is-shown .rp-credit { opacity: 1; }

@media (max-width: 767px) {
  .rp-box { border-radius: 14px; }
  .rp-btn { width: 38px; height: 38px; }
  .rp-vol input { display: none; }
  .rp-bar .rp-knob { transform: scale(1); }
  .reel-thumb { width: 72px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-bg, .rp-close, .rp-credit, .rp-ctrl { transition: none; }
}
