/*=========================================
  SEÇÃO HERO - VERSÃO DEFINITIVA
=========================================*/
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a3d33 0%, #0A4D40 50%, #0c5a4c 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Altura do menu */
  padding-bottom: 100px; /* Espaço para a onda */
}

/* Elementos de fundo e onda */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 6;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* Container principal - sempre horizontal para desktop */
.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 200px; /* Padding bottom aumentado para dar espaço à onda */
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* Lado esquerdo - Conteúdo de texto */
.hero-content {
  width: 54%;
  padding-right: 20px;
  color: var(--white);
  text-align: left; /* Sempre alinhado à esquerda */
}

/* Headline e estilos de texto */
.headline-container {
  margin-bottom: 30px;
}

.hero-headline {
  font-size: 42px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 15px;
  position: relative;
  text-align: left;
}

.headline-highlight {
  display: inline-block;
  color: var(--secondary);
  font-weight: 800;
  position: relative;
}

.headline-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(241, 143, 28, 0.3);
  z-index: -1;
  transform: skewX(-5deg);
}

.hero-tagline {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  text-align: left;
}

.hero-tagline em {
  font-style: italic;
  color: var(--secondary-light);
}

/* Benefícios e detalhes */
.hero-details {
  margin-top: 30px;
}

.hero-subheadline {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 100%;
  text-align: left;
}

.hero-benefits {
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  justify-content: flex-start; /* Sempre alinhado à esquerda */
}

.benefit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: bold;
  font-size: 14px;
}

.benefit-text {
  font-size: 16px;
  line-height: 1.5;
}

/* CTA e botão */
.hero-cta-container {
  display: flex;
  align-items: center;
  margin-top: 40px;
  flex-direction: row;
  justify-content: flex-start; /* Sempre alinhado à esquerda */
}

.hero-cta {
  font-size: 16px;
  padding: 14px 28px;
  box-shadow: 0 8px 25px rgba(241, 143, 28, 0.4);
  width: 80%;
  max-width: 350px
  margin: 0;
}

.btn-arrow {
  margin-left: 8px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.hero-cta:hover .btn-arrow {
  transform: translateX(5px);
}

.hero-trust {
  display: flex;
  align-items: center;
  margin-left: 25px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.trust-icon {
  margin-right: 8px;
  font-size: 16px;
}

/* Lado direito - Dashboard */
.hero-graphic {
  width: 46%;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 550px;
  aspect-ratio: 16/10;
  border-radius: 16px;
  background-color: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
  transition: transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
  margin-left: auto; /* Empurra para a direita */
}

@keyframes float {
  0% {
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(-15px);
  }
  100% {
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(0);
  }
}

.hero-mockup:hover {
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-5px);
}

.hero-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-color: var(--medium-gray);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 1;
}

.hero-mockup::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 15px;
  width: 50px;
  height: 10px;
  background: linear-gradient(90deg, #FF5F57 0%, #FF5F57 30%, #FFBD2E 30%, #FFBD2E 60%, #28CA41 60%, #28CA41 100%);
  border-radius: 10px;
  z-index: 2;
}

.hero-mockup-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
  padding-top: 30px;
}

.dashboard-image {
    width: 100%;
    height: calc(100% - 30px); /* Subtraímos 30px que é a altura da barra superior */
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 3; /* Garantir que a imagem apareça sobre o fundo, mas abaixo dos raios */
}

/* Raios de conexão */
.connection-rays {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
  pointer-events: none;
}

.ray {
  position: absolute;
  background: linear-gradient(90deg, rgba(241, 143, 28, 0) 0%, rgba(241, 143, 28, 0.7) 50%, rgba(241, 143, 28, 0) 100%);
  height: 2px;
  transform-origin: left center;
  animation: rayPulse 3s infinite;
}

.ray:nth-child(1) {
  top: 30%;
  left: 20%;
  width: 60%;
  transform: rotate(25deg);
  animation-delay: 0s;
}

