/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 0 !important;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
  will-change: transform;
}

.hero--loaded .hero__bg img {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.8) 0%,
    rgba(10, 10, 10, 0.65) 40%,
    rgba(10, 10, 10, 0.8) 80%,
    rgba(10, 10, 10, 0.98) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-lg);
  animation: fadeInUp 1s ease forwards;
}

.hero__overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: var(--fw-600);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-xl);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: var(--fw-600);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: italic;
  color: var(--primary);
}

.hero__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--secondary);
  max-width: 540px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-light);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* === WhatsApp Float === */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-base);
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  animation: none;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--surface-light);
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: var(--fw-500);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: calc(var(--space-xl) + 80px);
  right: var(--space-xl);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}
