body {
    background-color: #ffffff;
    color: #1f2937;
    overflow-x: hidden;
}

.hero-bg {
    background-image: url('assets/bg-only.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 30%, transparent 70%);
    z-index: 2;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-bg {
    background: radial-gradient(circle at top right, rgba(0, 151, 57, 0.05) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(0, 151, 57, 0.05) 0%, transparent 50%);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.text-balanced {
    text-wrap: balance;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-wrapper {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    width: 240px;
    height: 136px;
    margin: 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-item img {
    max-width: 108%;
    max-height: 108%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo-item:hover {
    transform: scale(1.04);
}

#animated-svg-1,
#animated-svg-passo2,
#animated-svg-passo3 {
    display: block;
    width: 100%;
    height: auto;
    max-width: 320px;
    margin-inline: auto;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    70% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float-anim {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.9);
        opacity: 0.02;
    }

    100% {
        transform: scale(1.05);
        opacity: 0.05;
    }
}

@keyframes pop-sparkle {
    0%,
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes draw-share-line {
    0% {
        stroke-dashoffset: 300;
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
}

@keyframes pop-star {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-30deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes burst-anim {
    0% {
        stroke-dashoffset: 40;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

#animated-svg-1 .float-group,
#animated-svg-passo2 .float-group,
#animated-svg-passo3 .float-group {
    animation: float-anim 4s ease-in-out infinite;
    transform-origin: center;
}

#animated-svg-1 .spin-slow,
#animated-svg-passo2 .spin-slow,
#animated-svg-passo3 .spin-slow {
    animation: spin 20s linear infinite;
    transform-origin: center;
}

#animated-svg-1 .spin-slow-reverse,
#animated-svg-passo2 .spin-slow-reverse,
#animated-svg-passo3 .spin-slow-reverse {
    animation: spin-reverse 25s linear infinite;
    transform-origin: center;
}

#animated-svg-1 .bg-glow,
#animated-svg-passo2 .bg-glow,
#animated-svg-passo3 .bg-glow {
    animation: pulse-glow 4s ease-in-out infinite alternate;
    transform-origin: center;
}

#animated-svg-1 .book-outline {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: draw-line 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#animated-svg-1 .book-fill {
    opacity: 0;
    animation: fade-in 0.8s ease-out 0.5s forwards;
}

#animated-svg-1 .ui-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-line 0.8s ease-out forwards;
}

#animated-svg-1 .ui-line-1 {
    animation-delay: 1.2s;
}

#animated-svg-1 .ui-line-2 {
    animation-delay: 1.4s;
}

#animated-svg-1 .ui-line-3 {
    animation-delay: 1.6s;
}

#animated-svg-1 .ui-line-4 {
    animation-delay: 1.8s;
}

#animated-svg-1 .ui-line-5 {
    animation-delay: 2s;
}

#animated-svg-1 .main-ball {
    transform: scale(0);
    transform-origin: 270px 185px;
    animation: pop-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 2s forwards;
}

#animated-svg-1 .ball-text {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-line 1s ease-out 2.6s forwards;
}

#animated-svg-1 .badge-group {
    transform: scale(0);
    transform-origin: 305px 225px;
    animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 3.2s forwards;
}

#animated-svg-1 .sparkle,
#animated-svg-passo3 .sparkle {
    opacity: 0;
    transform: scale(0);
}

#animated-svg-1 .s1,
#animated-svg-passo3 .s1 {
    animation: pop-sparkle 2s ease-in-out infinite 2.8s;
}

#animated-svg-1 .s2,
#animated-svg-passo3 .s2 {
    animation: pop-sparkle 2.5s ease-in-out infinite 3.1s;
}

#animated-svg-1 .s3,
#animated-svg-passo3 .s3 {
    animation: pop-sparkle 2.2s ease-in-out infinite 3.4s;
}

#animated-svg-passo2 .phone-outline {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: draw-line 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#animated-svg-passo2 .phone-fill {
    opacity: 0;
    animation: fade-in 0.8s ease-out 0.5s forwards;
}

#animated-svg-passo2 .qr-container {
    transform: scale(0);
    transform-origin: 200px 170px;
    animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
}

#animated-svg-passo2 .qr-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-line 0.8s ease-out forwards;
}

