:root {
    --raio: -500px;
    --distExtra: 0px
}


.AnimacaoComBurgao {
    height: 4000px;
    z-index: 7;
    width: 100%;
    background: linear-gradient(135deg, rgb(255, 180, 40) 0%, rgb(255, 160, 20) 25%, rgb(255, 145, 0) 50%, rgb(255, 170, 40) 75%, rgb(255, 180, 50) 100%);
    position: relative;
    min-height: 5000px;


}

.conteinerScroll {
    width: 100%;
    height: 1000px;
    display: flex;
    position: sticky;
    top: 0;
    justify-content: center;
    align-items: flex-end;
    background-color: rgba(255, 170, 0, 0);
    transform: translateY(0px);


}
.AnimacaoComBurgao > h1 {
    position: absolute;
    text-align: center;
    font-weight: 800;
    top: 0;
    z-index: 2;
    left: 50%;
    font-size: 50px;
    background-color: rgba(255, 153, 44, 0);
    padding-top: 50px;

}
.conteinerScroll > h1,
.conteinerScroll > .h1-scroll-reveal {
    position: absolute;
    transform: translateY(-300px);
    text-align: center;
    font-weight: 800;
    z-index: 2;
    font-size: clamp(2rem, 5vw, 50px);
    background-color: transparent;
    padding-top: 50px;
    color: #ffffff;
}

.h1-scroll-reveal {
    --scroll-progress: 0;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .h1-scroll-reveal { white-space: normal; }
}

/* Animação do h1 baseada no scroll - palavras apagadas vão acendendo com brilho */
.h1-scroll-reveal .word {
    display: inline-block;
    margin-right: 0.15em;
    transition: opacity 0.12s ease, filter 0.15s ease, text-shadow 0.2s ease, transform 0.2s ease;
    --word-glow: clamp(0, (var(--scroll-progress) - var(--word-index, 0) * 0.18) / 0.28, 1);
    opacity: calc(0.2 + 0.8 * var(--word-glow));
    filter: brightness(calc(0.5 + 0.7 * var(--word-glow)));
    transform: scale(calc(0.92 + 0.08 * var(--word-glow)));
    text-shadow:
        0 0 0 transparent,
        0 0 25px rgba(255, 120, 0, calc(0.7 * var(--word-glow))),
        0 0 50px rgba(255, 80, 0, calc(0.5 * var(--word-glow))),
        0 2px 4px rgba(0, 0, 0, calc(0.3 * (1 - var(--word-glow))));
}

.h1-scroll-reveal .word:last-child { margin-right: 0; }

.stickyNote{
  position: sticky;
  top: 0;                      /* ou top: 80px se quiser descer */
  height: 100vh;    
  width: 1000px;           /* ocupa a viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;            /* corta o que sair do palco */
  background: rgb(255, 170, 0);
}

/* Apenas os divs de hambúrguer (exclui .decoracao-orbita) */
.conteinerScroll > div:not(.decoracao-orbita) {
    animation: puxarOsBurgao linear reverse;
    animation-timeline: scroll();
    position: absolute;

    animation-range: 12% 45%;
    transform-origin: bottom center;
    will-change: transform, opacity;
    opacity: 0;
}

.conteinerScroll > div:nth-child(4) {
    animation: puxarOsBurgao linear reverse;
    animation-timeline: scroll();
    position: absolute;
    animation-range: 18% 53%;
    scale: 1;

    transform-origin: bottom center;
    will-change: transform, opacity;
}

.conteinerScroll > div:nth-child(5) {
    animation: puxarOsBurgao linear reverse;
    animation-timeline: scroll();
    position: absolute;
    animation-range: 26% 58%;
    scale: 1;
    /* ponto de rotação fica bem longe, criando o movimento circular */
    transform-origin: bottom center;
    will-change: transform, opacity;
}

.conteinerScroll > div:nth-child(6) {
    animation: puxarOsBurgao linear reverse;
    animation-timeline: scroll();
    position: absolute;
    animation-range: 32% 66%;
    scale: 1;
    /* ponto de rotação fica bem longe, criando o movimento circular */
    transform-origin: bottom center;
    will-change: transform, opacity;
}

