:root {
  --bg: #090b10;
  --surface: #131720;
  --surface-2: #1c222d;
  --text: #f7eff2;
  --muted: #b7bdc9;
  --line: rgba(255, 255, 255, 0.13);
  --primary: #ff475b;
  --primary-2: #ff7b5f;
  --mint: #67e6a2;
  --cyan: #75d8ff;
  --amber: #ffd166;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  overflow: visible;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(8, 10, 15, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.topbar.solid,
.topbar.scrolled {
  background: rgba(10, 12, 18, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-reel {
  width: 128px;
  height: 128px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.42));
}

.topbar .brand {
  position: relative;
  min-height: 28px;
  padding-left: 190px;
}

.topbar .brand-reel {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.footer a:hover {
  color: var(--text);
}

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

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.nav-cta:hover {
  border-color: rgba(255, 71, 91, 0.56);
  background: rgba(255, 71, 91, 0.12);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 112px clamp(20px, 5vw, 72px) 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.72;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 15, 0.88), rgba(8, 10, 15, 0.48) 46%, rgba(8, 10, 15, 0.82)),
    linear-gradient(0deg, #090b10 0, rgba(9, 11, 16, 0.52) 34%, rgba(9, 11, 16, 0.05) 76%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 0.16em;
}

.hero-title-icon {
  width: 0.92em;
  height: 0.92em;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy,
.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-copy {
  max-width: 700px;
  margin: 22px 0 0;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 900;
  cursor: pointer;
}

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

.button.primary:hover {
  background: #ff5c6d;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.image-note {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.notice-band {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px clamp(20px, 5vw, 72px);
  background: #11211d;
  border-top: 1px solid rgba(103, 230, 162, 0.22);
  border-bottom: 1px solid rgba(103, 230, 162, 0.22);
}

.notice-band p {
  max-width: var(--max);
  margin: 0;
  color: #d8eee5;
  line-height: 1.5;
}

.notice-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: #092017;
  font-weight: 900;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.section-heading {
  max-width: 760px;
}

.lead {
  margin: 0;
}

.intro-copy {
  min-width: 0;
}

.intro-shot {
  position: relative;
  margin: 28px 0 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.intro-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.intro-shot figcaption {
  padding: 2px 2px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature,
.step {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature::before,
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feature::before {
  z-index: 0;
  background-image: var(--feature-image);
  background-size: cover;
  background-position: center;
  opacity: 0.46;
  transform: scale(1.02);
}

.feature::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(19, 23, 32, 0.62), rgba(19, 23, 32, 0.86)),
    linear-gradient(90deg, rgba(9, 11, 16, 0.5), rgba(9, 11, 16, 0.2));
}

.feature:nth-child(1) {
  --feature-image: url("assets/Biblioteca%20visual.png");
}

.feature:nth-child(2) {
  --feature-image: url("assets/Perfis%20independentes.png");
}

.feature:nth-child(3) {
  --feature-image: url("assets/Historico%20e%20retomada.png");
}

.feature:nth-child(3)::before {
  background-position: center 88%;
}

.feature:nth-child(4) {
  --feature-image: url("assets/S%C3%A9ries%20com%20continuidade.jpg");
}

.feature > * {
  position: relative;
  z-index: 2;
}

.feature-icon,
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 32px;
  margin-bottom: 36px;
  border-radius: 8px;
  background: rgba(117, 216, 255, 0.12);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.feature p,
.step p,
.product-shot p,
.download p,
.legal p,
.faq p {
  color: var(--muted);
  line-height: 1.55;
}

.workflow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.step span {
  background: rgba(255, 209, 102, 0.14);
  color: var(--amber);
}

.step::before,
.step::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.step::before {
  z-index: 0;
  background-image: var(--workflow-image);
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transform: scale(1.02);
}

.step::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(19, 23, 32, 0.54), rgba(19, 23, 32, 0.88)),
    linear-gradient(90deg, rgba(9, 11, 16, 0.64), rgba(9, 11, 16, 0.3));
}

.step > * {
  position: relative;
  z-index: 2;
}

.workflow-step-list {
  --workflow-image: url("assets/workflow-m3u-lista.png");
}

.workflow-step-server {
  --workflow-image: url("assets/workflow-servidor-organiza.png");
}

.workflow-step-watch {
  --workflow-image: url("assets/workflow-assista-conforto.png");
}

.product-shot {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
}

.product-shot figure {
  margin: 0;
}

.product-shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid rgba(255, 71, 91, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 71, 91, 0.18), rgba(117, 216, 255, 0.09));
}

.download-copy {
  max-width: 700px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 900;
}

.faq p {
  margin: 0 0 22px;
  max-width: 850px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  max-width: 560px;
}

.footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.footer-brand {
  color: var(--text);
}

.footer-brand .brand-reel {
  width: 64px;
  height: 64px;
}

.legal-page {
  padding-top: 86px;
}

.legal {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.legal h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.legal section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  font-size: 28px;
}

.legal a {
  color: #d9f4ff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-list {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-alert {
  padding: 16px 18px;
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.09);
  color: #ffe4a3 !important;
}

@media (max-width: 940px) {
  .topbar {
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .intro,
  .product-shot {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .download {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 12px 16px;
  }

  .topbar .brand {
    padding-left: 132px;
  }

  .topbar .brand-reel {
    width: 92px;
    height: 92px;
  }

  .nav-actions,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding: 92px 20px 48px;
  }

  .hero-content {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  h1 {
    font-size: clamp(38px, 10.5vw, 44px);
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.45;
    width: calc(100vw - 76px);
    max-width: 100%;
  }

  .image-note {
    max-width: calc(100vw - 76px);
  }

  .hero-actions,
  .download-actions,
  .button {
    width: 100%;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature,
  .step {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }
}
