/* Carrossel em leque (28/11/2026): ver js/fan-carousel.js */
.fcar { --fan-h: 26rem; display: grid; gap: 14px; justify-items: center; width: 100%; max-width: 100%; overflow: visible; outline: none; }
.fcar:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; border-radius: 18px; }
.fcar__stage { position: relative; width: 100%; height: calc(var(--fan-h) + 9rem); touch-action: pan-y; overflow: visible; }
.fcar-card { position: absolute; left: 50%; top: 1.5rem; margin: 0; height: var(--fan-h); width: calc(var(--fan-h) * var(--fan-ar, .5625)); transform-origin: 50% 100%; cursor: pointer; will-change: transform, opacity; }
.fcar-card .phone { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; padding: 6px; border-radius: 26px; box-shadow: 0 0 0 1px #4b4d47, 0 18px 40px #000a; }
.fcar-card .phone__screen { height: 100%; border-radius: 20px; }
.fcar-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fcar-card .asset-picture { display: contents; }
.fcar__caption { margin: 0; min-height: 1.4em; text-align: center; color: var(--paper); font-weight: 800; text-wrap: balance; }
.fcar__bar { display: flex; align-items: center; gap: 16px; }
.fcar__btn { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; cursor: pointer; color: rgba(242,241,234,.7);
  border: 1.5px solid rgba(242,241,234,.16); background: rgba(242,241,234,.06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,0,0,.4); transition: color .25s, border-color .25s, background .25s, transform .25s; }
.fcar__btn:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.fcar__btn:active { transform: scale(.94); }
.fcar__btn:focus-visible, .fcar__dot:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.fcar__dots { display: flex; align-items: center; gap: 4px; }
.fcar__dot { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.fcar__dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; translate: -50% -50%; border-radius: 99px; background: rgba(242,241,234,.3); transition: width .3s, background .3s; }
.fcar__dot[aria-current="true"]::after { width: 22px; background: var(--lime); }
@media (max-width: 1023px) { .fcar { --fan-h: 22rem; } }
@media (max-width: 639px) { .fcar { --fan-h: 19rem; } .fcar__stage { height: calc(var(--fan-h) + 4.5rem); } }
/* 29/11/2026: leque preso no celular; as cartas ficam dentro do palco */
.fcar--pinned { position: relative; z-index: 2; }
.fcar--pinned .fcar__stage { overflow-x: visible; overflow-y: clip; overflow-clip-margin: 8px; }
@media (max-width: 479px) { .fcar { --fan-h: 17rem; } }
@media (prefers-reduced-motion: reduce) { .fcar__btn, .fcar__dot::after { transition: none; } }
html.reduce .fcar__btn, html.reduce .fcar__dot::after { transition: none; }

/* capturas horizontais (sites, anúncios) em vez de telas de celular */
.fcar--wide { --fan-h: 15rem; }
.fcar--wide .fcar-card { cursor: pointer; }
.fcar-card:not(:has(.phone)) img { border-radius: 14px; box-shadow: 0 0 0 1px #4b4d47, 0 18px 40px #000a; background: #15171c; object-fit: cover; object-position: top; }
@media (max-width: 1023px) { .fcar--wide { --fan-h: 12rem; } }
@media (max-width: 639px) { .fcar--wide { --fan-h: 9.5rem; } .fcar--wide .fcar__stage { height: calc(var(--fan-h) + 11rem); } }
/* sem JavaScript: fileira rolável simples */
[data-fan]:not(.fcar) { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; margin: 0; }
[data-fan]:not(.fcar) > figure { flex: none; width: min(70vw, 260px); margin: 0; display: grid; gap: 8px; }
[data-fan]:not(.fcar) .phone { width: 100%; aspect-ratio: auto; }
[data-fan]:not(.fcar) .phone__screen { height: auto; }
[data-fan]:not(.fcar) img { display: block; width: 100%; height: auto; }
.abx-fan, .gpf-fan { margin: clamp(20px, 4vw, 48px) 0; }
