/* ==========================================================================
   Otto — Beta público v2
   Paleta paper / coral · ritmo Airbnb · espacialidade de estação
   ========================================================================== */

:root {
  --paper:         #fffdf9;
  --paper-2:       #fbf6ed;
  --wash:          #f4ebdd;
  --line:          #ede3d3;
  --line-strong:   #dccdb3;
  --ink:           #161513;
  --ink-2:         #2a2723;
  --muted:         #6c645a;
  --muted-soft:    #948a7c;

  --accent:        #e3583f;
  --accent-hot:    #ef6a4f;
  --accent-deep:   #b94127;
  --accent-soft:   rgba(227, 88, 63, 0.10);
  --accent-wash:   rgba(227, 88, 63, 0.05);

  --mint:          #2e6b5a;
  --mint-soft:     rgba(46, 107, 90, 0.10);

  --shadow-xl:     0 32px 70px rgba(35, 26, 16, 0.12);
  --shadow-lg:     0 18px 45px rgba(35, 26, 16, 0.09);
  --shadow-md:     0 10px 25px rgba(35, 26, 16, 0.05);

  --radius-xl:     32px;
  --radius-lg:     24px;
  --radius-md:     18px;
  --radius-sm:     12px;

  --content:       1360px;
  --content-wide:  1460px;

  --serif:         "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:          "Inter", -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", sans-serif;
  --mono:          "SF Mono", "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas, monospace;

  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(227, 88, 63, 0.08), transparent 55%),
    radial-gradient(700px 500px at -10% 30%, rgba(46, 107, 90, 0.05), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover { color: var(--accent); }

img { display: block; max-width: 100%; object-fit: cover; }

::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.wrap--wide {
  width: min(calc(100% - 48px), var(--content-wide));
  margin: 0 auto;
}

.page {
  padding: 30px 0 100px;
  display: grid;
  gap: 78px;
}

.stack { display: grid; gap: 18px; }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(255, 253, 249, 0.82);
  border-bottom: 1px solid rgba(237, 227, 211, 0.7);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  position: relative;
}

.brand-path {
  color: var(--muted);
  font-weight: 500;
}

.brand-path::before {
  content: "/";
  margin: 0 10px;
  color: var(--line-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav a:hover {
  background: rgba(227, 88, 63, 0.06);
  color: var(--ink);
}

.nav a.is-active {
  background: var(--ink);
  color: var(--paper);
}

.nav a.is-active:hover {
  background: var(--ink-2);
  color: var(--paper);
}

.beta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(227, 88, 63, 0.22);
  color: var(--accent-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beta-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* --------------------------------------------------------------------------
   Type system
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.eyebrow--muted {
  color: var(--muted-soft);
}

.eyebrow--muted::before {
  background: var(--line-strong);
}

.display-xl {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(4.2rem, 10.5vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.display-lg {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.032em;
}

.display-md {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.028em;
}

.display-sm {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--ink-2);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 54ch;
}

.body {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.mono {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.button.primary:hover {
  background: var(--ink-2);
  color: var(--paper);
}

.button.accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.button.accent:hover {
  background: var(--accent-hot);
  border-color: var(--accent-hot);
  color: #fff;
}

.button .arrow {
  transition: transform 0.25s var(--ease);
}

.button:hover .arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Hero (asymmetric, editorial)
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 40px;
  align-items: end;
  padding: 28px 0 16px;
}

.hero-copy { display: grid; gap: 26px; }

.hero-title {
  max-width: 11ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--wash);
  isolation: isolate;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.hero-stage:hover img { transform: scale(1.04); }

.stage-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.04) 0%, rgba(18, 17, 16, 0.02) 30%, rgba(18, 17, 16, 0.6) 100%);
  pointer-events: none;
}

.stage-chip {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.88);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.stage-chip .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.stage-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  z-index: 2;
}

.stage-caption h3 {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 700;
}

.stage-caption p {
  margin-top: 6px;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.95);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
}

.play-badge::before {
  content: "";
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--ink);
}

/* --------------------------------------------------------------------------
   Main player — YouTube-ready field
   -------------------------------------------------------------------------- */

.player {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 22px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.player-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0c0a08;
  isolation: isolate;
}

.player-screen-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.96) brightness(0.88);
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.player-screen:hover .player-screen-poster {
  transform: scale(1.03);
  filter: saturate(1.04) brightness(0.95);
}

.player-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

