/* 
 * HERO SECTION - Agência Precisão
 * Estilos para a seção hero principal
 */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: 5vw;
  justify-content: center;
  background: linear-gradient(135deg, var(--cor-fundo-escuro) 0%, var(--cor-fundo-mais-escuro) 100%);
  overflow: hidden;
	z-index: 1;
}

/* Particles Background */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}

/* Hero Content Layout */
.hero-content {
  position: relative;
  display: flex;
  width: 90%;
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  flex-direction: row-reverse;
}

/* Text Content */
.hero-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 550px;
  padding-right: 3rem;
  z-index: 1;
}

/* Logo no topo da Hero */
.hero-logo-top {
  margin-bottom: 2rem;
  max-width:380px;
	z-index: 3;
}

.hero-logo-top img {
  width: 420px;
  height: auto;
  display: block;
  margin-top: 20px;
}

/* Ajuste para telas menores (mobile) */
@media (max-width: 768px) {
  .hero-logo-top img {
    width: 120px; /* ou o valor que quiser pro mobile */
  }
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-text p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Illustration Section */
.hero-illustration {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.laptop-container {
  position: relative;
  width: 350px;
  height: 230px;
  transform: perspective(1000px) rotateY(-15deg);
}

.laptop {
  position: absolute;
  width: 100%;
  height: 100%;
}

.laptop-screen {
  position: absolute;
  width: 100%;
  height: 85%;
  background-color: #131e2a;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border: 2px solid #1e2e3e;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.15);
}

.laptop-base {
  position: absolute;
  bottom: 0;
  width: 120%;
  height: 15%;
  left: -10%;
  background-color: #1a2838;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Rocket Animation */
.rocket-animation {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

.rocket {
  position: absolute;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  width: 40px;
  height: 70px;
  animation: rocket-launch 4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rocket-body {
  position: absolute;
  width: 24px;
  height: 45px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f5f5f5;
  border-radius: 50% 50% 20% 20%;
}

.rocket-window {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--cor-primaria);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cor-primaria);
}

.rocket-fins {
  position: absolute;
  width: 40px;
  height: 15px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--cor-secundaria);
  clip-path: polygon(0% 0%, 20% 100%, 80% 100%, 100% 0%);
}

.rocket-fire {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.fire-main {
  position: absolute;
  width: 12px;
  height: 25px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #FD5E53, #FC9C54);
  border-radius: 50% 50% 20% 20%;
  filter: blur(1px);
  animation: fire-flicker 0.3s infinite alternate;
}

.fire-side {
  position: absolute;
  width: 8px;
  height: 15px;
  bottom: 5px;
  background: linear-gradient(to bottom, #FD5E53, #FC9C54);
  border-radius: 50% 50% 20% 20%;
  filter: blur(1px);
  animation: fire-flicker 0.2s infinite alternate;
}

.fire-side-left {
  left: -4px;
}

.fire-side-right {
  right: -4px;
}

/* Stars Background */
.stars {
  position: absolute;
  width: 100%;
  height: 100%;
}

.stars::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(white, rgba(255, 255, 255, 0.2) 2px, transparent 4px);
  background-size: 100px 100px;
  animation: stars-scroll 10s linear infinite;
}

.stars::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(white, rgba(255, 255, 255, 0.15) 1px, transparent 2px);
  background-size: 50px 50px;
  background-position: 25px 25px;
  animation: stars-scroll 15s linear infinite;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
 /* left: 50%; */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  position: relative;
}

.mouse-wheel {
  width: 6px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-wheel 2s ease infinite;
}

.arrow-down {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  animation: arrow-bounce 2s infinite;
}

/* Responsividade Hero Section */
@media screen and (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 0vw 0vw 0vw 0vw;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 0;
    max-width: 100%;
  }
  
  .hero-text h1 {
    font-size: 2.4rem;
  }
  
  .hero-text h2 {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text h2 {
    font-size: 1.2rem;
  }
  
  .hero-text p {
    font-size: 0.9rem;
  }
  
  .laptop-container {
    width: 280px;
    height: 180px;
  }
}

@media screen and (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-illustration {
    height: 200px;
  }
  
  .laptop-container {
    width: 240px;
    height: 160px;
  }
  
  .scroll-indicator {
    bottom: 1rem;
  }
  
  .mouse {
    width: 24px;
    height: 40px;
  }
}

/* Acessibilidade Hero */
@media (prefers-reduced-motion: reduce) {
  .rocket,
  .fire-main,
  .fire-side,
  .stars::before,
  .stars::after,
  .mouse-wheel,
  .arrow-down {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
