body {
    font-family: 'Inter', sans-serif;
    background-color: #111111;
    /* Cor de fundo principal */
    color: #E2E8F0;
}

main {
    position: relative;
    z-index: 10;
    background-color: #111111;
    /* ESSENCIAL para cobrir o rodapé */
    margin-bottom: 550px;
    /* GARANTE espaço para o rodapé */
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    /* Fica atrás do main */
    height: 550px;
    /* Altura fixa para o rodapé */
}

.glass-effect {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-effect:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(249, 115, 22, 0.5);
    border-color: rgba(249, 115, 22, 0.4);
}

.header-glass-effect {
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(10px);
}

.metallic-gradient-text {
    background: linear-gradient(135deg, #e0e0e0 0%, #a0a0a0 25%, #606060 50%, #a0a0a0 75%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

header {
    transition: top 0.4s ease-in-out;
}

.cta-button-popular {
    background-color: #F97316;
    color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

.cta-button-popular:hover {
    background-color: #FB923C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.marquee-portfolio {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-portfolio-content {
    display: flex;
    width: fit-content;
    animation: marquee-portfolio-anim 40s linear infinite;
}

@keyframes marquee-portfolio-anim {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.portfolio-card {
    flex-shrink: 0;
    width: 70vw;
    max-width: 320px;
    margin: 0 1rem;
    transition: transform 0.3s ease;
    background-color: #1A1A1A;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

.portfolio-card:hover {
    transform: scale(1.03);
}

.portfolio-card-image {
    width: 100%;
    height: 100%;
    padding-top: 62.5%;
    /* 16:10 Aspect Ratio */
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.portfolio-card-title {
    text-align: center;
    font-weight: 600;
    color: #e2e8f0;
    padding: 1rem;
}

.faq-item {
    background-color: #1A1A1A;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    background-color: #2a2a2a;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
    transform: translateY(-3px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 500;
    color: #e2e8f0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #a0a0a0;
    padding-top: 0;
}

.faq-answer.active {
    max-height: 500px;
    /* Increased max-height */
    padding-top: 1rem;
}

.faq-icon {
    color: #FF7300;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(45deg);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
    border-color: rgba(249, 115, 22, 0.5);
}

/* Estilos do Cursor Animado */
.cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 9999;
    will-change: transform;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #F97316;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid #F97316;
    opacity: 0.7;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

@media (pointer: fine) {

    html,
    body,
    a,
    button {
        cursor: none;
    }
}

@media (pointer: coarse) {
    .cursor {
        display: none !important;
    }
}

.cursor-outline.hover {
    transform: translate(-50%, -50%) scale(1.4);
    background-color: rgba(249, 115, 22, 0.2);
}

::-webkit-scrollbar {
    width: 12px;
    height: 8px;
    /* Altura da scrollbar horizontal */
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #4a4a4a;
    border-radius: 20px;
    border: 3px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #F97316;
}

/* Animação do Círculo */
.loader {
    --color-one: #ffbf48;
    --color-two: #be4a1d;
    --color-three: #ffbf4780;
    --color-four: #bf4a1d80;
    --color-five: #ffbf4740;
    --time-animation: 2s;
    --size: 1;
    position: relative;
    border-radius: 50%;
    transform: scale(var(--size));
    box-shadow:
        0 0 25px 0 var(--color-three),
        0 20px 50px 0 var(--color-four);
    animation: colorize calc(var(--time-animation) * 3) ease-in-out infinite;
}

.loader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-top: solid 1px var(--color-one);
    border-bottom: solid 1px var(--color-two);
    background: linear-gradient(180deg, var(--color-five), var(--color-four));
    box-shadow:
        inset 0 10px 10px 0 var(--color-three),
        inset 0 -10px 10px 0 var(--color-four);
}

.loader .box {
    width: 100px;
    height: 100px;
    background: linear-gradient(180deg,
            var(--color-one) 30%,
            var(--color-two) 70%);
    mask: url(#clipping);
    -webkit-mask: url(#clipping);
}

.loader svg {
    position: absolute;
    width: 0;
    height: 0;
}

.loader svg #clipping {
    filter: contrast(15);
    animation: roundness calc(var(--time-animation) / 2) linear infinite;
}

.loader svg #clipping polygon {
    filter: blur(7px);
}

.loader svg #clipping polygon:nth-child(1) {
    transform-origin: 75% 25%;
    transform: rotate(90deg);
}

.loader svg #clipping polygon:nth-child(2) {
    transform-origin: 50% 50%;
    animation: rotation var(--time-animation) linear infinite reverse;
}

.loader svg #clipping polygon:nth-child(3) {
    transform-origin: 50% 60%;
    animation: rotation var(--time-animation) linear infinite;
    animation-delay: calc(var(--time-animation) / -3);
}

.loader svg #clipping polygon:nth-child(4) {
    transform-origin: 40% 40%;
    animation: rotation var(--time-animation) linear infinite reverse;
}

.loader svg #clipping polygon:nth-child(5) {
    transform-origin: 40% 40%;
    animation: rotation var(--time-animation) linear infinite reverse;
    animation-delay: calc(var(--time-animation) / -2);
}

.loader svg #clipping polygon:nth-child(6) {
    transform-origin: 60% 40%;
    animation: rotation var(--time-animation) linear infinite;
}

.loader svg #clipping polygon:nth-child(7) {
    transform-origin: 60% 40%;
    animation: rotation var(--time-animation) linear infinite;
    animation-delay: calc(var(--time-animation) / -1.5);
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes roundness {
    0% {
        filter: contrast(15);
    }

    20% {
        filter: contrast(3);
    }

    40% {
        filter: contrast(3);
    }

    60% {
        filter: contrast(15);
    }

    100% {
        filter: contrast(15);
    }
}

@keyframes colorize {
    0% {
        filter: hue-rotate(0deg);
    }

    20% {
        filter: hue-rotate(-30deg);
    }

    40% {
        filter: hue-rotate(-60deg);
    }

    60% {
        filter: hue-rotate(-90deg);
    }

    80% {
        filter: hue-rotate(-45deg);
    }

    100% {
        filter: hue-rotate(0deg);
    }
}