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

body {
  background-color: #02010a;
  color: #f9f9ff;
  font-size: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */

.main-header {
  position: fixed;
  top: 20px;
  width: 90vw;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 10%;
  z-index: 20;
  padding: 12px 24px;
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, #ffffff10, #00000040);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header .logo {
  width: 210px;
  max-width: 100%;
}

.main-header nav ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: end;
  gap: 18px;
}

.main-header .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
  color: #f5f5ff;
  opacity: 0.8;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.main-header .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #beff1b, #8dc700);
  transition: width 0.25s ease;
}

.main-header .nav-link:hover {
  opacity: 1;
}

.main-header .nav-link:hover::after,
.main-header .nav-link.active::after {
  width: 32px;
}

/* HERO / CARROSEL */

.hero {
  position: relative;
  background: radial-gradient(circle at 20% 0%, #4f36ff 0, #30007a 30%, #05010f 70%);
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, #ffffff08 0, transparent 55%),
    radial-gradient(circle at 80% 100%, #ff00ff15 0, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero-glow--left {
  background: #beff1b;
  top: 60%;
  left: -10%;
}

.hero-glow--right {
  background: #ff00ff;
  top: -10%;
  right: -10%;
}

.list {
  position: relative;
  width: 90vw;
  height: 100%;
  margin: auto;
  z-index: 2;
}

.item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(60px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.6s ease;
}

.item.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.car-img {
  position: absolute;
  top: 54%;
  left: 0;
  transform: translateY(-50%);
  width: 52%;
}

.car-img img {
  width: 100%;
  transform: rotate(-24deg);
  transform-origin: 50% 70%;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.6));
  transition:
    transform 0.75s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.45s ease;
}

.item.active .car-img img {
  transform: rotate(-18deg) translateY(-8px);
}

.car-img img:hover {
  transform: rotate(-16deg) translateY(-16px) scale(1.03);
  filter: drop-shadow(0 26px 55px rgba(0, 0, 0, 0.85));
}

/* Ajustes finos para imagens com proporções diferentes (4 e 5) */
.item:nth-child(4) .car-img img {
  transform-origin: 50% 65%;
}

.item:nth-child(4).active .car-img img {
  /* Menor e um pouco mais para cima para alinhar com os demais */
  transform: rotate(-18deg) translateY(-24px) scale(0.9);
}

.item:nth-child(5) .car-img img {
  transform-origin: 50% 55%;
}

.item:nth-child(5).active .car-img img {
  transform: rotate(-18deg) translateY(-20px) scale(1.18);
}

.content {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.content .car-information {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d7dcff;
}

.content h2 {
  font-size: clamp(3.8rem, 5vw, 5.4rem);
  line-height: 0.95;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  text-align: right;
}

.content .tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #beff1b;
  opacity: 0.9;
}

.content .description {
  color: #c4c7e6;
  font-size: 0.9rem;
  text-align: right;
  max-width: 420px;
}

.content .information {
  border: none;
  border-radius: 999px;
  height: 46px;
  width: 210px;
  margin-top: 4px;
  background: linear-gradient(120deg, #beff1b, #8dc700);
  color: #05010f;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  box-shadow: 0 14px 36px rgba(190, 255, 27, 0.55);
}

.content .information:hover {
  background: linear-gradient(120deg, #cfff3b, #a5ff11);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 50px rgba(190, 255, 27, 0.75);
}

/* ARROWS */

.arrows {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
}

.arrows button {
  background-color: rgba(5, 1, 15, 0.65);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.arrows button img {
  width: 26px;
  height: 26px;
}

.arrows button:first-child img {
  transform: rotate(180deg);
}

.arrows button:hover {
  background-color: rgba(17, 10, 46, 0.95);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

/* INDICADORES */

.indicators {
  position: absolute;
  bottom: 40px;
  left: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 10;
}

.indicators .number {
  font-size: 3.6rem;
  font-weight: 700;
}

.indicators ul {
  display: flex;
  gap: 10px;
}

.indicators li {
  width: 48px;
  height: 4px;
  background-color: #beff1b;
  border-radius: 999px;
  opacity: 0.35;
  transition:
    width 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  cursor: pointer;
}

.indicators li:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.indicators li.active {
  opacity: 1;
  width: 60px;
}

/* CONTATO */

.contact {
  background: #05010f;
  padding: 80px 24px 60px;
  color: #f5f5ff;
}

.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-inner p {
  max-width: 640px;
  margin: 0 auto;
  color: #bebfd8;
  line-height: 1.5;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #beff1b, #8dc700);
  color: #05010f;
  box-shadow: 0 14px 28px rgba(190, 255, 27, 0.55);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(190, 255, 27, 0.8);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f5f5ff;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* RESPONSIVO */

@media (max-width: 1024px) {
  .main-header {
    grid-template-columns: auto;
    row-gap: 10px;
    width: 94vw;
  }

  .main-header nav ul {
    grid-template-columns: repeat(3, auto);
    justify-content: center;
  }

  .content {
    right: 40px;
    width: 44%;
  }

  .car-img {
    width: 54%;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .hero {
    height: 100vh;
  }

  .main-header {
    padding-inline: 18px;
  }

  .list {
    width: 100vw;
  }

  .car-img {
    position: absolute;
    width: 80%;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
  }

  .content {
    position: absolute;
    width: 90%;
    left: 50%;
    top: auto;
    bottom: 90px;
    transform: translateX(-50%);
    align-items: flex-start;
    text-align: left;
  }

  .content h2,
  .content .description {
    text-align: left;
  }

  .indicators {
    left: 24px;
    bottom: 24px;
  }

  .indicators .number {
    font-size: 2.4rem;
  }

  .arrows {
    padding-inline: 16px;
  }
}

@media (max-width: 480px) {
  .main-header {
    top: 12px;
    border-radius: 18px;
  }

  .main-header nav ul {
    gap: 10px;
    font-size: 0.75rem;
  }

  .content .information {
    width: 100%;
  }

  .contact {
    padding-block: 60px 40px;
  }
}
