/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100svh;
  background-image: url('../assets/carro-hero.png');
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
  overflow: hidden;
}

/* Dark gradient overlay para legibilidade */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 20, 35, 0.88) 0%,
    rgba(10, 20, 35, 0.72) 45%,
    rgba(10, 20, 35, 0.30) 75%,
    rgba(10, 20, 35, 0.10) 100%
  );
  pointer-events: none;
}

/* Bottom vignette */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(10, 20, 35, 0.55), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.hero__content {
  text-align: left;
  max-width: 600px;
}

.hero__image {
  display: none;
}

.hero__badge {
  position: absolute;
  top: 8%;
  left: 12%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-primary-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.45);
  z-index: 2;
  animation: badge-pulse 3s ease-in-out infinite;
}

.hero__badge span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__badge strong {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(201, 168, 76, 0.45); }
  50%       { transform: scale(1.06); box-shadow: 0 12px 32px rgba(201, 168, 76, 0.6); }
}

.hero__car-img {
  width: 120%;
  max-width: 1200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.18));
}

.hero__logo {
  width: 180px;
  height: auto;
  margin: 0 auto var(--space-lg);
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

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

.hero__subtitle {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.80);
  max-width: 480px;
  margin: 0 0 var(--space-xl);
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero__trust {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__trust .trust-item {
  color: rgba(255, 255, 255, 0.80);
}

.hero__trust .trust-item svg {
  fill: var(--color-gold);
}

/* Sub-page hero (smaller) */
.hero-sub {
  background-color: var(--color-primary-dark);
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero-sub::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-sub::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.hero-sub__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-sub__eyebrow {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-sm);
}

.hero-sub__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.hero-sub__title em {
  font-style: normal;
  color: var(--color-gold);
}

.hero-sub__desc {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.hero-sub__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  fill: var(--color-gold);
  opacity: 0.5;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
