/* ===== BANNER LGPD ===== */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #10b981;
}

.lgpd-banner.show {
    transform: translateY(0);
}

.lgpd-banner.hide {
    transform: translateY(100%);
}

.lgpd-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.lgpd-text {
    flex: 1;
    min-width: 0;
}

.lgpd-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lgpd-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.lgpd-text a {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lgpd-text a:hover {
    color: #34d399;
    text-decoration: underline;
}

.lgpd-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    align-items: center;
}

.lgpd-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.lgpd-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.lgpd-btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

.lgpd-btn-secondary {
    background: transparent;
    color: #d1d5db;
    border: 2px solid #4b5563;
}

.lgpd-btn-secondary:hover {
    background: #4b5563;
    color: white;
    border-color: #6b7280;
}

.lgpd-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.lgpd-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .lgpd-banner {
        padding: 1.5rem 0;
    }
    
    .lgpd-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .lgpd-text h5 {
        font-size: 1rem;
        justify-content: center;
    }
    
    .lgpd-text p {
        font-size: 0.85rem;
    }
    
    .lgpd-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .lgpd-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .lgpd-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .lgpd-banner {
        padding: 1rem 0;
    }
    
    .lgpd-content {
        padding: 0 0.75rem;
    }
    
    .lgpd-text h5 {
        font-size: 0.95rem;
    }
    
    .lgpd-text p {
        font-size: 0.8rem;
    }
    
    .lgpd-btn {
        font-size: 0.85rem;
        padding: 0.875rem 1.25rem;
    }
}

/* ANIMAÇÕES */
@keyframes lgpdSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes lgpdSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.lgpd-banner.animate-in {
    animation: lgpdSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.lgpd-banner.animate-out {
    animation: lgpdSlideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ESTADO DE SUCESSO */
.lgpd-banner.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-top-color: #34d399;
}

.lgpd-banner.success .lgpd-text h5 {
    color: white;
}

/* MODO COMPACTO */
.lgpd-banner.compact {
    padding: 0.75rem 0;
}

.lgpd-banner.compact .lgpd-content {
    gap: 1rem;
}

.lgpd-banner.compact .lgpd-text p {
    font-size: 0.85rem;
}

.lgpd-banner.compact .lgpd-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* COMPATIBILIDADE COM FOOTER FIXO */
body.has-lgpd-banner {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    body.has-lgpd-banner {
        padding-bottom: 200px;
    }
}

@media (max-width: 480px) {
    body.has-lgpd-banner {
        padding-bottom: 180px;
    }
}

/* OVERLAY DE CONFIRMAÇÃO */
.lgpd-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lgpd-overlay.show {
    display: flex;
}

.lgpd-modal {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lgpd-overlay.show .lgpd-modal {
    transform: scale(1);
}

.lgpd-modal h4 {
    color: #10b981;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lgpd-modal p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.lgpd-modal .lgpd-btn {
    margin: 0 0.25rem;
} 