/* ===================================
   TELEHOME - HERO SECTION
   Seção principal/destaque
   =================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 150px var(--spacing-xl) var(--spacing-3xl);
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Elemento decorativo de fundo */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 110, 66, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
  z-index: 0;
}

/* Conteúdo do Hero */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.8s ease-out;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto var(--spacing-lg);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.35);
  animation: slideInDown 0.8s ease-out 0.2s both;
}

.hero-brand {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.hero-logo {
  max-width: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: translateY(-2px);
  animation: logoFloat 3s ease-in-out infinite;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hero-logo:hover {
  transform: translateY(-6px) scale(1.02);
  opacity: 0.95;
}

.hero .subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xs);
  color: var(--accent-light);
  font-weight: 300;
}

.hero-tagline {
  max-width: 720px;
  margin: 0 auto var(--spacing-2xl);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.95;
  line-height: 1.7;
}

.hero-description {
  max-width: 720px;
  margin: 0 auto var(--spacing-2xl);
  font-size: var(--font-size-lg);
  opacity: 0.95;
  line-height: 1.8;
}

/* CTA Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-top: var(--spacing-3xl);
}

.hero-buttons .btn {
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-accent {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
}

.hero-buttons .btn-accent:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 212, 170, 0.3);
}

.hero-buttons .btn-white {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
}

.hero-buttons .btn-white:hover {
  transform: translateY(-4px) scale(1.05);
  background-color: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

/* Stats do Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-3xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
}

.stat-item:nth-child(2) {
  animation-delay: 0.1s;
}

.stat-item:nth-child(3) {
  animation-delay: 0.2s;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--accent-light);
  margin-top: var(--spacing-sm);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
  content: '';
  width: 4px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 2px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(20px);
  }
}

@keyframes scroll-bounce {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: var(--spacing-2xl);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: var(--font-size-lg);
  }

  .hero-description {
    font-size: var(--font-size-base);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
  }
}

/* ===== Hero Logo Quality Upgrade ===== */
.hero-logo {
  max-width: 420px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.22));
}
