  html,
  body {
      margin: 0;
      padding: 0;
      height: 100%;
      scroll-behavior: smooth;
      overflow-y: scroll;
      scroll-snap-type: y mandatory;
  }

  body {
      height: 100%;
      font-family: 'Segoe UI', sans-serif;
      background: #f8f9fa;
      margin: 0;
      padding: 0;
      overflow: visible;
  }

  html {
      height: 100%;
      scroll-behavior: smooth;
      scroll-snap-type: y mandatory;
      overflow-y: scroll;
      margin: 0;
      padding: 0;
  }

  nav {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 999;
      padding: 10px 20px;
      transition: background-color 0.3s, color 0.3s;
  }

  .navbar-transparent {
      background: transparent;
      color: white !important;
  }

  .navbar-scroll {
      color: black !important;
  }

  .navbar-transparent .nav-link,
  .navbar-transparent .navbar-brand {
      color: white !important;
  }

  .navbar-scroll .nav-link,
  .navbar-scroll .navbar-brand {
      color: black !important;
  }

  header,
  main,
  section#contato,
  footer {
      height: 100vh;
      scroll-snap-align: start;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 20px;
      box-sizing: border-box;
  }

  header {
      position: relative;
      overflow: hidden;
      color: white;
      text-align: center;
  }

  header video {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: translate(-50%, -50%);
      z-index: 0;
  }

  header .overlay {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }

  header h1 {
      font-size: 4rem;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  }

  header p {
      font-size: 1.8rem;
      text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
  }

  @media (max-width: 768px) {
      header h1 {
          font-size: 2.8rem;
      }

      header p {
          font-size: 1.3rem;
      }
  }

  main {
      max-width: 900px;
      width: 100%;
      text-align: center;
  }

  iframe {
      width: 100%;
      height: 70vh;
      border: none;
      border-radius: 12px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }

  @media (max-width: 576px) {
      iframe {
          height: 50vh;
      }
  }

  section#contato {
      max-width: 600px;
      width: 100%;
  }

  footer {
      background: #222;
      color: white;
      text-align: center;
      width: 100%;
  }


  .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .reveal.active {
      opacity: 1;
      transform: translateY(0);
  }

  /* Custom scrollbar para WebKit */
  * {
      scrollbar-width: thin;
      scrollbar-color: #ff0000 #000000;
  }

  #loading {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: white;
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: bold;
      color: #333;
  }