/**
 * Footer Custom
 * Footer com 4 colunas responsivo
 */

/* ========================================
   ESTRUTURA PRINCIPAL
======================================== */

.obavix-footer {
    background: #2c2c2c;
    color: #d0d0d0;
}

.obavix-footer__main {
    padding: 60px 0 40px;
}

.obavix-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* ========================================
   TÍTULOS DAS COLUNAS
======================================== */

.obavix-footer__title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

/* ========================================
   COLUNA 1: SOBRE NÓS
======================================== */

.obavix-footer__logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 16px;
}

.obavix-footer__about-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.obavix-footer__social {
    display: flex;
    gap: 12px;
}

.obavix-footer__social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3a3a3a;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none!important;
}

.obavix-footer__social-link:hover {
    background: #4a4a4a;
    transform: translateY(-3px);
    color: #fff;
}

/* ========================================
   COLUNA 2: MENU INSTITUCIONAL
======================================== */

.obavix-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.obavix-footer__menu li {
    margin-bottom: 12px;
}

.obavix-footer__menu a {
    color: #b0b0b0;
    text-decoration: none!important;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.obavix-footer__menu a:hover {
    color: var(--bs-white);
}

.obavix-footer__notice {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
}

.obavix-footer__notice a {
    color: #ffa500;
    text-decoration: underline;
}

/* ========================================
   COLUNA 3: ATENDIMENTO
======================================== */

.obavix-footer__contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.obavix-footer__contact-item i {
    color: #fff;
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.obavix-footer__contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.obavix-footer__contact-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.obavix-footer__contact-value {
    font-size: 0.875rem;
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.obavix-footer__contact-value:hover {
    color: var(--bs-white);
}

/* ========================================
   COLUNA 4: PAGAMENTO E SEGURANÇA
======================================== */

.obavix-footer__payment,
.obavix-footer__security {
    margin-bottom: 30px;
}

.obavix-footer__payment:last-child,
.obavix-footer__security:last-child {
    margin-bottom: 0;
}

.obavix-footer__payment-logos,
.obavix-footer__security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Ícones de Pagamento */
.obavix-footer__payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 36px;
    background: #c7c7c7;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.obavix-footer__payment-icon i {
    font-size: 1.5rem;
    color: #242424;
}

.obavix-footer__payment-icon:hover {
    transform: scale(1.05);
}

/* Selos de Segurança */
.obavix-footer__security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #3a3a3a;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none!important;
    cursor: pointer;
}

.obavix-footer__security-badge i {
    font-size: 1.25rem;
    color: #2ed573;
}

.obavix-footer__security-badge span {
    font-size: 0.75rem;
    color: #d0d0d0;
    white-space: nowrap;
}

.obavix-footer__security-badge:hover {
    transform: translateY(-2px);
    background: #4a4a4a;
}

/* Links nos selos */
a.obavix-footer__security-badge:hover span {
    color: #fff;
}

/* ========================================
   COPYRIGHT BAR
======================================== */

.obavix-footer__bottom {
    border-top: 1px solid #3a3a3a;
    padding: 20px 0;
    background: #1f1f1f;
}

.obavix-footer__copyright {
    font-size: 0.8125rem;
    color: #888;
    text-align: center;
}

/* ========================================
   RESPONSIVE
======================================== */

/* Tablet e Mobile */
@media (max-width: 1024px) {
    .obavix-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .obavix-footer__col {
        text-align: left;
    }

    .obavix-footer__main {
        padding: 40px 0 30px;
    }

    /* Separadores entre colunas */
    .obavix-footer__col:not(:last-child) {
        padding-bottom: 30px;
        border-bottom: 1px solid #3a3a3a;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .obavix-footer__main {
        padding: 32px 0 24px;
    }

    .obavix-footer__grid {
        gap: 32px;
    }

    .obavix-footer__col:not(:last-child) {
        padding-bottom: 24px;
    }


    .obavix-footer__payment-logos,
    .obavix-footer__security-badges {
        justify-content: flex-start;
    }

    .obavix-footer__social {
        justify-content: flex-start;
    }
}

/* ========================================
   ACESSIBILIDADE
======================================== */

.obavix-footer a:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}

.obavix-footer__social-link:focus {
    outline-offset: 4px;
}