.conteinerScroll > div:nth-child(7) {
    animation: puxarOsBurgao linear reverse;
    animation-timeline: scroll();
    position: absolute;
    animation-range: 40% 72%;
    scale: 1;
    /* ponto de rotação fica bem longe, criando o movimento circular */
    transform-origin: bottom center;
    will-change: transform, opacity;
}

.conteinerScroll > div:nth-child(8) {
    animation: puxarOsBurgao linear reverse;
    animation-timeline: scroll();
    position: absolute;
    animation-range: 90% 145%;
    scale: 1;
    /* ponto de rotação fica bem longe, criando o movimento circular */
    transform-origin: bottom center;
    will-change: transform, opacity;
}

.conteinerScroll > div:not(.decoracao-orbita) > img {
    width: 400px;
    height: 400px;
    display: block;
}

/* ========== Decoração: órbita em volta da frase ========== */
.decoracao-orbita {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%) translateZ(0); /* Aceleração GPU */
    width: 900px;
    height: 900px;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 0;
    pointer-events: none;
    /* Otimizações de performance */
    will-change: transform;
    contain: layout style paint;
    backface-visibility: hidden;
}

/* Classes antigas removidas - agora usando SVG otimizado */
/* Círculo tracejado sugerindo a trilha dos hambúrgueres */
/* .orbita-circulo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 420px;
    margin-left: -210px;
    margin-top: -210px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    animation: orbita-girar 30s linear infinite;
}

.orbita-circulo--interno {
    width: 280px;
    height: 280px;
    margin-left: -140px;
    margin-top: -140px;
    border-color: rgba(255, 255, 255, 0.2);
    animation-duration: 45s;
    animation-direction: reverse;
}

/* Menor (mais perto do centro) */
.orbita-circulo--menor {
    width: 180px;
    height: 180px;
    margin-left: -90px;
    margin-top: -90px;
    border-color: rgba(255, 255, 255, 0.25);
    animation-duration: 25s;
    animation-direction: reverse;
}

/* Maior (preenche mais a tela) */
.orbita-circulo--grande {
    width: 580px;
    height: 580px;
    margin-left: -290px;
    margin-top: -290px;
    border-color: rgba(255, 255, 255, 0.28);
    animation-duration: 38s;
}

/* Ainda maior – quase borda do container */
.orbita-circulo--maior {
    width: 780px;
    height: 780px;
    margin-left: -390px;
    margin-top: -390px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation-duration: 50s;
    animation-direction: reverse;
}

/* Círculos “gordos” (borda mais grossa) */
.orbita-circulo--gordo {
    width: 500px;
    height: 500px;
    margin-left: -250px;
    margin-top: -250px;
    border-width: 3px;
    border-color: rgba(255, 255, 255, 0.3);
    animation-duration: 35s;
}

.orbita-circulo--gordo.orbita-circulo--solido {
    width: 680px;
    height: 680px;
    margin-left: -340px;
    margin-top: -340px;
    border-style: solid;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.18);
    animation-duration: 42s;
    animation-direction: reverse;
}

/* Borda externa – elipse mais larga para preencher cantos */
.orbita-circulo--borda {
    width: 900px;
    height: 750px;
    margin-left: -450px;
    margin-top: -375px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    animation-duration: 55s;
}

/* Raios sutis saindo do centro (onde está a frase) */
.orbita-raios {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 600px;
    height: 600px;
    margin-left: -300px;
    margin-top: -300px;
    background: repeating-conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg 8deg,
        rgba(255, 255, 255, 0.04) 8deg 10deg
    );
    border-radius: 50%;
    animation: orbita-girar 60s linear infinite;
} */

/* Estilos para SVG otimizado */
.orbita-svg {
    width: 100%;
    height: 100%;
    shape-rendering: optimizeSpeed;
    text-rendering: optimizeSpeed;
}

.orbita-circulo-svg {
    vector-effect: non-scaling-stroke;
    shape-rendering: geometricPrecision;
}

.orbita-raios-svg {
    opacity: 0.4;
}


@keyframes puxarOsBurgao {
    0% {
        transform: rotate(-75deg) translateY(var(--raio));
        opacity: 0;
        
    }

    10% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(75deg) translateY(var(--raio));
        
    }
}

@keyframes seguirHamburguer {
    from {
        transform:translateY(0px);
    }
    to {
        position: absolute;
        transform:translateY(300px);
    }
    
}