.hero {
  display: flex;
  width: 100%;
  margin: 0;
  position: relative;
  background: var(--gradiente-2);
  min-height: 100vh;
  align-items: center;
}

.hero-content {
  width: 580px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.logo {
  width: 131px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.title {
  /* Tamanho dinâmico baseado na viewport */
  font-size: 50px;
  line-height: 1.6;
  padding-bottom: 20px;
  font-family: var(--font-lora);
  color: var(--azul-fonte);
  
  /* Permite quebra de linha automática */
  word-wrap: break-word;
  
  /* Ajusta o espaçamento entre letras em telas menores */
  letter-spacing: clamp(-0.02em, 0.5vw - 0.5em, 0em);
}

.destaque-titulo{
  color: var(--azul-secundario);
}

.cta {
  max-width: 300px;
  min-height: 50px;
  background-color: var(--azul-primario);
  color: var(--branco-secundario);
  border: none;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 45px;
}

.cta:hover {
  background: var(--azul-fonte);
  color: var(--branco-secundario);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-description-hero {
  font-family: var(--font-inter);
  font-size: 16px;
  color: var(--preto);
  line-height: 1.5;
  max-width: 400px;
}

.product-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100vh;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.product-image img {
  opacity: 1;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.4s ease-in-out; /* Adiciona transição suave */
}

.ghost-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-arrows {
  display: none;
}

.ghost-arrow:before {
  content: '>';
  font-size: 32px;
  font-weight: 300;
  color: var(--preto);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
}

.ghost-arrow:hover:before {
  transform: translateX(8px);
  opacity: 1;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.ghost-arrow:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.ghost-arrow:hover:after {
  transform: scale(1.1);
  border-color: rgba(0, 0, 0, 0.4);
}

/* Responsivo */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding: 40px 0;
  }

  .hero-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    width: 90%;
    max-width: none;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .title {
    font-size: clamp(1.875rem, 3.5vw + 1rem, 3rem);
  }

  .product-image {
    width: 100%;
    padding: 20px 40px;
    justify-content: center;
    height: 70vh;
  }

  .product-image img {
    width: 90%;
    max-width: 500px;
    height: 100%;
  }

  .ghost-arrow {
    display: none;
  }

  .product-description-hero {
    text-align: left;
  }
}

/* Versão Mobile */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .hero-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
    height: auto;
    align-items: flex-start;
    text-align: left;
  }

  .logo {
    width: 92px;
    height: 70px;
    margin-bottom: 15px;
    margin-top: 0;
  }

  .title {
    /* Ajuste específico para mobile */
    font-size: 30px;
    line-height: 100px;
    margin-bottom: 25px;
  }

  .cta {
    font-size: 16px;
    margin-bottom: 25px;
    width: 200px;
  }

  .product-image {
    width: 100%;
    margin-top: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    height: 50vh;
  }

  .product-image img {
    width: 110%;
    max-width: 400px;
    height: 100%;
  }

  .mobile-arrows {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
  }

  /* Adicione isso na seção de media query mobile */
  .mobile-arrow {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--azul-primario);
    padding: 5px 15px;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .mobile-arrow:hover {
    transform: scale(1.2);
    color: var(--azul-fonte);
  }

  .mobile-arrow:active {
    transform: scale(0.95);
  }

  /* Garante que a seta fantasma não apareça em mobile */
  .ghost-arrow {
    display: none;
  }
}
