body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  background-color: #f8fafc;
}

.floating-header {
  position: sticky;
  top: 1rem;
  width: 95%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  border-radius: 1rem;
  z-index: 100;
  transition: top 0.3s ease-in-out;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

#sec-2, #numeros, #sec-4, #sec-5 {
  z-index: 100;
}

/* --- REGRAS DESKTOP (PC) --- */
@media (min-width: 768px) {
  
  /* Container da imagem do Hero */
  .hero-desktop-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
  }

  /* A imagem do Hero */
  .hero-desktop-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }

  /* Gradiente de Fusão */
  .hero-desktop-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f8fafc 5%, rgba(248, 250, 252, 0.8) 30%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  /* Área de texto */
  .hero-text-area {
    width: 50%;
    position: relative;
    z-index: 10;
  }

  .hero-mobile-img {
    display: none;
  }

  .img-sec-1 {
    margin-top: -40px;
    height: 500px;
    width: 1000px;
  }
  
  .video1 {
    margin-left: auto; /* Corrigido para centralizar */
    margin-right: auto;
    height: 384px;
    width: 208px;
    display: block;
  }

  .video2 {
    margin-left: auto; /* Corrigido para centralizar */
    margin-right: auto;
    height: 384px;
    width: 208px;
    display: block;
  }
}

@media (min-width: 1400px) {
  .hero-desktop-gradient {
    height: 70%;
  }
}

/* --- REGRAS MOBILE (Celular) --- */
@media (max-width: 768px) {
  .video1 {
    margin-left: auto;
    margin-right: auto;
    width: 208px;
    height: 384px;
    display: block;
  }
  .video2 {
    margin-left: auto;
    margin-right: auto;
    width: 208px;
    height: 384px;
    display: block;
  }
}

/* --- OUTROS ESTILOS GERAIS --- */

.gradient-bg {
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #374151;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.aspect-video-16-9 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.aspect-video-16-9 img,
.aspect-video-16-9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-button {
  animation: float-in 1.0s ease-out forwards;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter {
  display: inline-block;
  min-width: 100px;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}