/* Stories: apresentação isolada da hero aprovada. */
.famous-gallery { padding: 26px 0 44px; background: radial-gradient(ellipse at 50% 60%, rgb(166 126 62 / 8%), transparent 66%), #050505; }
.gallery__heading { padding: 0 24px; text-align: center; }
.gallery__eyebrow { color: var(--gold-soft); font-size: 10px; line-height: 1.5; letter-spacing: .26em; text-transform: uppercase; }
.gallery__heading h2 { margin: 10px 0 0; font: 600 clamp(25px, 6.8vw, 36px)/1.14 var(--sans); letter-spacing: .025em; color: #f2e8d4; }
.gallery__heading h2 span { color: var(--gold-soft); font-size: .77em; font-weight: 400; }
.gallery__hint { margin: 16px 0 0; color: rgb(255 255 255 / 58%); font-size: 11px; line-height: 1.5; letter-spacing: .035em; }
.stories__rail { max-width: 1040px; margin: 28px auto 0; }
.stories__list { display: flex; gap: 18px; margin: 0; padding: 6px 24px 12px; overflow-x: auto; list-style: none; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 24px; overscroll-behavior-x: contain; }
.stories__list::-webkit-scrollbar { display: none; }
.stories__item { flex: 0 0 98px; min-width: 0; scroll-snap-align: start; }
.stories__link { display: block; color: #dfc798; text-decoration: none; text-align: center; border-radius: 50px 50px 4px 4px; }
.stories__avatar { display: block; width: 98px; height: 98px; padding: 4px; border: 1px solid #cfae69; border-radius: 50%; background: #080808; transition: border-color .25s ease, transform .3s ease; }
.stories__avatar img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: radial-gradient(ellipse at 50% 35%, #49351e, #12100c 75%); }
.stories__number { display: block; margin-top: 11px; color: #dbd1bf; font-size: 10px; line-height: 1.4; letter-spacing: .06em; }
.stories__link.is-viewed .stories__avatar { border-color: rgb(221 187 105 / 26%); }
.stories__browse-hint { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 17px 0 0; color: #a49478; font-size: 10px; letter-spacing: .06em; }
.stories__browse-hint span { color: #d5b478; font-size: 22px; line-height: 1; }

.gallery__nav { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; border: 1px solid rgb(221 187 105 / 30%); border-radius: 50%; background: rgb(0 0 0 / 12%); color: #e4c992; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.gallery__nav svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.4; }
.gallery__nav:focus-visible, .stories__link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.gallery__nav:active { background: rgb(221 187 105 / 18%); }
.stories__playback[aria-pressed="false"] .stories__play-icon, .stories__playback[aria-pressed="true"] .stories__pause-icon { display: none; }

.gallery-lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #040404; color: #f1e6d0; }
.gallery-lightbox:not([open]) { display: none; }
.gallery-lightbox::backdrop { background: rgb(0 0 0 / 95%); }
.gallery-lightbox[open] { animation: stories-reveal .22s ease-out both; }
.stories-viewer { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 14px; width: min(100%, 480px); height: 100%; margin: auto; padding: max(16px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse at 50% 48%, rgb(116 82 37 / 21%), transparent 66%), #090807; }
.stories__progress { display: flex; gap: 4px; height: 3px; }
.stories__progress > span { flex: 1; overflow: hidden; border-radius: 2px; background: rgb(240 219 171 / 21%); }
.stories__progress i { display: block; width: 100%; height: 100%; background: #ecd6a9; transform: scaleX(0); transform-origin: left; }
.stories__header { display: flex; align-items: center; gap: 10px; }
.stories__identity { flex: 1; min-width: 0; padding-left: 4px; }
.stories__identity h2 { margin: 0; font: 400 14px/1.4 var(--sans); letter-spacing: .06em; }
.stories__identity p { margin: 4px 0 0; color: #b6a585; font-size: 10px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.stories__image { position: relative; min-height: 0; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; }
.stories__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.stories__zone { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; width: 32%; min-width: 48px; padding: 0; border: 0; color: #e4c992; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stories__zone--previous { left: 0; justify-content: flex-start; }
.stories__zone--next { right: 0; justify-content: flex-end; }
.stories__zone span { display: grid; place-items: center; width: 36px; height: 48px; border: 1px solid rgb(221 187 105 / 20%); border-radius: 24px; background: rgb(0 0 0 / 24%); }
.stories__zone svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.2; }
.stories__zone:disabled { cursor: default; }
.stories__zone:disabled span { opacity: 0; }
.stories__zone:focus-visible { outline: none; }
.stories__zone:focus-visible span { outline: 2px solid #fff; outline-offset: 3px; }
.stories__footer { text-align: center; }
.stories__footer p { margin: 0; color: #c6b493; font-size: 10px; line-height: 1.5; letter-spacing: .035em; }
@keyframes stories-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) {
  .gallery__nav:hover { background: rgb(221 187 105 / 10%); border-color: #ddbb69; }
  .stories__link:hover .stories__avatar { transform: translateY(-3px); border-color: #f3dfb7; }
  .stories__zone:hover:not(:disabled) span { background: rgb(0 0 0 / 52%); border-color: #ddbb69; }
}
@media (min-width: 768px) {
  .famous-gallery { padding-top: 38px; padding-bottom: 58px; }
  .gallery__heading h2 { font-size: 38px; }
  .gallery__hint { font-size: 12px; }
  .stories__rail { margin-top: 34px; padding: 0 32px; }
  .stories__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 25px 12px; padding: 6px 0; overflow: visible; }
  .stories__item { justify-self: center; width: min(100%, 114px); }
  .stories__avatar { width: 100%; height: auto; aspect-ratio: 1; }
  .stories__avatar img { width: 100%; height: auto; aspect-ratio: 1; }
  .stories__browse-hint { display: none; }
  .stories-viewer { border-inline: 1px solid rgb(221 187 105 / 12%); }
}
@media (prefers-reduced-motion: reduce) {
  .stories__avatar, .gallery__nav { transition: none; }
  .gallery-lightbox[open] { animation: none; }
}
