/* ================================
   RESET
================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.16),
      rgba(0, 0, 0, 0.16)
    ),
    url("./background.png");

  background-size: 520px;
  background-repeat: repeat;
  background-position: center;

  color: #151515;
  font-family: "Share Tech Mono", monospace;
  overflow-x: hidden;
}

/* ================================
   PAGE FRAME
================================ */

.page {
  position: relative;
  min-height: calc(100vh - 28px);
  margin: 14px;
  padding-top: 58px;
  border: 3px solid #151515;
  overflow: hidden;
  background: #eee8dc;
}

.page::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(20, 20, 20, 0.28);
  pointer-events: none;
  z-index: 80;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 90;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.045) 0px,
      rgba(0, 0, 0, 0.045) 1px,
      transparent 1px,
      transparent 5px
    );

  mix-blend-mode: multiply;
  opacity: 0.72;
  animation: vhsNoise 0.22s infinite;
}

/* ================================
   TOPBAR
================================ */

.topbar {
  position: fixed;
  top: 15px;
  left: 17px;
  right: 17px;
  height: 58px;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: start;
  z-index: 120;
}

.topbar::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -3px;
  right: -3px;
  height: 15px;
  background: #151515;
  pointer-events: none;
}

.nav {
  height: 42px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 7vw, 120px);
  padding: 0 58px;

  margin-top: 15px;
  color: #111;

  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.nav a {
  color: #111;
  text-decoration: none;
  opacity: 0.9;
  transition:
    color 0.18s ease,
    opacity 0.18s ease,
    text-shadow 0.18s ease;
}

.nav a.active::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.9);
  vertical-align: -1px;
  animation: recBlink 1.1s steps(2, start) infinite;
}

.topbar.is-over-dark .nav a {
  color: #eee8dc;
  opacity: 0.96;
  text-shadow: 0 0 8px rgba(238, 232, 220, 0.28);
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.brand-tab {
  position: relative;
  height: 70px;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.42),
      rgba(0, 0, 0, 0.68)
    ),
    url("./background.png");

  background-size: 360px;
  background-repeat: repeat;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  clip-path: polygon(
    0 0,
    100% 0,
    84% 100%,
    16% 100%
  );

  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-tab::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 5px
    );

  opacity: 0.45;
}

.brand-tab img {
  position: relative;
  z-index: 2;
  width: 128px;
  max-height: 62px;
  object-fit: contain;
}

/* ================================
   HERO
================================ */

.hero {
  --hero-title-top: clamp(124px, 11vh, 164px);
  --hero-title-subtitle-gap: clamp(24px, 3vh, 36px);
  --hero-header-to-grid-gap: clamp(58px, 6vh, 84px);
  --hero-tape-to-button-gap: clamp(52px, 6vh, 74px);
  --hero-cta-height: 54px;
  --hero-tag-cover-offset: 8px;

  position: relative;
  z-index: 10;
  min-height: calc(100vh - 86px);
  padding: var(--hero-title-top) 56px clamp(76px, 8vh, 104px);

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  background: #eee8dc;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -80px;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 44%,
      rgba(0, 0, 0, 0.08) 100%
    );
}

.hero-title {
  position: relative;
  z-index: 4;

  width: 100%;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 60px);

  line-height: 0.82;
  transform: scaleY(1.08);
  opacity: 0.98;
}

.hero-title span {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(72px, 15vw, 220px);
  letter-spacing: -0.035em;
  color: #111;
  text-transform: uppercase;

  text-shadow:
    2px 0 rgba(255, 0, 70, 0.16),
    -2px 0 rgba(0, 110, 255, 0.12);

  animation: titleGlitch 3.8s infinite;
}

