/* RODAPÉ GERAL */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--rodape-fundo, var(--cor-primaria, #0a2342));
    border-top: 4px solid var(--cor-borda-glow, #00aaff);
    color: #ffffff;
    min-height: 80px;
    gap: 2rem;
}

/* LATERAIS */
.footer-left,
.footer-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-left  { justify-content: flex-start; }
.footer-right { justify-content: flex-end; }

.footer-label {
    font-size: 11px;
    opacity: 0.8;
    white-space: nowrap;
}

.logo-footer-lateral,
.logo-romeutech {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-footer-lateral:hover,
.logo-romeutech:hover {
    transform: scale(1.08);
}

/* CENTRO */
.footer-center {
    flex: 1.5;
    text-align: center;
}

.footer-center p {
    font-size: 13px;
    margin-bottom: 0.5rem;
}

/* BLOCO DE INFORMAÇÕES (horário · dias · endereço) */
.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.footer-info-item {
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-info-sep {
    opacity: 0.4;
    font-size: 12px;
}

/* Badge "✕ fecha às Quartas" */
.footer-fechado {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.35);
    border-radius: 20px;
    padding: 1px 7px;
    white-space: nowrap;
    vertical-align: middle;
}

/* REDES SOCIAIS */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* WHATSAPP FLUTUANTE */
.btn-whatsapp-flutuante {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    cursor: grab;
    touch-action: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-flutuante:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-flutuante svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    .site-footer {
        padding: 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* Centro ocupa as duas colunas no topo */
    .footer-center {
        grid-column: span 2;
        order: 1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.75rem;
    }

    /* Laterais lado a lado abaixo */
    .footer-left {
        order: 2;
        justify-content: center;
        flex-direction: column;
        gap: 0.3rem;
    }

    .footer-right {
        order: 3;
        justify-content: center;
        flex-direction: column;
        gap: 0.3rem;
    }

    .footer-label {
        font-size: 10px;
    }

    .logo-footer-lateral,
    .logo-romeutech {
        height: 35px;
    }

    /* Empilha as infos em coluna no mobile */
    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    /* Esconde os separadores · no mobile */
    .footer-info-sep {
        display: none;
    }

    /* Badge de fechado fica um pouco menor */
    .footer-fechado {
        font-size: 9px;
        padding: 1px 6px;
    }

    .btn-whatsapp-flutuante {
        width: 50px;
        height: 50px;
    }

    .btn-whatsapp-flutuante svg {
        width: 26px;
        height: 26px;
    }
}