.ray:nth-child(2) {
  top: 45%;
  left: 15%;
  width: 70%;
  transform: rotate(15deg);
  animation-delay: 0.5s;
}

.ray:nth-child(3) {
  top: 60%;
  left: 25%;
  width: 55%;
  transform: rotate(-5deg);
  animation-delay: 1s;
}

.ray:nth-child(4) {
  top: 75%;
  left: 20%;
  width: 65%;
  transform: rotate(-20deg);
  animation-delay: 1.5s;
}

@keyframes rayPulse {
  0% {
    opacity: 0;
    transform-origin: left center;
    transform: scaleX(0) translateX(0);
  }
  20% {
    opacity: 1;
  }
  70% {
    transform-origin: left center;
    transform: scaleX(1) translateX(0);
    opacity: 1;
  }
  71% {
    transform-origin: right center;
  }
  100% {
    transform-origin: right center;
    transform: scaleX(0) translateX(0);
    opacity: 0;
  }
}

/* Notificações flutuantes */
.notification {
  position: absolute;
  padding: 12px 18px;
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  z-index: 11;
  animation: float-notification 4s infinite ease-in-out;
}

.notification-icon {
  width: 28px;
  height: 28px;
  background-color: var(--secondary);
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
}

.notification-1 {
  top: 15%;
  left: -15px;
  animation-delay: 0s;
  transform: rotate(-5deg);
}

.notification-2 {
  bottom: 25%;
  right: -15px;
  animation-delay: 2s;
  transform: rotate(3deg);
}

.notification-3 {
  top: 55%;
  left: -25px;
  animation-delay: 1s;
  transform: rotate(-3deg);
}

@keyframes float-notification {
  0% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
  100% {
    transform: translateY(0) rotate(-5deg);
  }
}

/* Contador de vendas */
.counter-container {
  position: absolute;
  bottom: 120px; /* Posicionado acima da onda */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(10, 77, 64, 0.9);
  border-radius: 30px;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  z-index: 20;
  backdrop-filter: blur(10px);
}

.counter-icon {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 20px;
}

.counter-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 5px;
}

/* Elementos flutuantes decorativos */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  opacity: 0.15;
  filter: blur(1px);
}

.fe-1 {
  top: 15%;
  left: 10%;
  width: 60px;
  height: 60px;
  animation: float 8s ease-in-out infinite;
}

.fe-2 {
  top: 25%;
  right: 12%;
  width: 80px;
  height: 80px;
  animation: float 9s ease-in-out infinite reverse;
}

.fe-3 {
  bottom: 20%;
  left: 15%;
  width: 50px;
  height: 50px;
  animation: float 7s ease-in-out infinite 1s;
}

.fe-4 {
  top: 40%;
  left: 20%;
  width: 70px;
  height: 70px;
  animation: float 10s ease-in-out infinite 2s;
}

.fe-5 {
  bottom: 30%;
  right: 15%;
  width: 60px;
  height: 60px;
  animation: float 8s ease-in-out infinite 1.5s;
}

/* RESPONSIVIDADE SIMPLIFICADA */
/* Telas grandes e ultralargas */
@media (min-width: 1400px) {
  .hero-container {
    max-width: 1320px;
    height: 800px;
  }
  
  .hero-headline {
    font-size: 42px;
  }
  
  .hero-tagline {
    font-size: 22px;
  }
  
  .hero-subheadline {
    font-size: 18px;
  }
  
  .hero-mockup {
    max-width: 600px;
  }
}

/* Telas muito grandes */
@media (min-width: 1800px) {
  .hero-container {
    max-width: 1700px;
    height: 930px;
  }
  
  .hero-content {
    max-width: 800px;
  }
  
  .hero-mockup {
    max-width: 650px;
  }
}

