/* ==========================================================================
   TNTFIT — Lobby de Unidades
   Baseado no design Figma: h0eNmwUnfNBC9k8QU06mYl
   ========================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────────── */

:root {
  --yellow:   #FFFF00;
  --black:    #0A0A0A;
  --purple:   #9900FF;
  --border:   #E5E5E0;
  --card-bg:  #1A1A1A;
  --hero-bg:  #111111;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── RESET ───────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--black);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }

/* ── NAV ─────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 24px;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__logo svg {
  height: 32px;
  width: auto;
  display: block;
}

.nav__cta {
  background: var(--yellow);
  color: #000;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav__cta:hover { background: #fff }

@media (min-width: 768px) {
  .nav { padding-inline: 48px }
  .nav__logo svg { height: 36px }
  .nav__cta { font-size: 15px; padding: 10px 24px }
}

/* ── HERO ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Slides */

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center: 80%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    113deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.70) 50%,
    rgba(0, 0, 0, 0.30) 100%
  );
}

.hero__overlay--promo {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.75) 45%,
    rgba(0, 0, 0, 0.18) 75%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding: 120px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Titles */

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 12vw, 100px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
}

.hero__title em {
  color: var(--yellow);
  font-style: normal;
}

.hero__title--promo {
  font-size: clamp(34px, 7vw, 68px);
  line-height: 1;
}

/* Tag highlight (slide 1) */

.hero__tag {
  display: block;
  line-height: 1.85;
}

.hero__tag span {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.6vw, 15px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--yellow);
  color: #000;
  display: inline;
  padding: 2px 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Promo price block (slide 1) */

.hero__promo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__promo-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding-inline: 12px;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
  border-radius: 2px;
}

.hero__promo-price {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 130px);
  font-weight: 900;
  color: var(--yellow);
  font-style: italic;
  line-height: 0.85;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__promo-price sup {
  font-size: 0.32em;
  position: relative;
  top: -2em;
  left: 0.3em;
  font-style: normal;
  vertical-align: baseline;
}

/* Description (slide 2) */

.hero__desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 440px;
  padding-bottom: 16px;
}

/* CTA button */

.hero__cta {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding-inline: 36px;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
  width: fit-content;
}

.hero__cta:hover { background: #fff }

/* Navigation dots */

.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero__dot.is-active {
  background: var(--yellow);
  transform: scale(1.4);
}

@media (min-width: 768px) {
  .hero__content { padding: 140px 48px 80px }
}

/* ── MARQUEE ─────────────────────────────────────────────────────────────── */

.marquee {
  background: var(--yellow);
  overflow: hidden;
  padding-block: 13px;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 28s linear infinite;
}

@keyframes scroll-marquee {
  to { transform: translateX(-50%) }
}

.marquee__item {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #000;
  padding-inline: 28px;
  white-space: nowrap;
}

.marquee__item span { opacity: 0.35 }

/* ── UNITS SECTION ───────────────────────────────────────────────────────── */

.units {
  background: #fff;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.units__header {
  margin-bottom: 48px;
}

.units__label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
}

.units__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.014em;
  text-transform: uppercase;
  color: #000;
}

.units__title em {
  color: var(--purple);
  font-style: normal;
}

/* ── GRID ── */

.units__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .units__grid { grid-template-columns: repeat(2, 1fr) }
}

@media (min-width: 1024px) {
  .units__grid { grid-template-columns: repeat(3, 1fr); gap: 20px }
}

@media (min-width: 1400px) {
  .units__grid { grid-template-columns: repeat(5, 1fr); gap: 22px }
}

@media (min-width: 768px) {
  .units { padding: 96px 48px }
}

/* ── UNIT CARD ── */

.unit-card {
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.unit-card:hover { transform: translateY(-4px) }

.unit-card__bg {
  position: absolute;
  inset: 0;
  background-color: var(--card-bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.unit-card:hover .unit-card__bg { transform: scale(1.04) }

.unit-card__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.10) 100%
  );
}

.unit-card__body {
  position: relative;
  z-index: 2;
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.unit-card__name {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.0125em;
  text-transform: uppercase;
  color: #fff;
}

.unit-card__address {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.unit-card__btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 20px;
  margin-top: 4px;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.077em;
  text-transform: uppercase;
  width: fit-content;
  transition: background 0.2s;
}

.unit-card__btn:hover { background: #fff }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */

.footer {
  background: var(--black);
  border-top: 3px solid var(--yellow);
  padding: 72px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Top row: brand + links */
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__brand-logo svg {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer__brand-tagline {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.35);
  max-width: 280px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__links-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 7px;
}

.footer__links a {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--yellow) }

/* Bottom row: copyright */
.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__copyright {
  font-size: 11px;
  letter-spacing: 0.045em;
  color: rgba(255, 255, 255, 0.25);
}

@media (min-width: 768px) {
  .footer { padding: 72px 48px 40px }

  .footer__top {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }

  .footer__brand { flex: 1; max-width: 340px }

  .footer__links { align-items: flex-start }
}

/* ── SCROLL REVEAL ───────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity  0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible { opacity: 1; transform: none }

.reveal--d1 { transition-delay: 0.06s }
.reveal--d2 { transition-delay: 0.12s }
.reveal--d3 { transition-delay: 0.18s }
.reveal--d4 { transition-delay: 0.24s }
.reveal--d5 { transition-delay: 0.30s }
