@import url("index.css");

/* =========================================
   HERO SECTION (PRINCIPAL / HOME)
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--gradiente-hero);
  padding-top: 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-texto {
  color: var(--cor-branca);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero h1 span {
  color: #dcdde1;
  display: block;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 500px;
  font-weight: 300;
}

.hero-cta-group {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px;
  border-radius: 50px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta-group input {
  background: transparent;
  border: none;
  padding: 0 20px;
  color: white;
  outline: none;
  min-width: 250px;
}

.hero-cta-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.hero-imagem {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-img-wrapper {
  position: relative;
}

.hero-main-img {
  max-width: 100%;
  z-index: 2;
  position: relative;
  animation: float 4s ease-in-out infinite;
  transform: scale(1.3);
}

.floating-card {
  position: absolute;
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: var(--cor-texto-principal);
  font-size: 0.9rem;
}

.float-1 {
  top: 40px;
  left: -20px;
  animation: float 5s ease-in-out infinite;
}
.float-2 {
  bottom: 40px;
  right: -10px;
  animation: float 6s ease-in-out infinite 1s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* =========================================
   RESPONSIVIDADE (HOME.CSS)
   ========================================= */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-texto {
    margin: 0 auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .hero-cta-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    gap: 15px;
  }

  .hero-cta-group input {
    width: 100%;
    min-width: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}
