/* ========================================
   HERO SECTION - Bluestfarm
   Adaptado do tema Bluestone
   ======================================== */

.section-hero {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    0deg,
    rgba(40, 40, 40, 0.65),
    rgba(40, 40, 40, 0.65)
  );
}

@media (max-width: 991px) {
  .section-hero {
    max-height: 720px;
  }
}

.section-hero a.button:hover svg {
  animation: none;
}

/* Background Container */
.section-hero .img-background-in-section-hero {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  z-index: -1;
  background: #000;
}

/* Video Background Desktop e Mobile */
.section-hero .img-background-in-section-hero video {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.95;
  z-index: 2;
}

/* Vídeo Desktop - visível em desktop */
.section-hero .img-background-in-section-hero .hero-video-desktop {
  display: block;
}

/* Vídeo Mobile - escondido em desktop */
.section-hero .img-background-in-section-hero .hero-video-mobile {
  display: none;
}

/* No mobile: esconde vídeo desktop e mostra vídeo mobile */
@media (max-width: 767px) {
  .section-hero .img-background-in-section-hero .hero-video-desktop {
    display: none;
  }
  
  .section-hero .img-background-in-section-hero .hero-video-mobile {
    display: block;
  }
}

/* Image Fallback - Fica atrás do vídeo */
.section-hero .img-background-in-section-hero img {
  display: block;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* No desktop, mostra a imagem apenas se o vídeo não carregar */
@media (min-width: 768px) {
  .section-hero .img-background-in-section-hero img {
    visibility: hidden;
  }
}

/* No mobile, mostra a imagem */
@media (max-width: 767px) {
  .section-hero .img-background-in-section-hero img {
    visibility: visible;
  }
}

/* Content */
.section-hero .content-in-section-hero {
  position: absolute;
  text-align: left;
  top: 50%;
  left: 200px;
  transform: translateY(-50%);
  width: 100%;
  max-width: 872px;
  z-index: 2;
}

.section-hero .content-in-section-hero br {
  display: block;
}

@media (max-width: 1199px) {
  .section-hero .content-in-section-hero {
    left: 100px;
  }
}

@media (max-width: 991px) {
  .section-hero .content-in-section-hero {
    left: 50px;
    top: 55%;
    width: 90%;
  }

  .section-hero .content-in-section-hero br {
    display: none;
  }
}

@media (max-width: 767px) {
  .section-hero .content-in-section-hero {
    left: 20px;
    top: 45%;
    text-align: center;
  }
}

.section-hero .content-in-section-hero h1 {
  color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: 180px;
 line-height: 110.00000000000001%;
}

/* Hero Subtitle */
.section-hero .content-in-section-hero .hero-subtitle {
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  max-width: 872px;
  margin: 40px 0px;
font-weight: 400;
font-size: 24px;
line-height: 125%;
letter-spacing: 0.01em;

}

/* Video Button */
.section-hero .content-in-section-hero a.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--color-primary, #50b04c);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -2%;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.section-hero .content-in-section-hero a.button:hover {
  background-color: var(--color-primary-dark, #3f8b3c);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 176, 76, 0.3);
}

.section-hero .content-in-section-hero a.button svg {
  flex-shrink: 0;
}

/* Social Media Links */
.section-hero .social-in-section-hero {
  position: absolute;
  left: 2.5%;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  z-index: 3;
  display: none; /* Oculto temporariamente */
}

.section-hero .social-in-section-hero ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-hero .social-in-section-hero ul li {
  margin: 0.5rem 0;
}

.section-hero .social-in-section-hero ul li a {
  display: block;
  color: #fff;
  transition: all 0.3s ease;
}

.section-hero .social-in-section-hero ul li a svg {
  width: 24px;
  height: 24px;
}

.section-hero .social-in-section-hero ul li a svg path,
.section-hero .social-in-section-hero ul li a svg circle,
.section-hero .social-in-section-hero ul li a svg rect,
.section-hero .social-in-section-hero ul li a svg polygon {
  transition: all 0.5s ease;
}

.section-hero .social-in-section-hero ul li a:hover {
  color: var(--color-primary, #50b04c);
}

.section-hero .social-in-section-hero ul li a:hover svg path,
.section-hero .social-in-section-hero ul li a:hover svg circle,
.section-hero .social-in-section-hero ul li a:hover svg rect,
.section-hero .social-in-section-hero ul li a:hover svg polygon {
  stroke: var(--color-primary, #50b04c);
}

/* Scroll Down Indicator */
.section-hero .scroll-down-in-section-hero {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -10px;
  padding: 4% 0;
  z-index: 3;
}

@media (max-width: 1399px) {
  .section-hero .scroll-down-in-section-hero {
    padding: 3rem 0;
  }
}

.section-hero .scroll-down-in-section-hero svg {
  animation: scrollAnimation 1.5s ease-out infinite;
}

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

.section-hero .scroll-down-in-section-hero .circle-scroll-down {
  position: absolute;
  display: block;
  border: 1px solid #fff;
  border-radius: 50%;
  top: 0;
  left: 50%;
  width: 30vw;
  height: 30vw;
  margin-left: -15vw;
  opacity: 0.3;
}

@media (max-width: 1399px) {
  .section-hero .scroll-down-in-section-hero .circle-scroll-down {
    width: 38vw;
    height: 38vw;
    margin-left: -19vw;
  }
}

@media (max-width: 991px) {
  .section-hero .scroll-down-in-section-hero,
  .section-hero .social-in-section-hero {
    display: none;
  }
}

/* Responsive Typography */
@media (max-width: 1199px) {
  .section-hero .content-in-section-hero h1 {
    font-size: 72px;
    letter-spacing: -3%;
  }
}

@media (max-width: 991px) {
  .section-hero .content-in-section-hero h1 {
    font-size: 64px;
    letter-spacing: -3%;
  }
}

@media (max-width: 767px) {
  .section-hero .content-in-section-hero h1 {
    color: #FFF;
font-size: 64px;
font-weight: 400;
line-height: 70.4px;
letter-spacing: -1.92px;
  }

  .section-hero .content-in-section-hero .hero-subtitle {
    font-size: 16px;
    letter-spacing: -1%;
  }

  .section-hero .content-in-section-hero a.button {
    padding: 14px 24px;
    font-size: 16px;
    letter-spacing: -1%;
  }
}

@media (max-width: 480px) {
  .section-hero {
    height: 800px;
    max-height: 800px;
  }

  .section-hero .img-background-in-section-hero {
    height: 800px;
  }

  .section-hero .content-in-section-hero {
    left: 12px;
    right: 12px;
    width: calc(100% - 84px);
    max-width: none;
    top: 50%;
    text-align: left;
  }

  .section-hero .content-in-section-hero h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -1.92px;
    margin-bottom: 40px;
  }

  .section-hero .content-in-section-hero .hero-subtitle {
    font-size: 24px;
    line-height: 125%;
    letter-spacing: -0.24px;
    max-width: 100%;
  }

  .section-hero .content-in-section-hero a.button {
    display: none;
  }
}