/* =======================================================
   Sully — Intro / Hero (fixed background + content overlays)
   ======================================================= */

/* Header sempre acima do hero e do conteúdo */
.site-header { z-index: 1030 !important; }

/* Hero não deve herdar padding-top global */
.hero.hero-intro { 
  padding-top: 0;
  padding-bottom: 100px;
}

/* HERO fica FIXO ocupando a viewport inteira */
.hero-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;          /* fallback */
  height: 100svh;         /* stable viewport (mobile) */
  height: 100dvh;         /* dynamic viewport (mobile moderno) */
  overflow: hidden;

  z-index: 0;
  /*perspective: 1200px;*/
  isolation: isolate;

  background: linear-gradient(
    120deg,
    rgba(68, 242, 230, 1) 0%,
    rgba(188, 242, 68, 1) 100%
  );
}

/* Texto grande ao fundo */
.hero-bgtype {
  position: absolute;
  inset: 0;
  z-index: 1;

  display: grid;
  place-items: center;
  text-align: center;

  pointer-events: none;
  user-select: none;

  mix-blend-mode: color-burn;
}

.hero-bgtype h1 {
  font-weight: 400;
  letter-spacing: .02em;
  line-height: .9;
  font-size: clamp(86px, 14vw, 240px);
  color: #F27243;

}

/* IMAGEM centralizada (sem right:50%) */
.hero-figure {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  z-index: 2;

  width: min(860px, 74vw);
  max-width: 980px;

  transform-style: preserve-3d;
}

.sully-motion-pending .hero-figure {
  opacity: .92;
  transform: translateX(-50%) translateY(32px) scale(.985);
}

.hero-img {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;

  height: 95vh;
  height: 95svh;
  height: 95dvh;

  filter: drop-shadow(0 28px 80px rgba(0,0,0,.35));
  transform: translateZ(0);
}

/* Tagline na frente */
.hero-front {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: grid;
  align-items: end;
  /*justify-items: center;*/

  padding-bottom: clamp(46px, 6vh, 84px);
  padding-inline: var(--pad-x);

  pointer-events: none;
}

.hero-tagline {
  text-align: center;
  /*max-width: 520px;*/
  max-width: 100%;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-primary);
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .85);

}

.sully-motion-pending .hero-tagline {
  opacity: 0;
  transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
  .sully-motion-pending .hero-figure {
    opacity: 1;
    transform: translateX(-50%);
  }

  .sully-motion-pending .hero-tagline {
    opacity: 1;
    transform: none;
  }
}

/* CONTEÚDO começa “depois” da altura do hero e sobe por cima */
.page-content {
  position: relative;
  z-index: 10;

  margin-top: 100vh;   /* fallback */
  margin-top: 100svh;
  margin-top: 100dvh;

  background: #1A1B18; /* cobre o hero por baixo */
}
