/* Assinatura/co-autoria de Lincoln Bauer */
@charset "UTF-8";

/* ==========================================================================
   BÁRBARA BRITES | ADVOCACIA CRIMINAL
   Responsive CSS (Mobile e Tablets)
   ========================================================================== */

@media(max-width: 900px) {
    /* Header e Navegação */
    .bb-nav,
    .bb-header__actions .bb-btn {
        display: none;
    }
    
    .bb-burger {
        display: inline-flex;
    }
    
    .bb-header {
        padding: 14px 0;
    }
    
    /* Eyebrow text */
    .bb-eyebrow {
        font-size: 11px;
        letter-spacing: .14em;
        padding-left: 40px;
        text-indent: -40px;
        margin-bottom: 18px;
    }
    
    .bb-eyebrow::before {
        width: 28px;
        margin-right: 10px;
    }
    
    /* Hero */
    .bb-hero {
        min-height: auto;
        padding: 128px 0 70px;
    }
    
    .bb-hero__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    
    .bb-hero__content {
        order: 2;
    }
    
    .bb-hero__portrait {
        order: 1;
        justify-self: center;
        max-width: 360px;
        margin-top: 0;
    }
    
    .bb-hero__portrait img {
        aspect-ratio: 4/4.4;
        object-fit: cover;
        object-position: 50% 12%;
    }
    
    .bb-hero__cta {
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .bb-hero__cta .bb-btn {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 14px 6px;
        font-size: 12.5px;
        gap: 6px;
        white-space: nowrap;
    }
    
    .bb-hero__sub {
        max-width: none;
    }
    
    /* Grids das outras seções */
    .bb-footer__grid {
        grid-template-columns: 1fr;
    }
    
    .bb-footer__bottom-flex {
        justify-content: center;
        text-align: center;
    }
    
    .bb-hero__trust {
        flex-direction: column;
        gap: 10px;
    }
}

@media(max-width: 520px) {
    .bb-hero__badge {
        left: 8px;
        bottom: 15px;
        padding: 10px 14px;
    }
    .bb-hero__badge b {
        font-size: 14px;
    }
    
    /* Drawer Mobile ajustado para telas muito finas */
    .bb-drawer__inner {
        width: 100%;
    }
}

/* ==========================================================================
   DRAWER MENU MOBILE (Comportamento)
   ========================================================================== */
.bb-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
}

.bb-drawer.is-active {
    pointer-events: auto;
    visibility: visible;
}

.bb-drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bb-drawer.is-active::before {
    opacity: 1;
}

.bb-drawer__inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 100%;
    
    /* Apple Liquid Glass Effect */
    background: rgba(26, 8, 13, 0.65); /* Marsala escuro translúcido */
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
    
    padding: 40px 30px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.bb-drawer.is-active .bb-drawer__inner {
    transform: translateX(0);
}

.bb-drawer__close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bb-ink);
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bb-drawer__close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
}

.bb-drawer__logo {
    margin-bottom: 40px;
}

.bb-drawer__inner .bb-nav__list {
    flex-direction: column;
    gap: 20px;
    margin-bottom: auto; /* Empurra o botão pro fundo */
    display: flex;
    list-style: none;
    padding: 0;
}

.bb-drawer__cta {
    margin-top: 40px;
    justify-content: center;
}