.subtitle {
  position: relative;
  z-index: 4;

  margin-top: var(--hero-title-subtitle-gap);
  text-align: center;

  color: #222;
  font-size: clamp(15px, 2vw, 24px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.crime-tape {
  position: absolute;
  top: clamp(28px, 4vh, 48px);
  left: 50%;
  z-index: 6;

  width: 124vw;
  height: clamp(34px, 3vw, 46px);

  transform: translateX(-50%) rotate(-3.2deg);
  transform-origin: center;
  pointer-events: none;
}

.crime-tape::before {
  display: none;
}

.crime-tape-track {
  position: relative;
  z-index: 1;

  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);

  color: #111;
  background: #ffc928;

  overflow: hidden;
}

.crime-tape-track span {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: clamp(11px, 1vw, 15px);
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ================================
   CONTENT GRID
================================ */

.content-grid {
  position: relative;
  z-index: 4;

  width: 100%;
  max-width: 1540px;
  margin-top: var(--hero-header-to-grid-gap);
  margin-right: auto;
  margin-left: auto;

  display: grid;
  grid-template-columns: minmax(300px, 560px) minmax(300px, 460px) minmax(300px, 560px);
  gap: clamp(28px, 4vw, 68px);
  align-items: center;
  justify-content: center;
}

/* ================================
   TEXT BLOCKS
================================ */

.text-block {
  position: relative;
  width: min(100%, 560px);
  min-height: 280px;
  padding: 38px 38px 34px;

  color: #252525;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.32),
      rgba(255, 255, 255, 0) 42%
    ),
    linear-gradient(
      #e8d1a1,
      #d9bc84
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(94, 67, 34, 0.06) 0px,
      rgba(94, 67, 34, 0.06) 1px,
      transparent 1px,
      transparent 10px
    );
  border: 1px solid rgba(52, 37, 20, 0.46);

  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.55;
  letter-spacing: 0.055em;
  text-transform: uppercase;

  box-shadow:
    0 22px 34px rgba(17, 17, 17, 0.18),
    8px 8px 0 rgba(17, 17, 17, 0.08);
  isolation: isolate;
}

.text-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(255, 255, 255, 0.24),
      transparent 22%
    ),
    radial-gradient(
      circle at 78% 72%,
      rgba(82, 54, 26, 0.12),
      transparent 28%
    ),
    repeating-linear-gradient(
      96deg,
      rgba(52, 37, 20, 0.035) 0px,
      rgba(52, 37, 20, 0.035) 1px,
      transparent 1px,
      transparent 7px
    );
  mix-blend-mode: multiply;
  pointer-events: none;
}

.text-kicker {
  position: relative;
  z-index: 2;

  display: block;
  margin-bottom: 16px;

  color: #ff0048;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.text-block strong {
  position: relative;
  z-index: 2;

  display: block;
  max-width: 520px;
  margin-bottom: 18px;

  color: #111;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.25;
  letter-spacing: 0.1em;
}

.text-block p {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.text-block p + p {
  margin-top: 22px;
}

.text-block.right {
  text-align: right;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.42),
      rgba(255, 255, 255, 0) 45%
    ),
    linear-gradient(
      #eee6d5,
      #d7cab3
    );
}

.text-block.right .text-kicker,
.text-block.right strong,
.text-block.right p {
  margin-left: auto;
}

.text-block.left {
  justify-self: end;
  transform: rotate(-1.2deg);
}

.text-block.right {
  justify-self: start;
  transform: rotate(1.1deg);
}

.evidence-envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      148deg,
      transparent 0 49.6%,
      rgba(73, 49, 24, 0.28) 50%,
      transparent 50.4% 100%
    ),
    linear-gradient(
      212deg,
      transparent 0 49.6%,
      rgba(73, 49, 24, 0.24) 50%,
      transparent 50.4% 100%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.26),
      transparent 42%
    );
  pointer-events: none;
}

.evidence-envelope .text-kicker::after {
  content: "LACRE VIOLADO";
  display: inline-block;
  margin-left: 12px;
  padding: 4px 7px;

  color: #7e1022;
  border: 1px solid rgba(126, 16, 34, 0.55);

  font-size: 9px;
  letter-spacing: 0.12em;
  transform: rotate(-5deg);
}

.evidence-envelope strong::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.18) 0 20%,
      transparent 21% 100%
    ),
    #8f1428;
  box-shadow:
    0 0 0 4px rgba(143, 20, 40, 0.2),
    0 8px 14px rgba(52, 37, 20, 0.24);
  opacity: 0.9;
  pointer-events: none;
}

