/* ==========================================================================
   01 — SECTION HERO & MOTTO (#hero-runway · #hero) · v82
   Estilos consolidados e isolados (removidos do <style> inline do <head>)
   ========================================================================== */
/* Scroll Runway da Hero Section (zoom out fluido até scale(0.2) perfeitamente centralizado com os marquees) */
    .hero-runway {
      position: relative;
      width: 100%;
      height: 235dvh;
      background-color: transparent;
    }

    .hero-sticky-viewport {
      position: sticky;
      top: 0;
      width: 100%;
      height: 100dvh;
      min-height: 100dvh;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: transparent;
      overflow: hidden;
    }

    /* Grid simétrico 1fr / auto / 1fr garante que .hero-marquee-group fique no EXATO centro vertical (50vh), alinhado com .hero-stage */
    .hero-statement-backdrop {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: repeat(3, minmax(0, 1fr));
      align-items: center;
      justify-items: center;
      pointer-events: none;
      overflow: hidden;
      opacity: 0;
      will-change: opacity;
    }

    .hero-motto-head {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      align-self: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: clamp(0.5rem, 1.1vh, 0.9rem);
      padding-top: clamp(2.5rem, 4.5vh, 3.75rem);
      padding-inline: 1.5rem;
      text-align: center;
    }

    .hero-motto-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .hero-motto-logo svg {
      height: clamp(34px, 3.6vw, 52px);
      width: auto;
      display: block;
    }

    .hero-motto-kicker {
      margin: 0;
      font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-size: clamp(0.95rem, 1.3vw, 1.35rem);
      font-weight: 500;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: #e5e4de;
    }

    .hero-marquee-group {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: clamp(0.2rem, 0.8vh, 0.65rem);
    }

    .hero-marquee-row {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      overflow: hidden;
      display: flex;
      user-select: none;
    }

    .hero-marquee-track {
      display: flex;
      width: max-content;
      will-change: transform;
    }

    /* Linha 1: direita -> esquerda de forma infinita */
    .hero-marquee-track--top {
      animation: heroMarqueeRTL 28s linear infinite;
    }

    /* Linha 2: esquerda -> direita de forma infinita */
    .hero-marquee-track--bottom {
      animation: heroMarqueeLTR 30s linear infinite;
    }

    .hero-marquee-item {
      display: inline-flex;
      align-items: center;
      white-space: nowrap;
      text-transform: uppercase;
      line-height: 0.96;
      padding-right: clamp(2.25rem, 4.5vw, 5rem);
    }

    .hero-marquee-item--top {
      font-family: "Wittgenstein", Georgia, "Times New Roman", serif;
      font-size: clamp(3rem, 6vw, 16rem);
      font-weight: 600;
      letter-spacing: 0.015em;
      color: #a8c639;
    }

    .hero-marquee-item--bottom {
      font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-size: clamp(4rem, 8vw, 15rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #e5e4de;
    }

    .hero-marquee-sep {
      display: inline-block;
      margin-left: clamp(2.25rem, 4.5vw, 5rem);
      font-size: 0.36em;
      vertical-align: middle;
      opacity: 0.55;
    }

    @keyframes heroMarqueeRTL {
      0%   { transform: translate3d(0%, 0, 0); }
      100% { transform: translate3d(-50%, 0, 0); }
    }

    @keyframes heroMarqueeLTR {
      0%   { transform: translate3d(-50%, 0, 0); }
      100% { transform: translate3d(0%, 0, 0); }
    }

    /* Palco da Hero (termina o zoom out em transform: scale(0.2) perfeitamente centralizado com os marquees) */
    .hero-stage {
      position: absolute;
      inset: 0;
      margin: auto;
      z-index: 3;
      width: 100%;
      height: 100dvh;
      min-height: 100dvh;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #0a0518;
      overflow: hidden;
      transform-origin: center center;
      will-change: transform, filter, clip-path;
    }

    /* Camada 1: Background atrás de tudo */
    .hero-bg-layer {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: 0;
      transform: scale(1.025);
      transition: opacity 1.75s cubic-bezier(0.16, 1, 0.3, 1), transform 2.1s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: opacity, transform;
    }
    .hero-stage.is-revealed .hero-bg-layer {
      opacity: 1;
      transform: scale(1);
    }
    .hero-bg-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      opacity: 0;
      transition: opacity 1.45s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .hero-bg-img.is-img-ready {
      opacity: 1;
    }
    .hero-bg-img[src=""],
    .hero-fg-img[src=""] {
      opacity: 0;
    }

    /* Camada 2 (Desktop) / Camada 3 (Mobile): Logo SVG */
    .hero-logo-layer {
      position: relative;
      z-index: 2;
      width: 70vw;
      max-width: none;
      pointer-events: none;
    }
    .hero-logo-svg {
      display: block;
      width: 100%;
      height: auto;
      max-width: none;
      overflow: hidden;
    }

    /* Camada 3 (Desktop) / Camada 2 (Mobile): Foreground */
    .hero-fg-layer {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      pointer-events: none;
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 1.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, transform 2.0s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
      will-change: opacity, transform;
    }
    .hero-stage.is-revealed .hero-fg-layer {
      opacity: 1;
      transform: translateY(0);
    }
    .hero-fg-img {
      display: block;
      max-height: 92dvh;
      max-width: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      object-position: bottom center;
      opacity: 0;
      transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
    }
    .hero-fg-img.is-img-ready {
      opacity: 1;
    }

    /* Camada 4: Tagline (alinhada próxima à base do viewport) */
    .hero-tagline-layer {
      position: absolute;
      left: 0;
      right: 0;
      bottom: clamp(1.4rem, 3.4dvh, 2.6rem);
      z-index: 4;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-inline: clamp(1.5rem, 6vw, 7.5rem);
      pointer-events: none;
    }
    .hero-tagline {
      margin: 0;
      font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-size: clamp(0.6875rem, 2vw, 3.05rem);
      font-weight: 700;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      text-align: center;
      color: #a8c639;
      opacity: 0;
      transform: translateY(10px);
      will-change: opacity, transform;
    }
    .hero-scroll-cue {
      position: absolute;
      right: clamp(1.15rem, 2.6vw, 2.2rem);
      bottom: max(1.25rem, env(safe-area-inset-bottom));
      z-index: 6;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: clamp(72px, 5.8vw, 94px);
      height: clamp(72px, 5.8vw, 94px);
      margin: 0;
      color: #e5e4de;
      text-decoration: none;
      pointer-events: none;
      opacity: 0;
      transform: translateY(8px) scale(0.92);
      transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.35s,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
    }
    .hero-stage.is-revealed .hero-scroll-cue {
      opacity: 0.94;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }
    .hero-stage.is-revealed .hero-scroll-cue.is-scrolled-away {
      opacity: 0;
      pointer-events: none;
      transform: translateY(-10px) scale(0.86);
      transition:
        opacity 0.32s ease 0s,
        transform 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0s;
    }
    .hero-scroll-cue:hover,
    .hero-scroll-cue:focus-visible {
      opacity: 1;
      outline: none;
    }
    .hero-scroll-wheel-svg {
      width: 100%;
      height: 100%;
      display: block;
      overflow: visible;
      transform-origin: 50% 50%;
      will-change: transform;
      animation: raju-scroll-wheel-spin 14s linear infinite;
    }
    .hero-scroll-cue:hover .hero-scroll-wheel-svg {
      animation-duration: 8s;
    }
    .hero-scroll-wheel-ring {
      transform-origin: 60px 60px;
    }
    .hero-scroll-wheel-text {
      font-family: var(--font-mono, "JetBrains Mono", monospace);
      font-size: 9.6px;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      fill: #e5e4de;
    }
    .hero-scroll-wheel-arrow {
      position: absolute;
      inset: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #a8c639;
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .hero-scroll-wheel-arrow svg {
      width: clamp(18px, 1.55vw, 23px);
      height: clamp(18px, 1.55vw, 23px);
      display: block;
    }
    .hero-scroll-cue:hover .hero-scroll-wheel-arrow,
    .hero-scroll-cue:focus-visible .hero-scroll-wheel-arrow {
      transform: translateY(3px);
    }
    @keyframes raju-scroll-wheel-spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    @media (max-width: 640px) {
      .hero-tagline-layer {
        bottom: max(1.65rem, calc(env(safe-area-inset-bottom) + 0.65rem));
        padding-inline: 1.25rem 4.75rem;
      }
      .hero-scroll-cue {
        width: 58px;
        height: 58px;
        right: 1rem;
        bottom: max(1rem, env(safe-area-inset-bottom));
      }
    }


    /* Película monocromática Deep Indigo ativada progressivamente no zoom out */
    .hero-mono-wash {
      position: absolute;
      inset: 0;
      z-index: 5;
      pointer-events: none;
      opacity: 0;
      background: radial-gradient(circle at center, rgba(10, 5, 24, 0.14) 0%, rgba(10, 5, 24, 0.62) 100%);
      box-shadow: inset 0 0 0 2px rgba(229, 228, 222, 0.18);
      will-change: opacity;
    }

    

    

    /* APENAS MOBILE: Logo e Tagline à frente das duas imagens + Nav fixa exclusiva */
    @media (max-width: 900px) {
      .hero-bg-layer { z-index: 1; }
      .hero-fg-layer { z-index: 2; }
      .hero-logo-layer { z-index: 3; width: 84vw; }
      .hero-tagline-layer {
        z-index: 4;
        bottom: clamp(4.25rem, 11vh, 7rem);
      }
      .hero-tagline { letter-spacing: 0.16em; }
    }

/* ==========================================================================
   02 — SECTION 1 & 2: HERO STAGE + MOTTO MARQUEE
   ========================================================================== */
.hero-fluid-reveal-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-motto-logo svg {
  height: clamp(28px, 3vw, 44px);
  width: auto;
  aspect-ratio: 1806 / 845.63;
  display: block;
}

.hero-mobile-motto-tagline {
  display: none;
}

.hero-tagline-text {
  font-size: clamp(0.68rem, 0.95vw, 0.92rem);
}

@media (max-width: 900px) {
  /* Section 2 exclusiva para MOBILE: Logo + Intro (topo), .hero-stage (centro), 2 linhas animadas + Tagline (baixo) */
  .hero-statement-backdrop {
    grid-template-rows: 1fr 35dvh 1fr;
    align-items: center;
    justify-items: center;
  }

  .hero-motto-head {
    grid-row: 1;
    align-self: center;
    padding-top: max(4.25rem, calc(env(safe-area-inset-top) + 3.5rem));
    padding-bottom: 0.25rem;
    gap: 0.4rem;
  }

  .hero-mono-wash {
    box-shadow: none;
  }

  .hero-motto-spacer {
    grid-row: 2;
    width: 100%;
    height: 100%;
  }

  .hero-marquee-group {
    grid-row: 3;
    align-self: center;
    align-items: center;
    gap: 0.35rem;
    padding-bottom: max(1.75rem, calc(env(safe-area-inset-bottom) + 1.25rem));
  }

  .hero-motto-logo svg {
    height: clamp(26px, 7vw, 36px);
    width: auto;
    aspect-ratio: 1806 / 845.63;
  }

  .hero-motto-kicker {
    font-size: 0.78rem;
  }

  .hero-marquee-item--top {
    font-size: clamp(1.65rem, 6.4vw, 2.6rem);
  }

  .hero-marquee-item--bottom {
    font-size: clamp(1.9rem, 7.2vw, 3rem);
  }

  .hero-mobile-motto-tagline {
    display: block;
    margin: 0.65rem 0 0;
    padding-inline: 1.5rem;
    font-family: var(--font-sans);
    font-size: clamp(0.68rem, 2.7vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    color: var(--accent-acid);
  }
}

/* ==========================================================================
   MOBILE (<= 900px) — .hero-fg-img 80% de altura, inteira (sem corte interno)
   A largura flui proporcionalmente (width: auto; max-width: none) ancorada na base;
   .hero-stage / .hero-sticky-viewport (overflow: hidden) impedem scroll horizontal.
   ========================================================================== */
@media (max-width: 900px) {
  .hero-fg-layer {
    z-index: 2;
    overflow: visible;
  }

  .hero-fg-img {
    height: 80%;
    max-height: 80%;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    object-fit: contain;
    object-position: bottom center;
  }
}

