* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;

  background-image: url("bg.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 0.1s linear;
  will-change: transform;
}

.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  /* background: rgba(0,0,0,0.3); */
}

.content h1 {
  font-size: 3rem;
}

.content p {
  margin-top: 10px;
  font-size: 1.2rem;
}


.fixed-mask {
  position: fixed;
  top: 30px;
  left: 30px;
  width: 31px;   /* ajuste conforme a imagem */
  height: 48px;
  overflow: hidden;
  z-index: 10;
}

.fixed-mask img {
  width: 100%;
  height: auto;
  transform: translateX(-100%);
  animation: revealLeftRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-play-state: paused;
}

@keyframes revealLeftRight {
  to {
    transform: translateX(0);
  }
}

.logo-reveal {
  overflow: hidden;
  height: 90px; /* ajuste conforme o logo */
  margin-bottom: 30px;
}

.logo-reveal img {
  width: 245px;
  transform: translateY(100%);
  opacity: 0;
  animation: revealUp 1.2s ease-out forwards;
  animation-play-state: paused;
}


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

.text-reveal {
  font-size: 1.2rem;
  font-weight: 300; /* Montserrat Light */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 20px;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.6rem;
}

.text-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: letterReveal 0.6s ease-out forwards;
}

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


@media (max-width: 768px) {

  /* HERO */
  .hero {
    height: 100svh;
  }

  /* TEXTO ANIMADO */
  .text-reveal {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    white-space: normal;
    text-align: center;
    padding: 0 20px;
  }

/* CONTEÚDO CENTRAL */
  .content {
    padding: 0 20px;
  }

  /* LOGO PRINCIPAL (MAIOR NO MOBILE) */
  .logo-reveal {
    height: auto !important;
    margin-bottom: 0;
  }

  .logo-reveal img {
    width: 220px !important;
    max-width: none !important;
    height: auto !important;
    transform-origin: center bottom;
  }

  /* TEXTO PRINCIPAL */
  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 1rem;
    max-width: 90%;
  }

  /* IMAGEM FIXA TOPO ESQUERDO */
  .fixed-mask {
    width: 31px;
    height: 48px;
    top: 30px;
    left: 30px;
  }
}





