:root {
  --v4-red: #e50914;
  --v4-black: #1a1814;
  --v4-white: #ffffff;
  --v4-gray: #464646;
  --v4-yellow: #ffdd00;
  --header-h: 64px;
  --sidebar-w: 240px;
  --section-pad-y: 72px;
  --section-pad-x: clamp(24px, 5vw, 80px);
  --content-max: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--v4-black);
  color: var(--v4-white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding: 0 24px;
  background: rgba(26, 24, 20, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.v4-header-logo {
  width: 36px;
  height: auto;
  flex-shrink: 0;
}

.site-header__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
}

.site-nav a,
.site-sidebar__nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-sidebar__nav a:hover,
.site-nav a.is-active,
.site-sidebar__nav a.is-active {
  color: var(--v4-red);
}

.page-shell {
  padding-top: var(--header-h);
}

.site-sidebar {
  display: none;
}

.landing-main {
  width: 100%;
}

.landing-section {
  min-height: min(80vh, 720px);
  padding: var(--section-pad-y) var(--section-pad-x);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-section--hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-tag {
  color: var(--v4-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
  max-width: var(--content-max);
  margin: 0 0 20px;
}

.section-title em {
  color: var(--v4-red);
  font-style: normal;
}

.section-lead,
.section-body {
  max-width: 720px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

/* Menu lateral */
body.nav-layout-side .site-nav {
  display: none;
}

body.nav-layout-side .site-sidebar {
  display: block;
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  padding: 24px 16px;
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
}

body.nav-layout-side .site-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.nav-layout-side .landing-main {
  margin-left: var(--sidebar-w);
}

@media (max-width: 900px) {
  body.nav-layout-side .site-sidebar {
    display: none;
  }

  body.nav-layout-side .site-nav {
    display: flex;
  }

  body.nav-layout-side .landing-main {
    margin-left: 0;
  }

  .site-header {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .page-shell {
    padding-top: 88px;
  }
}

@media print {
  .site-header,
  .site-sidebar,
  .no-print {
    display: none !important;
  }

  .page-shell {
    padding-top: 0;
  }

  body.nav-layout-side .landing-main {
    margin-left: 0;
  }

  .landing-section {
    break-inside: avoid;
    page-break-inside: avoid;
    min-height: auto;
  }
}
