/* ==========================================================================
   Componente: Banner LGPD / Privacidade e Cookies
   ========================================================================== */

.cookie-banner-lgpd {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%); /* Escondido inicialmente */
    width: calc(100% - 40px);
    max-width: 1100px;
    background: rgba(15, 23, 42, 0.92); /* Escuro discreto e profissional */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

/* Estado Visível */
.cookie-banner-lgpd.mostrar {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-conteudo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-icone {
    font-size: 1.8rem;
    color: #00b0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 176, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.cookie-texto h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.cookie-texto p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
}

.cookie-texto a {
    color: #38bdf8;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-texto a:hover {
    color: #7dd3fc;
}

/* Grupo de Botões */
.cookie-acoes {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

/* Botão Principal: Aceitar Todos */
.btn-cookie-principal {
    background: #00b0ff;
    color: #ffffff;
}

.btn-cookie-principal:hover {
    background: #0091ea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 176, 255, 0.3);
}

/* Botão Neutro: Preferências */
.btn-cookie-neutro {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cookie-neutro:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Botão Secundário: Recusar */
.btn-cookie-secundario {
    background: transparent;
    color: #94a3b8;
}

.btn-cookie-secundario:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
}

/* Adaptação Responsiva para Celulares */
@media (max-width: 768px) {
    .cookie-banner-lgpd {
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 16px;
    }

    .cookie-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-icone {
        display: none; /* Oculta ícone no mobile para economizar espaço */
    }

    .cookie-acoes {
        flex-direction: column-reverse;
        width: 100%;
    }

    .btn-cookie {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}