/*
  YouTube / Vimeo embed slot
  Paste an <iframe src="https://www.youtube.com/embed/VIDEO_ID" ...></iframe>
  inside .player-screen-embed. When present, the poster fades out via the
  :has() selector below (falls back gracefully in older browsers — the iframe
  will simply sit on top of the poster).
*/
.player-screen-embed {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.player-screen-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.player-screen:has(.player-screen-embed iframe) .player-screen-poster,
.player-screen:has(.player-screen-embed iframe)::after {
  opacity: 0;
}

.player-screen-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.55);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.player-screen-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 88, 63, 0.28);
}

.player-screen-playcta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(255, 253, 249, 0.8);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.player-screen-playcta::before {
  content: "";
  margin-left: 6px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--ink);
}

.player-screen:hover .player-screen-playcta {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
}

.player-screen:hover .player-screen-playcta::before {
  border-left-color: #fff;
}

.player-screen-caption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
}

.player-screen-caption h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.player-screen-caption .meta {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* player side card */

.player-side { display: grid; gap: 16px; align-content: space-between; }

.player-side-head {
  display: grid;
  gap: 6px;
}

.player-side h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.08;
  font-weight: 700;
}

.player-side p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.player-side-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.player-side-stat {
  padding: 14px 14px 16px;
  background: var(--paper);
  display: grid;
  gap: 6px;
}

.player-side-stat .k {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.player-side-stat .v {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.15;
}

.player-side-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }

/* --------------------------------------------------------------------------
   Section head
   -------------------------------------------------------------------------- */

.section {
  display: grid;
  gap: 28px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.section-head-copy { display: grid; gap: 14px; max-width: 58ch; }

.section-head h2 { margin-top: 4px; }

.section-head-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Scroll rails (Airbnb-like)
   -------------------------------------------------------------------------- */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.rail::-webkit-scrollbar { height: 10px; }
.rail::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.card {
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: grid;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.card-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--wash);
}

.card-cover img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.card:hover .card-cover img { transform: scale(1.06); }

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.9);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.card-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.card-play::before {
  content: "";
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--ink);
  transition: border-left-color 0.25s var(--ease);
}

.card:hover .card-play {
  transform: scale(1.1);
  background: var(--accent);
}

.card:hover .card-play::before { border-left-color: #fff; }

.card-body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 6px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-body h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Station platforms (Partidas)
   -------------------------------------------------------------------------- */

.station {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.station-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(227, 88, 63, 0.04), transparent 80%);
}

.station-head h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.station-head .mono { color: var(--muted); }

.station-list {
  display: grid;
}

.station-row {
  display: grid;
  grid-template-columns: 72px 110px minmax(0, 1fr) 160px 110px;
  gap: 22px;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.25s var(--ease);
}

.station-row:last-child { border-bottom: 0; }

.station-row:hover {
  background: rgba(227, 88, 63, 0.03);
}

.station-plat {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.station-plat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-top: 2px;
}

.station-time {
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.station-time small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-top: 4px;
}

.station-dest h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.station-dest p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 48ch;
}

.station-track {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.station-track strong {
  color: var(--ink);
  font-weight: 700;
}

.station-state {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.state--live {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.state--live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 88, 63, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

.state--soon {
  background: var(--mint-soft);
  color: var(--mint);
}

.state--soon::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--mint);
}

.state--plan {
  background: rgba(108, 100, 90, 0.08);
  color: var(--muted);
}

.state--plan::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--muted-soft);
}

/* --------------------------------------------------------------------------
   Cenas grid (Airbnb 4-col portfolio)
   -------------------------------------------------------------------------- */

.cenas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scene {
  display: grid;
  gap: 10px;
  transition: transform 0.3s var(--ease);
}

.scene:hover { transform: translateY(-2px); }

.scene-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--line);
}

.scene-cover img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.scene:hover .scene-cover img { transform: scale(1.05); }

.scene-num {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scene-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  padding: 0 4px;
}

.scene-label h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.scene-label .mono { font-size: 0.72rem; }

/* --------------------------------------------------------------------------
   Editorial split (feature)
   -------------------------------------------------------------------------- */

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: stretch;
}

.editorial-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 520px;
  background: var(--wash);
  border: 1px solid var(--line);
}

.editorial-media img { width: 100%; height: 100%; }

.editorial-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.editorial-caption {
  position: absolute;
  bottom: 22px;
  left: 24px;
  right: 24px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.editorial-caption .mono {
  color: rgba(255, 255, 255, 0.75);
}

.editorial-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}

.editorial-copy {
  padding: 48px 42px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 22px;
}

.pull {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 28ch;
  position: relative;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}

