/* =============================================
   HOME PAGE — Nível Via Bella
   ============================================= */

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero__slides { width: 100%; height: 100%; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero__slide.active img { transform: scale(1); }

/* Gradiente lateral para texto */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.6) 100%
  );
}

/* Barra de categorias — estilo Via Bella */
.hero__subnav {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  z-index: 10;
}

.hero__subnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__subnav a {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 13px 44px;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.hero__subnav a + a::before {
  content: '|';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
}

.hero__subnav a:hover { color: var(--gold); }

/* Conteúdo hero */
.hero__content {
  position: absolute;
  bottom: 14%;
  left: 0;
  width: 100%;
  z-index: 5;
  animation: heroFadeUp 1.2s ease 0.3s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(70px, 10vw, 140px);
  line-height: 0.88;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.hero__title span { color: var(--gold); }

.hero__subtitle {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.9;
  letter-spacing: 0.5px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Controles do slider */
.hero__nav {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.hero__dot.active {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201,168,76,0.6);
  transform: scale(1.3);
}

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

.hero__arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  pointer-events: all;
}
.hero__arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(0,0,0,0.5); }

/* ---- BARRA DE CONTATO (abaixo do hero) ---- */
.contact-bar {
  background: #0d0d0d;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--black-border);
  padding: 0;
}

.contact-bar__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.contact-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  border-right: 1px solid var(--black-border);
  flex: 1;
  justify-content: center;
  transition: var(--transition);
}
.contact-bar__item:first-child { border-left: 1px solid var(--black-border); }
.contact-bar__item:hover { background: rgba(201,168,76,0.05); }

.contact-bar__icon {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-bar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2px;
}

.contact-bar__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

/* ---- VITRINE (slider) ---- */
.vitrine { background: #111; padding: 80px 0; }

.vitrine__header {
  text-align: center;
  margin-bottom: 56px;
}

.vitrine__title-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
}

.vitrine__title-normal {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 6px;
  color: rgba(255,255,255,0.15);
}

.vitrine__title-gold {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 6px;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,168,76,0.3);
}

.vitrine__subtitle {
  font-size: 13px;
  color: var(--gray);
  margin-top: 10px;
  letter-spacing: 1px;
}

/* Slider da vitrine */
.vitrine__slider-wrap { position: relative; overflow: hidden; }

.vitrine__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Card — info sobreposta na imagem */
.card-veiculo {
  flex: 0 0 calc(33.333% - 16px);
  margin: 0 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--black-border);
}

.card-veiculo__img {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.card-veiculo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.card-veiculo:hover .card-veiculo__img img {
  transform: scale(1.06);
}

/* Gradiente na parte inferior da imagem */
.card-veiculo__img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

/* Badge */
.card-veiculo__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  z-index: 2;
}

/* Info sobreposta na imagem */
.card-veiculo__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 20px 24px;
  z-index: 2;
  border-left: 3px solid var(--gold);
}

.card-veiculo__marca {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.card-veiculo__modelo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.1;
}

.card-veiculo__detalhe {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.card-veiculo__preco {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(201,168,76,0.4);
}
.card-veiculo__preco small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* Controles slider vitrine */
.vitrine__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.vitrine__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--black-border);
  background: transparent;
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.vitrine__arrow:hover { border-color: var(--gold); background: rgba(201,168,76,0.1); }

.vitrine__dots { display: flex; gap: 8px; }

.vitrine__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black-border);
  cursor: pointer;
  transition: var(--transition);
}
.vitrine__dot.active { background: var(--gold); }

/* ---- TRAJETÓRIA (mosaic) ---- */
.trajetoria {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.trajetoria__mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  opacity: 0.2;
}

.trajetoria__mosaic-img {
  overflow: hidden;
}
.trajetoria__mosaic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
}

.trajetoria__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.trajetoria__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.trajetoria__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 90px);
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 16px;
}
.trajetoria__title span { color: var(--gold); }

.trajetoria__sub {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* ---- POR QUE / SOCIAL / NEWSLETTER ---- */
.bottom-info {
  background: #111;
  border-top: 1px solid var(--black-border);
  padding: 64px 0 0;
}

.bottom-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--black-border);
}

.bottom-info__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.bottom-info__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.bottom-info__title span { color: var(--gold); }

.porque__list { list-style: none; }
.porque__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--black-border);
}
.porque__list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.social__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--black-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}
.social__link:hover { padding-left: 8px; }
.social__link-icon { font-size: 18px; }

/* Newsletter */
.newsletter {
  background: #0d0d0d;
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 36px 0;
}

.newsletter__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.newsletter__icon { font-size: 40px; color: var(--gold); flex-shrink: 0; }

.newsletter__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter__form {
  display: flex;
  flex: 1;
  gap: 0;
}

.newsletter__form input {
  flex: 1;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-right: none;
  color: var(--white);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1px;
  outline: none;
  transition: var(--transition);
}
.newsletter__form input::placeholder { color: var(--gray); }
.newsletter__form input:focus { border-color: var(--gold); }

.newsletter__form button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter__form button:hover { background: var(--gold-light); }

/* Amenidades */
.amenidades {
  background: #0d0d0d;
  padding: 36px 0;
  border-bottom: 1px solid var(--black-border);
}

.amenidades__grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.amenidade {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.amenidade__icon { font-size: 22px; color: var(--gold); }
.amenidade__label { color: rgba(255,255,255,0.6); }
.amenidade__label strong { color: var(--white); }

/* ---- FOOTER ---- */
.footer {
  background: #080808;
  padding: 48px 0 32px;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--black-border);
  margin-bottom: 24px;
}

.footer__logo img { height: 48px; }

.footer__address {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
}
.footer__address strong { color: var(--white); display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

.footer__cta { align-self: center; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 1px; }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--black-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--gray);
  transition: var(--transition);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }

/* ---- WhatsApp flutuante ---- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }

/* ---- Animações de entrada ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Shine effect nos botões ---- */
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-gold:hover::after { left: 125%; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__subnav { display: none; }
  .contact-bar__item { padding: 16px 20px; }
  .bottom-info__grid { grid-template-columns: 1fr 1fr; }
  .card-veiculo { flex: 0 0 calc(50% - 16px); }
}

@media (max-width: 640px) {
  .hero__title { font-size: 56px; }
  .contact-bar__inner { flex-direction: column; }
  .contact-bar__item { border-right: none; border-bottom: 1px solid var(--black-border); width: 100%; }
  .card-veiculo { flex: 0 0 calc(100% - 16px); }
  .bottom-info__grid { grid-template-columns: 1fr; }
  .newsletter__inner { flex-direction: column; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form button { width: 100%; }
  .footer__main { flex-direction: column; }
  .footer__bottom { flex-direction: column; gap: 16px; }
  .amenidades__grid { gap: 28px; }
}
