/* Destaque grande no topo da home: troca de site automática */
.stage { padding: 0 var(--gutter); }
.stage-view { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; height: clamp(320px, min(78vh, 56.25vw), 820px); cursor: zoom-in; }
html.js .stage-view { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s cubic-bezier(.77, 0, .18, 1); }
html.js.ready .stage-view { clip-path: inset(0 0 0 0); }

.slide { position: absolute; inset: 0; display: block; clip-path: inset(0 100% 0 0); z-index: 1; overflow: hidden; }
.slide.is-prev { clip-path: inset(0); z-index: 1; }
.slide.is-on { clip-path: inset(0); z-index: 2; transition: clip-path 1.05s cubic-bezier(.77, 0, .18, 1); }
.slide img { position: absolute; display: block; }
.slide .bg { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(34px) saturate(1.15); scale: 1.2; opacity: .9; }
.slide .main { inset: 0; width: 100%; height: 100%; object-fit: contain; scale: 1.07; transition: scale 7s cubic-bezier(.2, .6, .2, 1); }
.slide.is-on .main, .slide.is-prev .main { scale: 1; }

.stage-hint { position: absolute; left: 12px; bottom: 12px; z-index: 5; background: var(--lime); color: var(--lime-ink); font-weight: 700; padding: 6px 10px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.stage-view:hover .stage-hint, .stage-view:focus-within .stage-hint { opacity: 1; transform: none; }
.stage-nav { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: flex; gap: 6px; }
.stage-nav button { width: 46px; height: 46px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; transition: background .2s, transform .2s; }
.stage-nav button:hover { background: var(--lime); transform: translateY(-2px); }

/* índice com barra de progresso */
.stage-bars { list-style: none; margin: var(--gutter) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.bar { position: relative; width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 4px; align-items: baseline; text-align: left; padding: 12px 0 0; border: 0; background: none; color: var(--mute); font: inherit; font-weight: 600; cursor: pointer; transition: color .3s; }
.bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.bar .fill { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--ink); }
.bar.is-on { color: var(--ink); }
.bar.is-on .fill { width: calc(var(--p, 0) * 100%); background: var(--lime); }
.bar.done .fill { width: 100%; background: var(--ink); }
.bar:hover { color: var(--ink); }
.bar b { font-weight: 700; letter-spacing: -.01em; }

@media (max-width: 980px) {
  .stage-view { height: auto; aspect-ratio: 16 / 10; cursor: default; }
  .stage-hint { display: none; }
  .stage-nav button { width: 40px; height: 40px; }
  .stage-bars { grid-template-columns: 1fr 1fr; row-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-on { transition: none; }
  .slide .main { scale: 1; transition: none; }
}