.pull footer {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Chapters (editorial strip)
   -------------------------------------------------------------------------- */

.chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chapter {
  padding: 34px 34px 38px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 14px;
  position: relative;
}

.chapter:last-child { border-right: 0; }

.chapter-num {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}

.chapter h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.chapter p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta {
  padding: 48px 52px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(227, 88, 63, 0.35), transparent 70%);
  pointer-events: none;
}

.cta h2 {
  color: var(--paper);
  position: relative;
}

.cta p {
  color: rgba(255, 253, 249, 0.68);
  max-width: 50ch;
  margin-top: 12px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.cta .eyebrow { color: var(--accent-hot); position: relative; }
.cta .eyebrow::before { background: var(--accent-hot); }

.cta-actions {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta .button {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
}

.cta .button.accent {
  background: var(--accent);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Site footer
   -------------------------------------------------------------------------- */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding: 42px 0 20px;
  border-top: 1px solid var(--line);
}

.footer-brand { display: grid; gap: 12px; }

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 32ch; }

.footer-col h5 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-col a:hover { color: var(--accent); }

.footer-meta {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-soft);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Notice
   -------------------------------------------------------------------------- */

.notice {
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--wash);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.notice code {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(227, 88, 63, 0.1);
  color: var(--accent-deep);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

.rise {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 700ms var(--ease) forwards;
}

.rise-1 { animation-delay: 60ms; }
.rise-2 { animation-delay: 160ms; }
.rise-3 { animation-delay: 240ms; }
.rise-4 { animation-delay: 320ms; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Immersive player page
   -------------------------------------------------------------------------- */

.immersive {
  display: grid;
  gap: 22px;
}

.immersive-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0c0a08;
  box-shadow: var(--shadow-xl);
}

.immersive-screen-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) brightness(0.82);
}

.immersive-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6));
}

.immersive-screen-embed { position: absolute; inset: 0; z-index: 2; }
.immersive-screen-embed iframe { width: 100%; height: 100%; border: 0; }

.immersive-screen:has(.immersive-screen-embed iframe) .immersive-screen-poster,
.immersive-screen:has(.immersive-screen-embed iframe)::after { opacity: 0; }

.immersive-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.immersive-play::before {
  content: "";
  margin-left: 10px;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 34px solid var(--ink);
  transition: border-left-color 0.35s var(--ease);
}

.immersive-screen:hover .immersive-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
}

.immersive-screen:hover .immersive-play::before { border-left-color: #fff; }

.immersive-title {
  position: absolute;
  left: 32px;
  bottom: 26px;
  right: 32px;
  z-index: 3;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.immersive-title h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  max-width: 22ch;
}

.immersive-title .mono {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.immersive-info {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.immersive-info .stack h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.immersive-info .stack p {
  color: var(--muted);
  font-size: 0.92rem;
}

.immersive-info .k {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.immersive-info .v {
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.98rem;
}

.paste-hint {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.paste-hint strong { color: var(--ink); font-weight: 700; }

.paste-hint code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--wash);
  color: var(--accent-deep);
  font-size: 0.76rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1160px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-stage { min-height: 500px; }
  .player { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-media { min-height: 420px; }
  .editorial-copy { padding: 32px 28px; }
  .cenas { grid-template-columns: repeat(3, 1fr); }
  .chapters { grid-template-columns: 1fr; }
  .chapter { border-right: 0; border-bottom: 1px solid var(--line); }
  .chapter:last-child { border-bottom: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .immersive-info { grid-template-columns: 1fr 1fr; }
  .station-row { grid-template-columns: 60px 90px minmax(0, 1fr) 100px; }
  .station-track { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .page { gap: 48px; padding: 18px 0 64px; }
  .wrap, .wrap--wide { width: calc(100% - 28px); }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 0; }
  .nav { flex-wrap: wrap; }
  .hero { padding: 12px 0; }
  .hero-stage { min-height: 380px; }
  .stage-caption { flex-direction: column; align-items: flex-start; bottom: 18px; left: 20px; right: 20px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .player { padding: 20px; }
  .player-side-stats { grid-template-columns: 1fr 1fr; }
  .player-side-stat:last-child { grid-column: span 2; }
  .cenas { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .station-head { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; }
  .station-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }
  .station-state { justify-self: start; }
  .editorial-copy { padding: 26px 22px; }
  .cta { grid-template-columns: 1fr; padding: 32px 24px; gap: 20px; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 16px; }
  .footer-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
  .immersive-info { grid-template-columns: 1fr; padding: 20px; }
  .immersive-title { left: 20px; right: 20px; bottom: 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .immersive-play { width: 80px; height: 80px; }
  .immersive-play::before { border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 22px solid var(--ink); margin-left: 6px; }
}