/* Tablets grandes para desktop pequeno */
@media (max-width: 1199px) {
  .hero-container {
    max-width: 960px;
  }
  
  .hero-headline {
    font-size: 38px;
  }
  
  .hero-tagline {
    font-size: 18px;
  }
  
  .hero-mockup {
    max-width: 450px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .hero-section {
    padding-bottom: 150px; /* Mais espaço para a onda em tablets */
  }
  
  .hero-container {
    flex-direction: column;
    max-width: 720px;
    padding: 30px 20px 100px;
  }
  
  .hero-content {
    width: 100%;
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .hero-headline {
    font-size: 36px;
    text-align: center;
  }
  
  .hero-tagline {
    text-align: center;
  }
  
  .hero-subheadline {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .benefit-item {
    justify-content: center;
  }
  
  .hero-cta-container {
    justify-content: center;
    flex-direction: column;
  }
  
  .hero-trust {
    margin-left: 0;
    margin-top: 15px;
  }
  
  .hero-graphic {
    width: 100%;
    justify-content: center;
  }
  
  .hero-mockup {
    max-width: 90%;
    margin: 0 auto;
    transform: perspective(1000px) rotateY(0deg) rotateX(5deg);
  }
  
  @keyframes float {
    0% {
      transform: perspective(1000px) rotateY(0deg) rotateX(5deg) translateY(0);
    }
    50% {
      transform: perspective(1000px) rotateY(0deg) rotateX(5deg) translateY(-15px);
    }
    100% {
      transform: perspective(1000px) rotateY(0deg) rotateX(5deg) translateY(0);
    }
  }
  
  .notification-1 {
    top: 10%;
    left: 10%;
  }
  
  .notification-2 {
    bottom: 15%;
    right: 10%;
  }
  
  .notification-3 {
    display: none;
  }
  
  .counter-container {
    bottom: 80px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-container {
    max-width: 540px;
    padding: 20px 15px 80px;
  }
  
  .hero-headline {
    margin-top: 40px; /* ajusta o valor como quiser */
    font-size: 32px;
  }
  
  .hero-container h1,
  .hero-container h2,
  .hero-container h3,
  .hero-container p,
  .hero-container span {
    text-align: center;
  }
  
  .counter-container {
    width: 90%;
    padding: 10px 20px;
    bottom: 100px;
  }
  
  .counter-value {
    font-size: 24px;
  }
  
   .dashboard-image {
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1); /* aumenta 20% no mobile */
   }
}

/* Mobile pequeno */
@media (max-width: 575px) {
  .hero-section {
    padding-bottom: 120px;
  }
  
  .hero-container {
    padding: 10px 15px 70px;
  }
  
  .hero-headline {
    font-size: 28px;
    text-align: left;
  }
  
  .hero-tagline {
    font-size: 16px;
    text-align: left;
  }
  
  .hero-subheadline {
    font-size: 15px;
    text-align: left;
  }
  
  .benefit-item {
    justify-content: flex-start;
  }
  
  .hero-cta-container {
    justify-content: flex-start;
  }
  
  .counter-container {
    width: 95%;
    font-size: 14px;
    bottom: 80px;
  }
  
  /* Botão Flutuante WhatsApp */
  #leaper-whatsapp-button button:hover {
    transform: translateY(-5px) rotate(0deg) !important;
    box-shadow: 0 12px 28px rgba(22, 71, 52, 0.4) !important;
  }
  
  #leaper-whatsapp-button button:hover img {
    transform: scale(1.1) !important;
  }
  
  #leaper-whatsapp-button button:hover span {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  
  #leaper-whatsapp-button span::after {
    content: '' !important;
    position: absolute !important;
    right: -8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-width: 8px 0 8px 8px !important;
    border-style: solid !important;
    border-color: transparent transparent transparent #164734 !important;
  }
  
  @keyframes leaper_pulse {
    0% {
      transform: scale(0.8) rotate(-5deg) !important;
      opacity: 0 !important;
    }
    50% {
      opacity: 0.4 !important;
    }
    100% {
      transform: scale(1.2) rotate(-5deg) !important;
      opacity: 0 !important;
    }
  }
}