.evidence-card {
  min-height: 302px;
  border-color: rgba(17, 17, 17, 0.38);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.52),
      rgba(255, 255, 255, 0) 42%
    ),
    linear-gradient(
      90deg,
      transparent 0 70px,
      rgba(255, 0, 72, 0.16) 70px 71px,
      transparent 71px 100%
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0 31px,
      rgba(17, 17, 17, 0.045) 31px 32px,
      transparent 32px 100%
    ),
    linear-gradient(
      #f0eadc,
      #d8cbb5
    );
  box-shadow:
    0 22px 34px rgba(17, 17, 17, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.55) inset;
}

.evidence-card::before,
.evidence-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.evidence-card::before {
  inset: 12px -13px -16px 16px;
  z-index: -2;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.46),
      rgba(255, 255, 255, 0) 46%
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0 30px,
      rgba(17, 17, 17, 0.035) 30px 31px,
      transparent 31px 100%
    ),
    #cfc2aa;
  border: 1px solid rgba(17, 17, 17, 0.18);
  transform: rotate(-0.8deg);
  box-shadow: 0 18px 20px rgba(17, 17, 17, 0.12);
}

.evidence-card::after {
  inset: 5px -7px -8px 8px;
  z-index: -1;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.38),
      rgba(255, 255, 255, 0) 44%
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0 32px,
      rgba(17, 17, 17, 0.03) 32px 33px,
      transparent 33px 100%
    ),
    #e4dbc9;
  border: 1px solid rgba(17, 17, 17, 0.16);
  transform: rotate(0.55deg);
}

.evidence-card .text-kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 10px;
  margin-right: 10px;

  background:
    linear-gradient(
      90deg,
      #ff0048 0 42%,
      #111 42% 100%
    );
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.18);
  vertical-align: 1px;
}

.document-stack-tab {
  position: absolute;
  top: -18px;
  right: 30px;
  z-index: 5;

  padding: 7px 18px 12px;

  color: #eee8dc;
  background: #111;
  border: 1px solid rgba(17, 17, 17, 0.88);

  font-size: 10px;
  letter-spacing: 0.18em;
}

.document-clip {
  position: absolute;
  top: -22px;
  left: 38px;
  z-index: 6;

  width: 36px;
  height: 72px;

  border: 3px solid rgba(17, 17, 17, 0.72);
  border-left-color: rgba(17, 17, 17, 0.42);
  border-radius: 20px;

  transform: rotate(-8deg);
  opacity: 0.72;
  pointer-events: none;
}

.document-clip::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 15px;
  height: 50px;

  border: 2px solid rgba(17, 17, 17, 0.58);
  border-left-color: transparent;
  border-radius: 14px;
}

.document-stamp {
  position: absolute;
  bottom: 28px;
  left: 34px;
  z-index: 1;

  padding: 6px 12px;

  color: rgba(126, 16, 34, 0.66);
  border: 2px solid rgba(126, 16, 34, 0.44);

  font-size: 12px;
  letter-spacing: 0.16em;
  transform: rotate(-8deg);
  pointer-events: none;
}

