.footer {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    align-items: center; /* Centraliza o conteudo verticalmente no meio da tela */
    margin-inline: auto;
    padding: var(--padding);
    background: linear-gradient(0deg, #242424 0%, #0B0B0B 100%);
    overflow: hidden;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/bg/footer-bg-mobile.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.footer-conteudo {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5%;
    z-index: 3;
}

.footer-copy h3 {
    font-family: var(--font-clash);
    font-size: clamp(24px, 6vw, 84px);
    font-weight: 400;
    color: var(--text-light-800);
    margin-bottom: 12px;
}

.footer-copy h3 strong {
    font-weight: 600;
}

.footer-copy p {
    font-size: 16px;
    color: var(--text-light-800);
}

.footer-texto {
    max-width: 922px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 32px;
}

.footer-titulo {
    font-family: var(--font-clash);
    font-size: clamp(28px, 4vw, 72px);
    font-weight: 400;
    line-height: 1;
    color: var(--text-light-900);
}

.footer .container-botoes {
    position: relative;
    bottom: auto;
}

.footer .botao-projetos {
    background-color: #111111;
    font-weight: 300;
    border: 1px solid #8b8b8b;
    color: var(--text-light-900);
    /* box-shadow: 
        4px 6px 4px 0 rgba(255, 255, 255, 0.04) inset,
        -2px -6px 12px 0 rgba(0, 0, 0, 0.60) inset,
        26px 30px 11px 0 rgba(0, 0, 0, 0.00),
        17px 19px 10px 0 rgba(0, 0, 0, 0.03),
        9px 11px 9px 0 rgba(0, 0, 0, 0.10),
        4px 5px 6px 0 rgba(0, 0, 0, 0.12),
        1px 1px 3px 0 rgba(0, 0, 0, 0.30); */
}

.footer .botao-icone-projetos {
    /* border: 1px solid #b4b4b4; */
    background-color: #dbdbdb;
    /* box-shadow:
        -1px -3px 6px 0 rgba(0, 0, 0, 0.4) inset,
        0 4px 6px 0 #000; */
}

.footer .botao-icone-projetos img {
    filter: invert(1);
}

.footer .botao-contato {
    background-color: #e0e0e0;
    color: var(--text-dark-900);
    /* border: 1px solid #2b2b2b; */
    /* box-shadow: 
        4px 6px 4px 0 rgba(255, 255, 255, 0.65) inset,
        -2px -6px 12px 0 rgba(0, 0, 0, 0.40) inset,
        26px 30px 11px 0 rgba(0, 0, 0, 0.00),
        17px 19px 10px 0 rgba(0, 0, 0, 0.03),
        9px 11px 9px 0 rgba(0, 0, 0, 0.10),
        4px 5px 6px 0 rgba(0, 0, 0, 0.12),
        1px 1px 3px 0 rgba(0, 0, 0, 0.20); */
    transition: all 0.3s ease;
}

.footer .botao-contato:hover {
    filter: brightness(1.1);
}

.footer .botao-icone-contato {
    border-radius: 500px;
    /* border: 1px solid #4B4B4B; */
    background-color: #181818;
    /* box-shadow:
        -1px -3px 6px 0 rgba(0, 0, 0, 0.4) inset,
        0 4px 6px 0 rgba(0, 0, 0, 0.4); */
}

.footer .botao-icone-contato img {
    filter: invert(1);
}

.footer .botao-projetos:hover {
    background-color: #1a1a1a;
    filter: brightness(1);
}

.footer-letreiro-container {
    position: absolute;
    bottom: -5vh;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    mix-blend-mode: color-dodge;
}

.footer-letreiro-track {
    display: inline-flex;
    animation: letreiro 28s linear infinite;
    will-change: transform;
}

.footer-letreiro-texto {
    color: #2c2c2c;
    text-align: center;
    font-family: var(--font-clash);
    font-size: clamp(150px, 25vw, 326px);
    font-weight: 600;
    line-height: 1;
    padding-right: 4vw;
}

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

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

@media (max-width: 992px) {
    .footer {
        padding-bottom: 28vh;
    }

    .footer-conteudo {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        text-align: center;
        gap: 60px;
    }

    .footer-copy {
        order: 2;
    }

    .footer-texto {
        align-items: center;
        text-align: center;
    }

    .footer-titulo {
        font-size: clamp(32px, 10vw, 92px);
        line-height: 1.1;
    }

    .footer-descricao {
        font-size: 20px;
    }

    .footer-titulo br {
        display: none;
    }

    .footer-apple {
        width: 60vw;
    }

    .footer-letreiro-container {
        bottom: 0;
    }

    .footer-letreiro-texto {
        font-size: clamp(80px, 30vw, 180px);
    }
}

@media (max-width: 768px) {
    .footer {
        height: auto;
        min-height: 100dvh;
        padding-top: 15vh;
    }

    .footer-conteudo {
        align-items: flex-start;
        text-align: left;
        gap: 40px;
        margin-top: 20%;
        margin-bottom: 0;
    }

    .footer-texto {
        align-items: flex-start;
        text-align: left;
    }

    .footer-titulo {
        font-size: clamp(28px, 8vw, 36px);
        font-weight: 400;
        line-height: 1.1;
    }

    .footer-copy h3 {
        font-size: clamp(40px, 12vw, 64px);
        font-weight: 400;
        margin-bottom: 8px;
    }

    .footer-copy p {
        font-size: clamp(12px, 3vw, 14px);
    }

    .footer .container-botoes {
        padding: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer .botao-projetos {
        order: -1;
    }

    .footer-letreiro-container {
        bottom: 0;
    }

    .footer-letreiro-track {
        animation: letreiro 20s linear infinite;
    }

    .footer-letreiro-texto {
        font-size: clamp(80px, 35vw, 200px);
        padding-right: 8vw;
    }
}

@media (min-width: 768px) {
    .footer::before {
        background-image: url('../assets/bg/footer-bg-desktop.webp');
    }
}