/* ========================================
   FOOTER STYLES - GLOBAL FOOTER
   ======================================== */



/* Main Footer */
.main-footer {
    padding: 7.41vh 1.25vw 3.7vh;
    background: linear-gradient(to top, #ffffff 0%, #D9D9D973 25%, #ffffff 45%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Canvas das partículas - garantir que não fica desfocado */
.main-footer canvas {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Background de partículas será criado pelo JavaScript */

.footer-container {
    max-width: 62.5vw;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(1vh);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.48vh;
    padding: 1.11vh 1.04vw;
    gap: 0.74vh;
    box-shadow: 0 0.74vh 2.96vh rgba(0, 0, 0, 0.08);
    margin: 0 auto 5.56vh;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.footer-nav::before,
.footer-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 0.185vh;
    width: 4.17vw;
    background: linear-gradient(90deg, transparent, rgba(179, 206, 58, 0.6));
    border-radius: 1.48vh;
}

.footer-nav::before {
    right: 100%;
}

.footer-nav::after {
    left: 100%;
    background: linear-gradient(90deg, rgba(179, 206, 58, 0.6), transparent);
}

.footer-link {
    color: #545454;
    text-decoration: none;
    font-size: 1.3vh;
    font-weight: 500;
    padding: 0.74vh 1.48vh;
    border-radius: 1.48vh;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.footer-link:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -0.56vh;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(100, 116, 139, 0.4);
    font-weight: 300;
    font-size: 1.11vh;
}

.footer-link:hover {
    color: #334155;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0.093vh;
    background: #b3ce3a;
    transition: width 0.4s ease-out;
}

.footer-link:hover::before {
    width: 80%;
}

/* Get In Touch - Elemento Central */
.get-in-touch {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5.56vh;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
    gap: 0;
    width: fit-content;
}

.get-in-touch-text {
    font-size: 7.41vh;
    font-weight: 900;
    color: #545454;
    letter-spacing: -0.05em;
    word-spacing: 0.3em;
    line-height: 1;
    user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.touch-circle {
    width: 7.41vh;
    height: 7.41vh;
    background: #b3ce3a !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
    z-index: 3;
    align-self: center;
    cursor: pointer;
    box-shadow: 0 1.11vh 2.96vh rgba(179, 206, 58, 0.2);
    transition: all 0.3s ease;
}

.touch-circle:hover {
    background: #a3be2a !important;
    transform: scale(1.08);
    box-shadow: 
        0 1.48vh 3.7vh rgba(179, 206, 58, 0.3),
        0 0 0 0.28vh rgba(179, 206, 58, 0.15),
        0 0 0 0.56vh rgba(179, 206, 58, 0.08);
    filter: brightness(1.05);
}

.touch-circle svg {
    width: 2.59vh;
    height: 2.59vh;
}

/* Garantir que a bola mantenha sempre a cor verde */
.touch-circle,
.touch-circle:hover,
.touch-circle:focus,
.touch-circle:active,
.touch-circle:focus-visible {
    background: #b3ce3a !important;
}

/* Social Media */
.social-media {
    display: flex;
    justify-content: center;
    gap: 1.85vh;
    margin-bottom: 3.7vh;
    position: relative;
    z-index: 2;
}

.social-link {
    width: 4.07vh;
    height: 4.07vh;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.48vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #545454;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 0.185vh 0.74vh rgba(0, 0, 0, 0.04);
}

.social-link:hover {
    background: white;
    color: #545454;
    transform: translateY(-0.185vh);
    box-shadow: 0 0.56vh 1.48vh rgba(0, 0, 0, 0.08);
    border-color: rgba(84, 84, 84, 0.3);
}

.social-link svg {
    width: 1.85vh;
    height: 1.85vh;
    color: #545454 !important;
    fill: #545454 !important;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    color: #272727;
    font-size: 1.11vh;
    padding-top: 2.78vh;
    border-top: 1px solid rgba(203, 213, 225, 0.4);
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .get-in-touch {
        gap: 0;
        margin-bottom: 4.63vh;
        align-items: center;
    }

    .get-in-touch-text {
        font-size: 5.19vh;
        line-height: 1;
        display: flex;
        align-items: center;
    }

    .touch-circle {
        width: 6.48vh;
        height: 6.48vh;
        margin: 0 0;
    }

    .touch-circle svg {
        width: 1.85vh;
        height: 1.85vh;
    }

    .main-footer {
        padding: 5.56vh 0.83vw 2.96vh;
    }

    .footer-nav {
        gap: 1.48vh;
        margin-bottom: 4.63vh;
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0.93vh 0.83vw;
    }

    .footer-link {
        font-size: 1.19vh;
        padding: 0.56vh 0.93vh;
    }

    .social-link {
        width: 3.7vh;
        height: 3.7vh;
    }

    .social-link svg {
        width: 1.67vh;
        height: 1.67vh;
        color: #545454 !important;
        fill: #545454 !important;
    }
}

@media (max-width: 640px) {
    .main-footer {
        padding: 3.7vh 0.83vw 2.78vh;
    }

    .footer-nav {
        flex-wrap: nowrap;
        gap: 1.11vh;
        padding: 0.74vh 0.63vw;
        border-radius: 1.48vh;
    }

    .footer-nav::before,
    .footer-nav::after {
        width: 2.6vw;
    }

    .footer-link {
        font-size: 1.11vh;
        padding: 0.37vh 0.74vh;
    }

    .footer-copyright {
        font-size: 1.04vh;
        padding-top: 2.31vh;
    }

    .get-in-touch-text {
        font-size: 2.31vh;
    }

    .touch-circle {
        width: 5.56vh;
        height: 5.56vh;
    }

    .touch-circle svg {
        width: 1.67vh;
        height: 1.67vh;
    }

    .social-link {
        width: 3.33vh;
        height: 3.33vh;
    }

    .social-link svg {
        width: 1.48vh;
        height: 1.48vh;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 4vh 1vw 3vh;
    }

    .footer-nav {
        gap: 1vh;
        padding: 1vh 1vw;
        border-radius: 1.5vh;
        margin: 0 auto 4vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-nav::before,
    .footer-nav::after {
        width: 10vw !important;
        height: 0.2vh !important;
    }

    .footer-link {
        font-size: 1.3vh;
        padding: 0.5vh 1vh !important;
    }

    .footer-copyright {
        font-size: 1.1vh;
        padding-top: 2.5vh;
    }

    .get-in-touch {
        align-items: center;
        margin-bottom: 4vh;
    }

    .get-in-touch-text {
        font-size: 3.5vh;
        line-height: 1;
        display: flex;
        align-items: center;
    }

    .touch-circle {
        width: 5.2vh;
        height: 5.2vh;
    }

    .touch-circle svg {
        width: 1.9vh;
        height: 1.9vh;
    }

    .social-media {
        gap: 2vh;
        margin-bottom: 4vh;
    }

    .social-link {
        width: 4vh;
        height: 4vh;
    }

    .social-link svg {
        width: 1.8vh;
        height: 1.8vh;
    }
}

@media (max-width: 360px) {
    .main-footer {
        padding: 3.5vh 1vw 2.5vh;
    }

    .footer-nav {
        gap: 0.8vh;
        padding: 0.8vh 1vw;
        border-radius: 1.5vh;
        margin: 0 auto 3.5vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-nav::before,
    .footer-nav::after {
        width: 8vw !important;
        height: 0.2vh !important;
    }

    .footer-link {
        font-size: 1.2vh;
        padding: 0.4vh 0.8vh;
    }

    .footer-copyright {
        font-size: 1vh;
        padding-top: 2vh;
    }

    .get-in-touch-text {
        font-size: 3vh;
    }

    .touch-circle {
        width: 4.8vh;
        height: 4.8vh;
    }

    .touch-circle svg {
        width: 1.7vh;
        height: 1.7vh;
    }

    .social-media {
        gap: 1.8vh;
        margin-bottom: 3.5vh;
    }

    .social-link {
        width: 3.5vh;
        height: 3.5vh;
    }

    .social-link svg {
        width: 1.6vh;
        height: 1.6vh;
    }
}

/* Estados de foco para acessibilidade */
.footer-link:focus-visible,
.touch-circle:focus-visible,
.social-link:focus-visible {
    outline: 0.185vh solid #b3ce3a;
    outline-offset: 0.37vh;
}
