.footer {

    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    height: 150px;
    z-index: 50;
    opacity: 1;
    background-color: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.310309) 16.54%, rgba(0, 0, 0, 0.7) 28.46%, #000000 73.85%);

}

.footer-nav {
    /* Fallback para IE9 e navegadores sem flexbox */
    text-align: center;
    display: block;
    /* fallback: container block with centered inline-block children */
    max-width: 1200px;
    margin: 0 auto;

    /* Modern browsers: use flexbox for spacing */
    display: flex;
    justify-content: space-between;
    /* conforme solicitado */
    align-items: center;
    width: 100%;
    height: auto;
}

.footer-nav>* {
    /* ensure fallback items align when flex is not available */
    display: inline-block;
    vertical-align: middle;
}

.footer-item {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin: 0 8px;
}

.footer-tooltip {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(6px);
    transform: translateX(-50%) translateY(6px);
    bottom: -2px;
    /* position below the button */
    display: block;
    white-space: nowrap;
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;

    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

/* show tooltip when button is active or hovered */
.footer-item .footer-button.active+.footer-tooltip,
.footer-item .footer-button.hover+.footer-tooltip {
    opacity: 1;
    -webkit-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
}

.footer-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    /* Fallback centering para IE9: inline-block + line-height */
    display: inline-block;
    text-align: center;
    line-height: 50px;
    /* centraliza ícone em fallback */
    vertical-align: middle;

    /* Modern browsers: use flexbox to center content precisely */
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    position: relative;
}

/* Visual states: hover and active (scale + lift) */
.footer-button.hover,
.footer-button:focus,
.footer-button.active {
    /* lift and scale */
    -webkit-transform: translateY(-6px) scale(1.1);
    transform: translateY(-6px) scale(1.1);
    transition: all .8s ease;
}

/* Label: hidden by default, shown when active/hover */
.footer-button .label {
    display: block;
    font-size: 12px;
    color: #ffffff;
    opacity: 0;
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
    transition: opacity 0.8s ease, transform 0.2s ease;
    pointer-events: none;
    margin-top: 6px;
}

.footer-button.active .label,
.footer-button.hover .label {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.footer-button:hover {
    background: rgba(255, 255, 255, 0.2);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.footer-button.active {
    background: rgba(200, 0, 50, 0.8);
    scale: calc(1.3);
    top: -40px;

}

.footer-button .icon {
    font-size: 24px;
    line-height: 1;
    /* ensure correct sizing inside flex */
}

.badge {
    position: absolute;
    top: 11px;
    left: 30.87px;
    width: 12px;
    height: 12px;
    background: #e91e63;
    color: white;
    font-size: 8px;
    line-height: 12px;
    /* center text vertically */
    text-align: center;
    padding: 0;
    /* exact size */
    border-radius: 50%;
    font-weight: bold;
    opacity: 1;
    box-sizing: border-box;
}

/* Responsive: Monitor screens */
@media (min-width: 1366px) and (max-width: 1919px) {
    .footer {
        padding-left: 140px;
        padding-right: 140px;
    }

    .footer-item {
        margin: 0 12px;
    }

    .footer-button {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

    .footer-button .icon {
        font-size: 26px;
    }

    .badge {
        top: 12px;
        left: 38px;
        width: 14px;
        height: 14px;
        line-height: 14px;
        font-size: 9px;
    }

    .footer-tooltip {
        font-size: 14px;
        padding: 8px 10px;
    }
}

/* Responsive: TV / very large monitors */
@media (min-width: 1920px) {
    .footer {
        max-width: 1920px;
        padding-left: 180px;
        padding-right: 180px;
    }

    .footer-item {
        margin: 0 16px;
    }

    .footer-button {
        width: 72px;
        height: 72px;
        line-height: 72px;
    }

    .footer-button .icon {
        font-size: 30px;
    }

    .footer-button.hover,
    .footer-button.active {
        -webkit-transform: translateY(-8px) scale(1.12);
        transform: translateY(-8px) scale(1.12);
    }

    .badge {
        top: 14px;
        left: 46px;
        width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 10px;
    }

    .footer-tooltip {
        font-size: 16px;
        padding: 10px 12px;
    }
}

.footer {
    position: absolute;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.310309) 16.54%, rgba(0, 0, 0, 0.7) 28.46%, #000000 73.85%);
    padding: 15px 20px;
    width: 100%;
    height: 150px;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.footer-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.footer-button.active {
    background: rgba(200, 0, 50, 0.8);
}

.footer-button .icon {
    font-size: 10px;
}

.badge {
    position: absolute;
    top: 11px;
    left: 30.87px;
    width: 12px;
    height: 12px;
    background: #e91e63;
    color: white;
    font-size: 8px;
    line-height: 12px;
    /* center text vertically */
    text-align: center;
    padding: 0;
    /* exact size */
    border-radius: 50%;
    font-weight: bold;
    opacity: 1;
    box-sizing: border-box;
}