.document-meta {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 10px;

  color: rgba(17, 17, 17, 0.58);
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);

  text-align: left;
  font-size: 10px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.text-block .corner {
  z-index: 4;
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.corner-tl {
  top: 0;
  left: 0;
  border-top: 2px solid #222;
  border-left: 2px solid #222;
}

.corner-bl {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid #222;
  border-left: 2px solid #222;
}

.corner-tr {
  top: 0;
  right: 0;
  border-top: 2px solid #222;
  border-right: 2px solid #222;
}

.corner-br {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid #222;
  border-right: 2px solid #222;
}

/* ================================
   CENTER CARD / VHS COVER
================================ */

.center-card {
  position: relative;
  min-height: 560px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.vhs-cover-showcase {
  position: relative;
  width: min(100%, 420px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vhs-glow {
  display: none;
}

/* movimento sutil da fita */
.vhs-cover-motion {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);

  transform-origin: center center;
}

/* botão que envolve a imagem */
.vhs-cover-frame {
  --vhs-hover-scale: 1;

  position: relative;
  display: block;
  width: 100%;

  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;

  transform: rotate(-1.2deg) scale(var(--vhs-hover-scale));
  transform-origin: center center;
  animation: vhsTapeRotate 4.2s ease-in-out infinite;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease;
}

.vhs-cover-frame::before {
  content: "";
  position: absolute;
  inset: 8% -4% -5% 6%;
  z-index: -1;

  background: rgba(10, 10, 10, 0.42);
  border-radius: 4px;
  filter: blur(16px);
  transform: translate(20px, 28px) rotate(3deg) skewY(-4deg);
  transform-origin: center center;
  pointer-events: none;
}

.vhs-cover-frame:hover {
  --vhs-hover-scale: 1.035;
}

.vhs-cover-frame:hover .vhs-cover {
  filter:
    drop-shadow(0 30px 36px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 20px rgba(255, 0, 72, 0.18));
}

.vhs-cover {
  width: 100%;
  height: auto;
  display: block;

  filter:
    drop-shadow(0 30px 38px rgba(0, 0, 0, 0.38))
    drop-shadow(10px 18px 0 rgba(0, 0, 0, 0.1));

  transition: filter 0.28s ease;
}

.vhs-cover-showcase::after {
  display: none;
}

/* botão de play sobre a fita */
.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0.95;
  pointer-events: none;
}

.play-overlay::before {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 50%;

  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);

  box-shadow:
    0 0 0 8px rgba(255, 0, 72, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.32);

  backdrop-filter: blur(4px);

  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.play-icon {
  position: relative;
  z-index: 2;

  width: 0;
  height: 0;

  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 26px solid #ff0048;

  margin-left: 7px;

  filter: drop-shadow(0 0 10px rgba(255, 0, 72, 0.45));
}

.vhs-cover-frame:hover .play-overlay::before {
  transform: scale(1.08);
  background: rgba(255, 0, 72, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
}

.vhs-cover-frame:hover .play-icon {
  border-left-color: #fff;
}

/* etiqueta da fita */
.vhs-tag {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: calc(
    var(--hero-tape-to-button-gap) +
    var(--hero-cta-height) -
    var(--hero-tag-cover-offset)
  );
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;

  padding: 10px 16px;

  color: #eee8dc;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 0, 72, 0.55);
  backdrop-filter: blur(4px);

  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.vhs-tag span {
  color: #ff0048;
  font-size: 10px;
}

.vhs-tag strong {
  font-size: 12px;
}

/* botão da primeira seção */
.hero-cta-panel {
  position: relative;
  z-index: 5;
  width: min(100%, 330px);
  margin-top: var(--hero-tape-to-button-gap);

  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-button.case-button-dark.hero-investigation-button {
  position: relative;
  width: 100%;
  justify-content: center;
  gap: 14px;
  padding: 17px 22px;
  background: #111;
  color: #eee8dc;
  border: 1px solid #111;
  border-radius: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  box-shadow:
    7px 7px 0 rgba(255, 0, 72, 0.88),
    0 14px 26px rgba(17, 17, 17, 0.16);
}

.case-button.case-button-dark.hero-investigation-button:hover {
  transform: translate(3px, 3px);
  background: #ff0048;
  color: #fff;
  border-color: #ff0048;
  box-shadow:
    4px 4px 0 rgba(17, 17, 17, 0.95),
    0 12px 24px rgba(255, 0, 72, 0.2);
}

.case-button.case-button-dark.hero-investigation-button span {
  color: #ff0048;
}

.case-button.case-button-dark.hero-investigation-button:hover span {
  color: #fff;
}

.case-button.case-button-dark {
  background: #111;
  color: #eee8dc;
  border-color: #111;
}

.case-button.case-button-dark:hover {
  background: #ff0048;
  color: #fff;
  border-color: #ff0048;
}

/* ================================
   AGENT SECTION
================================ */

.agent-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 56px 88px;

  background:
    linear-gradient(
      rgba(5, 5, 5, 0.72),
      rgba(5, 5, 5, 0.92)
    ),
    url("./background.png");

  background-size: 520px;
  background-repeat: repeat;
  background-position: center;

  color: #eee8dc;
  overflow: hidden;
}

.agent-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 70% 32%,
      rgba(255, 0, 72, 0.18),
      transparent 34%
    ),
    radial-gradient(
      circle at 18% 76%,
      rgba(255, 255, 255, 0.08),
      transparent 30%
    );
}

.agent-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px,
      transparent 5px
    );

  opacity: 0.42;
  mix-blend-mode: screen;
}

/* transição com aspecto de pasta */
.folder-transition {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  height: 92px;
  pointer-events: none;
}

