.paths {
  position: relative;
  z-index: 2;
  min-height: auto;
  padding: clamp(48px, 6vw, 88px) var(--pad-x) 0;
  background: var(--bg-dark);
  color: var(--paper);
}

html[data-returning] .paths { padding-top: clamp(62px, 7vw, 96px); }

.paths__inner { width: min(100%, 1220px); margin-inline: auto; }

.paths__head { max-width: 900px; margin-bottom: clamp(30px, 4vw, 52px); }
.paths__eyebrow { margin-bottom: 12px; color: rgba(255,255,255,.46); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.paths__headline {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.04em;
}

.paths__replay { display: none; margin-top: 18px; color: rgba(255,255,255,.58); font-size: 12px; font-weight: 700; }
html[data-returning] .paths__replay { display: inline-flex; }
.paths__replay:hover,
.paths__replay:focus-visible { color: var(--paper); }
.paths__replay:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }

.paths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: auto; gap: clamp(14px, 2vw, 24px); }
.paths__entry { position:relative; display:flex; min-width:0; }
.paths__entry>.paths__cover { width:100%; }
.paths__film { position:absolute; inset:0; }
.paths__tour { position:absolute; inset:0; z-index:3; opacity:0; pointer-events:none; transition:opacity 320ms ease; }
.paths__tour.is-active { opacity:1; }
.paths__preview.is-paused { opacity:1; }
.paths__motion-control { position:absolute; top:12px; right:12px; z-index:6; width:44px; height:44px; display:grid; place-items:center; border-radius:50%; border:1px solid #ffffff30; background:#0a0a0ac9; color:#fff; font-size:14px; cursor:pointer; opacity:0; transition:opacity 180ms; }
.paths__entry:hover>.paths__motion-control,.paths__entry:focus-within>.paths__motion-control { opacity:1; }
.paths__motion-control:focus-visible { outline:2px solid var(--paper); outline-offset:3px; }
@media(hover:none){.paths__motion-control{opacity:1;width:36px;height:36px;top:8px;right:8px}.paths__motion-control:before{content:'';position:absolute;inset:-4px}}

.paths__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: var(--surface-night);
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--dur-norm) var(--ease-out), border-color var(--dur-micro), box-shadow var(--dur-norm) var(--ease-out);
}

.paths__cover:hover,
.paths__cover:focus-visible { transform: translateY(-7px); border-color: rgba(255,255,255,.34); box-shadow: 0 34px 90px rgba(0,0,0,.5); }
.paths__cover:focus-visible { outline: 3px solid var(--paper); outline-offset: 5px; }
.paths__cover:active { transform: translateY(-2px) scale(.994); }

.paths__media { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-night); }
.paths__picture { display: block; position: absolute; inset: 0; }
.paths__cover-image,
.paths__preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1s var(--ease-out), filter var(--dur-norm) var(--ease-out);
}

.paths__cover:hover .paths__cover-image { transform: scale(1.035); }
.paths__cover--starth .paths__cover-image { object-position: center; }

.paths__cover-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.22), transparent 14%);
}

.paths__preview { z-index: 1; opacity: 0; pointer-events: none; }
.paths__preview.is-playing { opacity: 1; }
.paths__format {
  display: block;
  margin-top: 18px;
  color: var(--paper);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.5;
}

.paths__cover-copy { position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px; }
.paths__cover-copy .paths__fit { margin-bottom: 24px; }
.paths__cover-copy .paths__action { margin-top: auto; }
.paths__name {
  display: block;
  max-width: 560px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.045em;
}

.paths__action {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.paths__action i { font-size: 20px; font-style: normal; transition: transform var(--dur-norm) var(--ease-out); }
.paths__cover:hover .paths__action i { transform: translate(4px, -4px); }

@media (max-width: 900px) {
  .paths { padding-top: 52px; }
  html[data-returning] .paths { padding-top: 62px; }
  .paths__head { margin-bottom: 28px; }
  .paths__headline { font-size: clamp(34px, 10vw, 48px); }
  .paths__grid { grid-template-columns: 1fr; }
  .paths__cover { min-height: 0; border-radius: 24px; }
  .paths__media { aspect-ratio: 4 / 3; }
  .paths__cover-copy { padding: 22px 20px; }
  .paths__name { font-size: clamp(36px, 11vw, 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .paths__motion-control { display:none; }
  .paths__cover,
  .paths__cover-image,
  .paths__preview,
  .paths__action i { transition: none; }
}

/* A escolha precisa entrar junto com a saída do hero, sem uma dobra vazia. */
.paths__fit { display: block; max-width: 380px; margin-top: 18px; color: #d0d4d0; font-size: 14px; line-height: 1.7; }
.paths__faq-band {
  margin-inline: calc(-1 * var(--pad-x));
  padding: clamp(28px, 4vw, 56px) var(--pad-x);
  background: var(--bg-dark);
}
.paths__faq { max-width: 860px; margin: 0 auto; }
.paths[data-faq-transition],
.paths__faq-band[data-faq-transition] {
  background: var(--faq-surface);
  color: var(--faq-ink);
}
.paths[data-faq-transition] :is(.paths__headline, .paths__eyebrow, .paths__replay) { color: var(--faq-ink); }
@media(max-width:900px) { .paths__fit { max-width: 380px; font-size: 14px; } }

.paths__logo { display: block; width: min(100%,470px); height: auto; }
.paths__cover--escala .scale-logo { width: min(100%,360px); }
.paths__tagline { display: block; margin-top: 14px; color: #ff8a45; font-size: clamp(18px,2vw,23px); font-weight: 650; line-height: 1.25; letter-spacing: -.02em; }
.paths__cover--escala .paths__action { color: #ff8a45; }
.paths__cover--escala .paths__format { margin-top: 14px; }
.paths__cover--escala .paths__cover-copy { background: #100c09; }
.paths__cover--starth .paths__cover-copy { background: #080b02; }
.paths__cover--starth .paths__format { color: var(--brand); }
.paths__cover--starth .paths__action { color: var(--brand); }

.paths__cover--starth .paths__preview { object-position: center; }

.static-fallback .static-fallback__cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