#animated-svg-passo2 .qr-delay-1 {
    animation-delay: 1.6s;
}

#animated-svg-passo2 .qr-delay-2 {
    animation-delay: 1.8s;
}

#animated-svg-passo2 .ui-btn {
    opacity: 0;
    transform: translateY(10px);
    animation: slide-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2s forwards;
}

#animated-svg-passo2 .share-link {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    opacity: 0;
    animation: draw-share-line 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#animated-svg-passo2 .link-1 {
    animation-delay: 2.2s;
}

#animated-svg-passo2 .link-2 {
    animation-delay: 2.4s;
}

#animated-svg-passo2 .link-3 {
    animation-delay: 2.6s;
}

#animated-svg-passo2 .node {
    transform: scale(0);
    transform-origin: center;
    animation: pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

#animated-svg-passo2 .node-1 {
    transform-origin: 80px 140px;
    animation-delay: 2.6s;
}

#animated-svg-passo2 .node-2 {
    transform-origin: 320px 100px;
    animation-delay: 2.8s;
}

#animated-svg-passo2 .node-3 {
    transform-origin: 310px 290px;
    animation-delay: 3s;
}

#animated-svg-passo3 .avatar-outline {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw-line 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#animated-svg-passo3 .avatar-fill {
    opacity: 0;
    animation: fade-in 0.6s ease-out forwards;
}

#animated-svg-passo3 .delay-avatar-1 {
    animation-delay: 0.2s;
}

#animated-svg-passo3 .delay-avatar-2 {
    animation-delay: 0.4s;
}

#animated-svg-passo3 .delay-avatar-3 {
    animation-delay: 0.6s;
}

#animated-svg-passo3 .card-outline {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: draw-line 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

#animated-svg-passo3 .card-fill {
    opacity: 0;
    animation: fade-in 0.8s ease-out 1.5s forwards;
}

#animated-svg-passo3 .ui-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-line 0.8s ease-out 1.8s forwards;
}

#animated-svg-passo3 .star {
    transform: scale(0);
    transform-origin: 0 0;
    animation: pop-star 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

#animated-svg-passo3 .star-1 {
    animation-delay: 2.2s;
}

#animated-svg-passo3 .star-2 {
    animation-delay: 2.35s;
}

#animated-svg-passo3 .star-3 {
    animation-delay: 2.5s;
}

#animated-svg-passo3 .star-4 {
    animation-delay: 2.65s;
}

#animated-svg-passo3 .star-5 {
    animation-delay: 2.8s;
}

#animated-svg-passo3 .burst-line {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    opacity: 0;
    animation: burst-anim 0.6s ease-out forwards;
}

#animated-svg-passo3 .b-1 {
    animation-delay: 3s;
}

#animated-svg-passo3 .b-2 {
    animation-delay: 3.1s;
}

#animated-svg-passo3 .b-3 {
    animation-delay: 3.2s;
}

#animated-svg-passo3 .b-4 {
    animation-delay: 3.3s;
}

#animated-svg-passo3 .s1 {
    animation-delay: 3.2s;
}

#animated-svg-passo3 .s2 {
    animation-delay: 3.5s;
}

#animated-svg-passo3 .s3 {
    animation-delay: 3.8s;
}

@media (max-width: 1024px) {
    .logo-item {
        width: 200px;
        height: 112px;
        margin: 0 36px;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.55) 68%, rgba(255, 255, 255, 0.12) 100%);
    }

    .marquee-wrapper {
        animation-duration: 28s;
    }

    .logo-item {
        width: 160px;
        height: 84px;
        margin: 0 18px;
    }

    .logo-item img {
        max-width: 100%;
        max-height: 100%;
    }

    #animated-svg-1,
    #animated-svg-passo2,
    #animated-svg-passo3 {
        max-width: 260px;
    }

    .glass {
        backdrop-filter: blur(6px);
    }
}

@media (max-width: 480px) {
    .marquee-wrapper {
        animation-duration: 24s;
    }

    .logo-item {
        width: 132px;
        height: 72px;
        margin: 0 12px;
    }

    #animated-svg-1,
    #animated-svg-passo2,
    #animated-svg-passo3 {
        max-width: 220px;
    }
}