.folder-transition::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 46px;

  background: #eee8dc;
  border-bottom: 3px solid #151515;
}

.folder-transition span {
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(48vw, 420px);
  height: 92px;

  background: #eee8dc;
  border-left: 3px solid #151515;
  border-right: 3px solid #151515;
  border-bottom: 3px solid #151515;

  transform: translateX(-50%);
  clip-path: polygon(
    0 0,
    100% 0,
    86% 100%,
    14% 100%
  );
}

.folder-transition span::after {
  content: "";
  position: absolute;
  inset: 12px;

  border: 1px solid rgba(20, 20, 20, 0.22);
  border-top: none;
}

.agent-inner {
  position: relative;
  z-index: 5;

  max-width: 1200px;
  min-height: 620px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

/* ================================
   AGENT COPY
================================ */

.agent-copy {
  position: relative;
}

.badge-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 13px;

  border: 1px solid rgba(255, 0, 72, 0.6);
  color: #ff0048;
  background: rgba(255, 0, 72, 0.08);

  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agent-copy h2 {
  max-width: 540px;
  margin-bottom: 22px;

  color: #eee8dc;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;

  text-shadow:
    3px 0 rgba(255, 0, 72, 0.24),
    -3px 0 rgba(0, 110, 255, 0.18);
}

.agent-copy p {
  max-width: 520px;
  margin-bottom: 22px;

  color: rgba(238, 232, 220, 0.82);
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;

  color: #eee8dc;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff0048;
  box-shadow: 0 0 0 0 rgba(255, 0, 72, 0.55);
  animation: statusBlink 1.8s infinite;
}

.case-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 15px 20px;

  background: #eee8dc;
  color: #111;
  border: 1px solid #eee8dc;

  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  box-shadow:
    6px 6px 0 rgba(255, 0, 72, 0.78);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.case-button span {
  color: #ff0048;
  transition: color 0.18s ease;
}

.case-button:hover {
  transform: translate(3px, 3px);
  box-shadow:
    3px 3px 0 rgba(255, 0, 72, 0.78);

  background: #ff0048;
  color: #fff;
  border-color: #ff0048;
}

.case-button:hover span {
  color: #fff;
}

/* ================================
   BADGE SHOWCASE
================================ */

.badge-showcase {
  position: relative;
  width: min(100%, 580px);
  min-height: 470px;
  margin-left: auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-glow {
  position: absolute;
  width: 420px;
  height: 300px;
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 0, 72, 0.16) 0%,
      rgba(255, 0, 72, 0.07) 32%,
      rgba(0, 0, 0, 0) 72%
    );

  filter: blur(18px);
  animation: glowPulse 5s ease-in-out infinite;
}

.badge-wrapper {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  border-radius: 12px;
  overflow: hidden;

  transform-origin: center;
  animation: badgeFloat 5.6s ease-in-out infinite;

  box-shadow:
    0 26px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

.agent-badge {
  display: block;
  width: 100%;
  height: auto;
}

.badge-shine {
  position: absolute;
  top: -20%;
  left: -45%;
  width: 34%;
  height: 150%;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(255, 255, 255, 0.34) 50%,
      rgba(255, 255, 255, 0.08) 70%,
      rgba(255, 255, 255, 0) 100%
    );

  transform: rotate(18deg);
  animation: badgeShine 7s linear infinite;
}

.badge-wrapper:hover {
  transform: rotate(-0.6deg) scale(1.01);
  transition: transform 0.25s ease;
}

/* ================================
   VIDEO MODAL
================================ */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.78),
      rgba(0, 0, 0, 0.92)
    ),
    url("./background.png");

  background-size: 520px;
  background-position: center;
}

.video-modal-content {
  position: relative;
  z-index: 2;
  width: min(100%, 960px);

  padding: 18px;

  background: #0b0b0b;
  border: 2px solid rgba(238, 232, 220, 0.78);

  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.72),
    0 0 40px rgba(255, 0, 72, 0.16);
}

.video-modal-content::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;

  border: 1px solid rgba(238, 232, 220, 0.22);
}

.video-modal-close {
  position: absolute;
  right: 18px;
  top: -44px;

  padding: 9px 12px;

  background: #eee8dc;
  color: #111;
  border: 1px solid #eee8dc;

  font-family: "Share Tech Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  cursor: pointer;
}

