/* ========== Reset e base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========== Vars ========== */
:root {
  --coral: #F23557;
  --black: #000;
  --white: #fff;
  --paper: #F4F2EE;
  --muted: #8a8884;
  --line: rgba(255,255,255,0.08);
  --container: 1120px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }

/* ========== Nav (sticky) ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--coral);
  border: none;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
  letter-spacing: 0;
  line-height: 1;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  background: var(--coral);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 1; }

/* ========== Hero rotativo ========== */
.hero {
  position: relative;
  height: calc(100vh - 68px);
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.0s ease-in-out;
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
/* gradient overlay pra texto sempre legível */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.15) 30%,
      rgba(0,0,0,0.35) 60%,
      rgba(0,0,0,0.92) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--coral);
  margin-bottom: var(--space-md);
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.hero-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-md);
}
.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: var(--space-md);
}
.appstore-badge {
  display: inline-block;
  width: 168px;
  height: 56px;
  transition: transform 0.15s ease;
}
.appstore-badge:hover { transform: translateY(-2px); opacity: 1; }
.appstore-badge svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}
.hero-phrase {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.3;
  color: var(--coral);
  white-space: pre-line;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.9;
}
.hero-tag {
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 2;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

/* ========== Features ========== */
.features {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-md);
}
.feature-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--coral);
  margin-bottom: var(--space-sm);
  letter-spacing: 1.5px;
}
.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.feature-body {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}

/* ========== Galeria poster ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 0;
  background: #000;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  background: #050505;
  position: relative;
  aspect-ratio: 941 / 1672;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transition: filter 0.6s ease, transform 0.8s ease;
}
.gallery-item:hover img {
  filter: brightness(1.05);
  transform: scale(1.02);
}
@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* ========== Duality ========== */
.duality {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--line);
}
.duality-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-lg);
  max-width: 820px;
}
.duality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.duality-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.duality-icon { margin-bottom: 24px; }
.duality-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--coral);
  margin-bottom: 12px;
}
.duality-body {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--white);
  max-width: 380px;
}

/* ========== About ========== */
.about {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--line);
}
.about-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.3;
  max-width: 820px;
  margin-bottom: var(--space-md);
  letter-spacing: -0.005em;
  color: var(--white);
}
.about-nots {
  list-style: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  color: rgba(255,255,255,0.45);
  letter-spacing: -0.005em;
}
.about-nots li { padding: 4px 0; }

/* ========== CTA final ========== */
.cta {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-line {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.005em;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  background: var(--coral);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.005em;
  border-radius: 12px;
  transition: transform 0.15s ease;
  margin-bottom: var(--space-md);
}
.cta-button:hover { transform: translateY(-2px); opacity: 1; }
.cta-meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ========== Horse stamp ========== */
.horse-stamp {
  text-align: center;
  padding: 80px 32px 40px;
}
.horse-stamp .horse {
  width: 120px;
  height: auto;
  opacity: 0.5;
  filter: invert(1);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* ========== Legal pages (mantidas claras) ========== */
.page-legal { background: #fff; color: #000; }
.page-legal .nav { position: relative; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
.page-legal .footer { color: var(--muted); border-top: 1px solid rgba(0,0,0,0.08); }
.page-legal .footer a { color: var(--black); }
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  color: #000;
}
.legal h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.legal .updated { font-size: 14px; color: #7A7873; margin-bottom: var(--space-md); }
.legal h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-top: var(--space-md);
  margin-bottom: 12px;
}
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: #2a2a2a; margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 16px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--coral); text-decoration: underline; }

/* ========== Footer ========== */
.footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.footer a { color: rgba(255,255,255,0.85); }
.footer-main a { font-weight: 500; }
.footer-links a { font-weight: 500; }

/* ========== Responsivo ========== */
@media (max-width: 720px) {
  .nav { padding: 12px 20px; }
  .hero { height: calc(100vh - 60px); padding: 32px 20px 80px; min-height: 560px; }
  .hero-slide { background-position: center 25%; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-tag { display: none; }
  .features, .duality, .about, .cta, .footer { padding-left: 20px; padding-right: 20px; }
  .features { grid-template-columns: 1fr; gap: var(--space-md); padding-top: 80px; padding-bottom: 80px; }
  .gallery { grid-template-columns: 1fr; gap: 4px; }
  .duality-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .duality-col { padding-bottom: var(--space-md); border-bottom: 1px solid var(--line); }
  .duality-col:last-child { padding-bottom: 0; border-bottom: none; }
  .cta-button { padding: 18px 28px; }
  .horse-stamp { padding: 56px 20px 32px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
