:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --red: #ff001e;
  --red-dark: #c5162b;
  --card: #ffffff;
  --accent: #e11d48;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
}

html {
  scroll-behavior: smooth;
}
/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 80px;
  z-index: 50;
  background: transparent;
  border-bottom: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: linear-gradient(rgba(11, 16, 32, 0.95), rgba(11, 16, 32, 0.75));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 22px;
}

/* NAV DESKTOP */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 36px;
}

.nav-desktop a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red);
  transform: translateX(-50%);
  transition: 0.3s;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

/* BOTÃO MENU */
.btn-nav {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.35);
}

/* MENU TOGGLE */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
}

/* OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 55;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* MENU MOBILE */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: 0.4s ease;
  z-index: 60;
}

.nav-mobile.active {
  transform: translateY(0);
}

.nav-mobile a {
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  color: white;
}

.menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee")
    center / cover no-repeat;
  overflow: hidden;
}

/* VIDEO */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  will-change: transform;
  transform: translateZ(0);
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* escurece mais a esquerda */ linear-gradient(
      to right,
      rgba(11, 16, 32, 0.92) 0%,
      rgba(11, 16, 32, 0.75) 35%,
      rgba(11, 16, 32, 0.35) 60%,
      rgba(11, 16, 32, 0.1) 100%
    ),
    /* leve vinheta inferior */
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(11, 16, 32, 0.6) 100%
      );
}

/* HERO CONTENT */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 200px 24px 120px;
}

.hero-content {
  max-width: 620px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-block;
}

.hero-content h1 {
  font-size: clamp(40px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero-content h1 span {
  color: var(--red);
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 42px;
}

/* HERO ACTIONS */
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(225, 29, 72, 0.4);
}

.btn-secondary {
  padding: 14px 34px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-weight: 600;
  text-decoration: none;
}

/* DESKTOP */
@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 900px) {
  .hero-container {
    padding: 160px 24px 100px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }
}