.video-modal-close:hover {
  background: #ff0048;
  color: #fff;
  border-color: #ff0048;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;

  background: #000;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

/* ================================
   ANIMAÇÕES
================================ */

@keyframes vhsNoise {
  0% {
    transform: translateY(0);
    opacity: 0.68;
  }

  50% {
    transform: translateY(1px);
    opacity: 0.78;
  }

  100% {
    transform: translateY(0);
    opacity: 0.68;
  }
}

@keyframes titleGlitch {
  0% {
    text-shadow:
      2px 0 rgba(255, 0, 70, 0.16),
      -2px 0 rgba(0, 110, 255, 0.12);
  }

  50% {
    text-shadow:
      3px 0 rgba(255, 0, 70, 0.22),
      -3px 0 rgba(0, 110, 255, 0.16);
  }

  100% {
    text-shadow:
      2px 0 rgba(255, 0, 70, 0.16),
      -2px 0 rgba(0, 110, 255, 0.12);
  }
}

@keyframes badgeFloat {
  0% {
    transform: translateY(0px) rotate(-0.35deg);
  }

  50% {
    transform: translateY(-3px) rotate(0.35deg);
  }

  100% {
    transform: translateY(0px) rotate(-0.35deg);
  }
}

@keyframes vhsTapeRotate {
  0% {
    transform: rotate(-1.2deg) scale(var(--vhs-hover-scale));
  }

  50% {
    transform: rotate(1.2deg) scale(var(--vhs-hover-scale));
  }

  100% {
    transform: rotate(-1.2deg) scale(var(--vhs-hover-scale));
  }
}

@keyframes badgeShine {
  0% {
    left: -45%;
  }

  100% {
    left: 125%;
  }
}

@keyframes glowPulse {
  0% {
    transform: scale(0.99);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.01);
    opacity: 0.8;
  }

  100% {
    transform: scale(0.99);
    opacity: 0.65;
  }
}

@keyframes statusBlink {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 72, 0.55);
    opacity: 1;
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 72, 0);
    opacity: 0.95;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 72, 0);
    opacity: 1;
  }
}

@keyframes recBlink {
  0%,
  42% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.9);
  }

  43%,
  100% {
    opacity: 0.18;
    box-shadow: none;
  }
}

/* ================================
   RESPONSIVO
================================ */

@media (max-width: 1100px) {
  .hero {
    --hero-title-top: clamp(78px, 9vh, 104px);
    --hero-title-subtitle-gap: clamp(22px, 3vh, 32px);
    --hero-header-to-grid-gap: clamp(44px, 6vh, 64px);
    --hero-tape-to-button-gap: clamp(46px, 6vh, 62px);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .center-card {
    order: -1;
    min-height: auto;
  }

  .text-block,
  .text-block.right {
    text-align: left;
  }

  .text-block.left,
  .text-block.right {
    transform: rotate(0deg);
  }

  .text-block.right .text-kicker,
  .text-block.right strong,
  .text-block.right p {
    margin-left: 0;
  }

  .vhs-cover-motion {
    width: min(100%, 340px);
  }

  .agent-inner {
    grid-template-columns: 1fr;
  }

  .badge-showcase {
    margin: 0 auto;
    order: -1;
  }

  .agent-copy {
    text-align: center;
  }

  .agent-copy h2,
  .agent-copy p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr 160px 1fr;
  }

  .brand-tab img {
    width: 105px;
  }

  .nav {
    padding: 0 24px;
    gap: 24px;
    font-size: 11px;
  }

  .hero {
    --hero-title-top: clamp(80px, 10vh, 108px);
    --hero-title-subtitle-gap: clamp(22px, 3vh, 30px);
    --hero-header-to-grid-gap: clamp(42px, 6vh, 58px);
    --hero-tape-to-button-gap: clamp(44px, 6vh, 58px);

    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: clamp(70px, 8vh, 88px);
  }

  .hero-title {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .crime-tape {
    top: 32px;
    width: 136vw;
    transform: translateX(-50%) rotate(-4.6deg);
  }

  .agent-section {
    padding: 112px 24px 72px;
  }

  .folder-transition span {
    width: min(62vw, 360px);
  }
}

@media (max-width: 560px) {
  .page {
    min-height: calc(100vh - 16px);
    margin: 8px;
    padding-top: 92px;
  }

  .page::before {
    inset: 8px;
  }

  .topbar {
    top: 3px;
    left: 11px;
    right: 11px;
    grid-template-columns: 1fr;
    height: auto;
  }

  .brand-tab {
    order: -1;
    width: 190px;
    height: 54px;
    margin: 0 auto;
  }

  .nav {
    justify-content: center;
    height: 38px;
    padding: 0 12px;
    gap: 22px;
    font-size: 10px;
  }

  .nav-right {
    display: none;
  }

  .hero {
    --hero-title-top: 72px;
    --hero-title-subtitle-gap: 22px;
    --hero-header-to-grid-gap: 40px;
    --hero-tape-to-button-gap: 44px;
    --hero-cta-height: 50px;

    min-height: auto;
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 64px;
  }

  .hero-title span {
    font-size: clamp(66px, 22vw, 120px);
  }

  .subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .crime-tape {
    top: 10px;
    height: 31px;
    width: 150vw;
  }

  .crime-tape-track {
    gap: 18px;
  }

  .crime-tape-track span {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .content-grid {
    gap: 32px;
  }

  .text-block {
    min-height: auto;
    padding: 26px;
    font-size: 12px;
  }

  .document-stack-tab {
    right: 18px;
    padding: 6px 12px 10px;
    font-size: 9px;
  }

  .document-clip {
    top: -17px;
    left: 24px;
    width: 30px;
    height: 58px;
  }

  .document-clip::after {
    width: 12px;
    height: 40px;
  }

  .document-meta {
    grid-template-columns: 1fr;
    gap: 5px;
    white-space: normal;
  }

  .document-stamp {
    bottom: 18px;
    left: 24px;
    font-size: 10px;
    opacity: 0.62;
  }

  .vhs-cover-motion {
    width: min(100%, 300px);
  }

  .vhs-tag {
    bottom: calc(
      var(--hero-tape-to-button-gap) +
      var(--hero-cta-height) -
      var(--hero-tag-cover-offset)
    );
    padding: 8px 12px;
  }

  .vhs-tag strong {
    font-size: 10px;
  }

  .play-overlay::before {
    width: 70px;
    height: 70px;
  }

  .play-icon {
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 22px;
  }

  .folder-transition {
    height: 76px;
  }

  .folder-transition::before {
    height: 38px;
  }

  .folder-transition span {
    height: 76px;
    width: 78vw;
  }

  .agent-section {
    padding: 100px 18px 60px;
  }

  .agent-inner {
    gap: 34px;
  }

  .badge-showcase {
    min-height: auto;
  }

  .badge-glow {
    width: 240px;
    height: 220px;
  }

  .badge-wrapper {
    width: min(100%, 330px);
  }

  .agent-copy h2 {
    font-size: 42px;
  }

  .agent-copy p {
    font-size: 12px;
  }

  .badge-status {
    font-size: 9px;
  }

  .case-button {
    width: 100%;
    justify-content: center;
    padding: 15px 14px;
    font-size: 11px;
  }

  .case-button.case-button-dark {
    background: #111;
    color: #eee8dc;
    border-color: #111;

    box-shadow:
      6px 6px 0 rgba(255, 0, 72, 0.9);
  }

  .case-button.case-button-dark span {
    color: #ff0048;
  }

  .case-button.case-button-dark:hover {
    background: #ff0048;
    color: #fff;
    border-color: #ff0048;

    box-shadow:
      3px 3px 0 rgba(17, 17, 17, 0.95);
  }

  .case-button.case-button-dark:hover span {
    color: #fff;
  }

  .hero-cta-panel {
    width: min(100%, 300px);
    margin-top: var(--hero-tape-to-button-gap);
  }

  .case-button.case-button-dark.hero-investigation-button {
    padding: 15px 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
    box-shadow:
      6px 6px 0 rgba(255, 0, 72, 0.9),
      0 12px 22px rgba(17, 17, 17, 0.14);
  }

  .video-modal {
    padding: 16px;
  }

  .video-modal-content {
    padding: 10px;
  }

  .video-modal-close {
    top: -42px;
    right: 0;
  }
}
